Loan payments

A payment on a loan books split into principal, interest and escrow, once the loan's terms are written on its account's open directive (with annotate_account):

2024-05-01 open Liabilities:Loans:House USD
  loan-rate: "6.125%"
  loan-interest: "monthly"
  loan-escrow: "412.50"
  loan-payee: "MR COOPER"
  loan-kind: "mortgage"
  • loan-rate is the yearly rate, and the only required key. It is what makes the account a loan with terms. Remove it to stop the split.
  • loan-interest is how interest accrues: monthly (a twelfth of the yearly rate per payment, as US mortgages charge it), actual/365 or actual/360 (the rate times the days since the loan's previous entry), or compound (the balance grows by (1 + rate) ^ (days / 365) - 1 since the previous entry, so a full year adds exactly the rate; a lender's running statement that adds interest to the loan works this way). The default is monthly. compound is computed in floating point and rounded to the cent, with an error under a hundredth of a cent for balances up to 100 billion; the other three are exact.
  • loan-escrow is the escrow paid with each payment, if any. When the lender's yearly escrow analysis changes it, give each earlier amount with its last day, oldest first, and the current amount last: "231.26 until 2026-04-30; 191.38". Each payment uses the amount for its date.
  • loan-payee picks the loan for a bank line whose description contains it, and names the lender in the schedule of real estate, the real-estate report, and the loans pages. Without it, booking uses the loan that earlier payments to the same payee went to.
  • loan-number records the lender's own identifier for the loan. Reports and the loans pages print the entire loan number beside the loan.
  • loan-kind: "mortgage" puts the interest on Expenses:Interest:Mortgage:<name>, so mortgage interest stays apart for taxes. Other loans use Expenses:Interest:<name>, and escrow goes to Assets:Escrow:<name>. loan-interest-account and loan-escrow-account name other accounts.

Interest is computed on the principal the books show as owed, so the loan needs its balance first (see Opening balances). Escrow comes next, and the rest pays principal. The entry is flagged ! and records how it was computed as loan-split metadata. To correct a split, edit its amounts: the next payment starts from the balance as corrected, and the same holds for extra or missed payments. A balance assertion from the lender's statement catches any drift. A payment is held for you to book by hand when it does not cover interest and escrow, pays more than is owed, is dated before the loan's last entry, matches the loan-payee of two loans, or goes to a loan whose terms do not read.

A loan with its own statement lines

A loan account can also claim a statement source, for example a lender's account connected through Plaid and given to the loan with assign_bank_account. The lender's lines then report the same payments the bank account shows. To count each payment once:

  • The bank-side payment books to Assets:Clearing, not split.
  • The lender's payment lines of one day book as one entry: principal on the loan, interest and escrow on their accounts, and the total on Assets:Clearing.
  • A payment is the lender's lines of one day: one payment line, and at most one principal line (its description contains "principal"). With a principal line, that figure is the principal, and the rest less escrow is interest. When the interest computed from the terms differs, the entry's loan-split says both. When it differs by more than a tenth, the lines are held: they are likely not one payment.
  • A principal line alone is an extra principal payment: all principal.
  • Any other set of lines on one day is held, for you to book by hand.
  • match_entries then pairs the two Assets:Clearing sides.

A payment already booked from the bank side, split, before the loan had its own lines, holds the lender's lines for it, so the payment is not counted twice. Remove that entry with remove_entry first, then run book: it books the bank line again, to Assets:Clearing.

When another entity pays the loan (an owner pays a company's mortgage from a personal account, say), there is no bank-side payment in the company's repository for Assets:Clearing to pair with. Set loan-paid-from on the loan (with annotate_account) to the inter-entity account the payments come through, such as Equity:Owner:Holding for an owner's capital contribution. The lender's lines then book their total there. The paying repositories book their sides to their own inter-entity accounts (with post_entry where no cash moves), and link_transfer links each hop. Whether each hop is a capital contribution or a loan is a tax decision for the owner.

Interest added to the loan

Some loans take no payments: the lender adds the interest to the principal, and a running statement shows the growing balance. Declare such a loan with loan-accrual: "capitalize" next to its terms (annotate_account sets it, with the value capitalize), and book its interest with accrue_interest, up to a day (today by default):

2023-12-08 open Liabilities:Loans:Lender USD
  loan-rate: "8%"
  loan-interest: "compound"
  loan-accrual: "capitalize"
  link: "https://docs.example.com/lender-sheet"

accrue_interest books one entry per year end and one for the day asked for. A year-end entry is dated December 31 and runs to January 1, so each year's interest stays in that year; loan-accrued-to on the entry records the day it runs to, and the next accrual or payment counts days from there. Each period's interest is on the balance after the one before:

2023-12-31 ! "Interest accrued on Liabilities:Loans:Lender"
  loan-accrual: "8% compound on 25000.00 owed, 24 days"
  loan-accrued-to: "2024-01-01"
  Liabilities:Loans:Lender  -126.83 USD
  Expenses:Interest:Lender  126.83 USD

The entries are flagged ! for review. Compare the loan's balance with the lender's statement (the register report of the loan shows its links), and record the lender's figure as a balance assertion. book suggests accrue_interest when such a loan has days without interest. Whether unpaid interest is deductible in the year it accrues is a question for your tax preparer; appreise maps no tax line to it.

Full User Guide · Manual Overview