↑↓ selectEnter openEsc close

    1. Elbuz
    2. EU e-invoices

    How to register invoices in VERI*FACTU for Spain with Elbuz

    4 min readUpdated

    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

    1. Open the “E-invoices (EU)” window and click “VERI*FACTU (Spain)”.
    2. Choose the company and enter its NIF. On save, Elbuz checks the number's control character.
    3. 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.
    4. Check the default rate, the codes for lines without VAT, the operation description and the simplified invoice limit.
    5. Save.
    VERI*FACTU connection form for the company
    1Company NIF
    2AEAT environment
    3Certificate upload zone and password
    4Exemption ground (E)
    5Simplified invoice limit without buyer NIF
    6Send automatically when posted
    1. Company NIF — the tax ID of your company (B12345674 in the demo).
    2. AEAT environment — test (preproducción) or production.
    3. Certificate zone — drop the .p12/.pfx file here and enter its password.
    4. Exemption ground (E) — the reason used for lines at 0% tax.
    5. Simplified invoice limit — the amount up to which an invoice may be issued without the buyer's NIF.
    6. 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 fieldWhat 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.

    1. Open the posted document and find the “VERI*FACTU” section.
    2. 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.

    VERI*FACTU block in the sales invoice card
    1Status badge
    2AEAT test badge
    3Check at AEAT
    4XML
    5Declaración responsable
    1. Status badge — the invoice is waiting to be sent to AEAT.
    2. AEAT test badge — the record goes to the test (preproducción) environment.
    3. Check at AEAT — checks the record against AEAT.
    4. XML — opens the record XML.
    5. Declaración responsable — opens the software responsible declaration.

    The record type depends on the buyer:

    BuyerWhat is sent
    Has a Spanish NIFa regular invoice (F1) with the NIF; the NIF is checked by its control character
    A foreign company with a VAT IDa regular invoice (F1) with the foreign number and the country from the card or the order
    No number, amount within the limita simplified invoice (F2)
    No number, amount above the limitno 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 sectionWhat happenedWhat to do
    Not registeredthere's no record yetregister it
    Waiting to be sent to AEAT, Sendingthe record is created and queued; a yellow message means the AEAT or the connection didn't accept the request, and Elbuz will retry by itselfwait or click “Refresh status”
    Accepted by AEATthe AEAT accepted the record and issued a CSVnothing
    Accepted by AEAT plus a yellow messageaccepted with remarksread the remarks and correct with a return if needed
    Rejected by AEATthe reason with its code is in the sectionfix the data and click “Register again”
    Cancelledthe AEAT accepted the cancellationnothing

    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 seeWhyWhat 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

    Was this article helpful?

    Missing a feature? Tell us.

    We will add it for free if other users need it too.

    If only you need it, we will agree on it separately.

    Article contents

    Suggest an improvement

    Try Elbuz free