PintLint

Rules / IBR-072

IBR-072 error

An invoice must not include an AdditionalDocumentReference

An invoice must not include an AdditionalDocumentReference (ibg-24) simultaneously referring an Invoice Object Identifier (ibt-018) and an Document Description (ibt-123).

Fails when this is false

not(//cac:AdditionalDocumentReference[cbc:DocumentTypeCode = '130']/cbc:DocumentDescription)

The schematron test, verbatim. Context: /ubl:Invoice | /cn:CreditNote

Fix

Change the data so the statement above is true. Paste the invoice into the validator to see the exact element that fails.

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

Check an invoice