WarningEN 16931Input required

CII-SR-450

Only one buyer identifier should be present (either the ID or the Global ID)

What does this rule mean?

Only one buyer identifier should be present (either the ID or the Global ID)

A syntax rule binding the EN 16931 requirements to the concrete XML syntax (UBL or CII).

Official rule message (standard)

Only one buyer identifier should be present (either the ID or the Global ID)

Where the rule applies

Syntax: CII

Affected element (XPath):

  • /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement

Technical test

The rule passes when this Schematron expression holds true:

(not(ram:BuyerTradeParty/ram:ID) and ram:BuyerTradeParty/ram:GlobalID) or (ram:BuyerTradeParty/ram:ID and not(ram:BuyerTradeParty/ram:GlobalID)) or (not(ram:BuyerTradeParty/ram:ID) and not(ram:BuyerTradeParty/ram:GlobalID))

How to fix it

A missing or incorrect business entry only you can supply. Add or correct it, then re-check.

Adjust the named element/attribute to the syntax requirement.

Correct the affected entry in your XML, then re-check the invoice. Validation runs locally in your browser — your file never leaves your machine.

Check an e-invoice here

Drop an XML or ZUGFeRD PDF file here. Validation runs locally in your browser against EN 16931 — your file never leaves your machine.

100% local — no upload, no account.

Related rules

← Back to the error library