A Go package for validating EU VAT numbers and retrieving VAT rates.
Vat is a Go package for handling European Union Value Added Tax (VAT) operations. It validates VAT numbers against official EU databases and retrieves current VAT rates for EU member states. It solves the problem of integrating VAT compliance into Go-based applications, such as e-commerce platforms or financial software.
Go developers building applications that require EU VAT compliance, such as e-commerce systems, invoicing software, or financial tools targeting the European market.
Developers choose this package because it provides a simple, reliable, and idiomatic Go interface for VAT operations, eliminating the need to manually implement VAT validation and rate lookup logic. It leverages official APIs and community-maintained data for accuracy.
Go package for dealing with EU VAT. Does VAT number validation & rates retrieval.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Validates VAT numbers via the EU's official VIES API for existence checks, ensuring compliance with regulatory standards, as shown in the ValidateNumberExistence function.
Leverages the ibericode/vat-rates repository for up-to-date VAT rates, with community contributions for accuracy, though the README notes this may not be instant.
Provides clean, simple functions like ValidateNumber and GetCountryRates that follow Go conventions, making integration straightforward for developers.
Keeps the package lightweight with few external dependencies, focusing on core VAT operations without bloating projects.
Only supports EU countries, making it unsuitable for applications targeting global markets or needing VAT data from other regions.
VAT rates depend on community updates, which the README admits may lag behind official announcements, risking outdated information in fast-changing tax environments.
Lacks built-in caching, error handling for API downtime, or support for complex tax scenarios like exemptions or historical rate calculations beyond basic retrieval.