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
taxTotal = 0. Useful for tax-exempt jurisdictions or B2B-only.
Mock (flat)
Uses BillingPolicy.taxFlatRatePct. Demo-friendly, no creds.
Avalara
Live AvaTax CreateTransaction. Needs AVALARA_ACCOUNT_ID + AVALARA_LICENSE_KEY env vars.
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.