Value of '@schemeID' is not allowed.
The value of the @schemeID attribute on ram:ID is not included in the applicable code list. An empty code value is also permitted by the test.
ram:ID in ram:SpecifiedTaxRegistration contains the buyer’s tax identifier; @schemeID indicates its scheme. An allowed scheme is needed to classify the identifier correctly.
The scheme for the buyer’s VAT identifier was not recognized as an allowed value. An appropriate scheme classifies the identifier correctly.
- Check
@schemeIDonram:IDin the buyer’sram:SpecifiedTaxRegistration. - Compare its value with the permitted entries in the applicable code list.
- Recreate the invoice and validate it again.
Technical details
The test accepts an empty code value or a value found in code list ID 15 in FACTUR-X_BASIC_codedb.xml.
The rule applies to the @schemeID attribute on ram:ID in the buyer’s ram:SpecifiedTaxRegistration.
rule/@context)assert/@test)