PintLint

Rules / IBR-049

A Payment instruction must specify the Payment means type code

A Payment instruction (ibg-16) must specify the Payment means type code (ibt-081).

Fails

<cac:PaymentMeans>
  <!-- no cbc:PaymentMeansCode -->
</cac:PaymentMeans>

Fix

Add cbc:PaymentMeansCode to cac:PaymentMeans.

Schematron
Context
cac:PaymentMeans
Test
exists(cbc:PaymentMeansCode)

Official text: A Payment instruction (ibg-16) MUST specify the Payment means type code (ibt-081).

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

Check your invoice for this rule