Formatos suportados
Esta página é gerada a partir do mesmo registo que a API disponibiliza em GET /v1/formats.
| Format | Support | Versions | Checks | Limitations |
|---|---|---|---|---|
| XRechnung 3.0 (UBL 2.1 Invoice / CreditNote) | supported | 3.0.2 | XML well-formedness, UBL 2.1 XML Schema, EN 16931 Schematron (CEN, UBL binding), XRechnung 3.0.2 CIUS Schematron (KoSIT) | Conversion supports the core XRechnung CIUS. XRechnung Extension features (e.g. sub invoice lines, third party payments) are reported as unsupported and block conversion. |
| XRechnung 3.0 (UN/CEFACT CII D16B) | supported | 3.0.2 | XML well-formedness, CII D16B XML Schema, EN 16931 Schematron (CEN, CII binding), XRechnung 3.0.2 CIUS Schematron (KoSIT) | Same extension limitation as UBL. |
| EN 16931 core (UBL 2.1) | supported | EN 16931-1:2017 (CEN artefacts 1.3.16) | XML well-formedness, UBL 2.1 XML Schema, EN 16931 Schematron (CEN, UBL binding) | Only documents whose CustomizationID is exactly 'urn:cen.eu:en16931:2017' match this scenario. |
| EN 16931 core (UN/CEFACT CII D16B) — also Factur-X / ZUGFeRD 'EN 16931' profile XML | supported | EN 16931-1:2017 (CEN artefacts 1.3.16) | XML well-formedness, CII D16B XML Schema, EN 16931 Schematron (CEN, CII binding) | Only documents whose guideline ID is exactly 'urn:cen.eu:en16931:2017' match this scenario. |
| ZUGFeRD 2.x / Factur-X 1.0 (PDF/A-3 with embedded CII XML, or the CII XML alone) | supported | 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 | MINIMUM and BASIC WL carry no invoice lines and are not EN 16931 invoices. In Germany they do not meet the e-invoice definition of § 14 UStG; they validate here against their own Factur-X rules only. ZUGFeRD 1.0 and 2.0 identifiers are superseded and reported as unsupported. Profile EN 16931 XML without a PDF is validated with the CEN EN 16931 rules (format en16931-cii); inside a PDF the Factur-X EN 16931 Schematron applies. |
| Peppol BIS Billing 3.0 (UBL 2.1 Invoice / CreditNote) | supported | 3.0.21 (May 2026 rules) | XML well-formedness, UBL 2.1 XML Schema, EN 16931 Schematron (CEN, UBL binding, as packaged by OpenPeppol), Peppol BIS Billing 3.0.21 Schematron (OpenPeppol) | Peppol network delivery (Access Point, SMP lookup, AS4) is out of scope; this checks the document only. Country-specific Peppol rules are applied as included in the official Peppol BIS Schematron. |
| Facturae 3.2 / 3.2.1 / 3.2.2 (Spain) | supported | 3.2.2; 3.2.1; 3.2 | XML well-formedness, Facturae XML Schema of the version (Ministerio de Hacienda), Calculation rules defined in the official schema documentation (line totals, invoice totals, batch totals): FAC-R01..R11, FAC-B01..B05, XAdES signature: presence (FAC-S01, warning), cryptographic integrity of every signed reference and the signature value, coverage of the whole document (FAC-S02, FAC-S03), certificate validity period at signing time (FAC-S04), Signing certificate trust (hosted API): issued under a qualified certification service (CA/QC) granted on the Spanish trusted list at signing time, reached through the signature-verified EU List of Trusted Lists (FAC-SIG-TRUST); not revoked at signing time, by OCSP with CRL fallback (FAC-SIG-REVOKED); unavailable lists or revocation services give a warning (FAC-SIG-TRUST-UNKNOWN) | The signature policy identifier (Facturae signature policy) is NOT checked. The signing time is the one claimed in the file (XAdES-EPES has no time-stamp). Revocation is checked for the signing certificate only, not for intermediate CA certificates; remote revocation checks can be switched off per organization or request. FACe / FACeB2B platform rules (registered DIR3 administrative centres, duplicate numbers) are not checked. Conversion to EN 16931: withheld taxes (IRPF), equivalence surcharge, administrative centres and other Facturae-only data have no EN 16931 equivalent and are reported as data loss. Conversion from EN 16931 to Facturae 3.2.2: the output is not signed (a XAdES signature needs the issuer's certificate); person and residence types, language and FACe centres must be passed as options; EN 16931 terms without a Facturae element are reported as data loss. |
| KSeF FA(3) structured invoice (Poland) | supported | FA(3) 1-0E (mandatory since 2026-02-01) | XML well-formedness, FA(3) XML Schema (Ministerstwo Finansów), the same check KSeF applies on submission | Submission to KSeF, KSeF numbers and the seller's authorisation context are out of scope. FA(2) is rejected as unsupported: KSeF accepts only FA(3) since 1 February 2026. Conversion to EN 16931: free-text units (P_8A) without an unambiguous UN/ECE code, gross-price lines and Polish-only annotations are reported as data loss or derived values. Conversion from EN 16931 to FA(3): only for sellers with a Polish NIP; annotations and JST / GV flags must be passed as options; the output is not submitted to KSeF. |
Como o formato é detetado
O elemento raiz determina a sintaxe: UBL Invoice / CreditNote, CII CrossIndustryInvoice, Facturae Facturae (namespace por versão) ou KSeF Faktura (namespace FA(3)). Para UBL e CII, o identificador de especificação (BT-24: cbc:CustomizationID em UBL, GuidelineSpecifiedDocumentContextParameter/ram:ID em CII) determina o perfil:
| Identificador de especificação / raiz | Detetado como |
|---|---|
urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0 |
XRechnung 3.0 (também o perfil ZUGFeRD XRECHNUNG) |
…xrechnung_3.0#conformant#urn:xeinkauf.de:kosit:extension:xrechnung_3.0 |
XRechnung 3.0 Extension |
…xrechnung_3.0#compliant#urn:xeinkauf.de:kosit:xrechnung:cvd_0.9 |
XRechnung 3.0 CVD |
urn:cen.eu:en16931:2017 |
EN 16931 core; dentro de um PDF: perfil Factur-X / ZUGFeRD EN 16931 |
urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0 (prefixo) |
Peppol BIS Billing 3.0 |
urn:factur-x.eu:1p0:minimum |
Factur-X / ZUGFeRD MINIMUM |
urn:factur-x.eu:1p0:basicwl |
Factur-X / ZUGFeRD BASIC WL |
urn:cen.eu:en16931:2017#compliant#urn:factur-x.eu:1p0:basic |
Factur-X / ZUGFeRD BASIC |
urn:cen.eu:en16931:2017#conformant#urn:factur-x.eu:1p0:extended |
Factur-X / ZUGFeRD EXTENDED |
Facturae no namespace 3.2 / 3.2.1 / 3.2.2 |
Facturae |
Faktura em http://crd.gov.pl/wzor/2025/06/25/13775/ |
KSeF FA(3) |
…xrechnung_2.x, identificadores ZUGFeRD 1.0 / 2.0, KSeF FA(2) |
substituídos — não suportados |
Artefactos de validação utilizados
| Artefacto | Versão | Licença |
|---|---|---|
| Validador KoSIT | 1.6.3 | Apache-2.0 |
| Configuração do validador XRechnung | 3.0.2, versão de 2026-08-31 | Apache-2.0 |
| Schematron XRechnung | 2.6.0 (incluído) | Apache-2.0 |
| Schematron CEN EN 16931 | 1.3.16 (incluído) | EUPL-1.2 |
| Configuração Peppol BIS Billing (KoSIT) | 3.0.21 (regras OpenPeppol de maio de 2026) | Apache-2.0 / MPL-2.0 |
| XML Schema e Schematron Factur-X / ZUGFeRD | Factur-X 1.09.2 / ZUGFeRD 2.5 (FNFE-MPE / FeRD), via projeto Mustang | termos FeRD / FNFE, empacotamento Apache-2.0 |
| XML Schema Facturae | 3.2, 3.2.1, 3.2.2 (Ministerio de Hacienda) | público |
| Regras de cálculo Facturae | o nosso XSLT, que reproduz as fórmulas da documentação do esquema (validator/extra/rules) |
— |
| XML Schema KSeF FA(3) | 1-0E (Ministerstwo Finansów) | público |
| Listas de confiança da UE (certificados de assinatura de ficheiros Facturae) | EU List of Trusted Lists, aceite apenas com uma assinatura dos certificados de assinatura da LOTL do JO C/2026/1944 (fixados); a lista de confiança espanhola para a qual remete. Atualizadas diariamente | público |
| veraPDF (PDF/A-3 dos PDF ZUGFeRD) | 1.30 | GPLv3+ / MPLv2+ |
| Conjuntos de testes | XRechnung 3.0.2; exemplos Peppol BIS; exemplos FeRD ZUGFeRD 2.5.2; exemplos públicos Facturae e KSeF | vários |
Todos os artefactos estão fixados com checksums SHA-256 (validator/artefacts.lock) e são atualizados de forma deliberada, com nova execução do conjunto de testes completo. Consulte o registo de alterações.
Notas sobre duas adaptações
- O KSeF FA(3) declara
maxOccursaté 50 000. O motor de esquemas precisaria de gigabytes de memória para construir esses modelos de conteúdo, pelo que a cópia local utilizaunboundednesses pontos e os limites originais são verificados por uma folha de estilo gerada a partir do esquema oficial (KSEF-XSD-MAXOCCURS). Em conjunto, aceitam exatamente o que o esquema oficial aceita. - Factur-X EN 16931 num PDF: o motor marca estes documentos com uma instrução de processamento para que se aplique o Schematron Factur-X EN 16931 em vez das regras CEN simples; o próprio XML não é alterado e os números de linha mantêm-se.
E-Invoicing API