Message

An order response with code CA (Conditionally accepted) must provide order lines.

Context
cbc:OrderResponseCode
Test
(normalize-space(.) = 'CA' and count(../cac:OrderLine) > 0) or normalize-space(.) != 'CA'
Usage
/ ubl:OrderResponse / cbc:OrderResponseCode