common

package
v0.34.1 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2023 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

View Source
const (
	TaxRateZero         cbc.Key = "zero"
	TaxRateStandard     cbc.Key = "standard"
	TaxRateReduced      cbc.Key = "reduced"
	TaxRateSuperReduced cbc.Key = "super-reduced"
)

Most commonly used codes. Local regions may add their own rate codes.

View Source
const (
	SchemeReverseCharge cbc.Key = "reverse-charge"
	SchemeCustomerRates cbc.Key = "customer-rates"
)

Standard scheme definitions

View Source
const (
	InboxKeyPEPPOL cbc.Key = "peppol-id"
)

Common inbox keys

View Source
const (
	TaxCategoryVAT cbc.Code = "VAT"
)

Standard tax categories that may be shared between countries.

Variables

This section is empty.

Functions

func NormalizeTaxIdentity

func NormalizeTaxIdentity(tID *tax.Identity) error

NormalizeTaxIdentity removes any whitespace or separation characters and ensures all letters are uppercase.

Types

This section is empty.

Jump to

Keyboard shortcuts

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