Corgi BankDocumentation
OpenAPI

Create a correspondent invoice

POST/ledger/correspondent/invoices

Correspondent banking authority: staff reads need ledger:correspondent:read (or ledger:read), writes need ledger:correspondent:write with a verified non-API-key staff identity and a step-up within five minutes, and a review also needs ledger:correspondent:approve and a different person from the maker. Nostro and correspondent ledger accounts are opened, posted and closed only through this module.

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

currency_codestringRequired
document_sha256stringRequired
invoice_numberstringRequired
linesarray of objectsRequired
4 child attributes
amountintegerRequired
codestringRequired
descriptionstringOptional
uetrstringOptional
nostro_account_idstringRequired

Example acct_2tVh8nqLxq4GbDe0K1F6S9zRcWm

periodstringRequired
source_refstringRequired
total_amountintegerRequired

Returns

200 OK

The Correspondent Invoice object.

Errors

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

400401403404409412413422424429500503

to move to open esc to close