Skip to content

How to Invoice Spain's Public Administration With FACe and Facturae, Step by Step

FACe is the entry point for electronic invoices to the Spanish public administration. Who has to use it, which DIR3 codes to enter, how a Facturae invoice is signed, which statuses you will see and how soon the administration must pay you.

By Albert SalguedaReviewed by Equipo Melso, Revisión editorialPublished 13 min read
Desk of a self-employed woman with an open laptop showing an invoice, an electronic certificate card reader, a folder and a cup of coffee.

In short

  • FACe receives electronic invoices for the central government and for the bodies that have joined it. You submit the Facturae file and check the processing status.
  • Ley 25/2013 requires electronic invoicing from public limited companies, limited liability companies and other entities. Individuals are not on that list, but they can use it whenever they want.
  • The invoice must state three DIR3 codes: accounting office, managing body and processing unit. Without them it does not reach its destination.
  • The administration has 30 days from delivery to approve conformity and another 30 from that approval to pay. You must submit the invoice to the registry within 30 days of delivery.
  • Electronic invoicing to the administration (Ley 25/2013) is different from the mandatory electronic invoicing between businesses and autónomos, which starts on 6 October 2027 or 2028.

FACe invoicing, in summary

FACe is the General Entry Point for Electronic Invoices of Spain's central government (Administración General del Estado): the window through which a supplier submits an invoice in Facturae format, signed, and gets it to the accounting office that processes it. A self-employed person is not generally required to use it, but you do need it if the body you invoice requires it.

What FACe is and what Facturae is

They are two different things that are used together. Facturae is the format: an XML file with the invoice data in a structure that a program can read. FACe is the channel: the entry point where that file is submitted.

Ley 25/2013 requires electronic invoices sent to the administrations to have a structured format and to be signed with an advanced electronic signature based on a recognised certificate (article 5 of Ley 25/2013). Until another order is approved, the law itself set the Facturae format, version 3.2, with an XAdES signature (second additional provision). Before generating the file, check on face.gob.es which version the portal accepts today.

The State, the autonomous communities and local entities must have a general entry point (article 6). FACe is the one run by the central government, and it also receives invoices for the bodies that join it (Orden HAP/1074/2014). Some regions and town councils have their own entry point: the body you invoice tells you which one to use.

The entry point does three things for you. It records the invoice automatically and gives you an acknowledgement of receipt with date and time. It makes the invoice available to the competent accounting office. And it lets you check the processing status.

Who has to invoice the administration through FACe?

Article 4 of Ley 25/2013 starts from a right: all suppliers who have delivered goods or provided services to the public administration may issue and send an electronic invoice. And it sets an obligation for certain entities:

EntityMust use electronic invoicing and the entry point?
Public limited companies (S.A.)Yes
Limited liability companies (S.L.)Yes
Legal entities and entities without legal personality that do not have Spanish nationalityYes
Permanent establishments and branches of non-resident entitiesYes
Joint ventures (uniones temporales de empresas)Yes
Economic interest groupings, funds and other entities on the listYes
Individual (autónomo)Not on the list: can use it whenever they want

A self-employed person, as an individual, does not appear among the obliged entities. That does not mean you can simply choose. If the contract or the contracting body asks for the invoice through FACe, or has no means to process paper, the practical route is electronic. Ask the body before you issue.

The exception for invoices of up to €5,000

The same law adds that administrations may exclude from the electronic invoicing obligation, by regulation, invoices of up to €5,000. Orden HAP/1074/2014 reflects it for FACe: it excludes from mandatory submission electronic invoices of up to €5,000.

Three points help you avoid mistakes:

  1. It is a possibility that each administration applies or not. It is not an automatic right of the supplier.
  2. The text does not clarify whether the €5,000 is measured with or without IVA. Ask the body and keep its answer.
  3. If you stay on paper, the obligation to submit the invoice to the registry, within 30 days of delivery, does not go away (article 3 of Ley 25/2013).
If you are an entity on the list in article 4 of Ley 25/2013, such as an S.L., you use electronic invoicing and the entry point. If you are a self-employed individual, you can use it whenever you want. Up to €5,000 can be excluded, depending on each administration.(opens the image in a new tab)
Do I have to invoice through FACe?

DIR3 codes: accounting office, managing body and processing unit

The invoice has to reach the right people inside the administration. For that, Orden HAP/1074/2014 requires the invoice itself to state the recipient managing body, processing unit and accounting office. The proposing body is optional. The code of each unit is the one it has in the Common Directory of Organisational Units and Offices, DIR3.

Role on the invoiceRole codeMandatory?What it is for
Accounting office01YesFirst recipient: checks the invoice for accounting purposes and forwards it to the managing body
Managing body02YesThe body that contracts and manages the expense
Processing unit03YesThe unit that processes the invoice and gives conformity
Proposing body04NoThe body that proposes the expense, if you want to state it

Where to find the DIR3 codes

