Tax
RateTotal
Tax
RateTotal
RateTotal contains a sum of all the tax rates in the document with a matching category and rate.
Schema ID
https://gobl.org/draft-0/tax/total#/$defs/RateTotal
Properties
Title | Property | Type | Req. | Description |
---|---|---|---|---|
Key | key | cbc.Key | Optional rate key is required when grouping. | |
Base | base | num.Amount | true | Base amount that the percentage is applied to. |
Percent | percent | num.Percentage | Percentage of the rate, which may be nil for exempt rates. | |
Surcharge | surcharge | tax.RateTotalSurcharge | Surcharge applied to the rate. | |
Amount | amount | num.Amount | true | Total amount of rate, excluding surcharges |