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

Fix BR-S-4: Tax identifier missing for charge with category S (BT-31)

[BR-S-4]-An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "

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

What does BR-S-4 mean?

If a document level charge carries category S (standard rated), the seller must state a tax identifier, such as the VAT identifier.

Common causes of BR-S-4

How to fix BR-S-4

  1. Find the faulty spot in the XML. Open the XML of the invoice and go to field BT-31 along this XPath://rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:SpecifiedTaxRegistration/ram:ID[@schemeID='VA']
  2. Apply the fix. The invoice contains a document level charge (BG-21) with VAT category "S" (standard rated, BT-102). Standard rating requires a seller tax identifier. Enter the seller VAT identifier (BT-31) in ram:SellerTradeParty/ram:SpecifiedTaxRegistration with schemeID="VA", for example DE123456789. Alternatively, the tax registration identifier (BT-32, schemeID="FC") or the VAT identifier of the seller tax representative (BT-63) is enough.
  3. Validate again. Save the file and validate it again to check that BR-S-4 is no longer reported.
Concrete fix

The invoice contains a document level charge (BG-21) with VAT category "S" (standard rated, BT-102). Standard rating requires a seller tax identifier. Enter the seller VAT identifier (BT-31) in ram:SellerTradeParty/ram:SpecifiedTaxRegistration with schemeID="VA", for example DE123456789. Alternatively, the tax registration identifier (BT-32, schemeID="FC") or the VAT identifier of the seller tax representative (BT-63) is enough.

XPath//rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:SpecifiedTaxRegistration/ram:ID[@schemeID='VA']

Before / after: the XML example

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

Wrong
<ram:SellerTradeParty>
  <ram:Name>Muster GmbH</ram:Name>
  <!-- keine SpecifiedTaxRegistration -->
</ram:SellerTradeParty>
Correct
<ram:SellerTradeParty>
  <ram:Name>Muster GmbH</ram:Name>
  <ram:SpecifiedTaxRegistration>
    <ram:ID schemeID="VA">DE123456789</ram:ID>
  </ram:SpecifiedTaxRegistration>
</ram:SellerTradeParty>

Frequent questions about BR-S-4

What is the difference between BR-S-3 and BR-S-4?
Both require a seller tax identifier under standard rating. BR-S-3 is triggered by an allowance (BG-20), BR-S-4 by a charge (BG-21). The fix is identical in both cases.
Where exactly do I put the VAT identifier in the ZUGFeRD XML?
In ram:SellerTradeParty/ram:SpecifiedTaxRegistration/ram:ID with the attribute schemeID="VA". The VAT identifier then reads DE followed by nine digits.

Related error codes

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