create_routing_code
Create a routing code for a French electronic invoicing establishment by providing SIRET, routing identifier, type, label, and nature. Requires user confirmation before final submission.
Instructions
Create a routing code (POST /code-routage).
HUMAN-IN-THE-LOOP: Requires user confirmation. Call without confirmation_token first, show the summary to the user, then call again with the token.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"siret": "<siret>",
"identifiant_routage": "<identifiant_routage>",
"type_identifiant_routage": "<type_identifiant_routage>",
"libelle_code_routage": "<libelle_code_routage>",
"nature_etablissement": "<nature_etablissement>"
},
"name": "create_routing_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siret | Yes | Establishment SIRET (14 digits) this routing code belongs to. | |
| confirmation_token | No | Confirmation token from a previous call. Omit on the first call. | |
| etat_administratif | No | 'A' (active) or 'F' (closed). | A |
| identifiant_routage | Yes | Routing-code identifier to create (max 100 chars, pattern [-_/@a-zA-Z0-9]). | |
| libelle_code_routage | Yes | Human-readable label for the routing code. | |
| nature_etablissement | Yes | Whether the establishment is private or public. | |
| type_identifiant_routage | Yes | 4-digit type code for the routing-code identifier (typeIdentifiantRoutage). | |
| gestion_engagement_juridique | No | Whether a legal-commitment number (engagement juridique) is mandatory. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||