warning CII UBL
An XRechnung rule (the German CIUS published by KoSIT, rule text in German): Germany requires more than EN 16931, for example the buyer reference / Leitweg-ID (BT-10), seller contact details (BG-6) and payment instructions. This is a warning: on its own it does not reject the invoice.
Warnings are not repaired automatically. The free check shows every finding in the file with its location; if other errors in the same file are in the automatic set (totals, VAT breakdown, rounding, element order), the result page offers the corrected file for 9 €.
[BR-DE-26] Wenn im Element "Invoice type code" (BT-3) der Code 384 (Corrected invoice) übergeben wird, soll PRECEDING INVOICE REFERENCE BG-3 mind. einmal vorhanden sein.
[BR-DE-26] Wenn im Element Invoice type code (BT-3) der Code 384 (Corrected invoice) übergeben wird, soll PRECEDING INVOICE REFERENCE BG-3 mind. einmal vorhanden sein.
XRechnung rule texts are published in German by KoSIT; the text above is the original.
| Syntax | Severity | Context (XPath) | Test (XPath) |
|---|---|---|---|
| XRechnung-UBL | warning | | ((not(normalize-space(cbc:InvoiceTypeCode) = '384' or normalize-space(cbc:CreditNoteTypeCode) = '384') or (cac:BillingReference/cac:InvoiceDocumentReference))) |
| XRechnung-CII | warning | | not(normalize-space(rsm:ExchangedDocument/ram:TypeCode) = '384') or (rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceReferencedDocument) |
BT-3, BG-3
BR-04, IS-R-001, DE-R-017, DE-R-026, BR-DE-17, BR-55
Source: XRechnung Schematron, CII (itplr-kosit/xrechnung-schematron, Apache-2.0).
Source: XRechnung Schematron, UBL (itplr-kosit/xrechnung-schematron, Apache-2.0).