Context
US
/ubl:Invoice/cac:LegalMonetaryTotal/cbc:ChargeTotalAmount
VRBL-Invoice-US-DBNA-1p0 - Sum of Charges on Document Level
United States |
VRBL-Invoice-US-DBNA-1p0
| Context ID | INV1142 |
| Usage | O |
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: VRBL_US_INVOICE_Core_DBNA_UBL_2.3_Valid.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:LegalMonetaryTotal>
<!-- ... omitted for readability -->
<cbc:ChargeTotalAmount currencyID="USD">27.3</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. |