Error codes

BR-CL-16: payment means code (BT-81) is not in UNCL 4461

Severity: fatal · Syntax: CII, UBL

Official message

Payment means in an invoice MUST be coded using UNTDID 4461 code list

What this means

BR-CL-16 requires payment means code (BT-81) to be taken from UNCL 4461. Official text: Payment means in an invoice MUST be coded using UNTDID 4461 code list

Typical cause

The value sent is not in UNCL 4461, or a free-text label was sent instead of a code.

How to fix it

Replace the value with a code from UNCL 4461. The sample 58 shows the shape of the value, not every allowed code.

UBL

<cbc:PaymentMeansCode>58</cbc:PaymentMeansCode>

CII

<ram:TypeCode>58</ram:TypeCode>

Business term

—

Related rules

Context and assertion

UBL cac:PaymentMeans/cbc:PaymentMeansCode

CII ram:SpecifiedTradeSettlementPaymentMeans/ram:TypeCode

UBL

( ( not(contains(normalize-space(.),' ')) and contains( ' 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 74 75 76 77 78 91 92 93 94 95 96 97 98 ZZZ ',concat(' ',normalize-space(.),' ') ) ) )

CII

((not(contains(normalize-space(.), ' ')) and contains(' 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 74 75 76 77 78 91 92 93 94 95 96 97 98 ZZZ ', concat(' ', normalize-space(.), ' '))))

Check a file now, free of charge

curl -F "file=@rechnung.xml" https://checkxrechnung.com/v1/validate

Questions

What does BR-CL-16 actually check?

BR-CL-16 requires payment means code (BT-81) to be taken from UNCL 4461. Official text: Payment means in an invoice MUST be coded using UNTDID 4461 code list

How do I fix BR-CL-16?

Replace the value with a code from UNCL 4461. The sample 58 shows the shape of the value, not every allowed code.

If BR-CL-16 passes, is the invoice legally compliant?

No. This page helps you read this one Schematron assertion. A pass is not a statement about tax law, portal acceptance, or bank overlays.