fatalEN 16931syntax binding ruleCII
RoundingAmount shall occur at most once in SpecifiedTradeSettlementHeaderMonetarySummation.
'RoundingAmount' appears more than once in SpecifiedTradeSettlementHeaderMonetarySummation, and this profile allows it at most once.
Keep the single correct 'RoundingAmount' in SpecifiedTradeSettlementHeaderMonetarySummation and delete the rest. Repeating an element that the semantic model treats as singular is usually a serialiser writing every value it has instead of choosing one.
CII — context /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementHeaderMonetarySummation
count(ram:RoundingAmount) <= 1
Nothing is stored, and the whole invoice is checked, not just this rule. A PDF only works if it is Factur-X / ZUGFeRD — a PDF with the invoice XML inside it.