Export Inventory Valuation
GET/api/reporting/inventory-valuation/export
Streams the inventory valuation report as a CSV file download (Content-Type text/csv, attachment inventory-valuation.csv).
reports:readGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Authentication: Requires Bearer token
Columns: the selected group_by dimensions (SKU, Warehouse, Supplier, Brand, COGS Nominal Code) followed by quantity/valuation pairs — Available, Allocated, On Hold, On Hand, On Hand Average Cost, Inventory Debt Units Owed, Inventory Debt Clearing, In Transit, Inbound, Prepaid, and Average Cost. The two Inventory Debt columns carry units that shipped before you owned them and the unrelieved balance still sitting in the Inventory Debt Clearing account; they are reported separately and are deliberately NOT part of On Hand, which reconciles to the inventory control account. On Hand / On Hand Valuation are the physical on-hand position as of the report date (on_hand_active_qty x average cost) and include allocated & on-hold stock but exclude In Transit.
Response: CSV file download (not JSON).
Request
Responses
- 200
- 401
- 403
- 429
Successful response
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.