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-80

ATW-VAT-SCENARIO-FACT-MISSING — E-Invoice Validation Rule & Fix

Fixture ID: vatScenarioFactMissing · XPath: /ubl:Invoice/cac:Delivery/cac:DeliveryLocation/cac:Address/cac:Country/cbc:IdentificationCode

1. Why This Rule Triggers (Diagnostic Message)

vatScenario "intra-eu-goods" (goods sent to a VAT-registered business in another EU member state) on line 1 needs the country the goods were delivered to (BT-80), and the invoice has none. The supply is exempt because the goods leave your member state, so the destination has to be on the invoice. EN 16931 asks for it in BR-IC-12, which fires on this invoice too.

2. How to Fix ATW-VAT-SCENARIO-FACT-MISSING

Set deliverTo.countryCode to the member state the goods went to. Under XRechnung, deliverTo also needs city and postalCode (BR-DE-10, BR-DE-11).

3. Valid Code / Payload Example

"deliverTo": { "city": "Lyon", "postalCode": "69001", "countryCode": "FR" }
Test & Validate XML / JSON in Live SchemaGuard Validator →