Saltar al contenido principal
Validador de facturas electrónicas

Validador XRechnung

Cargue un XRechnung como XML (UBL o CII) y este validador gratuito lo comparará con el esquema XML, las reglas comerciales 224 EN 16931 y las reglas 61 del KoSIT XRechnung Schematron 2.6.0. Obtiene cada error con su código de regla, dónde está en el archivo y qué cambiar: no se registra y el archivo no se almacena.

  • Alojado en la UE
  • Cumple con el RGPD
  • Sin almacenamiento
  • Sin uso de IA
  • Sin cookies
  • Normativa oficial EN 16931
  • Normativa oficial siempre vigente

Tu factura se comprueba en memoria y no se almacena: sin base de datos, sin almacenamiento de archivos, sin caché.

Regla oficial configurada hasta la fecha: EN 16931 1.3.17 · Peppol BIS 3.0.20 · XRechnung 3.0.2 (KoSIT 2.6.0). Comprobado por última vez con las fuentes el 12.10.2026.

¿Qué sucede cuando subes un XRechnung?

  1. 1 · Esquema XML (XSD)

    El archivo se compara con el esquema UBL 2.1 o UN/CEFACT CII: XML bien formado, espacios de nombres y tipos de datos. Los errores estructurales detienen el control aquí.

  2. 2 · Normas de negocio EN 16931

    224 reglas de CEN EN 16931 (1.3.17): campos obligatorios, totales, desglose de IVA y listas de códigos. Cada XRechnung tiene que aprobarlos primero.

  3. 3 · Reglas de XRechnung (KoSIT)

    61 reglas del KoSIT XRechnung Schematron 2.6.0, que pertenece a XRechnung 3.0.2: el Leitweg-ID como referencia del comprador (BT-10), el contacto del vendedor, los detalles de pago y las reglas para la extensión XRechnung.

El identificador de especificación en el archivo decide qué conjuntos de reglas se ejecutan, por lo que nunca se pasa una XRechnung solo en EN 16931. ¿Qué es BT-24?

UBL o CII: ambas sintaxis de XRechnung

XRechnung existe en dos sintaxis XML, UBL 2.1 y UN/CEFACT CII. Ambos se aceptan y la sintaxis se detecta en el archivo. Algunas reglas de XRechnung se aplican sólo a una sintaxis; la siguiente lista dice cuál. También se puede cargar un PDF ZUGFeRD o Factur-X: se comprueba el XML incrustado en él. El límite es 10 MB.

UBL · CII · ZUGFeRD · Validador ZUGFeRD · ¿XRechnung o ZUGFeRD?

Las 61 reglas de XRechnung

Estas son las reglas que KoSIT agrega además de EN 16931, de Schematron 2.6.0. Cada código enlaza a una página con el texto oficial, qué significa y cómo solucionarlo.

