Invoicing Rules for Spanish Companies and Digital Systems

Laptop showing an accounting dashboard with charts on a desk by a sunny window, illustrating Spanish company invoicing rules

Spanish company invoicing rules combine stable requirements on invoice content, corrections and retention with two changes under way: new requirements for invoicing software and mandatory e-invoicing between businesses.

Contents

Invoicing looks like the easy part of running a company: you do the work, send a document and get paid. In Spain, however, an invoice is also a tax document with mandatory content, deadlines, correction rules and retention periods, and the way invoices are issued is about to change. On one side, a regulation on invoicing software will require programs to guarantee that invoice records cannot be altered without trace; on the other, structured electronic invoices will become mandatory between businesses.

This guide is written for founders and directors, often based outside Spain, who run a Spanish limited company (SL, sociedad limitada). It explains the main Spanish company invoicing rules: what an invoice must contain, how to correct one and how long to keep it, what is specific to business-to-business billing, what the new digital rules require as of the date this article was reviewed, and how to organise your records. It is general information based on Spain’s Invoicing Regulation (Royal Decree 1619/2012), Royal Decree 1007/2023, Royal Decree 238/2026 and guidance from the Spanish Tax Agency (Agencia Tributaria, AEAT). The application dates of these rules have changed several times, so always confirm them before making decisions.

Required invoice information

The starting point is the Invoicing Regulation approved by Royal Decree 1619/2012. Its article 2 requires businesses and professionals to issue an invoice, and keep a copy, for the goods and services they supply in the course of their activity, including supplies that are exempt from or outside the scope of Spanish VAT (IVA), subject only to the exceptions in the regulation itself. A Spanish SL is a business by its legal form, so the general rule applies from its very first sale.

When an invoice is always required

There are limited exceptions, but an invoice is always required when, among other cases, the customer is a business or professional acting as such, the customer needs it to exercise a tax right, the supply is an exempt intra-EU supply of goods or an export, or the customer is a legal entity not acting as a business or a public authority. Advance payments received before the supply also require an invoice, except for exempt intra-EU supplies of goods.

In practice, an SL that works with other businesses invoices every single transaction. Companies selling to consumers have more flexibility in the form (for example, simplified invoices), but not in the duty to document the sale.

What a full invoice must show

Article 6 of the regulation sets out the required invoice information for a full invoice. Beyond any additional information the company wishes to include, it must show:

  • An invoice number and, where applicable, a series, numbered consecutively within each series.
  • The date of issue.
  • The full name or registered company name of both the issuer and the customer.
  • The issuer’s tax identification number (NIF) and, in the cases listed in the regulation, the customer’s: for example, when the customer accounts for the VAT under the reverse charge, in exempt intra-EU supplies, or when the supply takes place in Spain and the issuer is established in Spain.
  • The address of the issuer and of the customer.
  • A description of the goods or services with the data needed to determine the taxable amount, the unit price excluding tax, and any discount not already included in that price.
  • The VAT rate or rates applied and the VAT charged, shown separately.
  • The date of the supply or advance payment, if different from the date of issue.
  • For exempt supplies, a reference to the legal provision or a statement that the supply is exempt; where the customer accounts for the VAT, the wording “inversión del sujeto pasivo” (reverse charge); and, under special schemes, the relevant wording.

If one invoice covers exempt and taxable supplies, supplies at different VAT rates, or reverse-charge and standard supplies, the taxable amount for each group must be shown separately.

One detail often missed: the company name on the invoice must match the registered name exactly, including “SL” or “Sociedad Limitada”, and the NIF must be the one held in the tax register. A trading name or brand can appear in the design, but it does not replace the registered name.

Simplified invoices

Article 4 allows a simplified invoice, with less information, when the amount does not exceed €400 including VAT, or when it is a corrective invoice. In certain activities, such as retail, restaurants and bars, passenger transport, hairdressing or car parking, the limit rises to €3,000. Simplified invoices cannot be used, among other cases, for exempt intra-EU supplies of goods.

A business customer that wants to deduct VAT will usually ask for a full invoice, or a simplified one showing its identification details. A company selling to both consumers and businesses therefore often uses both types, and if it issues full and simplified invoices in the same calendar year they must be numbered in separate series.

Numbering and series

