CII-SR-465

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

warning: reported, still valid error: the document is invalid

Why it fails

  • The seller contact has both ram:PersonName and ram:DepartmentName; EN 16931 has a single seller contact point (BT-41).

How to fix it

Keep one of the two. In Factur-X profiles this is an error, not a warning.

What the rule checks

As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element.

Context
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement
Test
not(ram:SellerTradeParty/ram:DefinedTradeContact/ram:PersonName and ram:SellerTradeParty/ram:DefinedTradeContact/ram:DepartmentName)

Checked with EN 16931 Invoice (CII)

Context
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement
Test
not(ram:SellerTradeParty/ram:DefinedTradeContact/ram:PersonName and ram:SellerTradeParty/ram:DefinedTradeContact/ram:DepartmentName)

Checked with France Factur-X BASIC WL, Factur-X / ZUGFeRD BASIC WL