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
- The reason code (BT-105) means a different type of charge than the reason text (BT-104).
- Free text from a template does not fit the code you picked.
- Charge codes (UNTDID 7161) were mixed up with allowance codes (UNTDID 5189).
How to fix BR-CO-6
- 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 - 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.
- Validate again. Save the file and validate it again to check that BR-CO-6 is no longer reported.
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.
//ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeAllowanceChargeBefore / after: the XML example
This is the spot in question before and after the fix (Cross Industry Invoice, ZUGFeRD/Factur-X).
<ram:SpecifiedTradeAllowanceCharge>
<ram:ChargeIndicator><udt:Indicator>true</udt:Indicator></ram:ChargeIndicator>
<ram:ReasonCode>FC</ram:ReasonCode>
<ram:Reason>Rabatt</ram:Reason>
</ram:SpecifiedTradeAllowanceCharge>
<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?
What is the difference from BR-CO-05?
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.