Expand description
Double-entry accounting kernel.
Amounts are signed integer minor units (for example cents). Posting debits and credits must be finite ledger amounts: non-negative, one-sided, and balanced per journal entry.
Structs§
Enums§
Functions§
- account_
balances_ into - Compute balances for every supplied account into caller-owned output.
- trial_
balance - Aggregate posting totals and account-side trial-balance totals.
- validate_
balanced_ entry - Validate that all postings belonging to
entry_idform a balanced entry. - validate_
journal_ entries - Validate all declared journal entries.
- validate_
journal_ entry - Validate a journal entry’s declared posting slice and balance.