Each administration must make the list of units and their codes available to suppliers (Ministry of Hacienda FAQ). There are three places to look:

  • The contract, the purchase order or the award letter, where the body usually states the three codes.
  • The Directory section of FACe, which lists the units that can receive invoices.
  • The administration's DIR3 directory.

Important

A wrong code does not trigger a format error: the invoice can end up at a unit that is not yours. Ask the body in writing for the three codes before the first invoice and use them exactly as given.

The electronic signature of the invoice

A Facturae invoice is not sent bare: it must be signed with an advanced electronic signature based on a recognised certificate, under article 5 of Ley 25/2013. An advanced electronic seal is also accepted for legal entities. If the signature does not comply, FACe rejects the invoice automatically and tells you the reason (Orden HAP/1074/2014).

To submit it from the portal, the person submitting needs a recognised electronic certificate: as an individual, as an individual representing a legal entity or as a legal entity. If you do not have a certificate yet, in digital certificate we explain how to get one.

There is another route: sending invoices from your management software through web services, without using the portal. In that case the communications are also signed with a recognised certificate.

How to invoice the administration, step by step

  1. Confirm with the body how it wants to receive the invoice. Ask whether it requires FACe, which entry point you must send it to and whether it applies the €5,000 exclusion.
  2. Ask for the three DIR3 codes. Accounting office, managing body and processing unit.
  3. Prepare the invoice with its mandatory data. The content is the one in article 6 of the Invoicing Regulations: consecutive number and series, date, details and NIF (tax ID) of both parties, description of the transaction, IVA rate and amount. If you want to review the details, see how to make an invoice.
  4. Generate the Facturae file. Use a program that exports the structured format, with the three DIR3 codes in the administrative centre fields.
  5. Sign it with your certificate. The invoice goes signed with an advanced electronic signature.
  6. Upload it to FACe or send it from your software. Keep the acknowledgement of receipt with date and time.
  7. Follow the status. Check in FACe how the invoice progresses until it shows as paid.
Six steps to invoice through FACe: confirm the channel with the body, ask for the DIR3 codes, generate the Facturae file, sign it with a recognised certificate, upload it to FACe and follow the status until payment.(opens the image in a new tab)
How to submit an invoice to the administration

How Melso helps

If what you want is to stop losing time on the rest of your invoicing, with Melso you create your invoices with VERI*FACTU and the professionals prepare and file your tax returns. See the plan at Melso for autónomos.

Invoice statuses in FACe

The entry point returns the latest status notified by the accounting office. The Resolution of 10 October 2014 sets these public statuses:

StatusCodeWhat it means
Registered1200FACe has received and administratively registered it, with a registry entry number
Registered in the accounting invoice register1300It is in the accounting office's invoice register
Recognised obligation booked2400The administration has recognised the payment obligation
Paid2500The payment obligation has been paid
Rejected2600The accounting office or the processing unit rejects it, and they must tell you why
Cancelled3100They accept your cancellation request

If you want to cancel an invoice, the request has its own statuses: not requested (4100), requested (4200), accepted (4300) and rejected (4400). Requesting it does not stop the internal processing of the invoice.

What to do if it is rejected

A rejected invoice is not considered properly submitted. The return follows the reverse process of submission, and whoever rejects it must state the reason. Fix the error, generate the file again and resubmit it. If the defect is in an invoice that was already accepted, correct it with a corrective invoice instead of duplicating it.

Payment deadlines of the administration

There are three clocks, and it pays not to mix them up.

  1. Your deadline to submit the invoice: 30 days from delivery. Ley 25/2013 requires the supplier to submit the invoice to the registry within thirty days of actual delivery or provision of the service (article 3).
  2. The administration's deadline to give conformity: 30 days from delivery. It must approve the documents proving conformity within thirty days of delivery (article 198.4 of the Public Sector Contracts Law).
  3. Deadline to pay: 30 days from that approval. If it is late, it must pay late-payment interest and compensation for collection costs, under the terms of Ley 3/2004.

If you submit the invoice after the 30 days, interest does not start running until thirty days after correct submission. The legal late-payment rate is the European Central Bank's rate on its latest main refinancing operation plus eight points, and it is set every six months (article 7 of Ley 3/2004).

If the delay exceeds four months, the contractor may suspend performance of the contract by giving one month's notice, and if it exceeds six months they may terminate it (article 198, paragraphs 5 and 6). This applies to public sector contracts, so check the terms of yours too.

Example with numbers: an invoice to a town council

Marta is a self-employed consultant. She provides a service to a town council and delivers it on 2 November 2026. The amount is a taxable base of €6,000, with 21% IVA and 15% IRPF withholding, the general rate for a professional activity (article 95 of the IRPF Regulations). If she started the activity recently she can apply 7%, but here we use 15%.

  • Base: €6,000.
  • IVA: €6,000 × 21% = €1,260.
  • IRPF withholding: €6,000 × 15% = €900.
  • Total to collect: 6,000 + 1,260 − 900 = €6,360.

