nl

package
v0.52.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 27, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

README ¶

🇳🇱 GOBL Netherlands Tax Regime

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 New ¶

func New() *tax.Regime

New provides the Dutch region definition

func NormalizeTaxIdentity ¶

func NormalizeTaxIdentity(tID *tax.Identity) 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 ¶

func Validate(doc interface{}) error

Validate checks the document type and determines if it can be validated.

func ValidateTaxIdentity ¶

func ValidateTaxIdentity(tID *tax.Identity) 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL