Element 'ram:IssuerAssignedID' must occur exactly 1 times.
IssuerAssignedID must occur exactly once in UltimateCustomerOrderReferencedDocument. The element is either missing or appears more than once.
IssuerAssignedID contains the identifier assigned by the issuer to the referenced end customer order document. A single occurrence identifies that document.
The referenced end customer order document is missing IssuerAssignedID, or the element appears more than once. Providing it once resolves the issue.
- Locate
UltimateCustomerOrderReferencedDocumentin the agreement between seller and buyer. - Ensure that it contains exactly one
IssuerAssignedIDelement. - Generate the invoice again and validate it.
<ram:UltimateCustomerOrderReferencedDocument/>
<ram:UltimateCustomerOrderReferencedDocument> <ram:IssuerAssignedID>ORDER-1</ram:IssuerAssignedID> </ram:UltimateCustomerOrderReferencedDocument>
Technical details
The test checks whether UltimateCustomerOrderReferencedDocument contains exactly one direct IssuerAssignedID element.
The rule applies to the referenced end customer order document in the agreement between seller and buyer.
rule/@context)assert/@test)