in:Invoice/cac:TaxTotal - An association to tax total for specific tax types/rates.
/in:Invoice/cac:TaxTotal/cac:TaxSubtotal/cbc:TaxAmount
- "The amount of tax stated explicitly."
Pre-req: exists( ../cbc:TaxableAmount | ../cbc:Percent )
XPath: ( ../cbc:TaxableAmount * ../cbc:Percent )
- Level: mandatory
/in:Invoice/cac:TaxTotal/cbc:TaxAmount
- "The total tax amount for particular tax scheme e.g. VAT; the sum of each of the tax subtotals for each tax category within the tax scheme."
- the tax subtotals have precedence over the taxes in individual lines
Pre-req: exists( ../cac:TaxSubtotal/cbc:TaxAmount )
XPath: sum( ../cac:TaxSubtotal/cbc:TaxAmount )
- Level: mandatory
Pre-req: empty( ../cac:TaxSubtotal/cbc:TaxAmount ) and exists( /in:Invoice/cac:InvoiceLine/cac:TaxTotal/cac:TaxAmount )
XPath: sum( /in:Invoice/cac:InvoiceLine/cac:TaxTotal/cac:TaxAmount )
- Level: mandatory
- "The total tax amount for particular tax scheme e.g. VAT; the sum of each of the tax subtotals for each tax category within the tax scheme."
Universal Business Language (UBL) Wiki