SchemaGuard by Ironbark Digital · EN 16931 / Peppol / XRechnung Reference
← All 294 EN 16931 / Peppol Rules & Live Validator
FATAL Official EN 16931 / Peppol / CIUS Rule BT/BG Fields: BT-3, BT-40, BT-55

PEPPOL-EN16931-P0112 — E-Invoice Validation Rule & Fix

Fixture ID: peppolGermanOnlyTypeCode · XPath: /ubl:Invoice/cbc:InvoiceTypeCode

1. Why This Rule Triggers (Diagnostic Message)

The invoice type code (BT-3) is "384", which Peppol permits only when both the seller and the buyer are German — and here the seller country (BT-40) is "DE" and the buyer country (BT-55) is "FR". Code 384 is a corrected invoice: a document that replaces an earlier one rather than adjusting it with a credit note. Both describe a German invoicing practice (Abschlagsrechnung and Rechnungskorrektur) that receiving systems elsewhere do not implement, so Peppol confines them to domestic German exchanges rather than letting them arrive somewhere that will mis-post them. This is a Peppol BIS Billing 3.0 profile rule: it applies because profile is "peppol-bis-3". It does not apply to the en16931, xrechnung-ubl or xrechnung-cii profiles, whose validators will accept the same document.

2. How to Fix PEPPOL-EN16931-P0112

Use "380" and express the correction through a credit note, or through 380 with precedingInvoices naming the document you are replacing. If both parties really are German, set seller.address.countryCode and buyer.address.countryCode to "DE" — and consider whether the xrechnung-ubl profile is the better target, since it is built for exactly this case.

3. Valid Code / Payload Example

"invoiceTypeCode": "380"
Test & Validate XML / JSON in Live SchemaGuard Validator →