The single most common mapping failure: the ERP export carries the trading name where the standard requires the party name, and the platform rejects the document outright.
Paste the canonical invoice model (JSON). The gate runs locally in this page — the same deterministic engine the agent tools call.