Context
PT
/ubl:Invoice/cac:LegalMonetaryTotal/cbc:LineExtensionAmount
VRBL-Invoice-PT-2p1 - Sum of Invoice Line Net Amount
Portugal |
VRBL-Invoice-PT-2p1
| 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: PT_creditnote_381.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:LegalMonetaryTotal>
<cbc:LineExtensionAmount currencyID="EUR">400.00</cbc:LineExtensionAmount>
<!-- ... omitted for readability -->
</cac:LegalMonetaryTotal>
<!-- ... omitted for readability -->
</ubl:Invoice>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-PT-2p1-248 | The Sum of Invoice Line Net Amount must have a maximum of 13 digits before the decimal separator, and a maximum of 2 digits after the decimal separator. |
| VRBL-INV-PT-2p1-249 | The Legal Monetary Total Line Extension Amount Currency Code must be equal to Document Currency Code. |
| 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. |