Only one BT-56 element is allowed on an invoice.
Both PersonName and DepartmentName are provided in the buyer's DefinedTradeContact. The rule does not allow both values to be present at the same time.
The buyer's contact must not be represented as both a person (BT-56) and a department (BT-56-0) at the same time.
The buyer contact includes both a person's name and a department. You can adjust the entry so that both are not provided at the same time.
- Check the values in
BuyerTradeParty/DefinedTradeContact. - For the buyer contact, use either
Contact.NameorContact.OrgUnit. - Check the call to
SetBuyerContact(...)and the values fornameandorgunit. - Generate the invoice again and validate it.
<ram:BuyerTradeParty> <ram:DefinedTradeContact> <ram:PersonName>...</ram:PersonName> <ram:DepartmentName>...</ram:DepartmentName> </ram:DefinedTradeContact> </ram:BuyerTradeParty>
<ram:BuyerTradeParty> <ram:DefinedTradeContact> <ram:PersonName>...</ram:PersonName> </ram:DefinedTradeContact> </ram:BuyerTradeParty>
Contact.Name(BuyerTradeParty/ DefinedTradeContact: BT-56)Contact.OrgUnit(BuyerTradeParty/ DefinedTradeContact: BT-56-0)FacturXInvoice.SetBuyerContact(name, orgunit, emailAddress, phoneno, faxno)(name: BT-56; orgunit: BT-56-0)
- Error EN16931 XRechnung (CII) – overwrites CEN severity level "warning" to enforce only one BT-56 "Buyer contact point"
- Error EN16931 XRechnung Extension (CII) – overwrites CEN severity level "warning" to enforce only one BT-56 "Buyer contact point"
- Error EN16931 XRechnung CVD (CII) – overwrites CEN severity level "warning" to enforce only one BT-56 "Buyer contact point"
Technical details
The XPath test fails when PersonName and DepartmentName are both present in the same DefinedTradeContact. It does not require either element to be present.
The rule applies to the buyer's contact in BuyerTradeParty/DefinedTradeContact within the agreement information.
rule/@context)assert/@test)- 2026-08-312026-08-31 · Addedcustom level "error" for `CII-SR-465` and `CII-SR-466`