Message

Only numbers are allowed as bank account number if scheme is BBAN.

Context
cac:PaymentMeans/cac:PayeeFinancialAccount/cbc:ID[@schemeID = 'BBAN']
Test
matches(., '^[0-9]+$')
Usage
/ ubl:CreditNote / cac:PaymentMeans / cac:PayeeFinancialAccount / cbc:ID