Numbering must be consecutive within each series. Separate series are allowed when there is a reason for them, such as several premises or different types of activity, and some series are mandatory: corrective invoices, for example, and invoices issued on the company’s behalf by the customer or a third party each need their own series.

A common approach is one series per year (for example, 2026-0001, 2026-0002…) and another for corrective invoices (R2026-0001…). What matters is that there are no gaps or duplicates, and that any gap has a documented explanation.

Currency, language and issue deadline

Amounts can be stated in any currency, provided that any Spanish VAT charged is shown in euros. Invoices may be issued in any language, although the Tax Agency can request a translation into Spanish or another official language of Spain during a tax inspection. If you invoice in English, you do not need to translate every invoice, but a bilingual template, or at least the ability to explain the content, is useful.

As a general rule, the invoice is issued when the supply takes place. When the customer is a business or professional acting as such, the deadline is extended to before the 16th day of the month following the month in which the VAT became chargeable.

Corrections and record retention

Invoice errors are unavoidable, especially in the first months of trading. The rules do not forbid mistakes; they require them to be corrected in a specific way and the full paper trail to be kept.

When a corrective invoice is required

Article 15 of the regulation requires a corrective invoice (factura rectificativa) when:

  • The original invoice does not meet the content requirements, for example because the customer’s NIF or a sufficient description is missing.
  • The VAT charged was calculated incorrectly, for example because the wrong rate was applied.
  • Something happens that, under article 80 of the Spanish VAT Act, changes the taxable amount: returns, later discounts, cancellation of the transaction, or bad debts in the cases and under the conditions set out in the law.

The corrective invoice must be issued as soon as the company becomes aware of the circumstances, provided that no more than four years have passed since the VAT became chargeable or since those circumstances arose.

How to issue a corrective invoice

The correction is made with a new invoice that identifies the invoice being corrected. That corrective invoice:

  • Is numbered in its own specific series.
  • Must meet the content requirements of a full or simplified invoice, as appropriate.
  • Can show the amount of the correction directly, positive or negative, or show the figures as they stand after the correction together with the amount corrected.
  • Can correct several invoices at once if all of them are identified; for volume discounts, stating the period concerned is enough.

An invoice issued to replace an earlier simplified invoice, for instance when the customer later asks for a full invoice with its details, is not a corrective invoice as long as the simplified invoice was correct.

What not to do

Deleting an invoice that has already been issued, reusing its number, or editing it in the software and resending it as if it were the original are not acceptable under Spanish rules. With the new invoicing software requirements this becomes even more visible, because compliant programs must record any change. Once an invoice has been issued, the way to fix it is a corrective invoice.

How long to keep invoices

Article 19 of the regulation requires companies to keep invoices received, copies of invoices issued and other supporting documents for the period set by the General Tax Act. The Tax Agency’s right to assess tax is generally time-barred after four years, but other rules extend that period in practice:

  • The Spanish Commercial Code requires books, correspondence, documents and vouchers relating to the business to be kept for six years from the last entry in the books.
  • When a company offsets tax losses or applies tax credits from earlier years, the Tax Agency can check them for up to ten years, and the company must be able to produce the returns and accounts that support them.

Most accountants therefore recommend keeping all invoicing records for at least six years, and longer where they relate to losses or tax credits still to be used.

Where and how to keep them

Invoices can be kept on paper or electronically, as long as the authenticity of their origin, the integrity of their content, their legibility and prompt access by the Tax Agency are guaranteed. Electronic storage must keep the invoice in the original format in which it was sent or received and allow online access, search, copying and download.

The company can choose where to store its invoices. If it stores them outside Spain, the obligation is only met when electronic means allow the Tax Agency online access, and the company must notify the Tax Agency in advance. This matters for companies whose shareholders use servers or cloud services in another country.

Business-to-business billing

Business-to-business billing has its own rules on issue deadlines, content and, soon, format.

Deadlines and summary invoices

When the customer is a business or professional, the invoice can be issued up to the 15th day of the following month. Supplies made to the same customer within one calendar month can also be grouped in a single summary invoice (factura recapitulativa); where the customer is a business, it is also issued before the 16th of the following month.

