Skip to content

BR-DE-16: Seller VAT ID or tax number missing

When an XRechnung uses the VAT categories S, Z, E, AE, K, G, L or M, the seller must be identified for tax.

Severity
Error the invoice fails validation.
Rule set
XRechnung 3.0.2 (KoSIT)
Where it applies
  • XRechnung 3.0 in UBL and CII (Germany)
  • ZUGFeRD / Factur-X with the XRECHNUNG profile
Business terms
BT-31 Seller VAT identifier · BT-32 Seller tax registration identifier · BG-11 SELLER TAX REPRESENTATIVE PARTY

Official rule text

Wenn in einer Rechnung die Steuercodes S, Z, E, AE, K, G, L oder M verwendet werden, muss mindestens eines der Elemente "Seller VAT identifier" (BT-31), "Seller tax registration identifier" (BT-32) oder "SELLER TAX REPRESENTATIVE PARTY" (BG-11) übermittelt werden.

Translation: If an invoice uses the tax codes S, Z, E, AE, K, G, L or M, at least one of the elements Seller VAT identifier (BT-31), Seller tax registration identifier (BT-32) or SELLER TAX REPRESENTATIVE PARTY (BG-11) must be transmitted.

What the rule checks

The rule looks at the VAT category codes on lines, allowances and charges. If any of them is one of the listed codes, the seller needs a VAT identification number (BT-31), a local tax number (BT-32) or a tax representative (BG-11).

In UBL both identifiers go into cac:PartyTaxScheme of the seller: the VAT ID with cac:TaxScheme/cbc:ID VAT, the German tax number (Steuernummer) with cac:TaxScheme/cbc:ID FC. The EN 16931 rules BR-S-02, BR-E-02 and BR-AE-02 often fail at the same time for the same reason.

Common causes

  • The seller's VAT ID is printed on the PDF but not mapped into the XML.
  • The VAT ID is written into cac:PartyLegalEntity/cbc:CompanyID, which is the legal registration (BT-30), not the VAT ID.
  • A small business without a VAT ID has no tax number in its master data either.

How to fix it

Add cac:PartyTaxScheme to the seller's cac:Party, after cac:PostalAddress, with cbc:CompanyID and the scheme VAT for the VAT ID, or FC for the tax number. In CII it is ram:SpecifiedTaxRegistration/ram:ID with schemeID VA or FC.

If the seller acts through a tax representative, add cac:TaxRepresentativeParty with its VAT ID instead.

Rejected
<cac:AccountingSupplierParty>
  <cac:Party>
    <!-- … -->
    <cac:PostalAddress><!-- … --></cac:PostalAddress>
    <cac:PartyLegalEntity>
      <cbc:RegistrationName>Muster GmbH</cbc:RegistrationName>
    </cac:PartyLegalEntity>
  </cac:Party>
</cac:AccountingSupplierParty>
Passes
<cac:AccountingSupplierParty>
  <cac:Party>
    <!-- … -->
    <cac:PostalAddress><!-- … --></cac:PostalAddress>
    <cac:PartyTaxScheme>
      <cbc:CompanyID>DE123456789</cbc:CompanyID>
      <cac:TaxScheme>
        <cbc:ID>VAT</cbc:ID>
      </cac:TaxScheme>
    </cac:PartyTaxScheme>
    <cac:PartyLegalEntity>
      <cbc:RegistrationName>Muster GmbH</cbc:RegistrationName>
    </cac:PartyLegalEntity>
  </cac:Party>
</cac:AccountingSupplierParty>

UBL excerpts; elements that play no part in the rule are left out.

Can the fix page repair it?

Yes, once you supply the value. The fix page names the field; you enter the correct value, which is never guessed, and the corrected file is validated again before you download it.

Field on the fix page: seller.vatId, seller.taxRegistrationId

Repair a rejected invoiceGuide: What does BR-DE-15 mean? XRechnung error codes explained

Check your invoice against the official rules

Upload an XML or PDF invoice. You get every failing rule with an explanation, the fix and the line in the file. Free, without sign-up; the check on this page stores nothing.

Drop an invoice hereXRechnung, EN 16931 or Peppol (UBL / CII), a ZUGFeRD / Factur-X PDF, Facturae or KSeF FA(3). Up to 2 MB.
No invoice at hand?

Processed in memory and not stored. No sign-up needed.