What does BR-37 mean?
Every document level charge needs a VAT category code. It assigns the charge to the right VAT breakdown.
Common causes of BR-37
- The document level charge was transmitted without the block ram:CategoryTradeTax.
- The VAT category code (BT-102) is missing or empty although ram:CategoryTradeTax is present.
- The charge comes from a system that keeps the tax assignment on line level only.
How to fix BR-37
- Find the faulty spot in the XML. Open the XML of the invoice and go to field BT-102 along this XPath:
//ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeAllowanceCharge/ram:CategoryTradeTax/ram:CategoryCode - Apply the fix. Every document level charge (BG-21) needs a VAT category code (BT-102). Add a block ram:CategoryTradeTax with ram:TypeCode 'VAT' and ram:CategoryCode inside the element ram:SpecifiedTradeAllowanceCharge with ChargeIndicator=true, for example 'S' for the standard rate. For category 'S' ram:RateApplicablePercent belongs there too.
- Validate again. Save the file and validate it again to check that BR-37 is no longer reported.
Every document level charge (BG-21) needs a VAT category code (BT-102). Add a block ram:CategoryTradeTax with ram:TypeCode 'VAT' and ram:CategoryCode inside the element ram:SpecifiedTradeAllowanceCharge with ChargeIndicator=true, for example 'S' for the standard rate. For category 'S' ram:RateApplicablePercent belongs there too.
//ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeAllowanceCharge/ram:CategoryTradeTax/ram:CategoryCodeBefore / 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:ActualAmount>15.00</ram:ActualAmount>
<ram:Reason>Versandpauschale</ram:Reason>
</ram:SpecifiedTradeAllowanceCharge>
<ram:SpecifiedTradeAllowanceCharge>
<ram:ChargeIndicator><udt:Indicator>true</udt:Indicator></ram:ChargeIndicator>
<ram:ActualAmount>15.00</ram:ActualAmount>
<ram:Reason>Versandpauschale</ram:Reason>
<ram:CategoryTradeTax>
<ram:TypeCode>VAT</ram:TypeCode>
<ram:CategoryCode>S</ram:CategoryCode>
<ram:RateApplicablePercent>19</ram:RateApplicablePercent>
</ram:CategoryTradeTax>
</ram:SpecifiedTradeAllowanceCharge>
Frequent questions about BR-37
Which category code do I use for BT-102?
Does the rule apply to allowances too?
Related error codes
Check BR-37 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.