Reglas de XRechnung (KoSIT Schematron) con su significado y sintaxis
Reglalo que requiereSintaxis
BR-DE-1An invoice (INVOICE) must contain information about "PAYMENT INSTRUCTIONS" (BG-16).UBL, CII
BR-DE-2The seller contact group (BG-6) is missing. XRechnung requires the seller's contact person, telephone and email.UBL, CII
BR-DE-3The "Seller city" element (BT-37) must be submitted.UBL, CII
BR-DE-4The element "Seller post code" (BT-38) must be submitted.UBL, CII
BR-DE-5The element "Seller contact point" (BT-41) must be submitted.UBL, CII
BR-DE-6The element "Seller contact telephone number" (BT-42) must be submitted.UBL, CII
BR-DE-7The element "Seller contact email address" (BT-43) must be submitted.UBL, CII
BR-DE-8The "Buyer city" element (BT-52) must be submitted.UBL, CII
BR-DE-9The "Buyer post code" element (BT-53) must be submitted.UBL, CII
BR-DE-10The "Deliver to city" (BT-77) element must be delivered when the "DELIVER TO ADDRESS" (BG-15) group is delivered.UBL, CII
BR-DE-11The Deliver to post code element (BT-78) must be submitted when the DELIVER TO ADDRESS group (BG-15) is delivered.UBL, CII
BR-DE-14The element "VAT category rate" (BT-119) must be submitted.UBL, CII
BR-DE-15For XRechnung, the buyer reference (BT-10) is mandatory - for public clients, the Leitweg-ID.UBL, CII
BR-DE-16If tax codes S, Z, E, AE, K, G, L or M are used in an invoice, at least one of the elements "Seller VAT identifier" (BT-31)…UBL, CII
BR-DE-17(advertencia)The "Invoice type code" (BT-3) element should only be used to transmit the following codes from the UNTDID 1001 code list: 326 (Partial invoice)…UBL, CII
BR-DE-18Cash discount lines in must match this regular expression: . The information for granting a discount must be transmitted in the element "Payment terms"…UBL, CII
BR-DE-19(advertencia)"Payment account identifier" (BT-84) should contain a correct IBAN if SEPA is required as a means of payment in "Payment means type code" (BT-81) with code 58.UBL, CII
BR-DE-20(advertencia)"Debited account identifier" (BT-91) should contain a correct IBAN if SEPA is required as a means of payment in "Payment means type code" (BT-81) with code 59.UBL, CII
BR-DE-21(advertencia)The element "Specification identifier" (BT-24) should syntactically correspond to the identifier of the XRechnung standard.UBL, CII
BR-DE-22The "filename" attribute of all "EmbeddedDocumentBinaryObject" elements must be uniqueUBL, CII
BR-DE-23-aIf BT-81 "Payment means type code" contains a key for transfers (30, 58), BG-17 "CREDIT TRANSFER" must be transmitted.UBL, CII
BR-DE-23-bIf BT-81 "Payment means type code" contains a key for transfers (30, 58), BG-18 and BG-19 may not be transmitted.UBL, CII
BR-DE-24-aIf BT-81 "Payment means type code" contains a key for card payments (48, 54, 55), exactly BG-18 "PAYMENT CARD INFORMATION" must be transmitted.UBL, CII
BR-DE-24-bIf BT-81 "Payment means type code" contains a key for card payments (48, 54, 55), BG-17 and BG-19 may not be transmitted.UBL, CII
BR-DE-25-aIf BT-81 "Payment means type code" contains a key for direct debits (59), exactly BG-19 "DIRECT DEBIT" must be transmitted.UBL, CII
BR-DE-25-bIf BT-81 "Payment means type code" contains a key for direct debits (59), BG-17 and BG-18 may not be transmitted.UBL, CII
BR-DE-26(advertencia)If code 384 (Corrected invoice) is passed in the "Invoice type code" (BT-3) element, PRECEDING INVOICE REFERENCE BG-3 should be present at least once.UBL, CII
BR-DE-27(advertencia)BT-42 should contain at least three digits.UBL, CII
BR-DE-28(advertencia)BT-43 should contain exactly one @ character, which should not be flanked by a space, a period…UBL, CII
BR-DE-30If "DIRECT DEBIT" BG-19 is present, then "Bank assigned creditor identifier" BT-90 must be transmitted.UBL, CII
BR-DE-31If "DIRECT DEBIT" BG-19 is present, then "Debited account identifier" BT-91 must be transmitted.UBL, CII
BR-DE-CVD-01The "Contract reference" element (BT-12) must be submitted.UBL, CII
BR-DE-CVD-02The element "Tender or lot reference" (BT-17) must be submitted.UBL, CII
BR-DE-CVD-03An invoice must contain at least one INVOICE LINE (BG-25) in which the Scheme identifier of "Item classification identifier" (BT-158) contains the value 'CVD'…UBL, CII
BR-DE-CVD-04An "Item classification identifier" (BT-158) with the Scheme identifier 'CVD' must contain a value from the list of permitted vehicle categories.UBL, CII
BR-DE-CVD-05If within ITEM ATTRIBUTES (BG-32) the "Item attribute name" (BT-160) has the value 'cva'…UBL, CII
BR-DE-CVD-06-aIf the scheme identifier of "Item classification identifier" (BT-158) is specified with the value 'CVD'…UBL, CII
BR-DE-CVD-06-bIf "Item attribute name" (BT-160) is specified with the value 'cva', there must be exactly one "Item classification identifier" (BT-158) with the scheme…UBL, CII
BR-DE-TMP-32(advertencia)An invoice should contain either BT-72 "Actual delivery date", BG-14 "Invoicing period" or BG-26 "Invoice line period" in each invoice item to indicate…UBL, CII
BR-DEX-01The Attached Document element (BT-125) uses an illegal MIME code: . In the case of an extension…UBL, CII
BR-DEX-02(advertencia)The value of "Invoice line net amount" (BT-131) of an "INVOICE LINE" (BG-25) or a "SUB INVOICE LINE" (BG-DEX-01) should correspond to the sum of the "Invoice…UBL
BR-DEX-03A Sub Invoice Line (BG-DEX-01) must contain exactly one "SUB INVOICE LINE VAT INFORMATION" (BG-DEX-06).UBL
BR-DEX-04Any scheme identifier in MUST be coded using one of the ISO 6523 ICD list.UBL, CII
BR-DEX-05Any scheme identifier in MUST be coded using one of the ISO 6523 ICD list.UBL, CII
BR-DEX-06Any scheme identifier in MUST be coded using one of the ISO 6523 ICD list.UBL, CII
BR-DEX-07Any scheme identifier for an Endpoint Identifier in MUST belong to the CEF EAS code list.UBL, CII
BR-DEX-08Any scheme identifier for a Delivery location identifier in MUST be coded using one of the ISO 6523 ICD list.UBL, CII
BR-DEX-09Amount due for payment (BT-115) = Invoice total amount with VAT (BT-112) - Paid amount (BT-113) + Rounding amount (BT-114) + Σ Third party payment amount…UBL
BR-DEX-10The element "Third party payment type" BT-DEX-001 must be submitted when the group "THIRD PARTY PAYMENT" (BG-DEX-09) is submitted.UBL
BR-DEX-11The element "Third party payment amount" BT-DEX-002 must be submitted when the group "THIRD PARTY PAYMENT" (BG-DEX-09) is submitted.UBL
BR-DEX-12The element "Third party payment description" BT-DEX-003 must be submitted when the group "THIRD PARTY PAYMENT" (BG-DEX-09) is submitted.UBL
BR-DEX-13The maximum number of decimal places allowed for the "Third party payment amount" element (BT-DEX-002) is 2.UBL
BR-DEX-14The currency specification of "Third party payment amount" BT-DEX-002 must correspond to BT-5 ("Invoice currency code").UBL
BR-DEX-15(advertencia)This CII file might use the concept of Sub Invoice Lines. However, XRechnung does not support this.CII
BR-TMP-2BT-124 "External document location" must contain an absolute URL with a valid schema.UBL, CII
BR-TMP-3If BT-149 (Item price base quantity) exists in both GrossPriceProductTradePrice and NetPriceProductTradePrice…CII
BR-TMP-4(advertencia)BT-123 "Supporting document description" (ram:Name) may occur at most once within "Additional supporting documents" (BG-24).CII
BR-TMP-5(advertencia)BT-125 "Attached document" (ram:AttachmentBinaryObject) may occur at most once within "Additional Supporting documents" (BG-24).CII
BR-TMP-6(advertencia)Dates in UBL must be submitted in YYYY-MM-DD (YYYY-MM-DD) format.UBL
BR-TMP-7(advertencia)Dates in UNCEFACT/CII must have the attribute format="102" and be transmitted in the format YYYYMMDD (YYYYMMDD).CII
BR-TMP-CVD-01The formation scheme for "Item classification identifier" (BT-158) is to be selected from the code list UNTDID 7143.UBL, CII

