Corgi BankDocumentation
OpenAPI

Consume actual closing-day facility billing evidence

POST/facilities/closing/sources/{id}/statements

Verified lending staff/service authority; fresh staff step-up for writes. Capture occurs only on the actual closing bank date during the final fifteen minutes before cutoff, binds an immutable plan version, verifies accrual/recognition and prepares due facility bills, retains risk/billing evidence, and seals instrument mutations until cutoff. A source cannot be reconstructed on a later day. Next-day billing consumes already-generated minimum/due state without inventing delivery evidence. CECL execution may name close_source_id and compares dated ledger receivables to the exact retained source.

Path parameters

idstringRequired

Headers

Idempotency-KeystringOptional

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

Returns

200 OK

billedintegerRequired
facilitiesintegerRequired
periodstringRequired
replayedintegerRequired

Errors

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

400401403404409412413422424429500503

to move to open esc to close