Value of '@schemeID' is not allowed.
If @schemeID contains a value, that value must occur in the code list checked for it. An empty value also satisfies the shown test.
The attribute identifies the identification scheme of the buyer’s organization. The rule restricts any supplied scheme code to values in the referenced code list.
The value of @schemeID on ram:ID is not in the code list checked by this rule. This rule also accepts an empty attribute value.
- Check
@schemeIDonram:IDin the buyer’sram:SpecifiedLegalOrganization. - Use only a value from the allowed code list for the attribute, or leave it without a value.
- Regenerate the invoice and validate it again.
Technical details
The XPath passes when $codeValue12 is empty or occurs as an enumeration value in the code list with identifier 12.
The rule applies to the @schemeID attribute of ram:ID in the buyer’s ram:SpecifiedLegalOrganization.
rule/@context)assert/@test)