How to number invoices correctly?

Oct 6, 2025 | Electronic invoicing

Invoice numbering is a “three-in-one” solution: a legal requirement, an internal control mechanism, and an essential practice for a business’s financial traceability. Incorrectly numbering invoices can lead to penalties from the tax authorities, accounting errors, and complications during audits. In this article, we explain how to number invoices, what the regulations in Spain require, and when it is mandatory to use different series. We’ll look at examples and show you how to you can automate your accounting, save money, and avoid risks.

What is invoice numbering and why is it so important?

The first thing is to understand the concept: invoice numbering is the unique, sequential, and orderly sequence assigned to each invoice issued by a company. It is also much more than a simple internal organization code, since:

  • It is legally and fiscally valid. Regulations require that all invoices have a unique number that identifies them.
  • Ensures traceability. It allows you to follow the cycle of an operation from start to finish.
  • Avoid duplication. A repeated number may invalidate an invoice or result in penalties.
  • Facilitates accounting and auditing. An orderly sequence simplifies the review of accounting books and financial reports.

In short, numbering not only organizes, but also protects the company from the tax authorities and ensures that your financial management is transparent.

What do the invoicing regulations say about how to number invoices?

At the legal level, the invoicing regulations (officially called Royal Decree 1619/2012, of November 30) clearly establishes how invoices must be numbered in Spain. Specifically, it establishes the following:

  • The numbering must be sequential within each series.
  • Each invoice must have a unique number to identify it.
  • You can create multiple billing series, but each one must be sequential in itself.
  • The numbering format is flexible: it can be just a number (001, 002, 003...), or it can combine numbers and letters (2025-001, A-2025-015...).
  • It is mandatory that the numbering be uninterrupted, unless you change the series for a legally justified reason.

In other words, you cannot "skip" numbers, repeat them, or restart the numbering arbitrarily.

When should you use different billing series?

In any case, the regulations themselves stipulate that in certain situations it is necessary or advisable to use different numbering series. Some common cases are:

  • When issuing corrective invoices. In this case, they must have a specific series that is different from the general one.
  • When a company has several establishments or branches. Here, each center can have its own series, provided that it is sequential.
  • Invoicing across different fiscal years. Although it is not mandatory, many companies restart the numbering each year with a new series (for example: 2024-001, 2025-001).
  • Companies with different types of operations. Some companies invoice under different regimes (general, equivalence surcharge, reverse charge, etc.), so they usually differentiate between series.
  • With clients or for special projects. Some companies prefer to create specific series to quickly identify billing by customer, project, or business line.

How to Number Invoices to Avoid Mistakes

Since everything is clearer with practical examples, here's how to number invoices correctly in different scenarios:

Situation Recommended series Numbering example
Annual total revenue Per fiscal year 2025-001, 2025-002, 2025-003…
Corrective invoices Independent series R-2025-001, R-2025-002...
Two different branches Per center MAD-001, MAD-002… / BCN-001, BCN-002…
Different lines of business By product or service SW-001, SW-002… / CONS-001, CONS-002…
Strategic client with separate control Per customer CUSTOMER_A-001, CUSTOMER_A-002...

In all these cases, avoid common mistakes such as:

  • Restarting numbering within the same year without legal grounds.
  • Duplicate numbers on different invoices.
  • Skip numbers (for example, go from 2025-010 to 2025-012 without issuing 2025-011).

Example of how to number invoices correctly, step by step

Imagine that your company issues invoices in 2025 and there are three different scenarios: general invoicing, corrective invoices, and a new center you have opened in Barcelona. Let's see what the correct numbering should be in each case:

1. General billing (annual series per fiscal year)

The usual practice is to create a series that restarts each year and follows a sequential order. That is:

  • 2025-001
  • 2025-002
  • 2025-003
  • 2025-004

Each new invoice increments the previous number by one. There are no gaps or duplicates. Additionally, when the fiscal year changes, you would start over at 2026-001.

2. Corrective invoices (separate series)

If you want to correct an invoice that has already been issued, the regulations require that it be issued with a different series. In other words:

  • R-2025-001
  • R-2025-002

Here, the "R" indicates that it is a corrective invoice. This series must also be sequential and cannot be mixed with the general series.

3. Multiple billing centers (series by location)

If you open a new center in Barcelona and invoice from there, you have to create a series for that location. For example:

  • MAD-2025-001 (Madrid)
  • MAD-2025-002
  • BCN-2025-001 (Barcelona)
  • BCN-2025-002

Each location has its own independent and sequential numbering system. This provides better accounting traceability and simplifies auditing processes.

Comparison: how easyap manages numbering compared to competitors

Technology plays a vital role in numbering invoices. Software such as easyap offers you essential advantages and features compared to other competitors:

Criterion Easyap Competitors (Holded, Declarando, Edicom, Seres, etc.)
Numbering automation Flexible in series and sub-series. Limited advanced customization.
Legal compliance Approved and prepared for international and national regulations. More focus on SMEs/self-employed workers, without as much legal power in complex environments.
Integration with ERP Total (SAP, Oracle, Microsoft Dynamics, and others). Limited to more basic tools; manual processes are required.
Scalability Designed for companies with high turnover and multiple subsidiaries. Aimed at smaller companies; may fall short in global operations.
Technical support Experts in electronic invoicing, OCR, and financial workflows. Standard support, without much specialization.

For all these reasons, easyap is ideal for:

  • Medium-sized or large companies with high volume. Ensures traceability, internal control, and regulatory compliance.
  • Corporate ERP environments corporate ERP. The solution is perfect if you want advanced integration with SAP, Oracle, Dynamics, or whatever ERP you use.
  • Organizations with international operations. The platform manages different formats and foreign regulations, which is vital for multinationals.
  • Finance departments with frequent audits. Automation and digital records facilitate and assist in any internal or external control.

On the other hand, for very small SMEs or freelancers who issue few invoices per month, a lighter tool may be sufficient.

Advantages of numbering invoices with easyap

For both operational and legal reasons, in the day-to-day running of a department or financial area, numbering invoices is critical. An error can lead to redoing work, facing penalties, delaying audits, or undermining customer confidence. 

That is why more and more companies are relying on systems such as easyap, which combines automation, security, and legal compliance. Among the advantages you can enjoy with our software, you will find:

  • Full automation. Invoices are numbered automatically, with no duplicates or gaps.
  • Regulatory compliance. We comply with Spanish invoicing regulations and other international regulations.
  • Flexible configuration. You can create multiple series and sub-series by year, branch, customer, or transaction, without inconsistencies.
  • Scalability. It doesn't matter if you manage 500 or 500,000 invoices per month, as the system supports huge volumes of data without losing any efficiency.
  • Simplified traceability and auditing. Each invoice is recorded with a unique number and is easily accessible for inspections or reviews.
  • Time and cost savings. The finance team can focus on higher value-added tasks, rather than having to manually review billing sequences.
  • Expert support. At easyap, we have specialists in electronic invoicing and legal compliance who will assist you with every update.

In summary, knowing how to number invoices correctly gives you order, legal compliance, and efficiency. In large companies, the risk of making billing errors is multiplied. That's where easyap makes a difference: it integrates numbering into an automated, reliable, approved system that adapts to you. Want to see it for yourself? Contact us and enjoy efficiency, traceability, and control when managing your invoices.

Increase your company's productivity and optimize billing processes

Still have questions? Contact us.

1 + 14 =