Attestwire › Rule reference › ATW-VAT-SCENARIO-UNSUPPORTED
ATW-VAT-SCENARIO-UNSUPPORTED The small-business exemption scenario is implemented for Germany and France only
noun · Attestwire · fatal · BT-40 / BT-151
For a sample invoice, the library reports: vatScenario "small-business-exemption" on line 1 is implemented for sellers established in Germany (§ 19 UStG) and France (the franchise en base, article 293 B du CGI), and the seller's country (BT-40) is "AT".
- Business term
BT-40 / BT-151- Severity
fatal
The fix
State the codes yourself and remove vatScenario: usually vatCategory "E" with vatRate 0, and the wording your country's scheme requires in vatExemptionReasons.E. If the seller is in fact established in Germany or France, correct seller.address.countryCode instead.
A passing value
"vatCategory": "E", "vatRate": 0What 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:
{
"rule": "ATW-VAT-SCENARIO-UNSUPPORTED",
"field": [
"BT-40",
"BT-151"
],
"severity": "fatal",
"message": "vatScenario \"small-business-exemption\" on line 1 is implemented for sellers established in Germany (§ 19 UStG) and France (the franchise en base, article 293 B du CGI), and the seller's country (BT-40) is \"AT\". Each member state runs its own small-business scheme, with its own invoice wording and, in an e-invoice, its own exemption code, and this build does not guess them. Nothing was filled in.",
"fix": "State the codes yourself and remove vatScenario: usually vatCategory \"E\" with vatRate 0, and the wording your country's scheme requires in vatExemptionReasons.E. If the seller is in fact established in Germany or France, correct seller.address.countryCode instead.",
"example": "\"vatCategory\": \"E\", \"vatRate\": 0",
"xpath": "/ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cac:Country/cbc:IdentificationCode",
"docsUrl": "https://github.com/attestwire/en16931#not-implemented-yet"
}
xpath is always a UBL path. On a CII invoice, look for the
matching CII field instead.