FX-SCH-A-000178
Element 'ram:CategoryCode' must occur exactly 1 times.
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:ApplicableHeaderTradeSettlement/ram:ApplicableTradeTax
count(ram:CategoryCode)=1
Checked with France Factur-X BASIC WL, Factur-X / ZUGFeRD BASIC WL
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeAllowanceCharge[ram:ChargeIndicator/udt:Indicator="false"]/ram:CategoryTradeTax
count(ram:CategoryCode)=1
Checked with Factur-X / ZUGFeRD BASIC
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeAllowanceCharge[ram:ChargeIndicator/udt:Indicator="true"]/ram:CategoryTradeTax
count(ram:CategoryCode)=1
Checked with Factur-X / ZUGFeRD BASIC
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeSettlement/ram:ApplicableTradeTax
count(ram:CategoryCode)=1
Checked with Factur-X / ZUGFeRD BASIC