In Spain, every invoice issued by software is registered with the AEAT tax agency. Elbuz works as a VERI*FACTU system: it creates the invoice record on issue, sends it to the AEAT with your company's certificate and prints a verification QR code.
When you need this:
- Your company sells in Spain — registration from the document card or on posting.
- The customer needs an invoice with a QR — the “Factura (VERI*FACTU)” print form has the QR tributario.
- An invoice has to be corrected or canceled — a return becomes a factura rectificativa; a mistaken invoice is canceled.
Where to start: “Directories” → “Documents” → “E-invoices (EU)” → “VERI*FACTU (Spain)”.
What the VERI*FACTU connection does
- Company connection — NIF, certificate, rates and the simplified invoice limit.
- Invoice registration — with a button in the card or automatically when posted.
- Status at the AEAT — accepted or rejected with a reason, the CSV code.
- Corrections — a factura rectificativa from a return, cancellation of an invoice issued by mistake.
- QR tributario — on the print form and via the “Check at AEAT” button.
For now Elbuz works with the AEAT test environment: there's no production connection yet.
Who VERI*FACTU applies to and from when
Requirements for invoicing software are set by Real Decreto 1007/2023. They apply to companies paying Impuesto sobre Sociedades and to sole traders on IRPF who issue invoices with software. They don't apply to those who already report via SII, or to taxpayers in the Basque Country and Navarre: they have their own rules.
Under the current wording (Real Decreto-ley 15/2025), software must comply from January 1, 2027 for Impuesto sobre Sociedades payers and from July 1, 2027 for everyone else. On October 5, 2026, Spain's Ministry of Finance announced its intention to postpone these deadlines. Until the rule actually changes, the 2027 dates apply.
The VERI*FACTU mode means the software sends the AEAT a record of every invoice it issues. Elbuz doesn't work any other way: there's no separate mode without sending.
How to connect your company
- Open the “E-invoices (EU)” window and click “VERI*FACTU (Spain)”.
- Choose the company and enter its NIF. On save, Elbuz checks the number's control character.
- Drag in the .p12 or .pfx certificate file and enter the password. A certificate from FNMT or another recognized issuer works: of the sole trader or of the company representative.
- Check the default rate, the codes for lines without VAT, the operation description and the simplified invoice limit.
- Save.
1
Company NIF2
AEAT environment3
Certificate upload zone and password4
Exemption ground (E)5
Simplified invoice limit without buyer NIF6
Send automatically when posted- Company NIF — the tax ID of your company (B12345674 in the demo).
- AEAT environment — test (preproducción) or production.
- Certificate zone — drop the .p12/.pfx file here and enter its password.
- Exemption ground (E) — the reason used for lines at 0% tax.
- Simplified invoice limit — the amount up to which an invoice may be issued without the buyer's NIF.
- Switch that sends the record to AEAT automatically when the invoice is posted.
The certificate is stored encrypted. If it belongs not to the NIF holder but to another person, Elbuz sends records as a representative. In that case a power of attorney (apoderamiento) must be registered with the AEAT, otherwise the AEAT rejects the request.
One connection per company. Once it has records, the NIF can't be changed: the AEAT record chain is kept per number. You can disconnect such a company, but the certificate is erased and the records stay in the document cards.
On the first save, Elbuz adds the “Factura (VERI*FACTU)” print form to sales invoices, invoices and returns from customers.
Rates and lines without VAT
Elbuz takes a line's rate from the document line, then from the product or its tax class. If it's empty or 0 there, the “Default rate, %” applies (21% unless changed). So a line without VAT only comes out when rate 0 is set in the document line itself. Delivery always goes at the default rate.
A 0% line needs an explanation for the AEAT. It's set by the “Lines at 0%” field:
| In the field | What goes to the AEAT |
|---|---|
| Exempt (E) | the code from the “Exemption ground (E)” field: E1 — art. 20 LIVA, E2 — export, E3 — art. 22, E4 — arts. 23–24, E5 — intra-EU supply, E6 — other |
| Intra-EU supply (K) | E5 |
| Export outside the EU (G) | E2 |
| Reverse charge (AE) | S2, tax 0 |
| Outside the scope of VAT (O) | N2 |
| Zero rate (Z) | S1 at rate 0 |
“Operation description” is a mandatory AEAT record field, in Spanish. If you leave it empty, “Venta de bienes y prestación de servicios” is sent.
How to register an invoice
You register sales invoices and invoices of the connected company, as well as returns from customers. The document must be posted first.
- Open the posted document and find the “VERI*FACTU” section.
- Click “Register in VERI*FACTU” and confirm.
The record is created at once: with the number, posting date, amounts by rate, a hash and a link to the company's previous record. After that it never changes.
Elbuz sends it to the AEAT right away, and if the AEAT asked to wait, it sends it as soon as the pause is over. The status is shown in the section, and events in the document history.
1
Status badge2
AEAT test badge3
Check at AEAT4
XML5
Declaración responsable- Status badge — the invoice is waiting to be sent to AEAT.
- AEAT test badge — the record goes to the test (preproducción) environment.
- Check at AEAT — checks the record against AEAT.
- XML — opens the record XML.
- Declaración responsable — opens the software responsible declaration.
The record type depends on the buyer:
| Buyer | What is sent |
|---|---|
| Has a Spanish NIF | a regular invoice (F1) with the NIF; the NIF is checked by its control character |
| A foreign company with a VAT ID | a regular invoice (F1) with the foreign number and the country from the card or the order |
| No number, amount within the limit | a simplified invoice (F2) |
| No number, amount above the limit | no record is created: enter the buyer's NIF |
Elbuz takes the buyer's number from the “VAT ID” field of the contact card, then from the order, then from the “Tax ID (IPN)” field. By law, the simplified invoice limit is €400 including VAT, and up to €3,000 for retail and other operations under art. 4.2 RD 1619/2012. Elbuz accepts a limit of up to €3,000, €400 by default.
The “Send automatically when posted” checkbox registers a posted sales invoice or invoice without the button. A return from customer is registered only with the button. If data is missing, no record is created, and the reason appears in the document history.
A registered invoice can't be unposted while its record is waiting, being sent or accepted: corrections are made with a return or cancellation.
What the record status means
| Status in the section | What happened | What to do |
|---|---|---|
| Not registered | there's no record yet | register it |
| Waiting to be sent to AEAT, Sending | the record is created and queued; a yellow message means the AEAT or the connection didn't accept the request, and Elbuz will retry by itself | wait or click “Refresh status” |
| Accepted by AEAT | the AEAT accepted the record and issued a CSV | nothing |
| Accepted by AEAT plus a yellow message | accepted with remarks | read the remarks and correct with a return if needed |
| Rejected by AEAT | the reason with its code is in the section | fix the data and click “Register again” |
| Cancelled | the AEAT accepted the cancellation | nothing |
CSV is the code with which the AEAT confirms submission. Elbuz keeps it in the section and in the document history: the AEAT doesn't issue it again later.
How to correct or cancel an invoice
- A return or an amount change — create a return from customer based on the invoice, post it and register it with the button. A factura rectificativa is sent with negative amounts and a link to the invoice's accepted record. A return not linked to an invoice is sent without the link.
- The invoice was issued by mistake — click “Cancel invoice”. Only an accepted record can be canceled, and only once. After that the document can be unposted.
- The AEAT rejected the record — the document can be unposted and corrected. The “Register again” button creates a new correction record, and the rejected one stays in the history. For a sales invoice or invoice of a company with automatic sending, posting it again registers it by itself.
Print form and QR tributario
The “Factura (VERI*FACTU)” form prints the invoice in Spanish with amounts by rate and a QR tributario labeled “VERI*FACTU”. Depending on the record, the title is “Factura”, “Factura simplificada” or “Factura rectificativa”, and a canceled invoice is marked “FACTURA ANULADA”.
The QR holds the address of the AEAT service with the company's NIF, the invoice number, date and amount. The buyer scans it and sees whether the invoice is registered. The same address is behind the “Check at AEAT” button in the section. The QR appears as soon as the record is created.
The “Declaración responsable” button opens Elbuz's declaration of conformity in Spanish: you can print it and give it to your accountant.
Scenarios
A Spanish company sells to companies
What to do. Connect the company, turn on automatic sending, and enter your buyers' NIF in the “VAT ID” field.
What you get. Every posted sales invoice is registered as F1, with the CSV and QR in the card and on the print form.
Retail to private individuals
What to do. Set the simplified invoice limit to €3,000.
What you get. Sales without a NIF up to the limit are registered as F2. A larger sale without a NIF isn't registered until you enter the buyer's number.
What to do when an invoice isn't registered
| What you see | Why | What to do |
|---|---|---|
| “Invoice above €… — the buyer NIF is required” | There's no buyer number, and the amount is above the simplified invoice limit | Enter the NIF in the card's “VAT ID” or in the order |
| “The buyer NIF is invalid” | The control character doesn't match, or the foreign buyer's card has no country — then the number is checked as a Spanish one | Confirm the number with the buyer, set the country in the card |
| “The document’s company is not connected to VERI*FACTU”, or the card has no section | The document is issued by another company | Connect that company or change it in the document |
| “More than 12 different rates” | The AEAT accepts up to 12 rates per record | Split the invoice |
| “The invoice number for VERI*FACTU is up to 60 characters” | The document number is too long | Shorten the number |
| “Could not read the certificate” or “The certificate has expired” | Wrong password or file, or the certificate has expired | Upload a valid certificate |
| The record stays “Waiting to be sent” for a long time with a yellow message | The AEAT didn't accept the request: the certificate has no rights to the NIF, there's no apoderamiento, or the connection failed | Check the certificate and the power of attorney at the AEAT, click “Refresh status” |
| “The invoice is registered in VERI*FACTU — the document cannot be unposted” | The record is already at the AEAT or queued | Correct it with a return or cancellation |
FAQ
Do I need an intermediary for VERI*FACTU?
No. Elbuz sends records to the AEAT by itself, with your company's certificate (connection).
From what date is VERI*FACTU mandatory?
Under the current rule — from January 1, 2027 for Impuesto sobre Sociedades payers and from July 1, 2027 for everyone else. Spain's Ministry of Finance has announced its intention to postpone the deadlines, but the rule hasn't been changed yet.
Can I register an invoice without the buyer's NIF?
Yes, as a simplified invoice within the limit set in the connection: €400 by default, €3,000 at most.
How do I cancel a registered invoice?
Cancel an invoice issued by mistake with the “Cancel invoice” button. For returned goods, create a return from customer and register it as a factura rectificativa (corrections).
What does the QR on the invoice verify?
The buyer scans the QR and sees on the AEAT site whether an invoice with this NIF, number, date and amount is registered.
Where it is and who has access
- Menu
- Directories → Documents → E-invoices (EU)
- Other entry points
- the card of a sales invoice, an invoice or a return from customer, “VERI*FACTU” section
- Access right
- connection — the “E-invoices (EU)” window in “Group permissions”, by default only the administrators group; registration from the card — the right to the documents window
- Prepare
- your company in contacts with the “My company” checkbox; the company's NIF; an electronic .p12 or .pfx certificate with its password
Related topics
- If your company also operates in Italy: FatturaPA e-invoices.
- If your company also operates in Germany: XRechnung e-invoices.
- If you need to set VAT rates for products: tax classes.
