Context
ES
/ubl:Invoice/cac:InvoiceLine/cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'true']/cbc:Amount
VRBL-Invoice-ES-FacturaE-3p2 - Invoice Line Charge Amount
Spain |
VRBL-Invoice-ES-FacturaE-3p2
| Context ID | INV1278 |
| Usage | M |
Description
The amount of a charge, without tax.
Child elements
| Usage | Element | Description | Cardinality |
|---|---|---|---|
| M | @currencyID |
Invoice Line Charge Amount Currency Code
The currency of the amount. |
1..1 |
Details
Example: ES_B2G_Invoice_with_line_discounts.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:InvoiceLine>
<!-- ... omitted for readability -->
<cac:AllowanceCharge>
<!-- ... omitted for readability -->
<cbc:Amount currencyID="EUR">90.00</cbc:Amount>
</cac:AllowanceCharge>
<!-- ... omitted for readability -->
</cac:InvoiceLine>
</ubl:Invoice>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-CORE-483 | The Invoice Line Charge Amount Currency Code must be the same as Document Currency Code. The only exception are the currencies in Tax Total in Tax Accounting Currency. |