E-invoice rule XRechnung
BR-DE-17: XRechnung expects an invoice type code (BT-3) from a narrower list…
Paste your XML and see if it has this error
The check marks BR-DE-17 and lists every other finding too. It is free and runs in your browser, the file is never uploaded.
Example message from our sample invoice:
XRechnung expects an invoice type code (BT-3) from a narrower list: 326, 380, 381, 384, 389, 875, 876, 877.
What the rule says
[BR-DE-17] Mit dem Element "Invoice type code" (BT-3) sollen ausschließlich folgende Codes aus der Codeliste UNTDID 1001 übermittelt werden: 326 (Partial invoice), 380 (Commercial invoice), 384 (Corrected invoice), 389 (Self-billed invoice) und 381 (Credit note),875 (Partial construction invoice), 876 (Partial final construction invoice), 877 (Final construction invoice).
Source of the quotation: XRechnung 3.x (itplr-kosit/xrechnung-schematron, Apache 2.0 licence)
Business terms in the wording: BT-3
Why the validator reports it
The rule belongs to the German XRechnung. Our checker runs it only when the value of cbc:CustomizationID (BT-24) starts with urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_.
Profile: XRechnung 3.x
How we rate it: warning
Where we point in the file: /Invoice/cbc:InvoiceTypeCode
How to fix it
- Open the XML file and find the element
cbc:InvoiceTypeCode. - Add or correct the value the way the wording of the rule above asks for.
- Save the file and check it again. The checker runs in your browser, the file is never uploaded.
A correct UBL 2.1 snippet
<cbc:InvoiceTypeCode
xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">380</cbc:InvoiceTypeCode>
The snippet is only the part of the document the rule is about, and the values in it are made up. Put it in the right place inside your invoice; the namespaces are written here only so that the snippet reads on its own.
Check the whole file
The checker holds 332 rules. For each file it runs the ones that match the invoice profile and shows the rule code, a plain sentence and the path to the element for every finding. The file is read in your browser and never uploaded. Free, no account.
Related rules
Same business term (BT-3)
- BR-DE-26 A corrected invoice (type code 384) should reference the preceding…
- BR-04 The invoice type code (BT-3) is missing
Same group (BR-DE, BR-TMP)
- BR-DE-15 XRechnung requires a buyer reference (BT-10, cbc:BuyerReference)
- BR-DE-16 The document uses VAT categories S, E, so it has to carry the seller…
- BR-DE-18 An early payment discount in the payment terms (BT-20) should be written as…
- BR-DE-19 With a SEPA credit transfer (code 58) cac:PayeeFinancialAccount/cbc:ID…
All rules in the group BR-DE, BR-TMP (34)
What our tool does about this error
The checker finds BR-DE-17 in your file and shows where it sits in the XML. If you build the invoice in our generator, the finished XML runs through the same checker before the download and will not download while an error remains.
The checker and the preview cost 0 € and need no account. Downloading the finished XML costs 2.90 € excl. VAT, unlocked in the browser for 24 hours, or 9.90 € excl. VAT for 30 days including the CSV batch.
This page in another language: Deutsch · Slovensky · Česky
Our check is not complete: we do not check the XSD schema and we do not implement every rule, and a file that passes says nothing about whether the buyer or the Peppol network will accept it. The source of each quoted wording is given next to the quotation.
Page content last changed: