PEPPOL-T16-R007
An outstanding quantity reason SHOULD be provided if the despatch line contains an outstanding quantity
warning: reported, still valid
What the rule checks
As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element.
Context
cac:DespatchLine
Test
((cbc:OutstandingQuantity) and (cbc:OutstandingReason)) or not(cbc:OutstandingQuantity)
Checked with Peppol Despatch Advice