Allocate actual unreversed payable credits to the verified source service and reserve them against generic spending
/ledger/payable-obligationsVerified owning svc_accounts or svc_lending with existing ledger:post is required even locally; staff, customers, API keys and other services cannot register sources. Allocate exact positive credits of an actual unreversed original journal; cumulative allocations cannot exceed the credited line. Independently identifies the account owner and optional tax recipient. SourceDateBasis is calendar_date when omitted; a calendar source date cannot be in the future. Explicit journal_posting_date requires exact equality with the verified original journal PostingDate, including a legitimate next-bank date after cutoff or during a weekend. The basis is retained in the source hash and does not infer a statutory deadline. Immutable native account-closure lineage is required to adopt a ledger-owned closure component. Exact issuer/kind/source-ID replay recovers one obligation and one funded native hold; changed replay conflicts. Existing spent legacy credits require reconciliation.
Headers
Idempotency-KeystringOptionalSend on every write that creates or changes money or state; a replay with the same key returns the original result with 200.
Body parameters
account_idstringOptionalExample acct_2tVh8nqLxq4GbDe0K1F6S9zRcWm
amount_minorintegerRequiredcurrencystringRequiredcustomer_idstringRequiredExample cust_2tVh8nqLxq4GbDe0K1F6S9zRcWm
evidence_referencestringRequiredjurisdictionstringOptionalkindstringRequiredlegal_entitystringRequiredloan_idstringOptionalExample loan_2tVh8nqLxq4GbDe0K1F6S9zRcWm
payee_referencestringOptionalsourceobjectRequired6 child attributes
closure_componentstringOptionalclosure_ledger_account_idstringOptionalExample lacc_2tVh8nqLxq4GbDe0K1F6S9zRcWm
journal_idstringRequiredExample jrnl_2tVh8nqLxq4GbDe0K1F6S9zRcWm
journal_keystringRequiredjournal_sha256stringRequiredledger_account_idstringRequiredExample lacc_2tVh8nqLxq4GbDe0K1F6S9zRcWm
source_datestring · dateRequiredA business date, YYYY-MM-DD
source_date_basisstringOptionalsource_idstringRequiredsource_sha256stringRequiredtax_customer_idstringOptionalExample cust_2tVh8nqLxq4GbDe0K1F6S9zRcWm
tax_periodstringOptionalReturns
200 OK
account_idstringOptionalExample acct_2tVh8nqLxq4GbDe0K1F6S9zRcWm
amount_minorintegerRequiredcontent_sha256stringRequiredcreated_atstring · date-timeRequiredcurrencystringRequiredcustomer_idstringRequiredExample cust_2tVh8nqLxq4GbDe0K1F6S9zRcWm
evidence_referencestringRequiredhold_idstringRequiredExample hold_2tVh8nqLxq4GbDe0K1F6S9zRcWm
idstringRequiredissuerstringRequiredjurisdictionstringOptionalkindstringRequiredlegal_entitystringRequiredloan_idstringOptionalExample loan_2tVh8nqLxq4GbDe0K1F6S9zRcWm
payee_referencestringOptionalsourceobjectRequired6 child attributes
closure_componentstringOptionalclosure_ledger_account_idstringOptionalExample lacc_2tVh8nqLxq4GbDe0K1F6S9zRcWm
journal_idstringRequiredExample jrnl_2tVh8nqLxq4GbDe0K1F6S9zRcWm
journal_keystringRequiredjournal_sha256stringRequiredledger_account_idstringRequiredExample lacc_2tVh8nqLxq4GbDe0K1F6S9zRcWm
source_datestring · dateRequiredA business date, YYYY-MM-DD
source_date_basisstringOptionalsource_idstringRequiredsource_sha256stringRequiredtax_customer_idstringOptionalExample cust_2tVh8nqLxq4GbDe0K1F6S9zRcWm
tax_periodstringOptionalErrors
Every error is a problem document with a stable code. See Errors.
400401403404409412413422424429500503