Introduction
SII (Suministro Inmediato de Informaciรณn) is a fiscal initiative by the Spanish Tax Agency (AEAT) that requires large businesses to report invoices through certified software. The system submits invoices in the SII format to the tax authorities.SII is mandatory for companies that meet certain requirements. Companies reporting with VERI*FACTU or TicketBAI are exempt from reporting with SII.
Prerequisites
To issue your first SII invoice, you must have had registered at least one supplier. Make sure you read and implemented the SII supplier onboarding guide before continuing with this guide.Setup
Add a new workflow to your workspace for issuing invoices. You can start with the template below.- Template
- Code
- Build from scratch
Workflow ID at hand, youโll use it later.
SII allows for document modifications after submission. If a document is rejected or contains errors, update the GOBL details and resubmit to the same workflow.
Issue an Invoice
1
Upload an Invoice
Use the Create an entry endpoint to upload the invoice details. Include an invoice object in the data field with these required fields:
After uploading youโll see the document in the Invoices section with status 
- Add the
es-sii-v1addon supplier: Use the details of the supplier youโve registered before.
B2C Standard Invoice
B2C Standard Invoice
Simplified invoices are used for B2C transactions when the customer is not a business. The transaction amount should be under โฌ400 (VAT included) with some exceptions in which this threshold is increased to โฌ3,000.To create a simplified SII invoice, include the
simplified tag in your GOBL document with the es-sii-v1 addon. The addon will automatically set the document type to F2 (Simplified invoice) when the silo entry is built.SII B2C Invoice
B2B Standard Invoice
B2B Standard Invoice
Regular invoices are used for B2B transactions. Regular invoices must be issued when:
- The customer is a registered business (has a tax identification number).
- The transaction amount is โฌ400 VAT included or above, or the customer requires a full invoice.
- The customer needs a complete invoice with all tax details for accounting or tax purposes.
es-sii-v1 addon and ensure the customer field contains valid tax identification details. The addon will automatically set the document type to F1 when the silo entry is built (which happens automatically when saving a silo entry through the API or console).The
supplier must be previsouly registered with the tax authority and the customer NIF or VAT ID must be valid.SII B2B Invoice
B2B Services EU Client (Reverse Charge)
B2B Services EU Client (Reverse Charge)
Reverse charge invoices are used for B2B services provided to customers in other EU member states. Reverse charge must be applied when:
- The customer is a registered business in another EU member state (has a valid EU VAT ID).
- The service is provided to a business customer (B2B), not a consumer.
- The service is subject to VAT but the customer accounts for the VAT in their own country.
reverse-charge in your invoice lines. This will automatically set the operation type to S2 (Subject and Not Exempt - With reverse charge) when reporting the document to SII.You also need to set the items key to services. This will generate a breakdown by operation type which is required for this type of invoices.With reverse charge, no VAT is charged by the supplier. The customer accounts for VAT in their own country. The
supplier must be previously registered with the tax authority and the customer VAT ID must be valid and registered in the EU VIES system.SII B2B Invoice Services (EU)
B2B Goods EU Client (Intra-Community)
B2B Goods EU Client (Intra-Community)
Intra-community supply invoices are used for B2B goods delivered to customers in other EU member states. Intra-community supplies must be applied when:
- The customer is a registered business in another EU member state (has a valid EU VAT ID).
- Goods are physically delivered to another EU member state.
- The supply is exempt from VAT in the origin country (Spain) and subject to VAT in the destination country.
intra-community in your invoice lines. The es-sii-v1 addon will automatically set the exemption reason to E5 (Artรญculo 25 Ley de IVA) and the special regime code to 02 (Export) when the silo entry is built.You also need to set the items key to goods. This will report to SII a breakdown by operation type which is required for this type of invoices.With intra-community supplies, no VAT is charged in Spain. The customer accounts for VAT in their destination country. The
supplier must be previously registered with the tax authority and the customer VAT ID must be valid and registered in the EU VIES system.SII B2B Invoice Goods (EU)
B2B Services No EU Client (Outside Scope)
B2B Services No EU Client (Outside Scope)
Outside scope invoices are used for B2B services provided to customers outside the EU.To create an outside scope SII invoice, use the tax key
outside-scope in your invoice lines. The es-sii-v1 addon will automatically set the type of operation outside scope to location when the silo entry is built.Services provided to non-EU customers are generally outside the scope of Spanish VAT. The
supplier must be previously registered with the tax authority. Customer tax identification is optional but recommended for record-keeping purposes.Built example
B2B Goods No EU Client (Export)
B2B Goods No EU Client (Export)
Export invoices are used for B2B goods delivered to customers outside the EU.To create an export SII invoice, use the tax key
export in your invoice lines. The es-sii-v1 addon will automatically set the exemption reason to E2 (Artรญculo 21 Ley de IVA) and the special regime code to 02 (Export) when the silo entry is built.Exported goods are exempt from Spanish VAT. The
supplier must be previously registered with the tax authority. Customer tax identification is optional but recommended for record-keeping purposes.SII B2B Invoice Goods (No EU)
B2B Exempt E1 Invoice
B2B Exempt E1 Invoice
Exempt
E1 invoices are used for B2B transactions that are exempt from VAT pursuant (Artรญculo 20 Ley de IVA), which covers exemptions in internal operations.To create an exempt E1 SII invoice, use the tax key exempt in your invoice lines. The es-sii-v1 addon will automatically set the exemption code to E1 when the silo entry is built.Exempt operations are not subject to VAT but must still be reported. The
supplier must be previously registered with the tax authority and the customer NIF must be valid.SII B2B Exempt E1 Invoice
B2C One-Stop-Shop Invoice
B2C One-Stop-Shop Invoice
One-Stop-Shop (OSS) invoices are used for B2C distance sales of goods and services to consumers in other EU member states when the supplier is registered under the OSS scheme.To create an OSS SII invoice, include the
simplified tag in your GOBL document with the es-sii-v1 addon. The invoice will be treated as a simplified invoice (document type F2) and VAT is accounted for through the OSS scheme in the destination country.OSS allows suppliers to register for VAT in one EU member state and account for VAT on all EU distance sales through that single registration. The
supplier must be previously registered with the tax authority and enrolled in the OSS scheme.SII B2C One Stop Shop Invoice
Empty.
Empty invoice
2
Send the Invoice to the SII invoice workflow
Send the invoice to the SII workflow using the Create a job endpoint. Use:
You can verify that the PDF was generated by clicking on the invoice and selecting the PDF from the โFilesโ tab.
workflow_id: use the Workflow ID of the SII invoice workflow created on setup.silo_entry_id: use the Silo Entry ID of the invoice youโve just uploaded.
Sent when the workflow completes successfully.
Sent invoice
Issue a Credit Note (Rectificativa por Diferencias)
In Spain, one way to correct an invoice is by issuing a credit note, known as a Rectificativa por Diferencias. An alternative method is to issue a Rectificativa por Sustituciรณn, which involves creating a new invoice with the type corrective. The difference between the two is subtle but important:- A credit note adjusts the value of the original invoice.
- A corrective invoice replaces the original invoice entirely.
- Issue a credit note for โฌ20, or
- Issue a corrective invoice for โฌ80.
1
Upload a Credit Note
A credit note in Invopop is an invoice of the type credit note. The process is very similar to uploading an invoice, use the Create an entry endpoint to upload a credit note. Include an invoice object in the data, with these required fields:After successful upload, youโll see the credit note in the Invoices section with status
- Add the
es-sii-v1addon supplier: use the same supplier details as in the original invoicetype:credit-notepreceding: references the original invoice, within it, you must include:uuid: the UUID of the original invoice (optional but recommended)type: type of the original invoiceissue_date: the date of the original invoiceseries: the series of the original invoicecode: the code of the original invoice
SII Credit Note
Empty. If youโve included the uuid of the invoice in preceding, youโll see a link to the credit note weโve just created in the Related tab of the invoice.2
Send the Credit Note to the SII invoice workflow
Send the credit note to the SII workflow using the Create a job endpoint. Use:
workflow_id: use the Workflow ID of the _SII invoice _workflow we created during setupsilo_entry_id: use the The Silo Entry ID of the credit note youโve just uploaded.
Sent when the workflow completes successfully.Issue a Corrective Invoice (Rectificativa por Sustituciรณn)
1
Upload a Corrective Invoice
A corrective invoice in Invopop is an invoice of the type After successful upload, youโll see the corrective invoice in the Invoices section with status
corrective. The process is very similar to uploading an invoice, use the Create an entry endpoint to upload a corrective invoice. Include an invoice object in the data, with these required fields:regime:ES- Add the
es-sii-v1addon supplier_id: use the same supplier details as in the original invoicetype:correctivepreceding: references the original invoice, within it, you must include:uuid: the UUID of the original invoice (optional but recommended)type: type of the original invoiceissue_date: the date of the original invoiceseries: the series of the original invoicecode: the code of the original invoicetax: the tax section of the original invoice, you can copy it from the original invoice
SII Corrective Invoice
Empty. If youโve included the uuid of the invoice in preceding, youโll see a link to the corrective invoice weโve just created in the Related tab of the invoice.2
Send the Corrective Invoice to the SII invoice workflow
Send the corrective invoice to the SII workflow using the Create a job endpoint. Use:
workflow_id: use the Workflow ID of the SII invoice workflow we created during setupsilo_entry_id: use the The Silo Entry ID of the corrective invoice youโve just uploaded.
Sent when the workflow completes successfully.๐ช๐ธ Invopop resources for Spain
๐ช๐ธ Invopop resources for Spain
Spain FAQ
Find answers to frequently asked questions about invoicing in Spain โ
Participate in our community
Ask and answer questions about invoicing in Spain โ