# Facturae 3.2.2

Source: https://xmlvalid.com/schemas/facturae-3.2.2

> The Spanish e-invoice format, required for invoices to the public sector through FACe.

Facturae is the XML format the Spanish Ministry of Finance publishes for electronic invoices. Suppliers of the public administration have to send it, signed, through FACe or a regional hub; version 3.2.2 is the current one.
One file (Facturae) holds a header with the batch totals, the seller and buyer, and one or more invoices with their taxes, totals and lines.

- Type: XSD
- Version: 3.2.2
- Namespace: `http://www.facturae.gob.es/formato/Versiones/Facturaev3_2_2.xml`
- Root element: `Facturae`
- Publisher: Ministerio de Hacienda (Spain) (Published by the Spanish Government for implementers), source: https://www.facturae.gob.es/formato/Paginas/version-3-2.aspx
- Validate against it: https://xmlvalid.com/validate?schema=facturae-3.2.2

## Notes

- The schema checks structure and data types. The XAdES signature, NIF validity and arithmetic between totals are checked by FACe, not by the schema.
- The XML Signature import points at a local copy of the W3C schema; nothing else is changed.
- The example is by xmlvalid.com: one unsigned invoice with Spanish VAT at 21%.
