Tax
RateDef
RateDef defines a single rate inside a category
Schema ID
https://gobl.org/draft-0/tax/regime-def#/$defs/RateDef
Properties
Title | Property | Type | Req. | Description |
---|---|---|---|---|
Key | key | cbc.Key | true | Key identifies this rate within the system |
Name | name | i18n.String | true | Human name of the rate |
Description | desc | i18n.String | Useful description of the rate. | |
Exempt | exempt | boolean | Exempt when true implies that the rate when used in a tax Combo should not define a percent value. | |
Values | values | array of tax.RateValueDef | Values contains a list of Value objects that contain the current and historical percentage values for the rate and additional filters. Order is important, newer values should come before older values. | |
Extensions | ext | tax.Extensions | Extensions key-value pair that will be copied to the tax combo if this rate is used. | |
Meta | meta | cbc.Meta | Meta contains additional information about the rate that is relevant for local frequently used implementations. |