Spain B2G: Document-Level Taxes in Tax Currency

Read about how to model taxes in the Tax Currency at the Document level.

For Spanish Documents, you must use one of the required vales for the Tax Scheme ID.

Elements

You use the TaxTotal and TaxSubtotal elements to model the tax information. More information is provided in the Tax Totals and Subtotals and VRBL: Document-Level Taxes in Accounting Currency topics.

Restrictions

You must use one of the following values for the Tax Scheme ID:

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 -->
    <cbc:DocumentCurrencyCode>USD</cbc:DocumentCurrencyCode>
    <cbc:TaxCurrencyCode>EUR</cbc:TaxCurrencyCode>
    <!-- Code omitted for clarity -->
    <cac:TaxExchangeRate>
        <cbc:SourceCurrencyCode>USD</cbc:SourceCurrencyCode>
        <cbc:TargetCurrencyCode>EUR</cbc:TargetCurrencyCode>
        <cbc:CalculationRate>1.05</cbc:CalculationRate>
    </cac:TaxExchangeRate>
    <!-- Code omitted for clarity -->
    <cac:TaxTotal>
        <cbc:TaxAmount currencyID="EUR">40</cbc:TaxAmount>   
        <cac:TaxSubtotal>
            <cbc:TaxableAmount currencyID="EUR">400</cbc:TaxableAmount>
            <cbc:TaxAmount currencyID="EUR">40</cbc:TaxAmount>
            <cac:TaxCategory>
                <cbc:ID>S</cbc:ID>
                <cbc:Percent>10.00</cbc:Percent>    
                <cac:TaxScheme>
                    <cbc:ID>VRBL:ES:17</cbc:ID>
                </cac:TaxScheme>
            </cac:TaxCategory>
        </cac:TaxSubtotal>
     </cac:TaxTotal>   
    <!-- Code omitted for clarity -->
</Invoice>