AiStaffo

Preparing invoice data for UK and Spain e-invoicing rules

Stock photo: desk, invoices, laptop, folders

Mandatory e-invoicing is now dated in two markets that many businesses sell into. The UK roadmap, published on 28 October 2026, sets 1 April 2029 for mandatory VAT e-invoices. Spain's Order HAC/1028/2026 took effect on 6 October 2026, with start dates of 6 October 2027 for larger businesses and 6 October 2028 for others. Preparation starts with the data you already issue. An AiStaffo AI worker reads your existing invoices, checks that each one holds the fields a structured e-invoice needs, lists the failures, and tracks each customer and supplier fix until it is closed. The system you use and the legal rules come from the official texts and the tax authorities' guidance.

In short

  • The UK mandate for VAT e-invoices starts on 1 April 2029, and real-time reporting is not part of the first phase.
  • Spain's dates are 6 October 2027 for businesses above EUR 8 million turnover and 6 October 2028 for others in scope.
  • The first preparation step is a field check on the invoices you already issue, especially tax identifiers and line-level VAT detail.
  • Most gaps sit in customer and supplier master data, so each fix needs a named owner and a tracked close date.
  • The worker does not choose the system or give legal advice; the official texts and tax authority guidance set both.

Why the data check comes before the system choice

Both the UK and Spain are moving to structured electronic invoices, and in both cases the rules describe what an invoice must contain and how it travels between businesses. Most businesses will not need to rebuild their invoicing setup first. They need to know whether the invoices they already issue carry the fields a structured format requires, and whether the customer and supplier records behind those fields are correct. That gap is usually found in the master data, not in the software.

The dates differ by market, so the first task is to map which invoices fall under which rule. The table below uses the official or regulator-linked dates available at the time of writing.

MarketStart dateWhat the rule covers
United Kingdom1 April 2029Mandatory e-invoicing for VAT invoices. The roadmap was published on 28 October 2026. Real-time reporting to HMRC is not part of the first phase.
Spain, businesses with turnover above EUR 8 million in the previous calendar year6 October 2027Issue and receive e-invoices under Order HAC/1028/2026, published in the Boletín Oficial del Estado on 5 October 2026.
Spain, all other businesses and professionals in scope6 October 2028The same core obligation, starting later. Payment and invoice status reporting has its own dates.

The UK position is still developing in detail. Secondary legislation may not complete its passage until autumn 2028 or early 2029, and HMRC has said it will publish updated VAT guidance before those regulations are final. A business planning for 2029 therefore needs to treat the data work as a standing task, not a one-time project.

What Spain's order adds

Spain's order sets the technical and functional elements of a public e-invoicing solution run by the Spanish tax agency, the AEAT. Private invoicing platforms must connect to that public solution, and the order also covers how invoices are sent, received and reported. The exact format, identification and transmission steps are in the official text and the AEAT's own pages. The worker does not choose a format. It checks your invoices against the field list your tax adviser or software provider confirms from those sources.

What is included

  • A read-only inventory of the invoices you already issue, taken from the exports or files you provide
  • A field check for each invoice, covering seller and buyer tax identifiers, addresses, and line-level VAT rate and amount
  • An exception list of invoices that fail, grouped by the cause of the failure
  • A fix list for customer and supplier master data, with a named owner for each correction
  • A tracker that keeps each open fix on the list until someone closes it and the change is confirmed
  • A short monthly summary for the finance or operations lead showing open and closed items

How the engagement runs

Audit

The audit confirms which markets, customer groups and invoice types are in scope. It also checks which systems hold invoice data and how the team exports it. The output is a short scope note that states which invoices are in scope for each date.

Process map

Next, the team and AiStaffo map how an invoice moves today, from creation to approval, sending and archiving. The map marks each point where a tax identifier or VAT detail can be missing, mistyped or stored in two places. Owners sign off the map before any build work begins.

Build

The build sets up the worker to read the agreed invoice exports and compare each record with the field list. It produces the exception list and the master data fix list. It does not write to your accounting or invoicing system. Any change to source data is made by a person in that system.

Run

Once running, the worker checks new invoices on the schedule you agree, adds new exceptions to the tracker, and reminds the named owner of each open fix. Your team decides whether to correct, reissue or leave a record as it is, and marks the item closed.

