What does BR-S-9 mean?
The tax amount of the VAT breakdown for category S must equal the taxable amount times the rate divided by 100.
Common causes of BR-S-9
- The tax amount was set by hand instead of being calculated from taxable amount times rate.
- A rounding error causes a deviation between BT-117 and the product of BT-116 and BT-119.
- The taxable amount (BT-116) was changed later without adjusting the tax amount.
How to fix BR-S-9
- Find the faulty spot in the XML. Open the XML of the invoice and go to field BT-117 along this XPath:
//rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:ApplicableTradeTax/ram:CalculatedAmount - Apply the fix. Calculation rule: in the VAT breakdown (BG-23) for category "S", the VAT category tax amount (BT-117) must be correct. Formula: BT-117 = BT-116 (taxable amount) x BT-119 (rate) / 100. The wrong value sits in ram:ApplicableTradeTax/ram:CalculatedAmount. Recalculate it, for example 100.00 x 19 / 100 = 19.00, and enter the result.
- Validate again. Save the file and validate it again to check that BR-S-9 is no longer reported.
Calculation rule: in the VAT breakdown (BG-23) for category "S", the VAT category tax amount (BT-117) must be correct. Formula: BT-117 = BT-116 (taxable amount) x BT-119 (rate) / 100. The wrong value sits in ram:ApplicableTradeTax/ram:CalculatedAmount. Recalculate it, for example 100.00 x 19 / 100 = 19.00, and enter the result.
//rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:ApplicableTradeTax/ram:CalculatedAmountBefore / after: the XML example
This is the spot in question before and after the fix (Cross Industry Invoice, ZUGFeRD/Factur-X).
<ram:ApplicableTradeTax>
<ram:CalculatedAmount>15.00</ram:CalculatedAmount>
<ram:TypeCode>VAT</ram:TypeCode>
<ram:BasisAmount>100.00</ram:BasisAmount>
<ram:CategoryCode>S</ram:CategoryCode>
<ram:RateApplicablePercent>19.00</ram:RateApplicablePercent>
</ram:ApplicableTradeTax>
<ram:ApplicableTradeTax>
<ram:CalculatedAmount>19.00</ram:CalculatedAmount>
<ram:TypeCode>VAT</ram:TypeCode>
<ram:BasisAmount>100.00</ram:BasisAmount>
<ram:CategoryCode>S</ram:CategoryCode>
<ram:RateApplicablePercent>19.00</ram:RateApplicablePercent>
</ram:ApplicableTradeTax>
Frequent questions about BR-S-9
How do I round the tax amount correctly for BR-S-9?
What is the difference between BR-S-8 and BR-S-9?
Related error codes
Check BR-S-9 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.