Skip to main content

Export Ecommerce P&L Workbook

POST 

/api/ledger/reports/ecommerce-pnl/export

Queues the ecommerce P&L as an XLSX workbook with four sheets: P&L by month, By channel by month, Balance sheet - inventory, and Trust and method. Takes the same fields as Get Ecommerce P&L (from, to required; basis, warehouse_ids, include_estimates, include_allocations optional) and always builds every section.

Required scope: accounting:write

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

Returns a tracked job id. Poll the tracked job; when it completes its results carry a download_url for the file.

Authentication: Requires Bearer token with the accounting scope and the accounting.index permission. Rate limited to 10 requests per minute.

Request​

Responses​

OK

Response Headers
    Content-Type