AttestwireRule referenceBR-E-03

BR-E-03 A VAT-exempt allowance requires a seller or tax representative tax ID

noun · EN 16931 · fatal · BT-31 / BT-32

For a sample invoice, the library reports: This invoice contains a document level allowance (BG-20) whose VAT category code (BT-95) is E (Exempt from VAT) — allowances[0] — so the invoice must contain the seller VAT identifier (BT-31), the seller tax registration identifier (BT-32) and/or the seller tax representative VAT identifier (BT-63).

Business term
BT-31 / BT-32
Severity
fatal

The fix

Set seller.vatId or seller.taxRegistrationId, or supply the taxRepresentative group. Remember that an exempt breakdown also needs vatExemptionReasons.E — category E is the one category with no standard wording, because the provision differs by member state.

A passing value

the shape this field expects
"seller": { "vatId": "DE123456789" }, "vatExemptionReasons": { "E": "Exempt under Article 132(1)(i) of Directive 2006/112/EC" }

What the library returns

The full error returned by @attestwire/en16931. It includes the rule ID, affected field and suggested correction. Developers can use this object in their application:

TeachingError
{
  "rule": "BR-E-03",
  "field": [
    "BT-31",
    "BT-32"
  ],
  "severity": "fatal",
  "message": "This invoice contains a document level allowance (BG-20) whose VAT category code (BT-95) is E (Exempt from VAT) — allowances[0] — so the invoice must contain the seller VAT identifier (BT-31), the seller tax registration identifier (BT-32) and/or the seller tax representative VAT identifier (BT-63). An exemption is granted by a named provision and can only be invoked by a registered taxable person. A discount or surcharge attached to an exempt supply inherits that exemption, and with it the evidencing burden: the breakdown will carry an exemption reason (BR-E-10) that has to be attributable to someone.",
  "fix": "Set seller.vatId or seller.taxRegistrationId, or supply the taxRepresentative group. Remember that an exempt breakdown also needs vatExemptionReasons.E — category E is the one category with no standard wording, because the provision differs by member state.",
  "example": "\"seller\": { \"vatId\": \"DE123456789\" }, \"vatExemptionReasons\": { \"E\": \"Exempt under Article 132(1)(i) of Directive 2006/112/EC\" }",
  "xpath": "/ubl:Invoice/cac:AllowanceCharge[1]/cac:TaxCategory/cbc:ID",
  "docsUrl": "https://attestwire.com/rules/BR-E-03"
}

xpath is always a UBL path. On a CII invoice, look for the matching CII field instead.