HomeError code lexicon › BR-S-8
BR-S-8 Field BT-116 VAT categories (BR-S/Z/E/AE)

Fix BR-S-8: VAT category taxable amount for category S (BT-116) is wrong

[BR-S-8]-For each different value of VAT category rate (BT-119) where the VAT category code (BT-118) is "Standard rated", the VAT

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

What does BR-S-8 mean?

The taxable amount per rate must equal the sum of the invoice line net amounts plus charges minus allowances.

Common causes of BR-S-8

How to fix BR-S-8

  1. Find the faulty spot in the XML. Open the XML of the invoice and go to field BT-116 along this XPath://rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:ApplicableTradeTax/ram:BasisAmount
  2. Apply the fix. Calculation rule: in the VAT breakdown (BG-23) for category "S" and a given rate, the VAT category taxable amount (BT-116) must be correct. Formula: BT-116 = sum of the invoice line net amounts (BT-131) + sum of the document level charges (BT-99) - sum of the document level allowances (BT-92), each only for category "S" and the same rate (BT-119 = BT-152/BT-103/BT-96). The wrong value sits in ram:ApplicableTradeTax/ram:BasisAmount. Correct it to the calculated sum.
  3. Validate again. Save the file and validate it again to check that BR-S-8 is no longer reported.
Concrete fix

Calculation rule: in the VAT breakdown (BG-23) for category "S" and a given rate, the VAT category taxable amount (BT-116) must be correct. Formula: BT-116 = sum of the invoice line net amounts (BT-131) + sum of the document level charges (BT-99) - sum of the document level allowances (BT-92), each only for category "S" and the same rate (BT-119 = BT-152/BT-103/BT-96). The wrong value sits in ram:ApplicableTradeTax/ram:BasisAmount. Correct it to the calculated sum.

XPath//rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:ApplicableTradeTax/ram:BasisAmount

Before / after: the XML example

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

Wrong
<ram:ApplicableTradeTax>
  <ram:CalculatedAmount>19.00</ram:CalculatedAmount>
  <ram:TypeCode>VAT</ram:TypeCode>
  <ram:BasisAmount>90.00</ram:BasisAmount>
  <ram:CategoryCode>S</ram:CategoryCode>
  <ram:RateApplicablePercent>19.00</ram:RateApplicablePercent>
</ram:ApplicableTradeTax>
Correct
<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-8

Do charges and allowances count towards the taxable amount?
Yes. Document level charges (BT-99) raise the taxable amount, allowances (BT-92) lower it, provided they carry the same category and the same rate.
Do I need a separate breakdown line for every VAT rate?
Yes. For each different rate (BT-119) with category "S" there is exactly one ApplicableTradeTax line. BR-S-8 checks each of these lines on its own.

Related error codes

Check BR-S-8 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