Provide buyer contact details consistently

Error CII-SR-466 Syntax (UBL/CII)

Only one BT-56 element is allowed on an invoice.

Mandatory rule: As long as it is violated, the invoice is invalid and will be rejected by validators.
What is wrong

Both ram:PersonName and ram:DepartmentName are present in the buyer contact. The test does not allow both elements at the same time.

What the rule means

BT-56 identifies the buyer’s contact person. The rule prevents both a person’s name and a department name from being entered as the contact identification.

Affected fields BT-56
Please identify either a person or a department as the buyer contact

The buyer contact contains both a person’s name and a department. Using one of these entries will identify the contact consistently.

What to do
  1. Check Contact.Name and Contact.OrgUnit for the buyer.
  2. Remove one of the entries so that ram:PersonName and ram:DepartmentName are not both output.
  3. Generate the invoice again and validate it.
What it looks like
✗ Triggers the message
<ram:BuyerTradeParty>
  <ram:DefinedTradeContact>
    <ram:PersonName>Jean Dupont</ram:PersonName>
    <ram:DepartmentName>Comptabilité</ram:DepartmentName>
  </ram:DefinedTradeContact>
</ram:BuyerTradeParty>
✓ Correct
<ram:BuyerTradeParty>
  <ram:DefinedTradeContact>
    <ram:PersonName>Jean Dupont</ram:PersonName>
  </ram:DefinedTradeContact>
</ram:BuyerTradeParty>
Check in FactoorSharp
  • 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)
Different severity at KoSIT
  • 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 test fails when both ram:PersonName and ram:DepartmentName are present under the same buyer ram:DefinedTradeContact.

Where the rule applies

Applies to the buyer’s contact under ram:BuyerTradeParty/ram:DefinedTradeContact.

Context (rule/@context)
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement
Test expression (assert/@test)
not( ram:BuyerTradeParty/ram:DefinedTradeContact/ram:PersonName and ram:BuyerTradeParty/ram:DefinedTradeContact/ram:DepartmentName )
Changes in the KoSIT validation rules
  • 2026-08-312026-08-31 · Addedcustom level "error" for `CII-SR-465` and `CII-SR-466`