Context
MY
/ubl:Invoice/cac:LegalMonetaryTotal/cbc:ChargeTotalAmount
VRBL-Invoice-MY-1p0 - Sum of Charges on Document Level
Malaysia |
VRBL-Invoice-MY-1p0
| Context ID | INV1142 |
| Usage | C |
| Usage Description | Required when document charges are provided. |
Description
Sum of all charges on document level in the invoice.
Child elements
| Usage | Element | Description | Cardinality |
|---|---|---|---|
| M | @currencyID |
Legal Monetary Total Charge Total Amount Currency Code
The currency of the amount. |
1..1 |
Details
Example: MY_creditnote_02_v1.0_commented.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:LegalMonetaryTotal>
<!-- ... omitted for readability -->
<cbc:ChargeTotalAmount currencyID="MYR">0.00</cbc:ChargeTotalAmount>
<!-- ... omitted for readability -->
</cac:LegalMonetaryTotal>
<!-- ... omitted for readability -->
</ubl:Invoice>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-CORE-407 | The Legal Monetary Total Charge Total Amount Currency Code must be the same as Document Currency Code. The only exception are the currencies in Tax Total in Tax Accounting Currency. |
| VRBL-INV-CORE-386 | The Sum of Charges on Document Level must have no more than 2 decimals. |