Context
PH
/ubl:Invoice/cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'true']/cbc:Amount
VRBL-Invoice-PH-1p0 - Document Level Charge Amount
Philippines |
VRBL-Invoice-PH-1p0
| Context ID | INV0914 |
| Usage | M |
| Format | Amount |
| Final Format Path | $.OtherTaxRev
$.OtherNonTaxCharge |
Description
The amount of a charge, without tax.
Child elements
| Usage | Element | Description | Cardinality |
|---|---|---|---|
| M | @currencyID |
Charge Amount Currency Code
The currency of the amount. |
1..1 |
Details
Example: VRBL_PH_CAS_invoice_max.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:AllowanceCharge>
<!-- ... omitted for readability -->
<cbc:Amount currencyID="USD">8.83333333</cbc:Amount>
<!-- ... omitted for readability -->
</cac:AllowanceCharge>
<!-- ... omitted for readability -->
</ubl:Invoice>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-CORE-327 | The Charge Amount Currency Code must be the same as Document Currency Code. The only exception are the currencies in Tax Total in Tax Accounting Currency. |