Faktura

BR-61

fatalEN 16931EN 16931 business ruleCIIUBLBT-81BT-84

If the Payment means type code (BT-81) means SEPA credit transfer, Local credit transfer or Non-SEPA international credit transfer, the Payment account identifier (BT-84) shall be present.

Why it fails

The payment means is a credit transfer (BT-81 = 30, 58 or 60-family) but no payment account identifier (BT-84) is given, so the buyer has nowhere to pay.

How to fix it

Add the IBAN in BT-84 under PaymentMeans/cac:PayeeFinancialAccount/cbc:ID. If the invoice is genuinely not paid by transfer - already settled, paid by card - use the matching BT-81 code instead of 30.

What the validator checks

CII — context $CreditTransfer_information

(ram:IBANID) or (ram:ProprietaryID)

UBL — context cac:PaymentMeans

(exists(cac:PayeeFinancialAccount/cbc:ID) and ((normalize-space(cbc:PaymentMeansCode) = '30') or (normalize-space(cbc:PaymentMeansCode) = '58') )) or ((normalize-space(cbc:PaymentMeansCode) != '30') and (normalize-space(cbc:PaymentMeansCode) != '58'))

Related rules

Part of BR — EN 16931 core business rules.

Validate an invoice against this rule →