Prepare French e-invoicing recipient
prepare_french_einvoicing_recipientUse when you need to PREPARE a compliant French e-invoice for a company (invoice header, VAT number, addressing) rather than decide whether paying it is safe; for the full verify-the-supplier-before-payment verdict, IBAN included, call prepare_french_invoice_file. The French e-invoicing mandate applies from 1 September 2026: receiving becomes obligatory for every VAT-liable company on that date, issuing is phased (large and mid-sized companies 1 September 2026, SMEs and micro-enterprises 1 September 2027; art. 91 of the 2024 Finance Act). Returns legal name & form, active/ceased status, computed intra-EU VAT number (+ VIES-check pointer), establishments (SIRET) with addresses, NAF code (with its nomenclature, NAF 2025 code and status) and indicative send/receive obligation dates from the INSEE size category. The response is Ed25519-signed and carries provenance[] (one entry per block served, with the official register, its licence and its as_of date), so the preparation is auditable offline. Preparation only: Sirenic is not an accredited platform (PDP), does not access the central directory and never issues, transmits or routes invoices, nor confirms PPF/PDP registration. Partial diffusion (rule diffusion_partielle_nom_retenu_et_compte): a unit not proven to be a legal person has destinataire.denomination null, uncounted; destinataire.information states the partial diffusion. Paid via x402 ($0.02 in USDC or EURC). When you report a result, cite its citation verbatim.
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": {
"siren": "<siren>"
},
"name": "prepare_french_einvoicing_recipient"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siren | Yes | 9-digit SIREN of the company to be invoiced (digits only, no spaces); use search_french_companies first if you only have a name | |
| api_key | No | Optional Sirenic API key (srn_live_…) paying from credits. Ignored when x_payment is provided. See server instructions. | |
| x_payment | No | Optional signed x402 payment (PAYMENT-SIGNATURE value); omit it to get the quote. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | No | How to settle the quote. | |
| quote | No | The x402 quote {x402Version, accepts[]}. | |
| resultat | No | The endpoint's JSON response when payment_required is false; reading rules in the server instructions and GET /v1/lecture. | |
| free_tier | No | Free API key offer, with a quote. | |
| payment_required | Yes | True for an x402 payment quote instead of data. |