Attestwire › Rule reference › PEPPOL-EN16931-P0110
PEPPOL-EN16931-P0110 The VATEX-EU-I exemption code is only for exempt supplies
noun · Peppol BIS · fatal · BT-121 / BT-118
For a sample invoice, the library reports: You set vatExemptionReasonCodes.S to "VATEX-EU-I", which attaches the VAT exemption reason code (BT-121) "VATEX-EU-I" to the VAT breakdown for category S.
- Business term
BT-121 / BT-118- Severity
fatal
The fix
Either move the code — set vatExemptionReasonCodes.E instead of vatExemptionReasonCodes.S — or pick a code that matches category S. The VATEX list also carries article-level codes (VATEX-EU-132-1A and its siblings) which name a provision rather than a treatment and are not constrained to any category.
A passing value
"vatExemptionReasonCodes": { "E": "VATEX-EU-I" }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:
{
"rule": "PEPPOL-EN16931-P0110",
"field": [
"BT-121",
"BT-118"
],
"severity": "fatal",
"message": "You set vatExemptionReasonCodes.S to \"VATEX-EU-I\", which attaches the VAT exemption reason code (BT-121) \"VATEX-EU-I\" to the VAT breakdown for category S. Peppol requires that code to appear only on category E, because the code *is* a statement of the category: \"VATEX-EU-I\" means \"Intra-community acquisition of collectors items and antiques\", and a breakdown that says S in BT-118 and Intra-community acquisition of collectors items and antiques in BT-121 says two different things about one group of money. A human reader would skim past the contradiction; an automated ledger would post it twice, once per claim. This is a Peppol BIS Billing 3.0 profile rule: it applies because profile is \"peppol-bis-3\". It does not apply to the en16931, xrechnung-ubl or xrechnung-cii profiles, whose validators will accept the same document.",
"fix": "Either move the code — set vatExemptionReasonCodes.E instead of vatExemptionReasonCodes.S — or pick a code that matches category S. The VATEX list also carries article-level codes (VATEX-EU-132-1A and its siblings) which name a provision rather than a treatment and are not constrained to any category.",
"example": "\"vatExemptionReasonCodes\": { \"E\": \"VATEX-EU-I\" }",
"xpath": "/ubl:Invoice/cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cbc:TaxExemptionReasonCode",
"docsUrl": "https://attestwire.com/rules/PEPPOL-EN16931-P0110"
}
xpath is always a UBL path. On a CII invoice, look for the
matching CII field instead.