Sales tax and VAT on orders: how the amount is calculated at checkout, how prices show it, where the store is registered to collect it, which buyers are exempt, and the invoices and returns that report it.
28 parts and 13 phrases. Apps in this area include Stripe Tax, Avalara, TaxJar, Quaderno, Shopify Tax.
tax.complianceShowWhere the store must collect tax, who is exempt, and how tax is reported.tax.compliance.registrationShowWhere the store must collect tax.How to extend
tax providerRegistrations are kept in the tax engine that calculates and files the tax.| Part | Litestore today | How to extend |
|---|---|---|
Registration list tax.compliance.registration.registration_listA registration list holds the states or countries where the store is registered to collect tax, with each registration number. | Plugin | Provider · one |
Threshold tracking tax.compliance.registration.threshold_trackingThreshold tracking adds up sales per state or country and flags when they pass the amount that requires registering there. | Plugin | Provider · one |
EU One-Stop Shop tax.compliance.registration.eu_ossThe EU One-Stop Shop is one registration in a home country that covers VAT on sales to consumers in every EU country. | Plugin | Provider · one |
EU Import One-Stop Shop tax.compliance.registration.eu_iossThe EU Import One-Stop Shop collects VAT at checkout on low-value parcels shipped into the EU from outside it. | Plugin | Provider · one |
Marketplace collection tax.compliance.registration.marketplace_collectionMarketplace collection puts the duty to collect tax on a marketplace for sales its sellers make through it. | Plugin | Provider · one |
tax.compliance.exemptionShowBuyers and sales that are not taxed.How to extend
tax providerExemptions are checked by the tax engine that calculates the tax.| Part | Litestore today | How to extend |
|---|---|---|
VAT number check tax.compliance.exemption.vat_numberA VAT number check validates a business buyer's VAT number against the official register. | Plugin | Provider · oneSlot · many |
Reverse charge tax.compliance.exemption.reverse_chargeReverse charge removes VAT from a cross-border business sale and notes on the invoice that the buyer accounts for it. | Plugin | Provider · oneSlot · many |
Exemption certificate tax.compliance.exemption.certificateAn exemption certificate is a document a tax-exempt buyer provides, stored with its expiry date. | Plugin | Provider · oneSlot · many |
Tax-exempt customer tax.compliance.exemption.exempt_customerA tax-exempt customer is an account whose orders are charged no tax. | Plugin | Provider · oneSlot · many |
tax.compliance.reportingShowThe documents and returns that report tax.How to extend
tax providerFiling is done by the tax engine or a filing service that holds the transactions.| Part | Litestore today | How to extend |
|---|---|---|
Invoice tax.compliance.reporting.invoiceAn invoice is a printable document for an order that lists the lines, the tax and the seller's details. | Core app/print/orders/[id]/invoice/page.tsx | Provider · one |
Seller tax ID tax.compliance.reporting.seller_tax_idA seller tax ID is the store's VAT or tax number, stored once and printed on invoices. | Core modules/settings/schema.ts | Provider · one |
Credit note tax.compliance.reporting.credit_noteA credit note is a document that reverses all or part of an invoice after a refund. | Plugin | Provider · one |
Tax report tax.compliance.reporting.tax_reportA tax report sums tax collected per jurisdiction and period for a return. | Plugin | Provider · one |
Filing and remittance tax.compliance.reporting.filingFiling and remittance submits the tax return to each authority and pays the tax owed. | Plugin | Provider · one |
tax.calculationShowHow the tax on an order is worked out at checkout.How to extend
tax providerOne tax engine calculates tax for a store; Litestore ships a flat rate and Stripe Tax, and another engine plugs into the same seam.| Part | Litestore today | How to extend |
|---|---|---|
Flat tax rate tax.calculation.flat_rateA flat tax rate applies one percentage to every order's taxable amount. | Core modules/checkout/tax/provider.ts | Provider · one |
Rate by address tax.calculation.address_lookupRate by address sends the shipping address to a tax engine, which returns the combined rate for that location. | Core modules/checkout/tax/provider.ts | Provider · one |
Fallback rate tax.calculation.engine_fallbackA fallback rate charges the flat rate when the tax engine fails or the address is missing, so an order is never taxed at zero by mistake. | Core modules/checkout/tax/provider.ts | Provider · one |
Product tax code tax.calculation.product_tax_codeA product tax code marks a product's tax category, such as clothing or food, so each line gets the rate for its category. | Plugin | Provider · one |
Shipping taxability tax.calculation.shipping_taxabilityShipping taxability sets whether the shipping charge is taxed, by the rule of the buyer's location. | Plugin | Provider · one |
Tax shown before payment tax.calculation.checkout_estimateA tax line in the checkout summary shows the tax before payment, calculated by the same engine as the charge. | Core modules/checkout/checkout-estimates.ts | Provider · one |
tax.pricingShowWhether shown prices contain tax, and how tax is rounded.How to extend
| Part | Litestore today | How to extend |
|---|---|---|
Core modules/markets/channel.ts | Core only | |
Core modules/markets/channel.ts | Core only | |
Core modules/markets/channel.ts | Core only | |
Core modules/markets/channel.ts | Core only |
tax.recordShowHow the tax charged is stored and reversed.How to extend
| Part | Litestore today | How to extend |
|---|---|---|
Core modules/orders/payments/order-amounts.ts | Event · many | |
Core modules/orders/refunds/calculate-item-refund.ts | Event · many | |
Plugin | Event · many | |
Plugin | Event · many |
The words apps use for a feature, and the plain parts the feature is made of, in the order they happen.
| Phrase | Made of |
|---|---|
| tax-inclusive pricing | |
| VAT-inclusive prices | |
| nexus | |
| economic nexus | |
| VAT OSS | |
| IOSS | |
| marketplace facilitator | |
| real-time tax calculation | |
| product tax codes | |
| VAT validation | |
| B2B reverse charge | |
| exemption certificate management | |
| tax filing |
These phrases mean different things at different apps, so the glossary doesn't map them.
The app documentation these parts were checked against.