What it means
A discount or charge on the whole invoice (SpecifiedTradeAllowanceCharge in the settlement section) contains an ID element, an identifier for that discount or charge. EN 16931 describes an invoice-level discount (BG-20) or charge (BG-21) by its amount, percentage, base amount, reason and VAT category, and has no identifier for it. This rule looks only at the whole invoice, not at a single line.
Why it matters
This is a warning, so the file is still accepted. The buyer's software ignores the identifier, and the amounts and totals are not affected. It is worth fixing to keep the file clean, or when the ID was meant to tell the buyer what the discount or charge is for.
How to fix it
Delete the ID element from each SpecifiedTradeAllowanceCharge in the settlement section. If the ID was there to say what the discount or charge is for, give a reason instead: the reason text (BT-97 for a discount, BT-104 for a charge) or the reason code (BT-98 or BT-105). In your invoicing software, look for a code or reference field on the invoice-level discount or charge.
The rule as published
ID should not be present Where this rule applies
| Rule set | Version |
|---|---|
| EN 16931 (CII) | 1.3.17 |
| XRechnung 3.0 (CII) | 3.0.2 |
| NLCIUS (CII) | 1.0.3.13 |
| France CTC (CII) | 1.4.0-04 |
Check your file
Drop your e-invoice to see whether CII-SR-388 still fails, and which other rules do.
Related rules
- CII-SR-389 Do not number invoice-level discounts or charges
- CII-SR-390 Do not add a basis quantity to invoice-level discounts or charges
- CII-SR-391 Leave the prepaid flag out of invoice discounts and charges
- CII-SR-392 Leave the unit basis amount out of invoice discounts and charges
- CII-SR-393 Leave the type code out of invoice discounts and charges
- CII-SR-394 Leave the exchange rate out of invoice discounts and charges