This is useful for recurring services such as monthly maintenance or consultancy hours, but do not confuse the invoicing deadline with the moment VAT becomes chargeable, which depends on when the supply is made or an advance payment is received.

Customers and suppliers in other countries

When the customer is a business established in another EU Member State, the invoice must show its EU VAT number and, if no Spanish VAT is charged, the wording that explains why, such as an exemption or the reverse charge. For customers outside the EU, the treatment depends on the type of supply and where it is deemed to take place. These cases deserve a specific review with your adviser, because a wrong wording can turn into an unexpected VAT assessment.

Invoices issued by the customer or a third party

The regulation allows invoices to be issued on the company’s behalf by the customer (self-billing) or by a third party, such as an accounting firm or a platform. Self-billing requires a prior written agreement, an acceptance procedure and a dedicated numbering series; in every case, the company remains responsible for compliance. If the customer or third party is outside the EU, additional requirements apply and should be reviewed before signing the agreement.

Invoicing public authorities

Under Law 25/2013, limited companies that supply Spanish public authorities must issue electronic invoices and submit them through the relevant authority’s official e-invoice entry point. Public authorities may exempt invoices of up to €5,000, so check the terms of each contract.

Mandatory B2B e-invoicing

Law 18/2022 on business creation and growth (known in Spain as the “Crea y Crece” law) introduced the obligation to issue, send and receive electronic invoices in transactions between businesses and professionals. Royal Decree 238/2026 has implemented it and amended the Invoicing Regulation, which now includes a new article 8 bis. Its main features are:

  • Scope: it applies when the customer is a business or professional with its seat, a permanent establishment or its residence in Spain and the supply is made to that seat or establishment. It does not cover sales to consumers or to customers without a presence in Spain, and simplified invoices are excluded unless they include the customer’s details.
  • Format: a PDF sent by email is not enough. The invoice must be a structured message following the European standard EN 16931 in one of the accepted formats (UBL, CII, EDIFACT or Facturae, the Spanish format).
  • Channels: companies can use private exchange platforms, which must be interoperable with each other, or the Tax Agency’s public e-invoicing solution, which is free to use.
  • Invoice status: the customer must report acceptance or rejection of the invoice and the date of full payment, within the deadlines set by the regulation.

According to the timetable published by the Tax Agency, deadlines run from 6 October 2026, when the ministerial order regulating the public solution came into force. The obligation applies from 6 October 2027 to businesses and professionals whose turnover in the previous year exceeded €8 million, and from 6 October 2028 to everyone else. For a small or medium-sized SL, as of the date this article was reviewed, the reference date is therefore October 2028, although nothing prevents you from adopting it earlier if your customers or suppliers already work this way.

Spanish company invoicing rules for digital systems

The second part of the change does not concern the invoice format but the software used to issue it. The two are often confused: Spanish company invoicing rules for B2B e-invoicing govern how an invoice is sent and received, while the invoicing software regulation governs how the program that creates it must work internally.

What Royal Decree 1007/2023 regulates

Royal Decree 1007/2023 approved the regulation setting out the requirements for computer systems and programs that support invoicing, commonly known in Spain by the name of its reporting mode, VERI*FACTU. Its aim is to guarantee the integrity, retention, accessibility, legibility, traceability and unalterability of invoicing records. In practice:

  • Each time an invoice is issued, the system creates an invoicing record chained to the previous one, so any later alteration is recorded.
  • Invoices issued with these systems must include a QR code and, if the system sends all records to the Tax Agency, the wording “Factura verificable en la sede electrónica de la AEAT” or “VERI*FACTU”.
  • Software producers and sellers must confirm, through a formal statement of compliance (declaración responsable), that their programs meet the requirements.

The definition of an invoicing system is broad: it covers the hardware and software used to issue invoices, whether a desktop program, a cloud application or a module of an ERP. If your company issues invoices with generic tools or in-house software, check with your adviser whether they fall within that definition.

Who it applies to, and who is excluded

The regulation applies to companies subject to Spanish corporate income tax that use invoicing software, even for only part of their activity, as well as to self-employed individuals and certain other taxpayers. It does not apply to companies that keep their VAT records through the Immediate Supply of Information system (SII, an online real-time VAT reporting system run by the Tax Agency), nor to certain transactions, such as those carried out through permanent establishments abroad.

