Go client library for the eVatR API (German VAT ID validation system) of the BZSt.
- Simple and qualified VAT ID validation
- EU member state information and VIES availability
- Type-safe error handling with status codes
- Context-aware API calls
go get github.com/hostwithquantum/go-evatr- API Reference - Full API documentation
- Examples - Working code examples
- Error codes - All status codes and their meanings
httpClient := &http.Client{
Timeout: 30 * time.Second,
Transport: customTransport,
}
client := evatr.NewClient(
evatr.WithBaseURL("https://custom.api.url"),
evatr.WithTimeout(60 * time.Second),
evatr.WithHTTPClient(httpClient),
)The API advertises a daily maintenance window from 23:00 - 5:00 (local). Run potential jobs during the workday to avoid issues — see our dependabot and workflow configuration for examples.