Tax defines a summary of the taxes which may be applied to an invoice.

Schema ID

https://gobl.org/draft-0/bill/tax

Properties

TitlePropertyTypeReq.Description
Prices Includeprices_includecbc.CodeCategory of the tax already included in the line item prices, especially useful for B2C retailers with customers who prefer final prices inclusive of tax.
Rounding Modelroundingcbc.KeyRounding model used to perform tax calculations on the invoice. This will be configured automatically based on the tax regime, or sum-then-round by default, but you can override here if needed. Use with caution, as some conversion tools may make assumptions about the rounding model used.
Extensionsexttax.ExtensionsAdditional extensions that are applied to the invoice as a whole as opposed to specific sections.
Metametacbc.MetaAny additional data that may be required for processing, but should never be relied upon by recipients.

Rounding Model Values

ValueDescription
preciseThe default method of calculating the totals in GOBL, and provides the best results for most cases as the precision is maintained to the maximum amount possible. The tradeoff however is that sometimes the totals may not sum exactly based on what is visible.
currencyThe alternative method of calculating the totals that will first round all the amounts to the currency’s precision before making the sums. Totals using this approach can always be recalculated using the amounts presented, but can lead to rounding errors in the case of pre-payments and when line item prices include tax.