Dates: what has been approved and what has been announced

This is the point that has changed most. According to the Tax Agency’s information note, Royal Decree-law 15/2025 requires corporate income taxpayers to have compliant systems before 1 January 2027, and all other taxpayers before 1 July 2027.

However, on 5 October 2026 the Ministry of Finance published a note announcing its plan to postpone the outstanding obligations under Royal Decree 1007/2023 until October 2028, to align them with mandatory e-invoicing for businesses with turnover of up to €8 million. As of the date this article was reviewed, this is an announced plan, not a rule published in the Official State Gazette (BOE). The prudent approach is twofold: do not assume the postponement until it is published, and use the time to choose software that meets both sets of rules.

Choosing invoicing software

Before signing up for, or switching, invoicing software, ask the provider:

  • Whether it has a statement of compliance with the invoicing software regulation.
  • Whether it can send records to the Tax Agency and how it handles the QR code.
  • Whether it produces structured invoices (UBL or another accepted format) and can connect to exchange platforms or the public solution.
  • Whether it supports corrective invoices in separate series and exports the VAT record books.
  • How data can be kept and downloaded if you change provider.

The Tax Agency also offers a free invoicing application on its website. For a company with a regular volume of invoices, software integrated with the accounts is usually more practical.

Consequences of non-compliance

The General Tax Act treats breaches of invoicing obligations, including issuing, correcting and keeping invoices, as tax offences, with fines proportional to the amount of the transactions affected, which are higher when an invoice is not issued or not kept. Separately, using invoicing systems that do not meet the required specifications, where they must be certified or have been altered, can be fined €50,000 per financial year. The point is not to alarm you, but to show why choosing the right software from the outset matters.

Organising invoice records

Good organisation saves time at every quarterly close and avoids problems in an inspection. Organising invoice records does not require a complex solution, just a clear process that everyone involved understands.

Invoices issued

  • Issue all invoices from a single program, with series defined from the start.
  • Check customer details before the first invoice: exact name, NIF and, for foreign customers, their EU VAT number.
  • Keep the contract, accepted quote or order alongside each invoice.
  • Match each bank receipt to its invoice; it makes bookkeeping easier and will help with payment-status reporting once it becomes mandatory.

Invoices received

  • Ask all suppliers to invoice the company, with its name and NIF, not the shareholders personally.
  • Receive invoices in a single mailbox or on the invoicing platform.
  • Check before paying that the invoice is correct and the expense relates to the business.
  • If a foreign supplier charges no VAT, flag it so your adviser can check whether the company must account for VAT under the reverse charge.

VAT record books and accounting

Invoices are the basis for the VAT record books of invoices issued and received and for the company’s accounts. If they are filed in order, with the same reference used in the software and on the bank statement, each quarterly close becomes a review rather than a reconstruction.

A simple digital structure

A structure that works for many small companies is one folder per financial year, with subfolders for invoices issued, invoices received, corrective invoices, bank statements and contracts, and a consistent file name such as “2026-0045_customer_date”. What matters is to keep the original file (the XML or PDF exactly as issued or received) and a backup.

If the company is managed from abroad

When the shareholders or director live outside Spain, a shared digital archive with the accounting firm is almost essential. Agree who issues invoices, who receives supplier invoices, when each month’s documents are sent and where originals are stored. If the server or cloud service is outside Spain, remember the prior notification to the Tax Agency.

Invoicing checklist for a Spanish SL

  • Company name and NIF checked on the invoice template.
  • Numbering series defined: standard, simplified if used, and corrective.
  • All article 6 content included in the template, with exemption or reverse-charge wording where needed.
  • Issue deadlines understood: at the time of supply, or before the 16th of the following month for business customers.
  • Correction procedure defined: a new invoice in a dedicated series identifying the original.
  • Invoicing software with a statement of compliance with the invoicing software regulation.
  • Software deadlines confirmed with the Tax Agency at the time of the decision.
  • Plan for mandatory B2B e-invoicing: format, platform and payment-status reporting.
  • Orderly records of invoices issued, received and corrected, plus supporting documents, with a backup.
  • Retention for at least six years, longer where losses or tax credits are pending.
  • Prior notification to the Tax Agency if invoices are stored outside Spain.
  • Written agreement with your accounting firm on how documents are sent.

