Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NormalizeTaxIdentity ¶ added in v0.29.1
func NormalizeTaxIdentity(tID *org.TaxIdentity) error
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 ¶ added in v0.20.0
func Validate(doc interface{}) error
Validate checks the document type and determines if it can be validated.
func ValidateTaxIdentity ¶ added in v0.29.1
func ValidateTaxIdentity(tID *org.TaxIdentity) error
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.
Click to show internal directories.
Click to hide internal directories.