Business process MUST be provided.
ram:BusinessProcessSpecifiedDocumentContextParameter/ram:ID is missing from the document context. As a result, the invoice’s business process is not provided.
The business process information associates the invoice with the business process being used. It is a required part of the document context.
The invoice’s document context is missing its business process information. Add the corresponding entry to the XML.
- Add
ram:BusinessProcessSpecifiedDocumentContextParametertorsm:ExchangedDocumentContext. - Add
ram:IDwithin it with the business process information. - Generate the invoice again and validate it.
<rsm:ExchangedDocumentContext/>
<rsm:ExchangedDocumentContext> <ram:BusinessProcessSpecifiedDocumentContextParameter> <ram:ID>PROCESS</ram:ID> </ram:BusinessProcessSpecifiedDocumentContextParameter> </rsm:ExchangedDocumentContext>
Technical details
The test checks whether the path ram:BusinessProcessSpecifiedDocumentContextParameter/ram:ID is present in the document context.
The rule applies within the document context rsm:ExchangedDocumentContext.
rule/@context)assert/@test)