correlative invoice numbering, corrective invoice series and access to voided invoices (specially for spain)
M
Michiel de AutomateDoctor
Spanish invoicing law requires correlative invoice numbers with no gaps or reused numbers, a separate series for corrective invoices (facturas rectificativas), and every issued invoice kept accessible. HighLevel can't meet these rules right now.
The issues:
- Opening a new invoice draft uses up a number. The counter moves forward even if the draft is never saved or sent, which leaves gaps in the sequence.
- There's no numbering format with the year. Settings only offer a fixed prefix and an incrementing number, so common formats like 2026/001 or 001/26 aren't possible, and there's no yearly reset.
- There's no separate series for corrective invoices. A corrective invoice needs its own numbering (R1/26, R2/26...) and must refer to the invoice it corrects.
- Voided invoices can't be accessed anymore. They disappear from the normal views and their link returns "invoice not found or invalid status (404)". They still have to be viewable and downloadable for legal record keeping.
- Refunding a payment creates no document. There's no credit note or corrective invoice linked to the original invoice.
What would fix it:
• Assign the number only when the invoice is issued (sent or paid), never when a draft is opened.
• A numbering template with tokens ({YYYY}, {YY}, {NNN}), an optional yearly reset and a "next number" setting.
• Multiple numbering series, with a "Create corrective invoice" action that links to the original invoice and voids it.
• Voided invoices stay visible, downloadable and reachable by their link, clearly marked as VOID.
• Optionally create a credit note when a payment is refunded.
All of this is also needed for Verifactu, which Spanish businesses will be required to use. We're building a Verifactu module on top of HighLevel in the meantime. If you're dealing with the same problem, leave a comment and we can talk.
Log In