Facturae and FACe in Odoo: how to invoice public administrations

Updated: 16 November 2026

To invoice a public administration from Odoo, you need to generate the invoice in Facturae format, sign it electronically and submit it through that administration’s entry point, usually FACe. In Odoo this is done with modules from the OCA (Odoo Community Association), which work in both Odoo Community and Enterprise. In this guide we explain what each piece is, who is required to use it, what data you need to prepare in Odoo, and how it all fits in with Verifactu and the B2B e-invoicing that arrives in 2027.

What Facturae and FACe are

  • Facturae is the Spanish XML format for electronic invoices. The current version is 3.2.2, which extends 3.2.1 with a few new fields. It is a structured file: a PDF or a scanned invoice is not valid.
  • FACe is the General Entry Point for Electronic Invoices of the Spanish central government (Administración General del Estado). Regional governments, local authorities and other bodies can join FACe or have their own entry point.
  • DIR3 codes: every invoice to a public administration must state the accounting office, the managing body and the processing unit of the recipient organisation. These are normally provided by the organisation itself in the contract or the purchase order.

Put simply: Facturae is the “what” (the file) and FACe is the “where” (the counter where it is submitted).

Who is required to use it

Law 25/2013 has required electronic invoicing for public administrations since 15 January 2015. Those obliged include, among others, public and private limited companies; self-employed individuals are not obliged, although they may use it. In addition, the law allows each administration to exempt invoices of up to 5,000 euros from the obligation, so it is worth checking what the specific organisation requires.

In practice, if your company sells to town councils, provincial councils, universities, public hospitals or state bodies, you need to be able to issue Facturae from your ERP or from an external tool.

Facturae in Odoo: the OCA modules

Odoo does not generate Facturae on its own with the standard localisation. The usual solution is the modules in the OCA l10n-spain repository:

Module What it does
l10n_es_facturae Generates the Facturae file for the invoice and lets you sign it from Odoo with the company’s digital certificate.
l10n_es_facturae_face Sends the invoice to FACe from Odoo and checks its status. It is not published for every Odoo version: if it is not available, the file is downloaded and uploaded manually to the FACe portal.
l10n_es_facturae_igic Variant for invoices with IGIC (Canary Islands tax), in the versions where it is available.

These are free modules, maintained by the community, and they work in Odoo Community and Enterprise. Their documentation also lists known limitations that need to be reviewed depending on the version, for example with credit notes or invoices subject to the equivalence surcharge. For this reason, before you start invoicing, you need to test your company’s real-life cases.

Step by step: from the Odoo invoice to FACe

  1. Company certificate. Upload the digital certificate in Odoo’s certificate settings so that files can be signed.
  2. Company data. Complete the tax details and choose the Facturae version.
  3. Public-sector customer record. Mark that the customer is invoiced with Facturae, choose the version and add the accounting office, managing body and processing unit codes.
  4. Invoice. Create and validate the invoice like any other, including the data the organisation requires (for example, a case file or purchase order number).
  5. Generate and sign Facturae. From the invoice itself, generate the signed file.
  6. Submit to FACe. With the submission module, directly from Odoo; otherwise, by uploading the file to the FACe portal or to the organisation’s entry point.
  7. Tracking. Check the invoice status (registered, accounted, paid or rejected) so you don’t lose sight of payment collection.

What to check before your first invoice

  • That the certificate is valid and that someone is responsible for renewing it.
  • That each public-sector customer has the right DIR3 codes: if they are incorrect, the invoice is rejected.
  • That the tax and the invoice type are correct (VAT or IGIC, credit notes, equivalence surcharge) and supported in your version of the modules.
  • That the organisation is on FACe or, if it has its own entry point, how invoices must be submitted there.
  • That the invoice also complies with whatever applies to you under Verifactu or TicketBAI: Facturae replaces neither of them.
  • Issue a complete test invoice with a real case before relying on the process.

Facturae, Verifactu and B2B invoicing

These are three different things that coexist in the same ERP:

  • Facturae/FACe: invoicing public administrations, mandatory since 2015.
  • Verifactu (or TicketBAI in the Basque Country): requirements for invoicing software and the registration of each invoice with the tax authorities.
  • B2B e-invoicing: electronic invoices between businesses and professionals, starting in October 2027 for companies with more than 8 million euros in turnover and in October 2028 for all others. Royal Decree 238/2026 accepts Facturae as one of the valid syntaxes, alongside UBL, CII and EDIFACT, although the Spanish Tax Agency’s public solution works in UBL.

If you already invoice public administrations with Facturae, you have experience with structured invoicing, but B2B will have its own requirements for sending, receiving and reporting payments. We compare them in detail in Verifactu, B2B e-invoicing and Facturae: differences and explain the obligation in B2B e-invoicing in Odoo.

How we see it at Binovo

At Binovo we implement and maintain the OCA Facturae modules within our clients’ Odoo projects: we configure them, test them with their real-life cases and keep them up to date alongside the rest of the tax requirements (Verifactu, TicketBAI and B2B invoicing). The community does a tremendous job with these modules; our role is to make sure they work for each client with their data and their version, and that they don’t fall behind when the regulations change.

If you sell to public administrations and want to invoice from Odoo without leaving your ERP, you can see how we work in Odoo implementation and in Odoo maintenance and support, or get in touch.

Frequently asked questions

Does Odoo generate Facturae?

Yes, with the OCA l10n_es_facturae module, which generates the file and signs it with the company’s certificate. It works in Odoo Community and Enterprise.

Can invoices be sent to FACe directly from Odoo?

Yes, with the OCA l10n_es_facturae_face module, in the Odoo versions where it is published. If it isn’t, the file is downloaded from Odoo and uploaded manually to the FACe portal.

What are the accounting office, the managing body and the processing unit?

They are the DIR3 codes that identify the recipient organisation. They are stated on each invoice and provided by the administration itself; if they are incorrect, the invoice is rejected.

Does a self-employed person have to use Facturae to invoice public administrations?

Law 25/2013 does not oblige self-employed individuals, although they may use it. It does oblige, among others, public and private limited companies.

Is Facturae valid for B2B e-invoicing?

Royal Decree 238/2026 accepts it as a valid syntax, alongside UBL, CII and EDIFACT. The Spanish Tax Agency’s public solution works in UBL.

Sources

This guide is general information and does not replace tax advice.

Transparency: this article was produced with the help of artificial intelligence based on the sources cited, and was reviewed and validated by the Binovo team before publication.

Leave a Reply