The invoice is over €5,000, with or without IVA, so there is no doubt about the exclusion: she submits the signed Facturae file in FACe. Her deadlines:

  • Delivery: 2 November 2026.
  • Marta's deadline to submit the invoice: 2 December 2026, 30 days later.
  • If the administration approves conformity on the last day, 2 December, it has until 1 January 2027 to pay.
Service delivered on 2 November 2026. Marta submits the invoice by 2 December at the latest, the administration approves conformity by that day at the most and pays by 1 January 2027 at the latest.(opens the image in a new tab)
Deadlines in the example: from service to payment

Marta reports the €1,260 of IVA in her return; how it enters the quarter is explained in output and input IVA. To quickly calculate the withholding on any invoice you have the IRPF withholding calculator, and for IVA the IVA calculator. How much IRPF a self-employed person ends up paying is explained in how much an autónomo pays.

FACe and mandatory electronic invoicing between businesses

They are two different obligations, with different rules and dates.

Invoice to the administrationElectronic invoice between businesses (Crea y Crece)
RuleLey 25/2013Crea y Crece Law and its implementing regulations
ClientPublic administrationBusinesses and autónomos
ChannelGeneral entry point (FACe)Private platform or the public solution of Hacienda
FormatFacturae, signedSeveral formats, including Facturae
Self-employed individualNot obliged, can use itObliged on 6 October 2028 if turnover does not exceed 8 million

For your private clients, the obligation starts on 6 October 2027 if the previous year's turnover exceeds €8 million and on 6 October 2028 for everyone else. We explain it in mandatory e-invoicing. That calendar arriving does not change how you invoice a town council today: Ley 25/2013 applies.

It is also unrelated to VERI*FACTU, the integrity system for invoicing software. You have the difference in what VERI*FACTU is.

Common mistakes

Leaving the DIR3 codes blank or getting them wrong

Without the accounting office, managing body and processing unit the invoice is not delivered properly. Ask for them in writing and check that you have not swapped one code for another.

Assuming a self-employed person can never send paper, or always can

Neither is true. The article 4 obligation does not mention individuals, but each administration can set its own conditions. Confirm with the body before choosing.

Forgetting the 30 days to submit the invoice

If you submit late, late-payment interest does not start running until thirty days after correct submission. Submitting late costs you money.

Signing with a certificate that is not recognised

A signature that does not meet the requirements causes automatic rejection. Use a recognised, valid certificate.

Changing the amount without correcting the invoice

If they have already registered it, do not send another invoice with a different number to fix it: use a corrective invoice.

How Melso helps

Melso is your online gestoría (a firm that handles tax and administrative paperwork), with an AI agent and human professionals behind it, and day-to-day communication is via WhatsApp, Telegram, email and web. For your invoicing, with Melso you create your invoices with VERI*FACTU, with unlimited invoices, and Melso professionals prepare, review and file the returns for your profile with your approval of the exact draft. If you invoice public bodies, tell your team of gestores in the chat and we will confirm how we fit it into your case before you sign up.

The Melso Pro plan costs €49 a month or €490 a year, with no lock-in, and covers up to €30,000 a year of surcharges, penalties and late-payment interest resulting from an error or delay by Melso in an included return filed by Melso. Check the plan at pricing for autónomos.

This article is for information only and does not replace professional advice for your case. Last reviewed: 24 November 2026.

Sources

  1. Ley 25/2013, promoting electronic invoicing and creating the accounting invoice register in the public sector, BOE (accessed )
  2. Orden HAP/1074/2014, technical and functional conditions of the General Entry Point for Electronic Invoices, BOE (accessed )
  3. Resolution of 10 October 2014, standardised technical conditions of the general entry point for electronic invoices, BOE (accessed )
  4. Ley 9/2017, Public Sector Contracts Law, article 198 (payment of the price), BOE (accessed )
  5. Ley 3/2004, measures against late payment in commercial transactions, BOE (accessed )
  6. Frequently asked questions on electronic invoicing, Ministerio de Hacienda (accessed )
  7. FACe, General Entry Point for Electronic Invoices, Administración General del Estado (accessed )
  8. Facturae, electronic invoice, Administración General del Estado (accessed )
  9. Invoicing Regulations (Real Decreto 1619/2012), article 6 (invoice content), BOE (accessed )
  10. IRPF Regulations, article 95 (withholdings on economic activities), BOE (accessed )
Back to top

Frequently asked questions. What people ask us most.

FACe is the General Entry Point for Electronic Invoices of Spain's central government (Administración General del Estado). It is the window through which a supplier submits an electronic invoice, which is recorded and sent to the accounting office that must process it. Besides the central government, bodies that have joined it also receive invoices through FACe, such as some autonomous communities and local entities.

Less paperwork.
More time for you.

Start with Melso or tell us about your case on WhatsApp.

Chat on WhatsApp (opens in a new tab)
  • No lock-in
  • Real professionals
  • Mistakes covered