Context
MX
/ubl:Invoice/cac:InvoiceLine/cbc:LineExtensionAmount
VRBL-Invoice-MX-1p0 - Invoice Line Net Amount
Mexico |
VRBL-Invoice-MX-1p0
| Context ID | INV1180 |
| Usage | M |
Description
The total amount of the Invoice line (before tax).
Child elements
| Usage | Element | Description | Cardinality |
|---|---|---|---|
| M | @currencyID |
Invoice Line Extension Amount Currency Code
The currency of the amount. |
1..1 |
Details
Example: VRBL_MX_BasicInvoice.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:InvoiceLine>
<!-- ... omitted for readability -->
<cbc:LineExtensionAmount currencyID="MXN">3000</cbc:LineExtensionAmount>
<!-- ... omitted for readability -->
</cac:InvoiceLine>
</ubl:Invoice>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-MX-1p0-38 | The Invoice Line Net Amount must have no more than 6 decimals. |
| VRBL-INV-CORE-438 | The Invoice 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. |