PintLint

Rules / IBR-092

If despatch advice reference exists on line then there must not be despatch reference on document level

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) = 0

The 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 condition below holds. It reads cac:DespatchDocumentReference. Paste the invoice into the validator to see the exact element that fails.

Official · PINT shared rules. Severity: error. Runs on UBL XML.

Check your invoice for this rule