Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ValidTaxID = new(validTaxID)
ValidTaxID complies with the ozzo validation Rule definition to be able to confirm that the Tax ID is indeed spanish and valid.
Functions ¶
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 VerifyTaxCode ¶
VerifyTaxCode 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.