Invoice for FACe — create the Facturae free, with the DIR3 codes

Invoicing a Spanish public administration? The invoice goes through FACe as a signed Facturae file that names the administration's three DIR3 codes. aiDoks creates that Facturae 3.2.2 for free — from a form or a PDF — with the DIR3 codes in place, and checks it against the official schema and the Spanish rules. You sign it with your own certificate and upload it to FACe.

  • Faile ei salvestata
  • Majutatud ELis
  • Mudeleid teie andmetega ei treenita

From invoice to FACe in 4 steps

1

Create the invoice

Choose Facturae as the output, fill in the form or upload a PDF, scan or photo and let AI fill it in. Enter the administration's NIF and its three DIR3 codes: oficina contable, órgano gestor and unidad tramitadora.

2

Check it and download

The Facturae is checked against the official XSD and the Spanish rules — NIF checksums, totals, IBAN — and you are warned when a public buyer's DIR3 codes are missing. You get an unsigned Facturae 3.2.2 XML file.

3

Sign it with your certificate

FACe only accepts signed invoices. Sign the file with the free AutoFirma application (XAdES-EPES signature for Facturae) to get the .xsig file. Your certificate never leaves your computer — aiDoks does not sign for you.

4

Upload it to FACe

On the FACe supplier portal (proveedores.face.gob.es) choose to send an invoice, attach the .xsig and submit. FACe routes it by the DIR3 codes, and you follow its status there.

What FACe needs — and what aiDoks does

Who has to use it

Since 15 January 2015 companies (SA, SL and other legal entities) must send e-invoices to Spanish public administrations. Each administration may exempt invoices up to €5,000. The self-employed are not obliged, but can use FACe too.

The three DIR3 codes

FACe routes each invoice by the administration's oficina contable, órgano gestor and unidad tramitadora, and rejects it if one is missing. The administration gives you the codes, usually with the order or contract.

Signing: yours, not ours

A Facturae for FACe must carry your electronic signature, and signing needs your certificate. aiDoks creates and checks the file; you sign it locally with AutoFirma or another XAdES-EPES tool.

Invoices to companies

FACe is for the public sector only. E-invoices between companies are coming with the Crea y Crece law; until then a company invoice can go as a Facturae, a PDF or another agreed format.

Good to know

  • New FACe portal — suppliers now send invoices at proveedores.face.gob.es; the old portal only shows invoices sent until 27 February 2026.
  • One invoice per file — aiDoks writes one invoice per Facturae file, which is what FACe expects.
  • Credit notes — corrective invoices (rectificativas) are not generated yet; create them in your invoicing software.

Received a Facturae and cannot read it? The free viewer opens it as a readable PDF.

Invoice for FACe: FAQ

Is FACe free, and is creating the Facturae free?

FACe is a free state service. Creating the Facturae with aiDoks is free too: the free plan covers 6 e-invoices a month, and Pro (€4.85 a month) is unlimited.

What are the DIR3 codes and where do I find them?

They identify the administration's oficina contable, órgano gestor and unidad tramitadora. FACe routes the invoice by them and rejects it if one is missing. The administration gives them to you, usually with the order or contract.

Does aiDoks sign the invoice or send it to FACe?

No. aiDoks creates and checks the Facturae. You sign it with your own certificate — for example with the free AutoFirma application — to get the .xsig file, and upload it on proveedores.face.gob.es.

Do I have to send e-invoices to the administration?

Companies (SA, SL and other legal entities) must, since 15 January 2015; each administration may exempt invoices up to €5,000. The self-employed are not obliged but can use FACe.

Can I turn my PDF invoice into a Facturae for FACe?

Yes. Upload the PDF, a scan or a photo; AI fills in the form, you add the DIR3 codes, check the fields and download the Facturae to sign.

Can I send a corrective invoice (rectificativa)?

Not with aiDoks yet — the generator creates ordinary invoices only. Create rectificativas in your invoicing software.

Your Facturae for FACe in minutes

Create or convert, add the DIR3 codes, check — then sign it and upload it to FACe.