CII-SR-465
Only one BT-41 element is allowed on an invoice.
Why it fails
- The seller contact has both
ram:PersonNameandram: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.
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement
not(ram:SellerTradeParty/ram:DefinedTradeContact/ram:PersonName and ram:SellerTradeParty/ram:DefinedTradeContact/ram:DepartmentName)
Checked with EN 16931 Invoice (CII)
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement
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