tracea_check_demarche
THE anti-rejection check. Submit the data you collected; it validates every field against the official procedure schema AND cross-checks critical values against official French registries (e.g. SIRET against INSEE Sirene). Returns { ok: true, recordHash } or { ok: false, errors: [{ field, message }] }. ALWAYS call this BEFORE telling the user the file is ready, and fix the exact fields reported.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Procedure id (e.g. 15776) | |
| donnees | Yes | Collected data as a flat object, field names exactly as in tracea_demarche_schema |