Tax
KeyDefinition
KeyDefinition defines properties of a key that is specific for a regime.
Schema ID
https://gobl.org/draft-0/tax/regime#/$defs/KeyDefinition
Properties
Title | Property | Type | Req. | Description |
---|---|---|---|---|
Key | key | cbc.Key | true | Actual key value. |
Name | name | i18n.String | true | Short name for the key. |
Description | desc | i18n.String | Description offering more details about when the key should be used. | |
Codes | codes | array of tax.CodeDefinition | Codes describes the list of codes that can be used alongside the Key, for example with identities. | |
Keys | keys | array of tax.KeyDefinition | Keys is used instead of codes to define a further sub-set of keys that can be used alongside this one. | |
Map | map | cbc.CodeMap | Map helps map local keys to specific codes, useful for converting the described key into a local code. |