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

ATW-TEXT-NOT-XML — E-Invoice Validation Rule & Fix

Fixture ID: textOnlyNul · XPath: N/A (Computed / Semantic Rule)

1. Why This Rule Triggers (Diagnostic Message)

note contains U+0000, which an XML document cannot carry. The generators remove them, and nothing is left: the field would be written empty.

2. How to Fix ATW-TEXT-NOT-XML

Remove control characters and unpaired surrogates from the text before building the invoice. They usually come from a copy-paste or a broken encoding upstream.

3. Valid Code / Payload Example

Test & Validate XML / JSON in Live SchemaGuard Validator →