# French Invoice Readiness Compliance Check (SIREN/SIRET)

> French Invoice Readiness Compliance Check (SIREN/SIRET) is a paid API for AI agents from x402-datashop-production.up.railway.app, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Checks whether a French company is ready to receive e-invoices under the 2026 French e-invoicing reform by validating its SIREN/SIRET against SIRENE and its VAT number against VIES.

## Facts

- Endpoint: GET https://x402-datashop-production.up.railway.app/v1/fr/invoice-ready
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/french-invoice-readiness-compliance-check-siren-siret-9cf37e90
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Ls9UBI3CFvG9nAfxe7VIt

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability french-invoice-readiness-compliance-check-siren-siret-9cf37e90
```

Example prompt: Before I send an invoice to this French supplier, can you check if their SIREN 552032534 is active in the SIRENE registry and whether they're ready for the 2026 French e-invoicing reform — including their VAT number validation?

## When to prefer this

Use this endpoint when you need a single authoritative compliance verdict for French e-invoicing (mandatory from 2026-09-01) that combines SIRENE registry lookup, Luhn checksum, VAT number computation, and live VIES validation in one call. Prefer over rolling your own multi-step validation when you need a quick go/no-go answer before issuing or accepting a French B2B invoice.

## Known failure modes

- Missing both siren and siret query parameters — returns error requiring at least one
- Invalid SIREN format (not 9 digits or fails Luhn) — returns not_ready with checksum failure detail
- SIREN not found in SIRENE registry — returns not_ready
- VIES service unavailable — returns 'check_vat_manually' verdict rather than blocking
- Malformed SIRET (not 14 digits) — returns validation error

## How this service works

One-call compliance check for the French e-invoicing reform (from 2026-09-01 the customer's SIREN is a mandatory invoice mention). Query: ?siren=552032534 or ?siret=55203253400041. Runs the Luhn checksum, confirms existence and active status in the official SIRENE registry, computes the FR VAT number and validates it live against VIES. Returns a single verdict: ready / not_ready / check_vat_manually (VIES flakiness never blocks the answer). 1h cache.

## Output

Returns a single verdict string ('ready', 'not_ready', or 'check_vat_manually'), along with Luhn checksum result, SIRENE existence and active status, computed French VAT number, and live VIES validation result. Response is cached for 1 hour.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "siren": {
       "type": "string",
       "description": "9-digit SIREN (this or siret is required)"
      },
      "siret": {
       "type": "string",
       "description": "14-digit SIRET; the SIREN is extracted from it"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/french-invoice-readiness-compliance-check-siren-siret-9cf37e90/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-datashop-production.up.railway.app](https://www.zero.xyz/host/x402-datashop-production.up.railway.app/llms.txt)
