Skip to content

Warning

CII-SR-045: Remove the generic product ID

In short

Warning: worth checking.

CII-SR-045 warns that a CII invoice line uses ram:ID in its product details. Remove this generic element. Where appropriate, use the seller's item number (BT-155), the buyer's item number (BT-156) or the standard identifier (BT-157) instead.

On this page

What it means

The test checks that the line's ram:SpecifiedTradeProduct, representing item information (BG-31), has no direct ram:ID child. It does not prohibit the separate elements for seller, buyer or standard identifiers.

Why it matters

EN 16931 gives the seller, buyer and standard identifiers distinct meanings. The generic ram:ID element has no mapping in this part of the CII invoice.

How to fix it

Identify what the number represents. Use ram:SellerAssignedID for BT-155, ram:BuyerAssignedID for BT-156 or ram:GlobalID with the appropriate schemeID for BT-157. Do not relabel a number unless it genuinely belongs in that field. Remove ram:ID, export the revised file and check it again.

Once the file is corrected, check it again for free: Validate an invoice against EN 16931

Or fix the invoice in a form and download the corrected file, for 1 credit: Fix a rejected e-invoice

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
Rule text from phive-rules 4.6.4.

Check your file

Drop your e-invoice to see whether CII-SR-045 still fails, and which other rules do.

Updated 6 November 2026