Journals
API Reference
DraftLast reviewed 2026-06-23Accounting journal entry management — read, reverse, settle, period close
Reverse a journal entry
Creates a reversal entry that mirrors the original with debits and credits swapped. The original entry is marked REVERSED.
Create a settlement journal entry
Creates a settlement entry (CASH debit / SETTLEMENT_PAYABLE credit) for the specified deal. The entry starts in DRAFT status.
Close an accounting period
Closes the specified YYYY-MM period. Fails if the period is already closed or if any DRAFT entries remain.
List journal entries
Returns journal entries filtered by dealId, entryType, or period. If dealId is provided, entries for that deal are returned; if period is provided, entries for that accounting period are returned.
Get a journal entry by ID
Returns the journal entry with all its lines.
List posting rules
Returns all registered posting rules in most-specific-first order.