gb

package
v0.111.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2024 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 Calculate added in v0.40.0

func Calculate(doc interface{}) error

Calculate will attempt to clean the object passed to it.

func New

func New() *tax.Regime

New provides the tax region definition

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