Spain B2G: Line-Level Allowances

You can specify Allowances (Discounts) at the line level.

Use the AllowanceCharge element to model this information.

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

You can also specify Allowances at the Document level. Details are provided in the Spain B2G: Document-Level Allowances topic.

Elements

ElementDescription
ChargeIndicatorTrue 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.
AllowanceChargeReasonCodeCode that specifies the reason for the allowance or charge. For allowances, you must use the UNCL 5819 codes listed here. For charges, you must use the UNCL 7161 codes listed here.
AllowanceChargeReasonText that describes the reason the Allowance or Charge is permitted.
MultiplierFactorNumericThe percentage that may be used, in conjunction with the document-level allowance base amount, to calculate the document-level allowance or charge amount.
AmountThe amount of the charge or allowance.
BaseAmountThe base amount to which a charge is added or an allowance is subtracted.
TaxCategorySee TaxCategory.

Restrictions

For Spanish B2G Documents, you must use one of the following values for the TaxScheme/ID element:

VRBL ValueUBL ValueDescription
VRBL:ES:01VATValue-Added Tax
VRBL:ES:02Not applicableIPSI: Taxes on production, services and imports in Ceuta and Melilla
VRBL:ES:03Not applicableIGIC: Canaries General Indirect Tax
VRBL:ES:04Not applicableIRPF: Personal Income Tax
VRBL:ES:05OTHOther
VRBL:ES:06Not applicableITPAJD: Tax on wealth transfers and stamp duty
VRBL:ES:07Not applicableIE: Excise duties and consumption taxes
VRBL:ES:08Not applicableRa: Customs duties
VRBL:ES:09Not applicableIGTECM: Sales tax in Ceuta and Melilla
VRBL:ES:10Not applicableIECDPCAC: Excise duties on oil derivates in Canaries
VRBL:ES:11Not applicableIIIMAB: Tax on premises that affect the environment in the Balearic Islands
VRBL:ES:12Not applicableICIO: Tax on construction, installation and works
VRBL:ES:13Not applicableIMVDN: Local tax on unoccupied homes in Navarre
VRBL:ES:14Not applicableIMSN: Local tax on building plots in Navarre
VRBL:ES:15Not applicableIMGSN: Local sumptuary tax in Navarre
VRBL:ES:16Not applicableIMPN: Local tax on advertising in Navarre
VRBL:ES:17Not applicableREIVA: Special VAT for travel agencies
VRBL:ES:18Not applicableREIGIC: Special IGIC: for travel agencies
VRBL:ES:19Not applicableREIPSI: Special IPSI for travel agencies
VRBL:ES:20Not applicableIPS: Insurance premiums Tax
VRBL:ES:21Not applicableSWUA: Surcharge for Winding Up Activity
VRBL:ES:22Not applicableIVPEE: Tax on the value of electricity generation
VRBL:ES:23Not applicableTax on the production of spent nuclear fuel and radioactive waste from the generation of nuclear electric power
VRBL:ES:24Not applicableTax on the storage of spent nuclear energy and radioactive waste in centralised facilities
VRBL:ES:25Not applicableIDEC: Tax on bank deposits
VRBL:ES:26Not applicableExcise duty applied to manufactured tobacco in Canaries
VRBL:ES:27Not applicableIGFEI: Tax on Fluorinated Greenhouse Gases
VRBL:ES:28Not applicableIRNR: Non-resident Income Tax
VRBL:ES:29Not applicableCorporation Tax

Example

<Invoice>
    <!-- code omitted for clarity -->
    <cac:InvoiceLine>
        <!-- code omitted for clarity -->
        <cac:AllowanceCharge>
            <cbc:ChargeIndicator>false</cbc:ChargeIndicator>
            <cbc:AllowanceChargeReason>Discount 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>