Skip to main content

Reporting

📄️Export Sales Tax Liability

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.

📄️Get Product Stock Coverage

Daily Average Consumption (DAC) and Days of Stock reconstructed as a 12-month monthly time series for a product. No history is stored for either metric, so both are rebuilt from source ledgers: DAC at each month is gross units sold over the trailing sales-history window divided by that window length; on-hand at each month is the running balance of stock movements up to that month; Days of Stock is on-hand divided by DAC (null when DAC is 0, i.e. coverage is effectively infinite).