Journal a loan payment
loan_journalReturn the double entry for one payment period or month: debit interest expense and loan liability, credit cash, in the cash book's account names, with an expense_add-ready payload. Give period or month, not both. Pro.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| loan | Yes | The loan id, e.g. LOAN-2026-0001, or its exact name | |
| month | No | Journal every payment falling in this month, YYYY-MM. Give this or period | |
| period | No | The payment period to journal. Give this or month | |
| category | No | Expense category for the expense_add payload. Default "interest" | |
| cash_account | No | Credit account for the payment. Default "cash" | |
| interest_account | No | Debit account for the interest. Default "interest_expense" | |
| liability_account | No | Debit account for the principal. Default "loan_liability" |