Attribute '@schemeID' is required in this context.
The ram:ID element of the tax registration is missing the @schemeID attribute. The identification scheme for the tax identifier is therefore not specified.
@schemeID indicates which identification scheme the tax identifier belongs to. This information is required to interpret the identifier in its intended context.
The ram:ID element in the delivery recipient’s tax registration is missing @schemeID. You can resolve this by adding the identification scheme to that element.
- Add
@schemeIDto theram:IDelement insideram:SpecifiedTaxRegistration. - Generate the invoice again and validate it once more.
<ram:SpecifiedTaxRegistration> <ram:ID>123</ram:ID> </ram:SpecifiedTaxRegistration>
<ram:SpecifiedTaxRegistration> <ram:ID schemeID="...">123</ram:ID> </ram:SpecifiedTaxRegistration>
Technical details
The Schematron check requires @schemeID on ram:ID in the tax registration context.
The rule applies to ram:ID inside ram:SpecifiedTaxRegistration of the ram:ShipToTradeParty party on an invoice line.
rule/@context)assert/@test)