Tax Agency: Frequently Asked Questions. General matters
Skip the table of contentsInvoice register book
Both may be used concurrently, except in the case of, amongst other transactions, intra-community acquisitions of goods and services or domestic transactions subject to reverse charge (these transactions must only be recorded in the Received Invoices Register).
The transactions included, together with their corresponding codes, are:
VALUES |
DESCRIPTION |
01 |
General scheme transaction |
02 |
Export |
03 |
Transactions to which the special regime for second-hand goods, works of art, antiques and collectors’ items applies |
04 |
Special regime for investment gold |
05 |
Special regime for travel agencies |
06 |
Special VAT regime for groups of entities (Advanced Level) |
07 |
Special cash-basis accounting regime |
08 |
Transactions subject to IPSI / IGIC (Tax on Production, Services and Imports / Canary Islands General Indirect Tax). |
09 |
Invoicing for services provided by travel agencies acting as intermediaries on behalf of and for the account of others (Fourth Additional Provision of Royal Decree 1619/2012 of 30 November) |
10 |
Collection on behalf of third parties of professional fees or royalties arising from industrial property rights, copyright or other rights on behalf of their members, associates or registered practitioners, carried out by companies, associations, professional bodies or other entities that perform these collection functions |
11 |
Leases of business premises subject to withholding tax |
12 |
Leases of business premises not subject to withholding tax |
13 |
Business leases subject to and not subject to withholding tax |
14 |
Invoices with VAT not yet accrued on construction certificates where the recipient is a public authority. |
15 |
Invoice with VAT not yet accrued on ongoing transactions |
16 |
First half of 2017 and other invoices issued prior to inclusion in the SII |
17 |
A transaction falling within one of the regimes set out in Chapter XI of Title IX (OSS and IOSS) |
This refers to the provision set out in Article 5 of the Regulation governing invoicing obligations (Royal Decree 1619/2012), ‘Compliance with the obligation to issue an invoice by the recipient or by a third party’. It should be noted that:
- The deadline for submitting invoicing records to the AEAT (State Tax Administration Agency) is eight calendar days. (Saturdays, Sundays and designated public holidays shall be excluded from the calculation).
- This option, the date from which it takes effect and, where applicable, any withdrawal and the date on which it takes effect, must be notified via the census declaration (Form 036).
The code ‘S’, corresponding to ‘Invoice issued by a third party or the recipient’, must be entered in the Issued Invoices Register Book.
Yes. Where there is an obligation to issue an invoice (Articles 2 and 3 of Royal Decree 1619/2012, which regulates invoicing obligations), this must be recorded.
As this is a transaction not subject to tax, it must be entered within the ‘Invoice Breakdown’ functional block in one of the following fields, depending on the reason for the exemption:
- Amount not subject to Articles 7, 14, etc.
- Amount not subject to localisation rules.
As this is an exempt transaction, it must be recorded in the ‘Invoice Breakdown’ section as ‘Taxable’ and ‘Exempt’, stating the taxable base and, optionally, the reason for the exemption using the following codes:
“E1: exempt under Article 20”
“E2: exempt under Article 21”
“E3: exempt under Article 22”
“E4: exempt under Articles 23 and 24”
“E5: exempt under Article 25”
“E6: exempted by others”
If this information is not available, it will suffice to state that the transaction is exempt.
Where an invoice includes transactions with different grounds for exemption, the amount of the exempt base for each transaction may be itemised.
In the case of customers who are Spanish companies, the supplier or service provider shall record the invoice details in the Invoice Register Book, entering the code ‘Not Exempt – With Reverse Charge’ in the ‘Invoice Breakdown’ section. The fields ‘tax rate’ and ‘tax charged’ must be reported as zero.
In the case of customers who are EU businesses with a VAT tax identification number, the supplier or service provider must record the invoice details in the Invoice Register Book, entering the code ‘Amounts not subject to localisation rules’ in the ‘Breakdown by transaction type’ section. You must also state whether the transaction involves the supply of goods or the provision of services.
The invoice issued to the EU customer shall be entered in the Issued Invoices Register, identifying it using code 2 in the ‘IDType’ field (country of residence identification types) and its Intra-Community Operator Number in the ‘ID’ field. The “CodigoPais” field will not be compulsory.
Furthermore, the taxable base of the invoice must be entered in the ‘Exempt’ transaction type field within the ‘Supply’ section. The code ‘E5: Exempt under Article 25’ must be entered as the reason for exemption.
The transaction is recorded in the Invoice Register Book.
In the ‘Special Regime or Significance Code’ field, enter the value 02.
The customer must be identified – if they are a foreign national – using the ‘Country code’ and codes 3 ‘Passport’, 4 ‘Official identification document issued by the country or territory of residence’, 5 ‘Certificate of residence’ or 6 ‘Other supporting document’ in the ‘IDType’ field.
Furthermore, the taxable base of the invoice must be entered in the ‘Exempt’ transaction type field within the ‘Supply’ section. The reason for the exemption must be entered as code E2: ‘Exempt under Article 21’.
These are transactions treated as supplies of goods (also known as ‘external’ own-use transactions) which must be recorded in the Invoice Register Book in accordance with their tax classification, without any particular special provisions.
These are transactions treated as supplies of goods (also known as ‘internal’ own-use transactions) which must be recorded in the Invoice Register Book and the Received Invoices Register, in accordance with their tax classification. In both cases, the details of the invoice issuer will match those of the counterparty.
The invoice issued will be recorded using the special regime codes “11” and “12”, depending on whether or not the lease is subject to withholding, and “13” if the invoice covers both types of lease.
In the case of a lease not subject to withholding tax (codes ‘12’ and ‘13’), the location code and the cadastral reference number must be specified for each premises. Currently, the maximum number of cadastral references that can be included in the system is 15; if this number is exceeded, the 15 references with the highest cadastral value will be recorded.
The invoice issued will be recorded using the special regime codes “11” and “12”, depending on whether or not the lease is subject to withholding, and “13” if the invoice covers both types of lease.
In the case of a lease not subject to withholding tax (codes ‘12’ and ‘13’), the location code and the cadastral reference number must be specified for each premises.
If there are more than 15 cadastral reference numbers, the first 15 will be included in the XML file for issued invoices, and the remainder will be sent in a separate XML file.
The breakdown must be provided at transaction level when the customer is a foreign entity (classified as ‘ID Other’, except for code 07, or with a tax identification number beginning with N) and the document is not a simplified invoice or a summary entry.
The financial year and accrual period for the transaction relating to the recorded invoice.
Example 1: A, a trader, sells goods to B, another trader, on 6 July 2025. Businessman A issues the invoice on 2 August.
Business owner A will submit the invoice records on 7 August, entering them in the Issued Invoices Register under Financial Year: 2025, Period: 07.
- It should be noted that Saturdays, Sundays and designated public holidays are excluded when calculating the period of four or eight calendar days.
In the case of rectifying invoices, the financial year and tax period in which the correction to the declaration-settlement is made must be stated, in accordance with the provisions of Article 89 of the VAT Act.
Information relating to the DER (electronic reimbursement document) must be submitted as follows:
Information relating to the DER must be submitted by the 16th of the month following the settlement period in which the correction relating to the refund of the tax borne by the traveller is included.
When amending a DER, ‘A6’ must be used as the communication type.
These are cases in which the manufacturer issues only the original of the rectifying invoice, as there is no need to provide a copy to the distributor, since the distributor is not required to correct the tax due or its deductions.
The information must be submitted in the ‘Breakdown at invoice level’ section by ticking the ‘voucher’ box.
This field is compatible with codes R1, R5 (simplified rectifying invoice) and F4 (summary invoice entry).
Example: if the discount offered by the distributor to end consumers is 121 euros and this amount is subject to reimbursement by the manufacturer, the manufacturer will reduce the taxable base by 100 euros (121 euros / 1.21). DGT Advisory Opinion V2966-15.
One of them will be identified as the recipient and the ‘invoice with multiple recipients’ box will be ticked
It is used to submit information relating to building certificates that have been issued, where the recipient is a public authority, when the tax has not yet accrued due to the following circumstances:
The amount corresponding to the part of the works that has been completed has not been paid, either in full or in part
The works have not been accepted, either in full or in part, in accordance with Article 235 of Royal Legislative Decree 3/2011 of 14 November (consolidated text of the Public Sector Contracts Act).
It is used to submit information relating to documents that reflect ongoing transactions (supplies, leases, etc.) and which, whilst meeting the requirements set out in Articles 6 or 7 of Royal Decree 1619/2012, are not regarded as invoices because the tax has not yet undergone the accrual due to the following circumstances:
The amount invoiced is not payable on the date of issue.
It has not been paid in full or in part.
Please note that the transaction date to be entered is the due date (accrual date), which will also determine the settlement period to be reported (see FAQ ‘What information should be entered in the “Settlement period” section?’, in this same section 3).
Even if the tax amount is not itemised on the simplified invoice, when you tick codes ‘F2’, ‘F4’ and ‘R5’ in the Issued Invoices Register, the fields for the taxable base, tax rate and tax charged are mandatory. The ‘allocated quota’ field must be equal to the taxable base multiplied by the rate (a margin of +/- 10 euros will be permitted).
Invoices must be issued on the same date. These are therefore DAILY summary entries.
It is not mandatory to identify the recipient.
The accrual of the documented transactions must have taken place within the same calendar month.
The system allows the following keys to be combined:
Compatible keys |
|
|---|---|
| 07 - Special cash-basis regime | 01 - General provisions |
| 03 - REBU | |
| 05 - Special regime for travel agencies | |
| 09 – Travel agencies (Article 4 of Royal Decree 1619/2012) | |
| 11, 12 and 13 – Local business leases | |
| 14 - VAT not yet at the time of accrual. Public works certifications | |
| 15 - VAT accrual. Successive tract | |
| 05 - Special regime for travel agencies | 01 - General provisions |
| 06 - Special VAT regime for groups – advanced level | |
| 07 - Special cash-basis regime | |
| 08 - Transactions subject to IGIC and IPSI | |
| 11, 12 and 13 – Local business leases | |
| 06 - Special VAT regime for groups – advanced level | 05 - Special regime for travel agencies |
| 11, 12 and 13 – Local business leases | |
| 14 - VAT not yet at the time of accrual. Public works certifications | |
| 15 - VAT accrual. Successive tract | |
| 11, 12 and 13 – Local business leases | 06 - Group of organisations (advanced level) |
| 07 - Special cash-basis regime | |
| 08 - Transactions subject to IGIC and IPSI | |
| 15 - VAT accrual. Successive tract | |
| 03 - REBU | 01 - General provisions |
| 01 - General provisions | 02 - Export |
| 05 - Special regime for travel agencies | |
| 07 - Special cash-basis regime | |
| 08 - Transactions subject to IGIC and IPSI | |
| 08 - Transactions subject to IGIC and IPSI | 02 - Export |
Key 07 (Cash Basis) must always be the first key to be entered.
Code 05 (Travel agencies) must be the first code to be reported, unless it overlaps with code 07 (RECC).
Code 06 (Special regime for groups of entities for VAT – advanced level) must be the first code to be reported when it occurs alongside codes 11, 12, 13, 14 and 15.
Code 08 (Transactions subject to IGIC and IPSI) must be the first code to be reported when it occurs alongside code 02 (Exports).
Code 03 (Special regime for second-hand goods, works of art, antiques and collectors’ items) must be the first code to be reported when it occurs alongside code 01.
This combination will not involve a breakdown of the amounts by each code, but it will involve taking into account the various additional fields that must be completed, bearing in mind each of the codes.
It will be recorded using code F1, assigning the invoice a sequential number which must not be the same as any other number already reported for the same date and issuer.
Only those issued by third parties in accordance with regulations, as set out in the third and sixth additional provisions of Royal Decree 1619/2012 and the Organised Gas Market.
- Simplified invoices, with the exception of qualified simplified invoices as set out in Articles 7.2 and 7.3 of the Regulation governing invoicing obligations, shall be recorded in the manner specified in the FAQ‘Which invoices are recorded using code F1?’ of paragraph 2.
- Complete invoices for which it is not compulsory to include the recipient’s tax identification number pursuant to the provisions of Article 6.1(d) of the aforementioned Regulation governing invoicing obligations, characterised by the fact that the recipient is not identified. These invoices shall be marked with a specific symbol in the Invoice Register Book.
This brand is compatible with rectifying invoices registered under code R5.
In the event of a delay in payment for a works certificate addressed to a public authority, where the certificate has been registered under code 14 ‘Invoice with VAT not yet accrued’ because the works have not yet been accepted in full or in part, a registration amendment must be made using communication type A1, stating the new expected date of payment as the transaction date and the corresponding settlement period.
If an advance payment for the completion certificate is received earlier than the scheduled date, the issuer must:
- Record the invoice issued as a result of the payment received, using the general transaction type codes.
- amend the initial registration of the building certification carried out using code 14, reducing the taxable base and the total amount by the sums received as advance payments. If the advance payment covers the full amount of the certification, this figure will be set to zero.
In the event of a delay in collection, no amendment to the register shall be made, as the accrual occurs when payment becomes due, regardless of when it is actually made (except in the case of transactions to which the special cash-basis accounting regime applies).
If an advance payment is received earlier than the scheduled date, the supplier or service provider must:
- record the invoice issued as a result of the payment made using the general code F1
- amend the initial entry made using code 15, reducing the taxable base and the total amount by the sums received as advance payments. If the advance payment covers the full price, this figure will be set to zero.
Code 10 must only be used by associations, professional bodies or other organisations registered with the SII to report professional fees or royalties arising from intellectual property, copyright or other sources collected on behalf of their members. These charges are not recorded on an invoice; they must simply be reported as invoicing records with code 10 to the SII. The invoice number shall be the number assigned to the document evidencing the payment made by the association or professional body to the member, and the issue date shall be the date on which the association or professional body receives the payment, identifying the member as the counterparty on whose behalf the payment has been received. The transaction shall be recorded as ‘not subject to Articles 7, 14, others’, stating the total amount of the consideration.
The invoice documenting the service provided by the member must be recorded in the member’s invoice register book, regardless of whether the invoice was issued by the association, professional body or other organisation on behalf of the member.
Code 10 shall NOT be used in transactions involving:
- Services provided by the association, professional body or organisation itself to its members. They must register using code 01 (unless another specific code applies).
- Re-invoicing by the association, professional body or organisation for services provided by its members to clients. In this case, the member must issue an invoice for the services provided to the association, professional body or organisation, and the latter will issue an invoice in its own name to the client. Both invoices shall be recorded under code 01 (unless another specific code applies) in the register of the member and of the association, professional body or organisation, respectively.
Example: On 11 January 202X, a professional body collects 12,100 euros in respect of a service provided by one of its members, as documented in the following invoice issued by the body on behalf of the member:
Invoice number 1/202X-A
Date of issue: 2 January 202X
Taxable base: 10,000 euros
Type: 21%
Fee: 2,100 euros
The payment receipt bears the reference number: 5/202X
Registration by the Association with the LRFE:
Invoice number: 5/202X
Invoice issue date: 11 January 202X
Counterparty details: tax identification number (NIF) and name of the registered member
Total amount: 12,100 euros
Key 10
Operation not subject to
Registration by the referee with the LRFE:
Invoice number: 1/202X-A
Invoice issue date: 02-01-202X
Counterparty details: tax identification number (NIF) and name of the client to whom the service is provided
Total amount: 12,100 euros
Code 01
Transaction subject to tax and not exempt
Taxable base: 10,000 euros
Type: 21%
Amount passed on: 12,100 euros
Account 17 shall be used to record invoices documenting transactions subject to Spanish VAT or the VAT of another Member State, in respect of which the party required to record them has opted for one of the special regimes provided for in Chapter XI of Title IX of the VAT Act:
The Union’s external relations.
Union regime.
Import scheme (IOSS).
Example 1: Entity ‘A’, established within the Spanish tax territory (TAI), opts into the Union scheme with effect from 1 July 202X (Member State of identification: Spain). On 20 July, it made a sale to a private individual in France, to whom it dispatched the goods from the TAI. The standard rate applicable in France is 20 per cent. The selling price of the goods is 200 euros, excluding French VAT.
The sale made by “A” will be taxed in France at a rate of 20 per cent (as its sales to private individuals in other Member States exceed 10,000 euros).
“A” will have issued an invoice for the sale and will have paid the French VAT via the Union scheme (Form 369).
The invoice issued must be registered with the SII in accordance with FAQ 3.4, using special regime code 17 and entering 200 in the ‘not subject to localisation rules’ field of the ‘not subject’ block.
If a full invoice is issued, it must be itemised by type of transaction, stating that it relates to a supply of goods.
If a simplified invoice is issued, the breakdown will be at invoice level.
Example 2: The trader from Example 1 sells goods on 25 July to an end consumer located on the Iberian Peninsula. Sale price: 1,000 euros, excluding VAT at the standard rate.
In this case, the sale made by “A” will be subject to tax in Spain. As this sale cannot be declared under the Union scheme, it must be reported using Form 303 as a tax return.
In this case, code 17 will not be used to register the invoice issued by “A” with the SII, and the ‘Taxable/Non-exempt’ section must be completed, stating the rate, taxable amount and tax due.
Example 3: The trader from Example 1 sells goods imported from China on 30 July to an end consumer located on the Iberian Peninsula. Sale price: 100 euros, excluding VAT at the standard rate. “A” has been covered by the import scheme since 1 July 202X.
In this case, the sale made by “A” will be subject to tax in Spain. under the import scheme (Form 369).
The invoice issued must be registered with the SII using the special regime code 17, and the ‘Taxable/Non-exempt’ section must be completed, stating the rate, taxable amount and tax due.
For the import, “A” must file the customs declaration (for import) in the manner set out in the FAQ“How do I declare an import?”, in paragraph 4.