Documentation Index
Fetch the complete documentation index at: https://invopop-fr-lookup.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
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 records issued and received invoices.Prerequisites
To issue your first SII invoice, you must have 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 to issue invoices. You can start with the template below.- Template
- Code
- Build from scratch
SII issued invoice workflow
- Template
- Code
- Build from scratch
SII received invoice workflow
Workflow ID at hand, youโll use them later.
Issue an Invoice
Upload an Invoice
- Add the
es-sii-v1addon supplier: Use the details of the supplier youโve registered before.
B2C Standard Invoice
B2C Standard Invoice
- the minimal version (
sii-b2c.min.mdx) contains only the essential fields required to create the simplified invoice, - to create a simplified SII invoice, include the
simplifiedtag in your GOBL document with thees-sii-v1addon, - when running
gobl build, the system automatically calculates totals, assigns the$regimetoES, sets thees-sii-doc-typeextension toF2(Simplified invoice), applies the standard VAT rate (21%), and normalizes all fields, - the built version (
sii-b2c.mdx) shows the normalized document with calculated totals, line item sums, tax breakdowns, and automatically generated fields, and, - there are no totals or calculations in the minimal version; all these will be made automatically when uploading.
B2B Standard Invoice
B2B Standard Invoice
- 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.
- the minimal version (
sii-b2b.min.mdx) contains only the essential fields required to create the standard B2B invoice, - to create a regular SII invoice, include the
es-sii-v1addon and ensure thecustomerfield contains valid tax identification details, - the
suppliermust be previously registered with the tax authority and thecustomerNIF or VAT ID must be valid, - when running
gobl build, the system automatically calculates totals, assigns the$regimetoES, sets thees-sii-doc-typeextension toF1(Standard invoice), applies the standard VAT rate (21%), and normalizes all fields, - the built version (
sii-b2b.mdx) shows the normalized document with calculated totals, line item sums, tax breakdowns, and automatically generated fields, and, - there are no totals or calculations in the minimal version; all these will be made automatically when uploading.
B2B Services EU Client (Reverse Charge)
B2B Services EU Client (Reverse Charge)
- 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.
- the minimal version (
sii-b2b-services-eu.min.mdx) contains only the essential fields required to create the reverse charge invoice, - to create a reverse charge SII invoice, use the tax key
reverse-chargein your invoice lines, - you also need to set the items
keytoservices, which will generate a breakdown by operation type 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
suppliermust be previously registered with the tax authority and thecustomerVAT ID must be valid and registered in the EU VIES system, - when running
gobl build, the system automatically sets the operation type toS2(Subject and Not Exempt - With reverse charge) when reporting the document to SII, applies the reverse charge tax treatment, and normalizes all fields, - the built version (
sii-b2b-services-eu.mdx) shows the normalized document with the reverse charge configuration, operation type breakdown, and automatically generated fields, and, - there are no totals or calculations in the minimal version; all these will be made automatically when uploading.
B2B Goods EU Client (Intra-Community)
B2B Goods EU Client (Intra-Community)
- 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.
- the minimal version (
sii-b2b-goods-eu.min.mdx) contains only the essential fields required to create the intra-community supply invoice, - to create an intra-community supply SII invoice, use the tax key
intra-communityin your invoice lines, - you also need to set the items
keytogoods, which will report to SII a breakdown by operation type 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
suppliermust be previously registered with the tax authority and thecustomerVAT ID must be valid and registered in the EU VIES system, - when running
gobl build, thees-sii-v1addon automatically sets thees-sii-exemptextension toE5(Artรญculo 25 Ley de IVA) and thees-sii-regimeextension to02(Export), - the built version (
sii-b2b-goods-eu.mdx) shows the normalized document with the intra-community configuration, exemption codes, operation type breakdown, and automatically generated fields, and, - there are no totals or calculations in the minimal version; all these will be made automatically when uploading.
B2B Services No EU Client (Outside Scope)
B2B Services No EU Client (Outside Scope)
- the minimal version (
sii-b2b-services-no-eu.min.mdx) contains only the essential fields required to create the outside scope invoice, - to create an outside scope SII invoice, use the tax key
outside-scopein your invoice lines, - services provided to non-EU customers are generally outside the scope of Spanish VAT,
- the
suppliermust be previously registered with the tax authority; customer tax identification is optional but recommended for record-keeping purposes, - when running
gobl build, thees-sii-v1addon automatically sets thees-sii-ootextension tolocationand normalizes all fields, - the built version (
sii-b2b-services-no-eu.mdx) shows the normalized document with the outside scope configuration and automatically generated fields, and, - there are no totals or calculations in the minimal version; all these will be made automatically when uploading.
B2B Goods No EU Client (Export)
B2B Goods No EU Client (Export)
- the minimal version (
sii-b2b-goods-no-eu.min.mdx) contains only the essential fields required to create the export invoice, - to create an export SII invoice, use the tax key
exportin your invoice lines, - exported goods are exempt from Spanish VAT,
- the
suppliermust be previously registered with the tax authority; customer tax identification is optional but recommended for record-keeping purposes, - when running
gobl build, thees-sii-v1addon automatically sets thees-sii-exemptextension toE2(Artรญculo 21 Ley de IVA) and thees-sii-regimeextension to02(Export), - the built version (
sii-b2b-goods-no-eu.mdx) shows the normalized document with the export configuration, exemption codes, and automatically generated fields, and, - there are no totals or calculations in the minimal version; all these will be made automatically when uploading.
B2B Exempt E1 Invoice
B2B Exempt E1 Invoice
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.Notice:- the minimal version (
sii-exempt-E1.min.mdx) contains only the essential fields required to create the exempt E1 invoice, - to create an exempt E1 SII invoice, use the tax key
exemptin your invoice lines, - exempt operations are not subject to VAT but must still be reported,
- the
suppliermust be previously registered with the tax authority and thecustomerNIF must be valid, - when running
gobl build, thees-sii-v1addon automatically sets thees-sii-exemptextension toE1and normalizes all fields, - the built version (
sii-exempt-E1.mdx) shows the normalized document with the exempt E1 configuration and automatically generated fields, and, - there are no totals or calculations in the minimal version; all these will be made automatically when uploading.
B2C One-Stop-Shop Invoice
B2C One-Stop-Shop Invoice
- the minimal version (
sii-b2c-oss.min.mdx) contains only the essential fields required to create the OSS invoice, - to create an OSS SII invoice, include the
simplifiedtag in your GOBL document with thees-sii-v1addon, - 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
suppliermust be previously registered with the tax authority and enrolled in the OSS scheme, - when running
gobl build, the invoice will be treated as a simplified invoice (es-sii-doc-typeextension set toF2) and VAT is accounted for through the OSS scheme in the destination country, - the built version (
sii-b2c-oss.mdx) shows the normalized document with the OSS configuration and automatically generated fields, and, - there are no totals or calculations in the minimal version; all these will be made automatically when uploading.
Empty.
Send the Invoice to the SII invoice workflow
workflow_id: use the Workflow ID of the SII issue 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.
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.
Upload a Credit Note
- 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
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.Send the Credit Note to the SII invoice workflow
workflow_id: use the Workflow ID of the SII issued 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)
Upload a Corrective Invoice
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
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.Send the Corrective Invoice to the SII invoice workflow
workflow_id: use the Workflow ID of the SII issued 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.Record a Received Invoice
Upload a Received Invoice
- Add the
es-sii-v1addon customer: Use the details of the party youโve registered before.
supplier and customer fields.B2B Standard Received Invoice
B2B Standard Received Invoice
- The supplier is the business that has issued the invoice to you.
- The customer is your business (previously registered).
Empty.Send the Invoice to the SII received invoice workflow
workflow_id: use the Workflow ID of the SII received 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.You can verify that the PDF was generated by clicking on the invoice and selecting the PDF from the โFilesโ tab.๐ช๐ธ Invopop resources for Spain
๐ช๐ธ Invopop resources for Spain