TaxJar · Example Payload

Calculate Tax Response

Sales TaxTax ComplianceE-CommerceTax CalculationTax AutomationStripeFinTech

Calculate Tax Response is an example object payload from TaxJar, with 1 top-level field. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

tax

Example Payload

Raw ↑
{
  "tax": {
    "order_total_amount": 16.5,
    "shipping": 1.5,
    "taxable_amount": 15.0,
    "amount_to_collect": 1.35,
    "rate": 0.09,
    "has_nexus": true,
    "freight_taxable": false,
    "tax_source": "destination",
    "exemption_type": "non_exempt",
    "jurisdictions": {
      "country": "US",
      "state": "CA",
      "county": "LOS ANGELES",
      "city": "LOS ANGELES"
    },
    "breakdown": {
      "taxable_amount": 15.0,
      "tax_collectable": 1.35,
      "combined_tax_rate": 0.09,
      "state_taxable_amount": 15.0,
      "state_tax_rate": 0.0625,
      "state_tax_collectable": 0.94,
      "county_taxable_amount": 15.0,
      "county_tax_rate": 0.01,
      "county_tax_collectable": 0.15,
      "city_taxable_amount": 0.0,
      "city_tax_rate": 0.0,
      "city_tax_collectable": 0.0,
      "special_district_taxable_amount": 15.0,
      "special_tax_rate": 0.0175,
      "special_district_tax_collectable": 0.26,
      "line_items": [
        {
          "id": "1",
          "taxable_amount": 15.0,
          "tax_collectable": 1.35,
          "combined_tax_rate": 0.09,
          "state_taxable_amount": 15.0,
          "state_sales_tax_rate": 0.0625,
          "state_amount": 0.94,
          "county_taxable_amount": 15.0,
          "county_tax_rate": 0.01,
          "county_amount": 0.15,
          "city_taxable_amount": 0.0,
          "city_tax_rate": 0.0,
          "city_amount": 0.0,
          "special_district_taxable_amount": 15.0,
          "special_tax_rate": 0.0175,
          "special_district_amount": 0.26
        }
      ]
    }
  }
}