Context
RO
/ubl:Invoice/cac:TaxTotal[cbc:TaxAmount/@currencyID = ../cbc:DocumentCurrencyCode]/cac:TaxSubtotal/cbc:TaxAmount
VRBL-Invoice-RO-1p0 - Tax Category Tax Amount
Romania |
VRBL-Invoice-RO-1p0
| Context ID | INV1048 |
| Usage | M |
| Format | Amount |
| Mandate Business Term Code | BT-117 |
| Final Format Path | /ubl:Invoice/cac:TaxTotal[cbc:TaxAmount/@currencyID = ../cbc:DocumentCurrencyCode]/cac:TaxSubtotal/cbc:TaxAmount |
Description
The total tax amount for a given tax category.
Child elements
| Usage | Element | Description | Cardinality |
|---|---|---|---|
| M | @currencyID |
Invoice Tax Subtotal Amount Currency Code
The currency of the amount. |
1..1 |
Details
Example: RO_creditnote_381_v1.0.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:TaxTotal>
<!-- ... omitted for readability -->
<cac:TaxSubtotal>
<!-- ... omitted for readability -->
<cbc:TaxAmount currencyID="RON">334.00</cbc:TaxAmount>
<!-- ... omitted for readability -->
</cac:TaxSubtotal>
</cac:TaxTotal>
<!-- ... omitted for readability -->
</ubl:Invoice>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-EN16931-CM-350 | The value of the Invoice Tax Subtotal Amount Currency Code must be contained in Alpha-3 currency [VRBL-CL-EN16931-CurrencyCode]. |
| VRBL-INV-EN16931-S-272 | The Tax Category Tax Amount must have no more than 2 decimals. |
| VRBL-INV-EN16931-M-211 | The Tax Category Tax Amount must have no more than 2 decimals. |
| VRBL-INV-CORE-354 | The Invoice Tax Subtotal Amount Currency Code must be the same as Document Currency Code. The only exception are the currencies in Tax Total in Tax Accounting Currency. |