Context
PH
/ubl:Invoice/cac:TaxTotal[cbc:TaxAmount/@currencyID = ../cbc:DocumentCurrencyCode]
VRBL-Invoice-PH-1p0 - Tax Total
Philippines |
VRBL-Invoice-PH-1p0
| Context ID | INV1033 |
| Usage | M |
Description
A group of business terms providing information about the total tax in document currency.
Child elements
| Usage | Element | Description | Cardinality |
|---|---|---|---|
| M | cbc:TaxAmount |
Invoice Total Tax Amount
The total tax amount for a particular taxation scheme, e.g., VAT; the sum of the tax subtotals for each tax category within the taxation scheme. |
1..1 |
| M+ | cac:TaxSubtotal |
Tax Breakdown
One of the subtotals the sum of which equals the total tax amount for a particular taxation scheme. |
0..n |
Details
Example: VRBL_PH_CAS_invoice.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:TaxTotal>
<cbc:TaxAmount currencyID="PHP">37.5</cbc:TaxAmount>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="PHP">312.50</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="PHP">37.5</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:ID>S</cbc:ID>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
</cac:TaxTotal>
<!-- ... omitted for readability -->
</ubl:Invoice>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-PH-1p0-6 | When the Document Currency Code is PHP, the Tax Total expects a minimum of one Tax Breakdown. |