/ubl:Invoice/cac:InvoiceLine/cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'false']

Invoice Line Allowances

Spain | VRBL-Invoice-ES-FacturaE-3p2
Context ID INV1251
Usage O*

Description

A group of business terms providing information about allowances applicable to the individual invoice line.

Child elements
Usage Element Description Cardinality
M cbc:ChargeIndicator Invoice Line Charge Indicator

An indicator that this AllowanceCharge describes a charge (true) or a discount (false).

1..1
O cbc:AllowanceChargeReason Invoice Line Allowance Reason

The reason for this allowance or charge.

0..n
M cbc:Amount Invoice Line Allowance Amount

The monetary amount of this allowance or charge to be applied.

1..1
Details

Example: ES_B2G_Invoice_with_line_discounts.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:InvoiceLine>
    <!-- ... omitted for readability -->
    <cac:AllowanceCharge>
      <cbc:ChargeIndicator>false</cbc:ChargeIndicator>
      <cbc:AllowanceChargeReason>Line discount reason</cbc:AllowanceChargeReason>
      <cbc:Amount currencyID="EUR">90.00</cbc:Amount>
    </cac:AllowanceCharge>
    <!-- ... omitted for readability -->
  </cac:InvoiceLine>
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-ES-B2G-25 The Invoice Line Allowance Reason must exist within the Invoice Line Allowances.
VRBL-INV-CORE-462 The Invoice Line Allowances expects a maximum of one Invoice Line Allowance Reason.