Indirect tax APIs differ dramatically by jurisdiction: US QuickBooks Online relies on Automated Sales Tax (`TxnTaxDetail` / `TAX` vs `NON` line flags based on ship-to address), whereas UK, Australian, New Zealand, and EU accounts in Xero and QBO International require explicit per-line tax codes (`OUTPUT2` 20% VAT, `ZERORATEDOUTPUT`, `REVERSECHARGE`, `OUTPUT` 10%/15% GST). Mertio maps regional tax profiles automatically so invoices pass MTD VAT and BAS audits without manual edits.
How it works in practice
Select Your Home Ledger Jurisdiction in Mertio Settings
Mertio detects your QuickBooks country edition or Xero organization base country and loads active ledger TaxCodes/TaxRates.
Set Domestic vs. Cross-Border B2B Rules
Apply standard domestic VAT/GST (e.g., 20% UK VAT) when buyer country matches seller country, and Zero-Rated Export / Reverse Charge when selling cross-border with a valid VAT ID.
Preserve Net B2B Contract Pricing
Mertio sets `LineAmountTypes = Exclusive` on B2B invoices so a £10,000 HubSpot quote bills £10,000 net + £2,000 VAT = £12,000 gross.
Side-by-side breakdown
| Jurisdiction | Standard B2B Tax Treatment | Xero / QBO Code Pattern | Cross-Border / Exempt Rule |
|---|---|---|---|
| United States (QBO) | Automated Sales Tax (AST) by ShipAddr / SaaS taxability | TAX / NON + AST Engine | Exempt customer resale certificate honored |
| United Kingdom (Xero / QBO UK) | 20% Standard Rate VAT (MTD compliant) | OUTPUT2 / 20.0% S | 0% Zero-Rated Export outside UK |
| European Union B2B | Domestic VAT or Intra-EU B2B Reverse Charge | REVERSECHARGE / Zero-Rated EC | Requires buyer EU VAT registration on Company |
| Australia & New Zealand | 10% AU GST on Income / 15% NZ GST on Income | OUTPUT / GST on Income | GST-Free Export (`EXEMPTOUTPUT`) for non-resident buyers |
Preventing the Classic 16.67% Margin Loss: Tax-Exclusive vs. Tax-Inclusive Syncs
One of the costliest bugs in naive Xero/QuickBooks integrations happens when an API call omits `GlobalTaxCalculation` or `LineAmountTypes`, causing the ledger to interpret a £10,000 B2B SaaS quote as *tax-inclusive* (£8,333.33 revenue + £1,666.67 VAT). Overnight, the company silently loses 16.67% of top-line revenue on every closed deal. Mertio explicitly enforces B2B tax-exclusive line semantics unless overridden.
What finance will ask
Does Mertio work with QuickBooks Online Automated Sales Tax (AST) in the US?
Yes. On US QuickBooks Online companies, Mertio passes accurate billing/shipping addresses and taxable/non-taxable product flags so Intuit’s AST engine calculates exact state, county, and municipal rates.