HomeError code lexicon › BR-CO-6
BR-CO-6 Field BT-105 Calculation and consistency rules (BR-CO)

Fix BR-CO-6: Charge reason and reason code contradict each other (BT-104/BT-105)

[BR-CO-6]-Document level charge reason code (BT-105) and Document level charge reason (BT-104) shall indicate the same type of cha

BR-CO-6 in your own invoice? Upload the file and find every error in seconds.

What does BR-CO-6 mean?

The reason text and the reason code of a document level charge must name the same type. Otherwise the entry is ambiguous.

Common causes of BR-CO-6

How to fix BR-CO-6

  1. Find the faulty spot in the XML. Open the XML of the invoice and go to field BT-105 along this XPath://ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeAllowanceCharge
  2. Apply the fix. The reason code (BT-105) and the reason text (BT-104) of a document level charge must name the same type of charge. In 'ram:SpecifiedTradeAllowanceCharge' (ChargeIndicator=true), make sure that 'ram:ReasonCode' (BT-105, UNTDID 7161) and 'ram:Reason' (BT-104) match in meaning.
  3. Validate again. Save the file and validate it again to check that BR-CO-6 is no longer reported.
Concrete fix

The reason code (BT-105) and the reason text (BT-104) of a document level charge must name the same type of charge. In 'ram:SpecifiedTradeAllowanceCharge' (ChargeIndicator=true), make sure that 'ram:ReasonCode' (BT-105, UNTDID 7161) and 'ram:Reason' (BT-104) match in meaning.

XPath//ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeAllowanceCharge

Before / after: the XML example

This is the spot in question before and after the fix (Cross Industry Invoice, ZUGFeRD/Factur-X).

Wrong
<ram:SpecifiedTradeAllowanceCharge>
  <ram:ChargeIndicator><udt:Indicator>true</udt:Indicator></ram:ChargeIndicator>
  <ram:ReasonCode>FC</ram:ReasonCode>
  <ram:Reason>Rabatt</ram:Reason>
</ram:SpecifiedTradeAllowanceCharge>
Correct
<ram:SpecifiedTradeAllowanceCharge>
  <ram:ChargeIndicator><udt:Indicator>true</udt:Indicator></ram:ChargeIndicator>
  <ram:ReasonCode>FC</ram:ReasonCode>
  <ram:Reason>Frachtkosten</ram:Reason>
</ram:SpecifiedTradeAllowanceCharge>

Frequent questions about BR-CO-6

Which code list applies to BT-105?
UNTDID 7161, for example 'FC' for freight cost or 'PC' for packing. The reason text (BT-104) must describe the same type of charge.
What is the difference from BR-CO-05?
BR-CO-05 checks the same thing for document level allowances (BT-98/BT-97). BR-CO-06 covers charges (BT-105/BT-104). Both demand that code and text match.

Related error codes

Check BR-CO-6 automatically

Instead of digging through the XML by hand you can validate your ZUGFeRD or XRechnung file online – upload the PDF or the XML and you get every error with rule ID, affected field, fix and XPath, as a readable report or as JSON through the API.

Find every error automatically instead of searching by hand

Upload your ZUGFeRD, Factur-X or XRechnung file – you get every violation back with rule ID, field, fix and XPath.

Validate online for free
Check invoice