Unpaid invoices: what you can automate and what Spanish law gives you
By Manuel Hdez

What can you do when a customer doesn't pay an invoice? Before you pick up the phone, a lot can run on its own: the notice before the due date, the reminder when it falls due and the list of what's outstanding every morning. And if your customer is another business, Spain's late payment law gives you more than you might think: 30 days to pay if you haven't agreed otherwise, never more than 60, interest that runs on its own from the due date (10.40% in the second half of 2026, unless you agreed another rate) and a fixed 40 euros for collection costs.
How long does a customer have to pay you?
If it's another business or a professional, Law 3/2004 on late payment sets it. If you haven't set a term, it's 30 calendar days from when they receive the goods or service, even if the invoice reaches them earlier. You can agree longer, but never more than 60 calendar days (article 4). For your part, you have to get the invoice to them within 15 days of delivery.
If your customer is a private individual, this law doesn't apply (article 3). Reminders can be automated just the same, but the interest and the 40 euros below only apply between businesses, or between a business and a public body.
What the law gives you when they're late
Late-payment interest from the due date, with no need to give notice or claim it first (article 5), as long as you've met your own obligations, both contractual and legal (article 6). If you haven't agreed another rate, the statutory one applies: the European Central Bank rate plus eight points, which the Treasury publishes every six months in the BOE, Spain's official gazette. For the second half of 2026 it's 10.40%.
A fixed 40 euros for collection costs, added to the debt without having to ask for it, plus any collection costs you can prove above that amount (article 8).
In numbers: a 2,000-euro invoice paid 45 days late generates 25.64 euros of interest (2,000 × 10.40% × 45 / 365), plus the 40 euros. It's not a fortune, but it makes clear that being late has a cost for whoever doesn't pay. And there's an exception: if the customer isn't responsible for the delay, they don't have to pay the interest or the 40 euros (articles 6 and 8).
What you can automate
The notice before it falls due. A friendly message a few days ahead, with the invoice attached, sorts out the delays that are simple forgetfulness.
The reminder when it falls due, and another a week later if it's still unpaid, always with the invoice and the payment details at hand.
The list of what's outstanding. Every morning, or every Monday, what's owed sorted by days late, with what each customer has already been told. That way nobody has to open the software invoice by invoice.
The calculation and the record. For what's overdue, the days late, the interest at the current rate and the 40-euro compensation, so you decide with the numbers in front of you. And every notice sent, saved with its date: if one day you have to claim for real, you'll have at hand what was sent and when.
What you decide
Charging the interest and the 40 euros to a good customer who was late once is a business decision, not a machine's. The automation does the math; you decide whether to send it.
Nor do you automate the conversation with a customer who's struggling to pay, whether you keep supplying them, or the formal claim. For a formal demand letter or for going to court, better a lawyer.
Where to start?
With the outstanding list and the reminder on the due date. Before switching them on, write down how many days on average it takes you to get paid, and look again after two months. If the number goes down, you know what it's given you.
And what's coming: once mandatory e-invoicing between businesses arrives (October 2027 or October 2028, depending on size), whoever receives an invoice will have to report when they pay it to the Spanish Tax Agency's public solution, which is designed precisely to monitor payment terms. Self-employed individuals under 8 million, from October 2029.
Frequently asked questions
What is the maximum payment term for an invoice between businesses in Spain?
If nothing else has been agreed, 30 calendar days from receipt of the goods or service. The parties can extend it, but never beyond 60 calendar days, under article 4 of Law 3/2004 on late payment.
What late-payment interest rate applies in 2026?
If no other rate was agreed, the statutory one: 10.40% for the second half of 2026, according to the Treasury resolution published in the BOE on July 1, 2026. It's the European Central Bank rate plus eight points and is updated every six months.
What are the 40 euros in Spain's late payment law?
A fixed compensation for collection costs that the creditor is entitled to when the customer pays late, without having to ask for it expressly (article 8 of Law 3/2004). Proven collection costs above that amount can be claimed as well.
Does the late payment law apply if my customer is a private individual?
No. Law 3/2004 only applies to transactions between businesses and between businesses and public bodies. With private customers you can automate reminders just the same, but that interest and the 40 euros don't apply.
Can reminders for unpaid invoices be automated?
Yes: the notice before the due date, the reminder when it falls due, the daily outstanding list and the interest calculation. What's best left to a person is the conversation with the customer and the decision to claim.
Sources
- Law 3/2004 of December 29 on combating late payment in commercial transactions (BOE)
- Spanish Treasury resolution of June 30, 2026: statutory late-payment interest rate for the second half of 2026 (BOE)
- Royal Decree 238/2026 of March 25, mandatory electronic invoicing between businesses and professionals (BOE)
- Order HAC/1028/2026 of October 2, public e-invoicing solution (BOE)
If you want to know when B2B e-invoicing applies to you, see when it becomes mandatory for your business.
Want to see this applied to your business? Let's talk.
Free diagnosisKeep reading

