Facturae is the XML format of the Spanish electronic invoice, published by the Spanish government on facturae.gob.es. The current version is 3.2.2. Since 15 January 2015, suppliers covered by Spain's public-sector e-invoicing rules must send electronic invoices, subject to exceptions; they are signed with a recognised certificate, as an XAdES signature inside the file, and sent to the administration's entry point, such as FACe. Klarbon opens Facturae 3.2.2 in beta.
What is in a Facturae file?
| Property | Value |
|---|---|
| Syntax | national XML with an XAdES signature |
| Publisher | Spanish government, facturae.gob.es |
| Current version | 3.2.2; schemas for 3.2 and 3.2.1 also published |
| Main parts | FileHeader, Parties (seller and buyer), Invoices |
| Signature | XAdES, required for invoices to public administrations |
| Delivery to public bodies | a general entry point such as FACe |
Version 3.2.2 added fields to 3.2.1, among them InvoiceDescription, factoring assignment documents, ReceiverTransactionReference and payment in kind (facturae.gob.es, in Spanish). Sending an invoice to an entry point also registers it in the administration's accounting register (facturae.gob.es, in Spanish).
How does Facturae relate to EN 16931?
Facturae is a national structure, not a UBL or CII profile of EN 16931. Spain's mapping of the European standard is described under the Spanish EN 16931 CIUS. For the signature itself, see XAdES signed XML.
What does Klarbon do with Facturae?
| Task | Status |
|---|---|
| Open a Facturae 3.2.2 invoice | beta, in open an e-invoice |
| Use it as the source for a conversion | beta |
| Write Facturae 3.2.2 from another e-invoice | beta: unsigned, and validated against the official 3.2.2 schema before you can download it |
| Verify the signature, check business rules | not yet |
Klarbon prepares unsigned XML, not an invoice of record issued through a Spanish platform. It never signs invoices or sends them to AEAT or FACe. For public-sector submission, use your invoicing software or the official service to sign and submit the file and check the recipient's requirements. This is general information, not tax advice.
Related
Frequently asked questions
What is Facturae?
The XML format of the Spanish electronic invoice, published by the Spanish government on facturae.gob.es. Invoices to Spanish public administrations use it and are sent through an entry point such as FACe.
Which Facturae version is current?
Version 3.2.2, which added fields to 3.2.1, such as an invoice description, factoring assignment documents and payment in kind. The schemas for 3.2, 3.2.1 and 3.2.2 are all published.
Does a Facturae invoice have to be signed?
For invoices to Spanish public administrations, yes, with a recognised electronic certificate. The signature is an XAdES signature inside the XML.
Can I open a Facturae file with Klarbon?
Opening Facturae 3.2.2 is in beta. Klarbon shows the invoice in a readable layout. It reports a signature but does not verify it, and it does not send anything to FACe.
Sources
- Facturae, latest Facturae versions (in Spanish) facturae.gob.es
- Facturae, invoicing public administrations electronically (in Spanish) facturae.gob.es