aligned-ibrp-016
The rule sets below word this rule differently; each wording is shown with its rule set.
What the rule checks
As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element.
A Payment account identifier (ibt-84) MUST be present if Credit transfer (ibg-17) information is provided in the invoice.
cac:PaymentMeans[cbc:PaymentMeansCode='30' or cbc:PaymentMeansCode='58']/cac:PayeeFinancialAccount
(cbc:ID) != ''
Checked with PINT JP Invoice
A Payment account identifier (ibt-084) MUST be present if Credit transfer (ibg-17) information is provided in the invoice.
cac:PaymentMeans[cbc:PaymentMeansCode='30' or cbc:PaymentMeansCode='58']/cac:PayeeFinancialAccount
normalize-space(cbc:ID) != ''
Checked with PINT A-NZ Invoice, PINT A-NZ Credit Note