Convert PDF to Facturae free (3.2.2)

Turn a PDF invoice into valid Spanish Facturae 3.2.2 XML. AI OCR extracts the seller, buyer, NIFs, lines and VAT; you review the data and download a schema-valid Facturae file. The output is unsigned — sign it with AutoFirma (XAdES) to produce the .xsig that FACe requires. No watermarks on the XML.

How PDF to Facturae works

1

Upload your PDF invoice

Drag and drop the PDF — or a scan or phone photo. AI OCR (Azure Document Intelligence with an e-invoicing-tuned post-processing layer) extracts the seller and buyer details, tax IDs, invoice lines, VAT breakdown and totals into a structured form.

2

Review and pick the Facturae profile

Check the extracted fields — every value is editable before export. Select Spain Facturae 3.2.2 as the output profile. Spanish specifics are handled automatically: resident vs. EU vs. foreign parties, NIF handling, IVA breakdown per rate, and the FileHeader batch wrapper.

3

Download, sign with AutoFirma, submit

You get a valid, unsigned Facturae 3.2.2 XML, checked against the official facturae.gob.es schema and the Spanish business rules (FE-R001…R010). Sign it with AutoFirma (XAdES) to produce the .xsig file, then submit through FACe, FACeB2B or straight to your customer.

What you get

Valid Facturae 3.2.2

The generator emits the newest version FACe accepts, with the official namespace and element structure, and self-validates the result against the facturae.gob.es XSD plus the FE-R business rules — line arithmetic, invoice totals chain and batch totals always add up.

Spanish specifics handled

Resident, EU and foreign parties get the correct ResidenceTypeCode (R/U/E) and address block (AddressInSpain vs OverseasAddress); Spanish NIFs are emitted in the bare form FACe examples use; the IVA breakdown is generated per rate; IBANs land in PaymentDetails with the due date.

Unsigned by design — AutoFirma signs

FACe only accepts XAdES-signed .xsig files, and signing requires your certificate — no online tool can (or should) sign for you. aiDoks produces the valid XML; you sign it locally with AutoFirma, the free official tool, keeping your certificate on your machine.

No PDF? Start from the form

The same generator works without a PDF: fill in the invoice form manually (or reuse saved customers and products) and export Facturae 3.2.2 directly. You can also generate PEPPOL BIS 3.0, XRechnung or Factur-X from the same data — one form, several output formats.

Why convert PDFs to Facturae?

Invoices to Spanish public administrations must be electronic Facturae documents submitted through FACe — a PDF is not accepted. If your billing tool only produces PDFs, you need the same data as structured Facturae XML: seller and buyer identification with valid NIFs, itemised lines, the IVA breakdown and the exact totals chain the format demands. Re-typing that into a portal is slow and error-prone; the AI converter extracts it from the PDF you already have.

Spain's Crea y Crece law extends structured e-invoicing to B2B. Facturae is among the syntaxes expected to be accepted, so a clean PDF-to-Facturae flow covers today's B2G obligation and prepares your B2B invoicing for what's coming — verify the current reglamento status for exact dates before relying on a deadline.

Current limitations

  • Invoices only — corrective invoices (facturas rectificativas) are not generated yet; the credit-note flow produces PEPPOL/EN 16931 formats instead.
  • IRPF withholding supported — enter the retention percentage in the form (visible when the Facturae profile is selected) and the generator emits the TaxesWithheld block and deducts it from the invoice total, as FE-R007 requires.
  • Single invoice per file — output is Modality I (one invoice per file), which is what FACe submissions use; multi-invoice batches (Modality L) are not generated.
  • Unsigned output — by design. Sign with AutoFirma (XAdES) as the final step; validate first, sign once.

The recommended workflow

Convert the PDF, review the extracted data (pay attention to the NIFs — a checksum-invalid NIF is the single most common FACe rejection), download the Facturae XML, and run it through the free Facturae validator if you edited anything by hand. Only then sign with AutoFirma and submit. Signing last means you never have to re-sign after a correction.

PDF to Facturae: FAQ

How do I convert a PDF invoice to Facturae?

Upload the PDF (or a scan/photo) — AI OCR extracts the seller, buyer, tax IDs, invoice lines, VAT breakdown and totals into an editable form. Review the fields, select the "Spain Facturae 3.2.2" output profile and download the generated XML. The file is valid, unsigned Facturae 3.2.2; sign it with AutoFirma (XAdES) to produce the .xsig that FACe requires.

Is the generated Facturae ready to submit to FACe?

Structurally, yes: the output is checked against the official facturae.gob.es 3.2.2 XSD and the Spanish business rules (NIF checksums, line arithmetic, totals chain, batch totals). But FACe only accepts XAdES-signed .xsig files, and signing requires your own certificate — no online service can legitimately sign for you. Sign the downloaded XML locally with AutoFirma (free, official) and then submit.

Which Facturae version is generated?

Version 3.2.2 — the newest version FACe accepts, in Modality I (single invoice per file, which is what FACe submissions use). Spanish resident parties get their NIF in the bare form and AddressInSpain; EU and non-EU parties get ResidenceTypeCode U/E and OverseasAddress with ISO alpha-3 country codes.

Can it handle IRPF withholdings and rectificativas?

IRPF yes: enter the retention percentage in the invoice form (the field appears when the Facturae profile is selected) and the generated XML carries the TaxesWithheld block (TaxTypeCode 04) with the retention deducted from the invoice total — the arithmetic FE-R007 and FACe expect. Corrective invoices (facturas rectificativas) are not generated yet; they are rejected with a clear message and remain on the roadmap.

Is the PDF to Facturae conversion free?

Generating and downloading Facturae XML from the form is free. The AI OCR step for PDF extraction requires a free aiDoks account (no credit card) and includes 4 daily operations on the free tier; a Pro plan unlocks unlimited conversions. You can also skip the PDF entirely and fill the form manually for free.

What if my PDF is an invoice from my customer, not to them?

The converter extracts whatever the PDF says — it does not swap roles. Check the seller (emisor) and buyer (receptor) blocks in the form after extraction, correct anything that landed in the wrong party, and make sure the seller NIF is the one whose certificate will sign the file.

From PDF to FACe-ready in minutes

AI extraction, valid Facturae 3.2.2 output — sign with AutoFirma and submit.