br

package
v0.205.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

README ¶

🇧🇷 GOBL Brazil Tax Regime

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

Documentation ¶

Overview ¶

Package br provides the tax region definition for Brazil.

Index ¶

Constants ¶

View Source
const (
	TaxCategoryISS    cbc.Code = "ISS"
	TaxCategoryICMS   cbc.Code = "ICMS"
	TaxCategoryIPI    cbc.Code = "IPI"
	TaxCategoryPIS    cbc.Code = "PIS"
	TaxCategoryCOFINS cbc.Code = "COFINS"
)

Tax categories specific for Brazil.

Variables ¶

This section is empty.

Functions ¶

func New ¶

func New() *tax.RegimeDef

New provides the tax region definition

func Normalize ¶

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.

Types ¶

This section is empty.

Jump to

Keyboard shortcuts

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