ca

package
v0.65.0 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

README ¶

🇨🇦 GOBL Canada Tax Regime

Example Canada GOBL files can be found in the examples (YAML uncalculated documents) and examples/out (JSON calculated envelopes) subdirectories.

Documentation ¶

Overview ¶

Package ca provides models for dealing with Canada.

Index ¶

Constants ¶

View Source
const (
	TaxCategoryHST cbc.Code = "HST"
	TaxCategoryPST cbc.Code = "PST"
)

Tax categories specific for Canada.

Variables ¶

This section is empty.

Functions ¶

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.

Types ¶

This section is empty.

Jump to

Keyboard shortcuts

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