6. EU VAT Compliance

Member-state rate tables

EU VAT compliance is provided through rate tables covering 27 EU member states, held in pkg/tax/vat_eu_rates.go. Because VAT rates differ by member state, maintaining per-state rate tables is what allows the correct national rate to be applied for a transaction in a given country.

The VAT calculator

The EU VAT calculator lives in pkg/tax/vat_eu.go. It implements reverse-charge handling for intra-EU business-to-business supplies, which is the arrangement where the customer rather than the supplier accounts for VAT on cross-border B2B trade within the EU. This mirrors the reverse-charge concept seen in the India GST module but applied to the EU context.

OSS and IOSS scaffolding

The calculator also includes OSS and IOSS scaffolding. OSS (One Stop Shop) and IOSS (Import One Stop Shop) are EU schemes for reporting VAT on cross-border sales to consumers, and the presence of scaffolding indicates the structural groundwork for these schemes within the calculator. Taken together, the EU VAT features give the product per-state rate awareness, intra-EU B2B reverse-charge calculation, and the beginnings of OSS and IOSS support, complementing the dedicated India GST module and the generic tax-rules engine so the platform can address multiple tax regimes.