Skip to main content

Introduction

NO VERI*FACTU is one of the two compliance modalities defined by Spain’s Real Decreto 1007/2023. In this modality, invoicing records are not sent to the AEAT in real time. Instead, they are digitally signed using XAdES Enveloped Signature, chained to the previous record, and stored to guarantee integrity and inalterability. Records are only submitted to the AEAT upon explicit requirement, using an export.

Prerequisites

To issue your first NO VERI*FACTU invoice, you must have registered at least one supplier. Make sure you read and implemented the NO VERI*FACTU 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.

NO VERI*FACTU invoice workflow

Add to my workspace →
Keep the Workflow ID at hand, you’ll use it later.

Issue an invoice

The GOBL invoice format for NO VERI*FACTU is identical to VERI*FACTU — both use the same es-verifactu-v1 addon. The difference is in how the records are processed: NO VERI*FACTU signs and stores them rather than sending them to the AEAT.
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:
  • regime: ES
  • Add the es-verifactu-v1 addon
  • supplier: Use the details of the supplier you’ve registered before.
You can copy one of the example invoices below as a reference.
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 VERI*FACTU invoice, include the simplified tag in your GOBL document with the es-verifactu-v1 addon.
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.
To create a regular VERI*FACTU invoice, include the es-verifactu-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 previously registered with the tax authority and the customer NIF or VAT ID must be valid.
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.
To create a reverse charge VERI*FACTU invoice, use the tax key reverse-charge in your invoice lines. The es-verifactu-v1 addon will automatically set the operation class to S2 (Subject and Not Exempt - With reverse charge) when the silo entry is built.
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.
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.
To create an intra-community supply VERI*FACTU invoice, use the tax key intra-community in your invoice lines. The es-verifactu-v1 addon will automatically set the exemption code to E5 (Artículo 25 Ley de IVA) when the silo entry is built.
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.
Outside scope invoices are used for B2B services provided to customers outside the EU.To create an outside scope VERI*FACTU invoice, use the tax key outside-scope in your invoice lines. The es-verifactu-v1 addon will automatically set the operation class to N2 (Not Subject - Due to location rules) 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.
Export invoices are used for B2B goods delivered to customers outside the EU.To create an export VERI*FACTU invoice, use the tax key export in your invoice lines. The es-verifactu-v1 addon will automatically set the exemption code to E2 (Artículo 21 Ley de IVA) and 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.
Exempt E1 invoices are used for B2B transactions that are exempt from VAT pursuant to Artículo 20 Ley de IVA, which covers exemptions in internal operations.To create an exempt E1 VERI*FACTU invoice, use the tax key exempt in your invoice lines. The es-verifactu-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.
One-Stop-Shop (OSS) invoices are used for B2C distance sales of goods and electronically supplied services to consumers in other EU member states when the supplier is registered under the OSS scheme.To create an OSS VERI*FACTU invoice, include the simplified tag in your GOBL document with the es-verifactu-v1 addon, give the customer an address in the destination member state without a tax ID, and set country on each line’s VAT to that state with the es-verifactu-regime extension 17. The invoice is treated as a simplified invoice (document type F2), VAT is calculated at the destination country’s rate, and the operation is reported as not subject to Spanish VAT under the OSS regime.
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.
The Catalan tourist tax (IEET, Impost sobre les Estades en Establiments Turístics) is a regional tax administered by the Agència Tributària de Catalunya — not the AEAT — so it is not classified as a tax in the VERI*FACTU record. Hotels declare it directly to the Generalitat through the quarterly Modelo 950.Model the IEET as a document-level charge with key: "tax". This keeps it outside the VAT base (Art. 35 of Llei 5/2017 requires it to be shown separately from the consideration) and lets it flow into the invoice’s ImporteTotal for VERI*FACTU without being reported as a tax category.
Do not model the IEET as a VAT tax line — it is a fixed amount per night, not a percentage, and should not be reported to the AEAT. The reason field on the charge is what appears on the guest’s invoice, so include the establishment type, location, nights, and rate for a clear breakdown.
After uploading you’ll see the document in the Invoices section with status Empty.
2

Send the Invoice to the NO VERI*FACTU invoice workflow

Send the invoice to the NO VERI*FACTU workflow using the Create a job endpoint. Use:
  • workflow_id: use the Workflow ID of the NO VERI*FACTU invoice workflow we created during setup
  • silo_entry_id: use the Silo Entry ID of the invoice you’ve just uploaded.
The invoice’s status will change to Registered when the workflow completes successfully. The signed XML record will be available in the “Files” section of the silo entry, and the generated PDF will include the required QR code.

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.
For example, if you issued an invoice for 100 EUR but later realized it should have been 80 EUR, you can either:
  • Issue a credit note for 20 EUR, or
  • Issue a corrective invoice for 80 EUR.
Unless you have a specific requirement to use a corrective invoice we recommend only using credit notes. They’re more widely supported across countries, while corrective invoices are specific to a few jurisdictions like Spain.
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:
  • regime: ES
  • Add the es-verifactu-v1 addon
  • supplier: use the same supplier details as in the original invoice
  • type: credit-note
  • preceding: references the original invoice, within it, you must include:
    • uuid: the UUID of the original invoice (optional but recommended)
    • type: type of the original invoice
    • issue_date: the date of the original invoice
    • series: the series of the original invoice
    • code: the code of the original invoice
You can copy the example credit note below as a reference.
Built version
After successful upload, you’ll see the credit note in the Invoices section with status Empty.
2