Todos los códigos de error, incluidos EN 16931 y Peppol

Antes de enviarlo a un comprador del sector público

Un pase aquí significa que el archivo cumple con las reglas de XRechnung. No prueba que el contenido sea adecuado para este comprador: el Leitweg-ID tiene que ser el que le dio el comprador y el número de pedido que solicitó tiene que coincidir. Compruébalos a mano.

Preguntas frecuentes

¿El validador XRechnung es gratuito?

Sí. No hay registro ni límite en la cantidad de facturas que verifica.

¿Qué versión de XRechnung está marcada?

XRechnung 3.0.2, con KoSIT Schematron 2.6.0 y las reglas CEN EN 16931 1.3.17. Las versiones se muestran con cada resultado.

¿Se almacena mi factura?

No. El archivo se comprueba en la memoria y luego se descarta. No existe una base de datos del contenido de las facturas y el sitio no establece cookies de seguimiento.

¿Es este el validador oficial de KoSIT?

No. KoSIT publica su propio validador como software que usted mismo ejecuta. Este es independiente y ejecuta las mismas reglas oficiales de Schematron en este sitio, con una explicación para cada error.

¿Un pase significa que el comprador aceptará la factura?

No por sí solo. Significa que el archivo cumple con la norma EN 16931 y las normas XRechnung. El comprador aún puede rechazarlo por el contenido: un Leitweg-ID incorrecto, un número de pedido faltante o un precio que no coincide con el pedido.

El validador KoSIT es la implementación de referencia propia de KoSIT. Este servicio es un validador independiente y no está afiliado a KoSIT. validador KoSIT