Import a ledger

Import a ledger by providing a raw XML payload.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

The ID of the account.

Body Params

The raw XML payload of the ledger.

Headers
string
Defaults to 2026-06-26

Specifies the version of the API to use in this request. If not specified uses the API-Version set in the group conifguration
B2Brouter UI Application -> Developers -> API Keys -> API Version

string

Optional client-generated key that makes the import idempotent: a re-POST with the same key returns 200 with the already-imported ledger instead of creating a duplicate. When absent, a digest of the payload is used, so re-posting an identical payload is also idempotent.

Responses

403

Forbidden

406

The request's "Content-Type" header is not "application/octet-stream".

409

The Idempotency-Key was already used with a different payload.

422

The provided XML is invalid.

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json