Skip to main content

Export History

POST 

/api/ledger/history/export

Builds an XLSX of the history before go-live in the background: Months (per warehouse and all warehouses, each month with trust_percent, trust_label and whether it is an estimate), Counts, Purchases and Tie-out. The response gives the job id; the finished job carries the download link.

Required scope: accounting:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Authentication: Requires Bearer token + accounting.index permission.

Request​

Responses​

Accepted

Response Headers
    Content-Type