Corgi BankDocumentation
OpenAPI

Create a bank cash match

POST/ledger/cash/matches

Dedicated ledger:cash staff/source authority, verified non-API-key identity, and recent step-up for staff mutations. Exact immutable content and a different reviewer are required for actual cash allocation. Every grouped journal must have the actual line direction and their sum must exactly equal that line. A line and each actual master-account journal can be consumed only once across modules. Test source statements cannot pin or allocate production journals. Signed source date remains separate from journal accounting date; this is line-source reliance, not a claim that the whole bank closing balance reconciles.

Headers

Idempotency-KeystringRequired

Send on every write that creates or changes money or state; a replay with the same key returns the original result with 200.

Body parameters

journal_idsarray of stringsRequired
line_idstringRequired
reasonstringRequired
statement_idstringRequired
statement_sha256stringRequired

Returns

200 OK

The Bank Cash Match object.

Errors

Every error is a problem document with a stable code. See Errors.

400401403404409412413422424429500503

to move to open esc to close