Documentation ¶
Overview ¶
Package nl provides the Dutch region definition
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Calculate ¶
func Calculate(doc interface{}) error
Calculate performs region specific calculations on the document.
func NormalizeTaxIdentity ¶
NormalizeTaxIdentity removes any whitespace or separation characters and ensures all letters are uppercase. It'll also remove the "NL" part at beginning if present such as required for EU VIES system which is redundant and not used in the validation process.
func Validate ¶
func Validate(doc interface{}) error
Validate checks the document type and determines if it can be validated.
func ValidateTaxIdentity ¶
ValidateTaxIdentity looks at the provided code, determines the type, and performs the calculations required to determine if it is valid. These methods assume the code has already been cleaned and only contains upper-case letters and numbers.
Types ¶
This section is empty.