SchemaGuard by Ironbark Digital · EN 16931 / Peppol / XRechnung Reference
← All 294 EN 16931 / Peppol Rules & Live Validator
FATAL ATW Library Diagnostic BT/BG Fields: BT-151

ATW-VAT-SCENARIO-UNKNOWN — E-Invoice Validation Rule & Fix

Fixture ID: vatScenarioUnknown · XPath: /ubl:Invoice/cac:InvoiceLine[1]/cac:Item/cac:ClassifiedTaxCategory/cbc:ID

1. Why This Rule Triggers (Diagnostic Message)

Line 1 states vatScenario "intra-eu-service", which is not one of the five scenarios this build knows: "domestic", "intra-eu-goods", "intra-eu-services", "export" and "small-business-exemption". Nothing was filled in from it, so the line has no VAT category.

2. How to Fix ATW-VAT-SCENARIO-UNKNOWN

Did you mean "intra-eu-services"? Set lines[0].vatScenario to one of the five, or remove it and state vatCategory (and vatRate) yourself.

3. Valid Code / Payload Example

"vatScenario": "intra-eu-services"
Test & Validate XML / JSON in Live SchemaGuard Validator →