Attribute '@schemeID' is required in this context.
The schemeID attribute is missing from ram:ID in the FC tax registration.
schemeID identifies the scheme of the tax registration identifier. The attribute must be present in this context.
The schemeID attribute is missing from ram:ID in the item seller’s FC tax registration. You can add the attribute to that element.
- Find
ram:IDin the FCram:SpecifiedTaxRegistrationof theram:ItemSellerTradeParty. - Add the
schemeIDattribute to thatram:IDelement. - Generate the invoice again and validate it once more.
<ram:SpecifiedTaxRegistration> <ram:ID>A</ram:ID> </ram:SpecifiedTaxRegistration>
<ram:SpecifiedTaxRegistration> <ram:ID schemeID="FC">A</ram:ID> </ram:SpecifiedTaxRegistration>
Technical details
The XPath test checks whether the @schemeID attribute is present on the ram:ID element.
The rule applies to ram:ID inside the item seller’s FC tax registration.
rule/@context)assert/@test)