/ubl:Invoice/cac:TaxTotal[cbc:TaxAmount/@currencyID = ../cbc:DocumentCurrencyCode]/cac:TaxSubtotal

Invoice Tax Subtotal Group

Context ID INV1037
Cardinality 0..n
Usage M+
Mandate Business Term Code IBG-23
Final Format Path /ubl:Invoice/cac:TaxTotal/cac:TaxSubtotal

Description

One of the subtotals the sum of which equals the total tax amount for a particular taxation scheme.

Child elements

Cardinality Usage Description Element
0..1 M Invoice Tax Subtotal Taxable Amount
The net amount to which the tax percent (rate) is applied to calculate the tax amount.
cbc:TaxableAmount
1..1 M Invoice Tax Subtotal Amount
The amount of this tax subtotal.
cbc:TaxAmount
1..1 M Invoice Tax Subtotal Category Group
The tax category applicable to this subtotal.
cac:TaxCategory

Rules

Rule ID Error Message
VRBL-INV-CORE-347 The Invoice Tax Subtotal Taxable Amount must exist within the Invoice Tax Subtotal Group.