Browse documentation

On this page

Report Tax by Component

Goal: per component, the taxable amount and tax for a period, ready for each authority's filing.

You need: posted invoices, bills or credit notes that use taxes with components (Split a Tax into Components), and permission to view tax reports (report:tax for API tokens).

In the app

  1. Go to Reports and, under Tax, open Tax by Component.
  2. Pick the Date Range.

The Summary shows net sales tax and recoverable and non-recoverable purchase tax. Components lists one row per component, grouped by country when there's more than one. Taxable amounts are per component and aren't added up, since one sale is taxable in every component that taxes it.

With the API

1. Request the period

Shell
curl "$BASE/v1/reports/tax-by-component?date_range=2026-10-01,2026-12-31" \
  -H "$AUTH" -H "$PARTNER"
QueryRule
date_rangeRequired. YYYY-MM-DD,YYYY-MM-DD, start and end inclusive.
country_codeOptional. Exact match on the country posted with the component, e.g. US.
regionOptional. Exact match on the region posted, e.g. US-CA.

2. Read the response

JSON
{
  "date_range": "2026-10-01,2026-12-31",
  "currency": "USD",
  "components": [
    {
      "component_id": "<state id>",
      "component_code": "US-CA:state",
      "component_name": "California state",
      "component_kind": "state",
      "component_country_code": "US",
      "component_region": "US-CA",
      "sales": {
        "invoices":     { "taxable_amount": "1000.00", "tax_amount": "72.50" },
        "credit_notes": { "taxable_amount": "0.00",    "tax_amount": "0.00" },
        "net":          { "taxable_amount": "1000.00", "tax_amount": "72.50" }
      },
      "purchases": {
        "recoverable":     { "taxable_amount": "0.00", "tax_amount": "0.00" },
        "non_recoverable": { "taxable_amount": "0.00", "tax_amount": "0.00" }
      }
    }
  ],
  "totals": {
    "sales_tax_net": "87.50",
    "purchase_tax_recoverable": "0.00",
    "purchase_tax_non_recoverable": "0.00"
  }
}

Abbreviated to one component.

FieldMeaning
sales.netInvoices minus credit notes: what's owed for this component
purchases.recoverableTax paid on bills that can be claimed back
purchases.non_recoverableTax paid that became part of the cost
currencyCompany base currency; foreign-currency documents are converted at their journal's exchange rate

Components come back ordered by country, region, then code; components without geography come last.

Why closed periods don't move

The report reads the code, name, kind and geography saved on each journal line at posting, not today's catalog. Rename a component, change its region or archive it, and a quarter you already filed reports exactly as it was booked. Names come from the catalog when the component still exists, and from the last posted name when it doesn't.

Pitfalls

  • Single-rate taxes (no components) aren't in this report. Use the tax report for those.
  • Filters match what was posted. A component whose region was added after posting won't match a region filter for those older lines.
Evaluate Paprel

Build in sandbox, launch with a production trial

Use sandbox for developer testing with no billing. When you are ready for real workflows, start production on a monthly plan with a 14-day free trial.

API-First Delivery
Audit-Ready Controls
Sandbox And Guided Rollout
We use cookies to improve your experience.

We use cookies and local storage for essential settings and, with your choices, analytics and advertising. Online identifiers and activity can be personal data. You can reject optional categories or change your choices.

These cookies are necessary for the basic functionality of the website, ensuring a seamless user experience. They cannot be disabled.