Rules / IBR-092
IBR-092 error
If despatch advice reference exists on line
If despatch advice reference exists on line (ibt-184) then there must not be despatch reference on document level (ibt-016).
Fails when this is false
count(//cac:DespatchDocumentReference) = 0The schematron test, verbatim. Context: cac:InvoiceLine/cac:DespatchLineReference/cac:DocumentReference/cbc:ID | cac:CreditNoteLine/cac:DespatchLineReference/cac:DocumentReference/cbc:ID
Fix
Change the data so the statement above is true. Paste the invoice into the validator to see the exact element that fails.