Export Sales Tax Liability
GET/api/reporting/sales-tax/liability/export
Exports the Sales Tax Liability Report as a downloadable file (CSV, XLSX, or PDF). Accepts the same filter parameters as the liability report. The response is a binary file download (Content-Type varies: text/csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, or application/pdf), not JSON. Columns: Country, Region, Region Code, In-State, Orders, Gross Sales, Taxable Sales, Non-Taxable Sales, Tax Collected, Refunded Tax, Net Tax, with a trailing TOTAL row.
reports:readGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Authentication: Requires Bearer token (scope rw:reports).
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.