gb

package
v0.210.0 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package gb provides the United Kingdom tax regime.

Index

Constants

View Source
const (
	IdentityTypeCRN cbc.Code = "CRN" // Company Registration Number
)

Identification code types unique to the United Kingdom.

Variables

This section is empty.

Functions

func New

func New() *tax.RegimeDef

New provides the tax region definition

func Normalize added in v0.200.0

func Normalize(doc interface{})

Normalize will attempt to clean the object passed to it.

func Validate

func Validate(doc interface{}) error

Validate checks the document type and determines if it can be validated. Note that in the GB tax regime we don't need to validate the presence of the supplier's tax ID.

Types

This section is empty.

Jump to

Keyboard shortcuts

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