Seller contact: do not provide both a name and a department

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

Only one BT-41 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 PersonName and DepartmentName are provided in the seller's DefinedTradeContact. The rule does not allow both values to be present at the same time.

What the rule means

The seller's contact must not be represented as both a person (BT-41) and a department (BT-41-0) at the same time.

Affected fields BT-41
Please do not provide both a name and a department for the seller contact

The seller 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.

What to do
  1. Check the values in SellerTradeParty/DefinedTradeContact.
  2. For the seller contact, use either Contact.Name or Contact.OrgUnit.
  3. Check the call to SetSellerContact(...) and the values for name and orgunit.
  4. Generate the invoice again and validate it.
What it looks like
✗ Triggers the message
<ram:SellerTradeParty>
  <ram:DefinedTradeContact>
    <ram:PersonName>...</ram:PersonName>
    <ram:DepartmentName>...</ram:DepartmentName>
  </ram:DefinedTradeContact>
</ram:SellerTradeParty>
✓ Correct
<ram:SellerTradeParty>
  <ram:DefinedTradeContact>
    <ram:PersonName>...</ram:PersonName>
  </ram:DefinedTradeContact>
</ram:SellerTradeParty>
Check in FactoorSharp
  • Contact.Name (SellerTradeParty/ DefinedTradeContact: BT-41)
  • Contact.OrgUnit (SellerTradeParty/ DefinedTradeContact: BT-41-0)
  • FacturXInvoice.SetSellerContact(name, orgunit, emailAddress, phoneno, faxno) (name: BT-41; orgunit: BT-41-0)
Different severity at KoSIT
  • Error EN16931 XRechnung (CII) – overwrites CEN severity level "warning" to enforce only one BT-41 "Seller contact point"
  • Error EN16931 XRechnung Extension (CII) – overwrites CEN severity level "warning" to enforce only one BT-41 "Seller contact point"
  • Error EN16931 XRechnung CVD (CII) – overwrites CEN severity level "warning" to enforce only one BT-41 "Seller 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.

Where the rule applies

The rule applies to the seller's contact in SellerTradeParty/DefinedTradeContact within the agreement information.

Context (rule/@context)
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement
Test expression (assert/@test)
not( ram:SellerTradeParty/ram:DefinedTradeContact/ram:PersonName and ram:SellerTradeParty/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`