Provide the business process

Error PEPPOL-EN16931-R001 Peppol

Business process MUST be provided.

Mandatory rule: As long as it is violated, the invoice is invalid and will be rejected by validators.
What is wrong

ram:BusinessProcessSpecifiedDocumentContextParameter/ram:ID is missing from the document context. As a result, the invoice’s business process is not provided.

What the rule means

The business process information associates the invoice with the business process being used. It is a required part of the document context.

Please provide the invoice’s business process

The invoice’s document context is missing its business process information. Add the corresponding entry to the XML.

What to do
  1. Add ram:BusinessProcessSpecifiedDocumentContextParameter to rsm:ExchangedDocumentContext.
  2. Add ram:ID within it with the business process information.
  3. Generate the invoice again and validate it.
What it looks like
✗ Triggers the message
<rsm:ExchangedDocumentContext/>
✓ Correct
<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.

Where the rule applies

The rule applies within the document context rsm:ExchangedDocumentContext.

Context (rule/@context)
rsm:ExchangedDocumentContext
Test expression (assert/@test)
ram:BusinessProcessSpecifiedDocumentContextParameter/ram:ID