Support

Support covers changes to the field list when the official guidance is updated, new customer or supplier onboarding rules, and questions about the exception reports. Changes to the rules themselves are confirmed with the official text before the field list is changed.

Typical timeline

The table shows a planning shape rather than a fixed promise. The actual window depends on how many invoices you issue, how quickly exports can be provided, and how many master data records need review. The free audit sets the final plan.

StagePlanning window (weeks)
Audit and scopeWeeks 1 to 2
Process map and sign-offWeek 3
Build and first exception listWeeks 4 to 7
Run, with fix trackingFrom week 8, ongoing

What the client provides

The business provides read access or exports for the invoicing system, a sample of recent invoices in each format used, and the current customer and supplier lists. It also names one person for finance decisions and one for each area that owns master data, such as sales operations or procurement. Without named owners, the fix list stays open. The client also confirms the tax identifiers and VAT treatment that apply to each market, using its tax adviser or the official guidance.

What this does not cover

The service does not choose your invoicing platform, a clearance provider or a certified format. It does not give legal or tax advice, and it does not decide how a transaction is taxed. It does not submit invoices to HMRC or the AEAT, and it does not change records in your accounting system without a person approving the change. A field check confirms that required data is present and in the expected form. It does not prove that a provider's validation will accept every invoice.

Automation is also not the right tool in every case. A business that issues a few dozen invoices a month, with one customer list and one person handling both, may complete the check faster by hand. The worker adds value when invoice volume, the number of systems, or the number of master data owners makes manual checking slow to repeat.

This explains the rule in general terms; it is not legal or tax advice for your case.

Results depend on your own invoice data and volumes, which the free audit measures before any build begins.

How AiStaffo would automate this

AiStaffo connects to the exports of the invoicing system you already use, read-only, and builds a field list from the official UK and Spanish requirements that your adviser confirms. An AI worker checks every invoice against that list each time new invoices are issued, and places each failure in a tracker with the customer or supplier record that caused it. The worker reminds the named owner of each open fix and keeps the item on the list until it is closed. Your team still approves each correction, decides which system to use, and confirms the tax treatment with its adviser. Book a free automation audit.

Questions people ask

When does mandatory e-invoicing start in the UK?
The UK government's roadmap for e-invoicing implementation was published on 28 October 2026. It sets 1 April 2029 as the date when mandatory e-invoicing for VAT invoices takes effect. The first phase does not include real-time reporting to HMRC. Detailed secondary legislation may still be finalised, so check HMRC's guidance as it is updated.
When does Spain's e-invoicing mandate start?
Order HAC/1028/2026 was published in the Boletín Oficial del Estado on 5 October 2026 and took effect on 6 October 2026. Businesses and professionals with turnover above EUR 8 million in the previous calendar year must comply from 6 October 2027. All other businesses and professionals in scope start on 6 October 2028. Check the order's text and the AEAT's pages for the final details.
What data does a structured e-invoice need?
A structured e-invoice needs specific fields in a defined format. Common examples include the seller and buyer tax identifiers, addresses, invoice numbers and dates, and VAT detail at line level. The exact list depends on the format named in the rules for each market. The official texts and the tax authority's guidance are the source for the list.
Can an AI worker decide which e-invoicing system I must use?
No. The worker reads the invoices you already issue and checks the fields against a list your adviser confirms. The system you use, and whether it meets the rules, come from the official texts and the tax authority's guidance. A person in your business or your adviser makes that decision.
Does the worker change invoices or master data by itself?
No. The worker lists failing invoices and places each customer or supplier fix in a tracker with a named owner. A person makes each correction in the source system and marks the item closed. This keeps records under your team's control and gives you a clear trail of changes.
Do I need this if I only invoice in one country?
It depends on where your customers are. A business that invoices only domestic customers in one market may need a shorter scope than a business selling into the UK and Spain. The audit confirms which invoices fall under which date. If your invoice volume is small, a manual check may be enough.

Book a free automation audit

Thirty minutes. We look at one process you run every week and tell you exactly what an AI worker would take off your desk, and what it would not.

We use these details only to reply to this request and prepare your audit, and keep them for up to two years. We send no marketing unless you tick the box above. Privacy policy

e invoicingvat invoicesuk e invoicing 2029spain e invoicinginvoice data