Context
MY
/ubl:Invoice/cac:InvoiceLine/cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'true']/cbc:Amount
VRBL-Invoice-MY-1p0 - Invoice Line Charge Amount
Malaysia |
VRBL-Invoice-MY-1p0
| Context ID | INV1278 |
| Usage | M |
Description
The amount of a charge, without tax.
Child elements
| Usage | Element | Description | Cardinality |
|---|---|---|---|
| M | @currencyID |
Invoice Line Charge Amount Currency Code
The currency of the amount. |
1..1 |
Details
Example: MY_invoice_01_foreign_currency.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:InvoiceLine>
<!-- ... omitted for readability -->
<cac:AllowanceCharge>
<!-- ... omitted for readability -->
<cbc:Amount currencyID="USD">150</cbc:Amount>
</cac:AllowanceCharge>
<!-- ... omitted for readability -->
</cac:InvoiceLine>
<!-- ... omitted for readability -->
</ubl:Invoice>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-CORE-483 | The Invoice Line 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. |