BR-CO-05 to BR-CO-08: reason code and reason text must agree
Four rules with one requirement, applied to the four places an allowance or charge reason can appear. Where both a reason code and a reason text are given, they shall indicate the same type of allowance or charge. The four cover the document level allowance (BT-98 and BT-97), the document level charge (BT-105 and BT-104), the invoice line allowance (BT-140 and BT-139) and the invoice line charge (BT-145 and BT-144).
BR-CO-05
Document level allowance reason code (BT-98) and Document level allowance reason (BT-97) shall indicate the same type of allowance.
- Severity
- Rejects the invoice
- Applies to
- CII, UBL
- Family
- BR-CO
- BT-98
- BT-97
BR-CO-06
Document level charge reason code (BT-105) and Document level charge reason (BT-104) shall indicate the same type of charge.
- Severity
- Rejects the invoice
- Applies to
- CII, UBL
- Family
- BR-CO
- BT-105
- BT-104
BR-CO-07
Invoice line allowance reason code (BT-140) and Invoice line allowance reason (BT-139) shall indicate the same type of allowance reason.
- Severity
- Rejects the invoice
- Applies to
- CII, UBL
- Family
- BR-CO
- BT-140
- BT-139
BR-CO-08
Invoice line charge reason code (BT-145) and Invoice line charge reason (BT-144) shall indicate the same type of charge reason.
- Severity
- Rejects the invoice
- Applies to
- CII, UBL
- Family
- BR-CO
- BT-145
- BT-144
About the BR-CO family
Calculation and consistency rules. These check that the totals on the invoice add up and agree with the line items and VAT breakdown.
Related rules
A validator reports one code at a time. These check the same fields, so they are the ones most likely to fire on the same invoice.
- BR-33 Each Document level allowance (BG-20) shall have a Document level allowance reason (BT-97) or a Document level allowance reason code (BT-98).
- BR-CO-21 Each Document level allowance (BG-20) shall contain a Document level allowance reason (BT-97) or a Document level allowance reason code (BT-98), or both.
- BR-51 In accordance with card payments security standards an invoice should never include a full card primary account number (BT-97). At the moment PCI Security Standards Council has defined that the first 6 digits and last 4 digits are the maximum number of digits to be shown.
- BR-38 Each Document level charge (BG-21) shall have a Document level charge reason (BT-104) or a Document level charge reason code (BT-105).
- BR-CO-22 Each Document level charge (BG-21) shall contain a Document level charge reason (BT-104) or a Document level charge reason code (BT-105), or both.
- BR-42 Each Invoice line allowance (BG-27) shall have an Invoice line allowance reason (BT-139) or an Invoice line allowance reason code (BT-140).
- BR-CO-23 Each Invoice line allowance (BG-27) shall contain an Invoice line allowance reason (BT-139) or an Invoice line allowance reason code (BT-140), or both.
- BR-44 Each Invoice line charge (BG-28) shall have an Invoice line charge reason (BT-144) or an Invoice line charge reason code (BT-145).
- BR-CO-24 Each Invoice line charge (BG-28) shall contain an Invoice line charge reason (BT-144) or an Invoice line charge reason code (BT-145), or both.
Others in the BR-CO family:
Check your own invoice
Drop a Factur-X, ZUGFeRD, XRechnung, or Peppol file in and see every rule it breaks, not just this one. Free, no signup.
Open the validatorRule text comes from the EN 16931 validation artefacts published by CEN/TC 434 and the European Commission, used unmodified under the European Union Public Licence v1.2. The artefacts are available from the upstream repository.
Factur-X, ZUGFeRD, XRechnung, and Peppol are trade marks of FNFE-MPE, FeRD, KoSIT, and OpenPeppol AISBL respectively, and are used here only to identify the invoice formats this tool reads. PDFPipe is not affiliated with, endorsed by, or certified by any of them, nor by CEN or the European Commission.