> ## Documentation Index
> Fetch the complete documentation index at: https://docs.spurtcommerce.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Tax

Tax configuration and order calculations.

Tax configuration determines how tax is classified, calculated, displayed, and persisted for products and orders. Tax rules are jurisdiction-dependent; obtain the applicable policy from the business/legal owner.

## Concepts to document

* Tax classes/categories and rates.
* Inclusive versus exclusive pricing.
* Tax jurisdiction/zone selection.
* Shipping tax treatment.
* Rounding and per-line versus order-level calculation.
* Tax snapshots stored on completed orders and refunds.

## Correctness and security

Calculate tax on the server using validated address and product classifications. Do not accept client-provided tax totals. Preserve the applied rate and calculation basis on the order so historical invoices remain reproducible.

## Verify

Trace tax entities, calculation services, checkout/order code, and migrations. Confirm actual rate precision and precedence rules before publishing numerical examples.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.