Message

[BR-50]-A Payment account identifier (BT-84) shall be present if Credit transfer (BG-17) information is provided in the Invoice.

Context
cac:PaymentMeans[cbc:PaymentMeansCode='30' or cbc:PaymentMeansCode='58']/cac:PayeeFinancialAccount
Test
normalize-space(cbc:ID) != ''
Usage
/ ubl:Invoice / cac:PaymentMeans / cac:PayeeFinancialAccount / cbc:ID