Schema ID
https://gobl.org/draft-0/tax/addon-def
Properties
| Title | Property | Type | Description |
|---|---|---|---|
| Key | key | cbc.Key | Key that defines how to uniquely identify the add-on. |
| Requires | requires | array of cbc.Key | Requires defines any additional addons that this one depends on to operate correctly. |
| Name | name | i18n.String | Name of the add-on |
| Description | description | i18n.String | Description of the add-on |
| Sources | sources | array of cbc.Source | Sources is a list of sources that are used to provide the data for the add-on. |
| Extensions | extensions | array of cbc.Definition | 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 | Scenarios are applied to documents after normalization and before validation to ensure that form specific extensions have been added to the document. |
| Identities | identities | array of cbc.Definition | Identities that are specific for the add-on and may be validated against or used during conversion processes. |
| Inboxes | inboxes | array of cbc.Definition | Inboxes is a list of keys that are used to identify where copies of documents can be sent. |
| Corrections | corrections | tax.CorrectionSet | Corrections is used to provide a map of correction definitions that are supported by the add-on. |
Validation Rules
| Field | Test | Validation Code / Message |
|---|---|---|
key |
| GOBL-TAX-ADDONDEF-01Addon must have a key |
name |
| GOBL-TAX-ADDONDEF-02Addon must have a name |