API ZUGFeRD
Envíe un PDF ZUGFeRD o Factur-X a la API: extrae el XML incrustado, lo valida con las reglas de su perfil y PDF/A-3, y devuelve la factura como JSON.
En sentido inverso, convierta una factura XRechnung o EN 16931 UBL / CII en un PDF ZUGFeRD (target zugferd-facturx): un documento PDF/A-3b con una página de factura legible y el CII incrustado como factur-x.xml. Cada PDF generado se vuelve a validar antes de devolverlo.
curl https://einvoiceengine.com/v1/invoices/parse \ -H "Authorization: Bearer $EINV_KEY" \ -H "Content-Type: application/xml" \ --data-binary @invoice.xml
Compatible aquí
| Formato | Versiones | Comprobaciones |
|---|---|---|
| ZUGFeRD 2.x / Factur-X 1.0 (PDF/A-3 with embedded CII XML, or the CII XML alone) compatible | Profile MINIMUM; Profile BASIC WL; Profile BASIC; Profile EN 16931 (COMFORT); Profile EXTENDED; Profile XRECHNUNG | Extraction of the embedded XML (factur-x.xml, zugferd-invoice.xml, xrechnung.xml), Factur-X 1.09.2 / ZUGFeRD 2.5 XML Schema of the profile (FNFE-MPE / FeRD), Factur-X 1.09.2 / ZUGFeRD 2.5 Schematron of the profile, including the EN 16931 rules for BASIC, EN 16931 and EXTENDED, Profile XRECHNUNG: XRechnung 3.0.2 CIUS (see XRechnung CII), PDF/A-3 conformance of the PDF container (veraPDF), when the PDF checker is enabled |
Lista completa: formatos compatibles y limitaciones.
Preguntas
¿Puede la API generar ZUGFeRD?
Sí. POST /v1/invoices/convert?target=zugferd-facturx devuelve un PDF/A-3b con el perfil EN 16931 o XRECHNUNG, codificado en base64 en la respuesta JSON.
¿Qué aspecto tiene el PDF generado?
Una página de factura sencilla a una columna (vendedor, comprador, líneas, IVA, totales, pago) generada a partir de los mismos datos que el XML. Las fuentes y el perfil de color se incrustan como exige PDF/A.
E-Invoicing API