Context
SA
/ubl:Invoice/cac:LegalMonetaryTotal/cbc:LineExtensionAmount
VRBL-Invoice-SA-1p2 - Sum of Invoice Line Net Amount
Saudi Arabia |
VRBL-Invoice-SA-1p2
| Context ID | INV1134 |
| Usage | M |
Description
Sum of all Invoice line net amounts in the Invoice.
Child elements
| Usage | Element | Description | Cardinality |
|---|---|---|---|
| M | @currencyID |
Legal Monetary Total Line Extension Amount Currency Code
The currency of the amount. |
1..1 |
Details
Example: SA_Creditnote_381.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:LegalMonetaryTotal>
<cbc:LineExtensionAmount currencyID="SAR">4.00</cbc:LineExtensionAmount>
<!-- ... omitted for readability -->
</cac:LegalMonetaryTotal>
<!-- ... omitted for readability -->
</ubl:Invoice>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-EN16931-CM-353 | The value of the Legal Monetary Total Line Extension Amount Currency Code must be contained in Alpha-3 currency [VRBL-CL-EN16931-CurrencyCode]. |
| VRBL-INV-EN16931-S-275 | The Sum of Invoice Line Net Amount must have no more than 2 decimals. |
| VRBL-INV-CORE-395 | The Legal Monetary Total Line Extension Amount Currency Code must be the same as Document Currency Code. The only exception are the currencies in Tax Total in Tax Accounting Currency. |