Skip to main content
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.