Tax
AddonDef
AddonDef is an interface that defines the methods that a tax add-on must implement.
Schema ID
https://gobl.org/draft-0/tax/addon-def
Properties
Title | Property | Type | Req. | Description |
---|---|---|---|---|
Key | key | cbc.Key | true | Key that defines how to uniquely idenitfy the add-on. |
Name | name | i18n.String | true | Name of the add-on |
Description | description | i18n.String | Description of the add-on | |
Extensions | extensions | array of cbc.KeyDefinition | true | Extensions defines the list of extensions that are associated with an add-on. |
Tags | tags | array of tax.TagSet | Tags is slice of tag sets that define what can be assigned to each document schema. | |
Scenarios | scenarios | array of tax.ScenarioSet | true | Scenarios are applied to documents after normalization and before validation to ensure that form specific extensions have been added to the document. |
Inboxes | inboxes | array of cbc.KeyDefinition | Inboxes is a list of keys that are used to identify where copies of documents can be sent. | |
Corrections | corrections | tax.CorrectionSet | true | Corrections is used to provide a map of correction definitions that are supported by the add-on. |