Context
JP
/ubl:Invoice/cac:TaxTotal[cbc:TaxAmount/@currencyID = ../cbc:DocumentCurrencyCode]/cac:TaxSubtotal/cbc:TaxAmount
VRBL-Invoice-JP-1p0 - Tax Category Tax Amount
Japan |
VRBL-Invoice-JP-1p0
| Context ID | INV1048 |
| Usage | M |
| Mandate Business Term Code | IBT-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.
If the document currency or the tax accounting currency is JPY the tax amount shall not have decimals.
Child elements
| Usage | Element | Description | Cardinality |
|---|---|---|---|
| M | @currencyID |
Invoice Tax Subtotal Amount Currency Code
The currency of the amount. |
1..1 |
Details
Example: JP_Invoice_for_Non-tax_Registered_Businesses.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:TaxTotal>
<!-- ... omitted for readability -->
<cac:TaxSubtotal>
<!-- ... omitted for readability -->
<cbc:TaxAmount currencyID="JPY">0</cbc:TaxAmount>
<!-- ... omitted for readability -->
</cac:TaxSubtotal>
<!-- ... omitted for readability -->
</cac:TaxTotal>
<!-- ... omitted for readability -->
</ubl:Invoice>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-PEPPOL-PINT-177 | The Invoice Tax Subtotal Amount Currency Code must have the same value as the Document Currency Code, except for the invoice Total Tax Amount in accounting currency. |
| VRBL-INV-PEPPOL-PINT-213 | The value of the Invoice Tax Subtotal Amount Currency Code must be contained in ISO 4217 Alpha-3 currency [VRBL-CL-PINT-CurrencyCode]. For more information visit: https://docs.peppol.eu/poacc/billing/3.0/codelist/ISO4217/ |
| 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. |