| Account type | Use |
|---|---|
LOANS_PAYABLE | Term loans the business owes |
NOTES_PAYABLE | Promissory notes payable |
LINE_OF_CREDIT | Revolving lines of credit |
SHAREHOLDER_LOAN | Loans from owners or shareholders |
LOANS_RECEIVABLE | Loans the business has made to others |
INTEREST_EXPENSES or LOAN_EXPENSES.
Loan support may need to be enabled for your platform. Reach out to your Layer contact for access.
Set up the loan account
How you represent the loan depends on whether it has an ongoing transaction feed:- Revolving accounts with a statement feed (e.g. a line of credit that behaves like a credit card) are best imported as an account. Call the Create Custom Account endpoint with an appropriate
account_typeandaccount_subtype, then import its activity (see below). - Term loans tracked only by balance can be represented as a ledger account in the chart of accounts using Create Ledger Account with one of the loan account subtypes above.
Request
Import loan activity
For accounts with a transaction feed, pass loan activity (draws, repayments, fees, and interest) to the Import Transactions endpoint, using thecustomAccountId of the account you created. This mirrors how bank data is imported.
The loan proceeds (a draw) and each repayment will appear as transactions ready to be categorized.
Categorize principal and interest
A loan repayment usually covers both principal and interest. When categorizing the repayment in Layer:- The principal portion reduces the loan liability account (e.g.
LOANS_PAYABLE). - The interest portion posts to an interest expense account (e.g.
INTEREST_EXPENSES).