Spain’s B2B e-invoicing mandate: what Crea y Crece means for large buyers
Structured invoicing between companies becomes compulsory on 6 October 2027 for large companies and on 6 October 2028 for everyone else. What the law and the regulation say, which formats count, and how to ready a supplier base without a project.
In this guide
What the law saysWhat the regulation setsWho is affected firstWhat “structured” meansWhat changes for a large buyerA separate regime: certified invoicing softwareHow to get ready this quarterWhat Advanta reads todayWhat the law says
Law 18/2022, known as Crea y Crece, makes electronic invoicing compulsory for transactions between companies and professionals in Spain. The stated purpose is to cut late payment: a structured invoice carries its dates and amounts in a machine-readable form, so payment periods can be measured, and the 60-day legal limit enforced, without anyone re-keying anything.
The obligation applies in two waves, counted from 6 October 2026, when Order HAC/1028/2026, which regulates the public e-invoicing solution of the AEAT (the Spanish tax agency), came into force. Companies and professionals with a turnover above eight million euros in the previous year start on 6 October 2027; everyone else, the self-employed included, on 6 October 2028 (Royal Decree 238/2026, fourth final provision).
What the regulation sets
Royal Decree 238/2026, published in the BOE on 31 March 2026 (BOE-A-2026-7295), implements the obligation. Order HAC/1028/2026, published in the BOE on 5 October 2026 (BOE-A-2026-20587), sets the technical rules of the AEAT’s public e-invoicing solution and came into force on 6 October 2026: that started the clock.
What they set: invoices must be structured and travel through private exchange platforms or through the public solution, which also keeps a copy of every invoice (articles 5 and 6). Whoever receives an invoice tells the issuer whether it accepts or rejects it and when it pays it in full, within four calendar days, not counting Saturdays, Sundays or national holidays, from when that happens (article 10). To the public solution it reports either the rejection of the invoice or its full payment, with the payment date and the due date; a payment must be reported within four days of being made (article 12).
The public solution has no acceptance message: it receives only payments and rejections. An invoice that is registered and not rejected is presumed accepted (article 12.1 of the Royal Decree and article 7.1 of the Order).
Who is affected first
From 6 October 2027, companies and professionals with a turnover above eight million euros, as issuers and as receivers. A large buyer will have to be able to receive structured invoices from its suppliers and report to the AEAT the payment or the rejection of each one. From 6 October 2028 everyone else joins, the self-employed included: in practice the mandate lands on the buyer’s supplier base, not only on the buyer.
Self-employed people with a turnover of eight million euros or less issue and receive e-invoices from October 2028, but reporting the status of their invoices only becomes mandatory twelve months later, in October 2029; until then it is voluntary (third transitional provision).
What “structured” means
Not a PDF. A structured invoice is a data document a machine can read line by line. Royal Decree 238/2026 requires the European EN 16931 model in one of four syntaxes: UBL, CII, EDIFACT or Facturae (article 7.1); the AEAT’s public solution uses UBL. Three of them matter in Spain and in the wider European market:
Facturae, the Spanish public-sector format, widely supported by Spanish software. UBL 2.1, the European format exchanged over the Peppol network. CII, the UN/CEFACT format, used in the Factur-X and ZUGFeRD hybrids that embed data inside a PDF.
Any serious receiving system needs to read all three, because a supplier base never uses only one.
For the first twelve months, companies above eight million euros send a readable PDF with each e-invoice, unless the customer agrees to receive it in its original format only (second transitional provision).
What changes for a large buyer
Three things. First, every supplier must be able to issue a structured invoice you can receive: the smallest ones will need help. Second, your payment times become visible: you report to the AEAT the date you pay each invoice and its due date, so paying late is no longer invisible. Third, and this is the opportunity, the approval you give on an invoice that is registered and not rejected is the signal a funder needs to pay your suppliers early against your name.
A buyer programme does the onboarding work once. Suppliers join when you invite them, send structured invoices, and can get paid early by a funder on the ones you approve, at zero cost to you. How a buyer programme works →
A separate regime: certified invoicing software
Do not confuse the B2B e-invoicing mandate with the rules on certified invoicing software, often called Verifactu (Royal Decree 1007/2023). That is a separate regime about the integrity of the systems that produce invoices, with its own calendar. The two meet: B2B e-invoices must be produced with software that meets those requirements (Royal Decree 238/2026, article 2), but they are separate obligations. This guide is about the first.
How to get ready this quarter
Inventory the supplier base. Who invoices you, in what format, from what software. Decide the approval workflow. Who approves or rejects an invoice, how fast, where that is recorded, and who reports each payment to the AEAT within four days. Fix the payment terms while you are at it. The mandate exists to enforce the 60-day limit; use it to clean up. Onboard suppliers through something that pays them. Compliance chores get ignored; early payment gets adopted.
What Advanta reads today
Facturae, UBL 2.1 through Peppol, and CII in its Factur-X and ZUGFeRD forms, plus FatturaPA and other European formats, Spain’s VAT record books in the AEAT format and SAF-T, with CSV or Excel as a fallback, all into one document model: 16 file formats in all, and 22 programs that connect from the app (from TOConline and Holded to SAP and Business Central). The approval a buyer gives becomes an acceptance certificate a funder can verify. The certificate → · Buyer programmes → · See every connection and format →
This guide describes Law 18/2022, Royal Decree 238/2026 and Order HAC/1028/2026 as published in the BOE, checked on 26 October 2026, and is not legal advice. Sources: Law 18/2022 (BOE-A-2022-15818) · Royal Decree 238/2026 (BOE-A-2026-7295) · Order HAC/1028/2026 (BOE-A-2026-20587).
Suppliers paid sooner
Your suppliers get paid sooner and you pay on the due date. Create your account.