Skip to main content
Back to Blog
tax VAT invoicing compliance finance

Tax Calculation Engine

Swifty Team Feb 16, 2026 3 min read

Tax compliance is a requirement, not a feature. Get it wrong and the consequences range from time-consuming corrections to regulatory penalties. The complexity is real: different rates for different product categories, different rules for cross-border transactions, different documentation requirements for different jurisdictions.

The tax calculation engine handles this complexity automatically.

Country-Aware by Default

Tax rates and rules depend on the countries involved in the transaction. The platform knows the supplier country (from your workspace configuration) and the customer country (from the customer record or the invoice). These two pieces of information determine which tax rules apply.

For domestic transactions — supplier and customer in the same country — the standard domestic VAT rate applies based on the product categories. For cross-border transactions within a trade zone, reverse charge or zero-rate rules may apply. For transactions to customers outside the zone, export rules apply.

The engine determines the correct rule based on the countries involved and applies it automatically.

Rate Tables Per Country

Standard VAT and tax rates for each country are maintained as configuration. Standard rates, reduced rates for specific product categories, zero rates for exempt goods — all configured and kept current.

When a line item is added to an invoice, the applicable rate is applied based on the product category and the transaction's country context. The rate appears on the line item, and the tax amount is calculated.

Full Breakdown on Documents

Generated invoice PDFs show the full tax breakdown: the net amount, the tax rate applied, and the tax amount, per line item and in summary. Where multiple rates apply (standard rate on some items, reduced rate on others), each rate group is shown separately.

The breakdown format meets the documentation requirements for VAT-registered businesses in most jurisdictions — the information regulators require is present and clearly organized.

Overrides When Needed

Automatic calculation covers the standard cases. For non-standard situations — special exemptions, manual rate overrides for specific line items, zero-rating of normally taxable items — individual line items can be manually configured with the appropriate rate and reason.

Overrides are recorded with the reason code so the audit trail explains why a non-standard rate was applied.

Related posts

Composed Data Sources

Chain and relate data sources for rich dashboards — compose complex data views from simpler sources without writing code.

Computed Expressions

Transform data with template expressions and built-in functions — format, combine, and derive values from your data without code.

Cross-Source Data Joins

Combine data from multiple sources in one view — join records from your database with data from external services using a shared key.