Golang Client
Getting Started
go get gitlab.com/fullstackdevelopment-lib/vatapi.nl-golangExample ValidateVAT()
import (
"context"
"fmt"
vatclient "gitlab.com/fullstackdevelopment-lib/vatapi.nl-golang"
)
func main() {
client := vatclient.NewClient("YOUR_TOKEN")
ctx := context.Background()
resp, err := client.ValidateVAT(ctx, "NL", "003253479B55")
if err != nil {
fmt.Println(err)
return
}
fmt.Println(resp.Name)
}Example CountryCodes()
Last updated
Was this helpful?