Practical examples

These examples are simplified and only illustrate how the general rules apply; every real case needs its own review.

A consultancy billing Spanish businesses by the hour

A consultancy SL provides services to several business customers each month. It can issue one summary invoice per customer per month before the 16th of the following month. If its annual turnover does not exceed €8 million, as of the review date mandatory structured e-invoicing will apply to it from October 2028; even so, if a large customer requires it earlier, it should have software able to produce it.

The wrong VAT rate

A company issues an invoice with the wrong VAT rate. It must not edit the invoice or issue another with the same number: it issues a corrective invoice in its dedicated series, identifies the original invoice and shows the amount of the correction. The customer adjusts its deduction and the company reports the correct VAT.

A subsidiary managed from outside Spain

An SL owned by a foreign company issues its invoices from the group’s management system, hosted outside Spain. Before starting, it should check that the system meets the Spanish requirements, allows the Tax Agency online access to the invoices, and that prior notification of storage outside Spain has been made.

How DomiciliaEmpresa can help

At DomiciliaEmpresa we provide accounting for Spanish companies and tax support: we help you design compliant invoice templates and series, review the wording for transactions with foreign customers, keep the VAT record books and the accounts, and guide you in choosing software that meets the new requirements, coordinated with your company’s other tax obligations. If you run the business from abroad, we organise the exchange of documents remotely.

If you are still setting up your business, we can help with Spanish company formation and a Madrid registered office, provided the service fits the way the company will be managed: whether a professional address can serve as a registered office or tax address depends on where the company is effectively managed and on the circumstances of each case. If you are interested in combining company formation, a business address and tax and accounting support, ask us about current promotions.

Frequently asked questions

Can a Spanish SL send PDF invoices by email?

Yes, until mandatory B2B e-invoicing applies to it, as long as the customer accepts it and the invoice contains all the required information. Once the obligation applies, transactions with businesses and professionals established in Spain will require a structured format, not a PDF.

Can I invoice in English or in another currency?

Yes. Invoices can be issued in any language and currency, provided any Spanish VAT charged is shown in euros. The Tax Agency may request a translation during an inspection.

What should I do if I have issued an invoice with a mistake?

Issue a corrective invoice in a dedicated series that identifies the original and shows the correction. Do not delete or replace the invoice already issued.

When must my invoicing software be compliant?

Under the rules published as of the review date, companies must be compliant before 1 January 2027, but the Ministry of Finance has announced its intention to postpone this until October 2028. Check the current position with the Tax Agency before deciding.

Does mandatory e-invoicing apply to sales to consumers?

No. It covers transactions between businesses and professionals with a seat or establishment in Spain. Sales to consumers follow the general rules.

Does setting up a company in Spain give me the right to live here?

No. Forming a company or acting as its director does not in itself grant a residence or work permit.

Conclusion

Spanish company invoicing rules rest on stable foundations (invoice content, corrections, retention) and on two technological changes under way: requirements for invoicing software and mandatory e-invoicing between businesses. A company that sets up its templates, series and records properly from the start will be able to adapt to both, whatever the final application dates turn out to be.

Because dates and technical details are still evolving, the prudent course is to rely on professionals. The DomiciliaEmpresa team or your own adviser can review your invoices, help you choose a suitable system and answer any questions about Spanish company invoicing rules as they apply to your business. Request information with no obligation and we will explain the next steps.

Want your Spanish company invoicing ready for the new rules? Ask about tax and accounting support

Official sources

Related services

See all services →

More than 25,000 clients trust us

+20

years of experience

+25,000

clients

+65,000

procedures completed

Let's talk

Request information, no strings attached

Tell us what your company needs and we'll reply within 24 hours.

Information request (EN)

Privacy policy | Legal notice

Data protection: Controller: Consultoría Asesor Pyme Profesional, S.L. Purpose: to handle your request. Legal basis: pre-contractual measures or legitimate interest, as applicable. Recipients: as set out in the policy. Rights: you can exercise them at info@domiciliaempresa.es.

You can also contact us

91 445 86 32
Mon-Fri 10:00 - 18:00

info@domiciliaempresa.es
Reply within 24 h

C/ General Álvarez de Castro 41, Office 10
Madrid