Blog
Autofacturación electrónica: cómo automatizar la factura de tus proveedores
When the buyer prepares the invoiceMost businesses assume that only the seller can issue an invoice. In practice, Spanish regulations allow a differen...
When the buyer prepares the invoice
Most businesses assume that only the seller can issue an invoice. In practice, Spanish regulations allow a different arrangement: the customer can prepare the invoice for an operation carried out by its supplier. This is known as autofacturación (self-billing, or invoicing by the recipient), and for small and medium-sized companies with recurring purchases it can remove a surprising amount of repetitive admin work.

The key point is that the sale still belongs to the supplier. The supplier remains responsible for issuing the invoice and for meeting its billing obligations; the customer simply produces the document on its behalf, under a prior agreement. Understanding this distinction is what makes the model workable, and it is also what makes it worth automating properly.
Why a small company in Lleida or Girona might care
Imagine a distributor in the Baix Segrià that receives several deliveries a week from the same logistics provider. The customer already holds the delivery notes, quantities, dates and agreed prices. Waiting for the supplier to compile all of that into an invoice adds days to the cycle and creates reconciliation work on both sides. With self-billing, the customer drafts the invoice from data it already has, the supplier approves it, and both parties work from the same figures.
The benefit is not only speed. Fewer manual transcriptions mean fewer mismatches between what was delivered and what was billed, which is exactly the kind of error that eats hours during month-end close.
The legal foundations you must respect
Self-billing is not a free-for-all. Before the first invoice is issued, the supplier and the customer must agree in writing which operations fall under the arrangement. That agreement should be signed in advance and be specific about the goods or services covered.
Each individual invoice must then go through an acceptance step by the supplier who performed the operation. How that acceptance happens is up to the parties: a supplier portal, an email confirmation, or an approval workflow. Once accepted, the customer sends a copy to the supplier. The invoicing responsibility never shifts.
On top of this, the document must behave like any other electronic invoice: its origin must be verifiable, its content must remain intact, it must be traceable, and it must stay readable for the full legal retention period. In Spain this sits alongside the move towards mandatory e-invoicing and the VeriFactu requirements, so it pays to design the process with those obligations in mind from day one.
- Written prior agreement covering which operations are included.
- Per-invoice acceptance by the supplier before the document is finalised.
- Correct numbering series and all mandatory invoice data.
- Integrity, traceability and readability throughout the retention period.
- GDPR-compliant handling of any personal data exchanged in the flow.
Where the manual version breaks down
On paper, the circuit looks simple: draft, approve, send, archive. In reality, a company handling dozens or hundreds of supplier invoices a month quickly hits friction. Someone has to pull the delivery data, someone has to build the document, someone has to chase the supplier for approval, and someone has to file the accepted copy where it can be found years later. Each step is a chance for a delay or a mistake.
This is precisely where process automation earns its place. The self-billing circuit is repetitive, rule-based and predictable, which makes it an ideal candidate for integration work rather than manual effort.
Building an automated self-billing workflow
A practical setup connects the tools you already use: your ERP or accounting package, your document storage, your email or messaging channel, and an automation layer that orchestrates the steps. With a platform such as n8n, the flow can be modelled visually and adapted as your supplier agreements evolve.
A typical sequence might look like this:
- Delivery or service data is captured in the ERP and triggers the workflow.
- The system generates the draft invoice with the correct series and mandatory fields.
- The supplier receives a notification and approves the document through a secure link.
- On approval, the invoice is signed, numbered and sent to both parties.
- The accepted copy is archived automatically with the right retention metadata.
- Exceptions, such as a rejected amount, are routed to the responsible person for review.
Each of these steps replaces a manual task that used to consume minutes, and those minutes add up across a month. More importantly, the workflow leaves an audit trail that makes compliance checks far less painful.
Integrations that make the difference
Automation only delivers when the underlying tools talk to each other. Connecting your ERP with your document management system, your approval channel and your archive means the invoice data is entered once and reused everywhere. For SMEs in Catalonia working with several suppliers and increasingly digital public administrations, this coherence is what turns a legal possibility into a genuine productivity gain.
It also matters for GDPR. A well-designed flow limits who sees what, logs access, and keeps personal data confined to the systems that need it, rather than scattering copies across inboxes.
Getting started without overcomplicating it
You do not need to automate every supplier at once. Start with the recurring relationships where the volume is highest and the data is cleanest. Agree the terms in writing, define the acceptance step, and automate that single circuit end to end. Once it runs smoothly, extend it to the next supplier.
At ALMC we help SMEs across Lleida, Barcelona, Tarragona and Girona design these workflows, integrate their existing tools and build automation that saves hours every week. Self-billing is a good place to begin, because the rules are clear and the repetitive work is easy to identify. Done well, it turns a compliance obligation into a quiet, reliable process that simply runs in the background.
Related
- n8n Automation Guide: Streamline Your Business Workflows in 2026
- How Much Does Process Automation Really Cost? A 2026 Guide for SMEs
- Best WordPress SEO Plugins 2026: Expert Comparison for Spanish Sites
- Chatbot IA
Put these ideas into practice
Talk to ALMC about a solution for your business. Explore your options or contact our team.
