Spring til hovedindhold
E-faktura validator

XRechnung Validator

Upload en XRechnung som XML (UBL eller CII), og denne gratis validator tjekker den i forhold til XML-skemaet, 224 EN 16931-forretningsreglerne og 61-reglerne for KoSIT XRechnung Schematron 2.6.0. Du får hver fejl med dens regelkode, hvor den er i filen, og hvad der skal ændres - ingen tilmelding, og filen er ikke gemt.

  • Hostet i EU
  • GDPR-kompatibel
  • Ingen opbevaring
  • Ingen brug af AI
  • Ingen cookies
  • Officielle EN 16931 regler
  • Altid gældende officielle regler

Din faktura kontrolleres i hukommelsen og gemmes ikke: ingen database, ingen fillagring, ingen cache.

Officielle regelsæt op til dato: EN 16931 1.3.17 · Peppol BIS 3.0.20 · XRechnung 3.0.2 (KoSIT 2.6.0). Sidst tjekket mod kilderne den 12.10.2026.

Hvad sker der, når du uploader en XRechnung

  1. 1 · XML-skema (XSD)

    Filen kontrolleres i forhold til UBL 2.1 eller UN/CEFACT CII-skemaet: veludformet XML, navnerum og datatyper. Strukturelle fejl stopper kontrollen her.

  2. 2 · EN 16931 forretningsregler

    224 regler fra CEN EN 16931 (1.3.17): obligatoriske felter, totaler, momsopdeling og kodelister. Hver XRechnung skal bestå disse først.

  3. 3 · XRechnung regler (KoSIT)

    61 regler fra KoSIT XRechnung Schematron 2.6.0, som hører til XRechnung 3.0.2: Leitweg-ID'et som køberreference (BT-10), sælgerkontakten, betalingsoplysninger og reglerne for XRechnung-udvidelsen.

Hvilke regelsæt der køres afgøres af specifikationsidentifikatoren i filen, så en XRechnung videregives aldrig alene på EN 16931. Hvad BT-24 er

UBL eller CII: begge XRechnung-syntakser

XRechnung findes i to XML-syntakser, UBL 2.1 og UN/CEFACT CII. Begge accepteres, og syntaksen detekteres fra filen. Nogle få XRechnung-regler gælder kun for én syntaks; listen nedenfor siger hvilken. En ZUGFeRD eller Factur-X PDF kan også uploades: XML, der er indlejret i den, er markeret. Grænsen er 10 MB.

UBL · CII · ZUGFeRD · ZUGFeRD validator · XRechnung eller ZUGFeRD?

Alle 61 XRechnung-regler

Dette er reglerne KoSIT tilføjer oven på EN 16931, fra Schematron 2.6.0. Hver kode linker til en side med den officielle tekst, hvad det betyder, og hvordan man løser det.

XRechnung-regler (KoSIT Schematron) med deres betydning og syntaks
HerskeHvad det kræverSyntaks
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(advarsel)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(advarsel)"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(advarsel)"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(advarsel)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(advarsel)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(advarsel)BT-42 should contain at least three digits.UBL, CII
BR-DE-28(advarsel)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(advarsel)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(advarsel)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(advarsel)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(advarsel)BT-123 "Supporting document description" (ram:Name) may occur at most once within "Additional supporting documents" (BG-24).CII
BR-TMP-5(advarsel)BT-125 "Attached document" (ram:AttachmentBinaryObject) may occur at most once within "Additional Supporting documents" (BG-24).CII
BR-TMP-6(advarsel)Dates in UBL must be submitted in YYYY-MM-DD (YYYY-MM-DD) format.UBL
BR-TMP-7(advarsel)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

Alle fejlkoder, inklusive EN 16931 og Peppol

Før du sender det til en offentlig køber

Et bestået her betyder, at filen opfylder XRechnung-reglerne. Det beviser ikke, at indholdet er rigtigt for denne køber: Leitweg-ID'et skal være det, køberen gav dig, og et ordrenummer, de bad om, skal matche. Tjek dem i hånden.

Ofte stillede spørgsmål

Er XRechnung-validatoren gratis?

Ja. Der er ingen tilmelding og ingen grænse for, hvor mange fakturaer du tjekker.

Hvilken XRechnung-version er kontrolleret?

XRechnung 3.0.2, med KoSIT Schematron 2.6.0 og CEN EN 16931 reglerne 1.3.17. Versioner vises med hvert resultat.

Er min faktura gemt?

Nej. Filen tjekkes i hukommelsen og kasseres derefter. Der er ingen database med fakturaindhold, og siden sætter ingen sporingscookies.

Er dette den officielle KoSIT-validator?

Nej. KoSIT udgiver sin egen validator som software, du selv kører. Denne er uafhængig og kører de samme officielle Schematron-regler på dette websted, med en forklaring for hver fejl.

Betyder et pass, at køberen vil acceptere fakturaen?

Ikke alene. Det betyder, at filen opfylder EN 16931 og XRechnung-reglerne. Køber kan stadig afvise det for indhold: et forkert Leitweg-ID, et manglende ordrenummer eller en pris, der ikke stemmer overens med ordren.

KoSIT-validatoren er KoSITs egen referenceimplementering. Denne service er en uafhængig validator og er ikke tilknyttet KoSIT. KoSIT validator