Tax provider

Routes invoice tax computation to one of four providers. The active provider lives on BillingPolicy.taxProvider; switch it via the Billing policy page.

Available providers

Each provider falls back to zero tax if its credentials aren't set so demos work offline.

none

None

taxTotal = 0. Useful for tax-exempt jurisdictions or B2B-only.

mock

Mock (flat)

Uses BillingPolicy.taxFlatRatePct. Demo-friendly, no creds.

avalara

Avalara

Live AvaTax CreateTransaction. Needs AVALARA_ACCOUNT_ID + AVALARA_LICENSE_KEY env vars.

taxjar

TaxJar

Live TaxJar /v2/taxes. Needs TAXJAR_API_KEY env var.

How to switch

Open Billing policyand set taxProvider to the desired key.

For Avalara / TaxJar, add the corresponding env vars to your API deployment + restart. The provider client then routes invoice line items + addresses to the upstream API and returns per-line tax breakdowns.