FX-SCH-A-000019

Element 'ram:ID' must occur exactly 1 times.

error: the document is invalid

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:ExchangedDocumentContext/ram:BusinessProcessSpecifiedDocumentContextParameter
Test
count(ram:ID)=1

Checked with Factur-X / ZUGFeRD MINIMUM

Context
/rsm:CrossIndustryInvoice/rsm:ExchangedDocumentContext/ram:GuidelineSpecifiedDocumentContextParameter
Test
count(ram:ID)=1

Checked with Factur-X / ZUGFeRD MINIMUM

Context
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:SpecifiedLegalOrganization
Test
count(ram:ID)=1

Checked with Factur-X / ZUGFeRD MINIMUM

Context
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:SpecifiedTaxRegistration[ram:ID/@schemeID="FC"]
Test
count(ram:ID)=1

Checked with Factur-X / ZUGFeRD MINIMUM

Context
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:SpecifiedTaxRegistration[ram:ID/@schemeID="VA"]
Test
count(ram:ID)=1

Checked with Factur-X / ZUGFeRD MINIMUM

Context
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:SpecifiedTaxRegistration
Test
count(ram:ID)=1

Checked with Factur-X / ZUGFeRD BASIC

Context
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTaxRepresentativeTradeParty/ram:SpecifiedTaxRegistration
Test
count(ram:ID)=1

Checked with Factur-X / ZUGFeRD BASIC