Send the Credit Note to the NO VERI*FACTU invoice workflow

Send the credit note to the NO VERI*FACTU workflow using the Create a job endpoint. Use:
  • workflow_id: use the Workflow ID of the NO VERI*FACTU invoice workflow we created during setup
  • silo_entry_id: use the Silo Entry ID of the credit note you’ve just uploaded.
The credit note’s status will change to Registered 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 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-verifactu-v1 addon
  • supplier: use the same supplier details as in the original invoice
  • type: corrective
  • preceding: references the original invoice, within it, you must include:
    • uuid: the UUID of the original invoice (optional but recommended)
    • type: type of the original invoice
    • issue_date: the date of the original invoice
    • series: the series of the original invoice
    • code: the code of the original invoice
    • tax: the tax section of the original invoice, you can copy it from the original invoice
You can copy the example corrective invoice below as a reference.
Built version
After successful upload, you’ll see the corrective invoice in the Invoices section with status Empty.
2

Send the Corrective Invoice to the NO VERI*FACTU invoice workflow

Send the corrective invoice to the NO VERI*FACTU workflow using the Create a job endpoint. Use:
  • workflow_id: use the Workflow ID of the NO VERI*FACTU invoice workflow we created during setup
  • silo_entry_id: use the Silo Entry ID of the corrective invoice you’ve just uploaded.
The corrective invoice’s status will change to Registered when the workflow completes successfully.

Issue a replacement invoice (Factura de Canje)

A replacement invoice (Factura de Canje) is used to replace a simplified invoice with a full invoice. This is common when a customer who originally received a simplified invoice (e.g., a receipt) later requests a full invoice with their tax identification details.
1

Upload a Replacement Invoice

A replacement invoice is a standard invoice with the replacement tag. Use the Create an entry endpoint to upload the replacement invoice. Include an invoice object in the data, with these required fields:
  • regime: ES
  • Add the es-verifactu-v1 addon
  • type: standard
  • tax.tags: include replacement
  • supplier: use the same supplier details as in the original invoice
  • preceding: references the original simplified invoice, within it, you must include:
    • type: type of the original invoice
    • issue_date: the date of the original invoice
    • series: the series of the original invoice
    • code: the code of the original invoice
You can copy the example replacement invoice below as a reference.
Factura de canje
After successful upload, you’ll see the replacement invoice in the Invoices section with status Empty.
2

Send the Replacement Invoice to the NO VERI*FACTU invoice workflow

Send the replacement invoice to the NO VERI*FACTU workflow using the Create a job endpoint. Use:
  • workflow_id: use the Workflow ID of the NO VERI*FACTU invoice workflow we created during setup
  • silo_entry_id: use the Silo Entry ID of the replacement invoice you’ve just uploaded.
The replacement invoice’s status will change to Registered when the workflow completes successfully.

Cancel an invoice

NO VERI*FACTU allows you to cancel an invoice by generating a cancellation record. Unlike VERI*FACTU, the cancellation is not sent to the AEAT — it is signed, chained and stored like any other invoice record. In general, you should only cancel an invoice if it hasn’t been handed to the customer. Canceling an invoice doesn’t produce a second document to hand to your customer. If the invoice has already been delivered, we recommend issuing a credit note instead.
1

Add a cancel invoice workflow (only once)

To cancel an invoice, you need a workflow with the Cancel for NO VERI*FACTU step. You can start with the template below.

NO VERI*FACTU cancel invoice workflow

Add to my workspace →
2

Send to cancellation workflow

To cancel an invoice, simply send it to the NO VERI*FACTU cancel invoice workflow created earlier using the Create a job endpoint.The invoice’s status will change to Void when the workflow completes successfully. The signed cancellation record will be available in the “Files” section of the silo entry.

Verify records

NO VERI*FACTU requires the system to be able to detect anomalies in its records. A verification checks every record of a supplier against the adjacent records in the chain, and records the result as events: one event when the check starts (03 for invoice records, 05 for event records), and one more for each anomaly found (04 or 06).
1

Add a verification workflow (only once)

The workflow below verifies both the invoice and the event records of a supplier.

NO VERI*FACTU verify records workflow

Add to my workspace →
2

Send the supplier to the verification workflow

Send the registered supplier’s silo entry to the verification workflow using the Create a job endpoint.The verification runs in the background over the records created before it started, and the job completes when it finishes. A step with no records to verify is skipped.
The anomalies detected are:

Export records

When the AEAT requires it, a supplier must hand over its records for a period. An export collects the supplier’s signed records generated in that period into a .tar.gz archive with one XML file per record, in chain order, and records the export as an event (08 for invoice records, 09 for event records).
1

Add an export workflow

The workflow below exports both the invoice and the event records of a supplier. You only need to add it once, as the period is sent with each job.

NO VERI*FACTU export records workflow

Add to my workspace →
2

Send the supplier to the export workflow

Send the registered supplier’s silo entry to the export workflow using the Create a job endpoint, with the period in the from and to args. Both dates are included, in Spanish peninsular time.
The archive is built in the background, and the job completes when it is ready. A step with no records in the period is skipped.
3

Download the archive

Download the supplier’s latest export with the Download NO VERI*FACTU export endpoint, using the supplier’s silo entry ID and the type of records, invoices or events.

Spain FAQ

Find answers to frequently asked questions about invoicing in Spain →

Participate in our community

Ask and answer questions about invoicing in Spain →