Tax Compliance
Invoica automatically calculates taxes based on jurisdiction, supporting EU VAT and other country-specific tax rates across 15 countries.How Tax Calculation Works
Tax in Invoica is calculated as a percentage of the payment amount and added on top. The original payment amount becomes the subtotal, and the total includes the tax:Tax Calculation API
Calculate tax for any amount and jurisdiction:Response
Automatic Tax on Invoice Creation
When creating an invoice with ataxCountry or country field, tax is automatically calculated:
subtotal: 5000 (original amount)taxRate: 19 (Germany standard VAT)taxAmount: 950 (19% of 5000)total: 5950 (subtotal + tax)
How Location is Determined
In the current implementation, the buyer/seller location must be provided explicitly when creating an invoice or calculating tax. The API caller (AI agent or integration) provides:
If no country code is provided, tax defaults to 0 (no tax applied).
Future versions will support automatic location detection via VAT number validation (VIES API), billing address parsing, and IP geolocation as fallbacks.
Supported Tax Rates
Invoica includes built-in tax rates for 15 countries:Tax Rates Lookup API
Get tax rates for a specific country:Tax Summary (Dashboard)
Access cumulative tax summaries grouped by country:Reduced Rates
To use the reduced VAT rate instead of standard, passrateType: "reduced" in the tax calculation request:

