Spain (FacturaE): Line-Level Charges

You can specify Charges at the line level in your requests.

Use the AllowanceCharge sub-element of the InvoiceLine element to model this information.

The Line-level Charge applies to the line.

For Spanish B2B Documents, the AllowanceChargeReason and Amount elements are mandatory.

You can also specify Charges at the Document level. Details are provided in the Spain (FacturaE): Document-Level Charges topic.

Elements

Use the InvoiceLine/AllowanceCharge element to specify this information:

ElementCardinalityDescription
Invoice Line Allowances and Charges (Invoice/InvoiceLine/AllowanceCharge)0..nGroups information about Allowances and Charges.
Invoice Line Charge Indicator (Invoice/InvoiceLine/AllowanceCharge/ChargeIndicator)1..1True or false flag that indicates if this element is modeling an allowance or a charge. If set to false, it is an allowance. If set to true, it is a charge.
Invoice Line Allowance Charge Reason Code (Invoice/InvoiceLine/AllowanceCharge/AllowanceChargeReasonCode)0..1Code that specifies the reason for the allowance or charge. For countries without specific required values, you must use the UNCL 5819 codes listed here for allowances and the UNCL 7161 codes listed here.
Invoice Line Allowance Charge Reason (InvoiceLine/AllowanceCharge/AllowanceChargeReason)0..1Text that describes the reason the Allowance or Charge is permitted.
Invoice Line Percentage (Invoice/InvoiceLine/AllowanceCharge/MultiplierFactorNumeric)0..1The percentage that may be used, in conjunction with the document-level allowance base amount, to calculate the document-level allowance or charge amount.
Invoice Line Amount (Invoice/InvoiceLine/AllowanceCharge/Amount)1..1The amount of the charge or allowance.
Invoice Line Base Amount (Invoice/InvoiceLine/AllowanceCharge/BaseAmount)0..1The base amount to which a charge is added or an allowance is subtracted.

Example

<Invoice>
    <!-- code omitted for clarity -->
    <cac:InvoiceLine>
        <!-- code omitted for clarity -->
        <cac:AllowanceCharge>
            <cbc:ChargeIndicator>true</cbc:ChargeIndicator>
            <cbc:AllowanceChargeReason>Allowance reason</cbc:AllowanceChargeReason>
            <cbc:MultiplierFactorNumeric>10.00</cbc:MultiplierFactorNumeric>
            <cbc:Amount currencyID="EUR">1.00</cbc:Amount>
        </cac:AllowanceCharge>
        <!-- code omitted for clarity -->
    </cac:InvoiceLine>
    <!-- code omitted for clarity -->
</Invoice>