# French SIREN Finder for E-invoicing | Bulk SIREN, SIRET & VAT (`krabani/french-siren-finder`) Actor

Turn a list of French company names + postal codes into SIRENs for e-invoicing (facture électronique, numéro SIREN client). Get head-office SIRET, active/closed status, computed VAT number and a confidence reason. Unclear rows come back for review. USD 0.01 per matched row only.

- **URL**: https://apify.com/krabani/french-siren-finder.md
- **Developed by:** [Karim Attamimy Rabbani](https://apify.com/krabani) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$10.00 / 1,000 matched rows

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## French SIREN Finder for E-invoicing | Bulk SIREN, SIRET & VAT

**Turn French company names and postal codes into SIRENs, head-office SIRETs and computed VAT numbers in one run.** Rows that do not meet the Actor's matching rules are returned for review, with up to three candidates where available. You pay only for rows marked `matched`. A match is a rule-based result, not a guarantee that it is the legal entity you intended.

Under France's domestic B2B e-invoicing reform, the client's SIREN (*numéro Siren du client*) is one of four additional invoice details. These apply from 1 September 2026 to large and intermediate-size issuers, and generally from 1 September 2027 to SME and micro-business issuers. The reform covers businesses established in France and subject to French VAT, including those under the franchise en base regime, for transactions within its scope. If your client file has company names and locations but lacks SIRENs, this Actor can help enrich it.

### Who it is for

- **Accounts receivable / billing teams** preparing their client file for the *facture électronique* reform.
- **E-invoicing and ERP integrators** (Sage, Odoo, Pennylane-style migrations) cleaning a customer master before go-live.
- **Data teams** who need a repeatable, API-callable SIREN enrichment step with an audit trail (`match_reason`, `confidence`, `source_url`, `checked_at`).

What it does **not** do: it does not make an invoice compliant by itself, it does not check invoice format, platform routing (plateforme agréée) or VIES VAT registration. It fills one field: the client SIREN, plus useful identifiers around it.

### Try it in one click

The input form is prefilled with this list. Run it as is:

```json
{
  "rows": [
    { "buyer_row_id": "client-001", "company_name": "Decathlon France", "postal_code": "59650" },
    { "buyer_row_id": "client-002", "company_name": "Capgemini", "city": "Paris" },
    { "buyer_row_id": "client-003", "siren": "356 000 000" },
    { "buyer_row_id": "client-004", "vat_number": "FR27552032534" }
  ]
}
```

Registry reference values checked on 13 November 2026 are shown below. These are reference identifiers, not a record of a fresh Actor run; matching outcomes can change with the source data.

| Your row | Company | SIREN | Head-office SIRET | VAT number (computed) | Register status |
|---|---|---|---|---|---|
| client-001 | DECATHLON FRANCE | 500569405 | 50056940503239 | FR11500569405 | active |
| client-002 | CAPGEMINI | 330703844 | 33070384400036 | FR06330703844 | active |
| client-003 | LA POSTE | 356000000 | 35600000000048 | FR39356000000 | active |
| client-004 | DANONE | 552032534 | 55203253400703 | FR27552032534 | active |

If all four rows are marked `matched`, the run costs **USD 0.04** in Actor event charges.

### Input

1 to 1,000 rows per run. Each row needs a unique `buyer_row_id` (your own internal ID, never a person's name or email). Then give what you have:

| Field | Use |
|---|---|
| `company_name` | Legal name of the company. Best with `postal_code` or `city`. |
| `postal_code` | Five digits. `75015` or the number `75015` both work; a spreadsheet's `6000` becomes `06000`. |
| `city` or `commune` | Town label (`Paris 15e`, `St-Denis`, `Lyon`) or INSEE commune code. |
| `address` | Free text. Only the postal code and town are read; the street is discarded. |
| `siren` | 9 digits, with or without spaces or dots. |
| `siret` | 14 digits; the SIREN part is used. |
| `vat_number` | French VAT number (`FR` + key + SIREN). The key is checked. |

- An identifier you supply (SIREN, SIRET or FR VAT) takes priority over the name. If two identifiers disagree, the row is `needs_identifier` and nothing is guessed.
- Unknown extra columns (amounts, emails, notes) are ignored and not stored in the results.
- A bad postal code, SIRET or VAT key only affects its own row (`needs_identifier`, free).

### Output

For a completed run, the Actor returns one result per input row. Interrupted runs or upstream failures can leave a partial dataset; check `SUMMARY.complete` and `remaining_rows` before importing results. Export the dataset as CSV, Excel or JSON and join back on `buyer_row_id`.

```json
{
  "buyer_row_id": "client-001",
  "match_status": "matched",
  "match_reason": "unique_exact_normalized_legal_name_and_supplied_location",
  "confidence": "medium",
  "siren": "500569405",
  "siret_siege": "50056940503239",
  "vat_number_computed": "FR11500569405",
  "company_name": "DECATHLON FRANCE",
  "administrative_status": "active",
  "siege_postal_code": "59650",
  "siege_city": "VILLENEUVE-D'ASCQ"
}
```

Matched rows also include creation date and age, company-size category, employee-size class, NAF code, check time, source update time, attribution and source URL. Missing source values stay `null`. Rows that need review can include up to three `candidates` with their SIREN, head-office SIRET and VAT number, where available.

### Pricing

**USD 0.01 per matched row. Non-matched rows have no Actor event charge.**

| Example | You pay |
|---|---|
| 100 rows, all matched | USD 1.00 |
| 1,000 rows, all matched | USD 10.00 |
| 1,000 client names, 400 matched, 600 sent back for review / not found | USD 4.00 |

| `match_status` | Meaning | Charged |
|---|---|---|
| `matched` | Meets the Actor's matching rules: exact identifier, or one exact legal-name match consistent with your location in a complete search | USD 0.01 |
| `ambiguous` | Needs review; up to three candidates where available | Free |
| `not_found` | No eligible company found in the public API (not proof it does not exist) | Free |
| `needs_identifier` | Missing, invalid or conflicting name/SIREN/SIRET/VAT/postal code | Free |
| `source_anomaly` | The public API answered with a different company than requested; retry later | Free |
| `privacy_excluded` | Non-diffusible unit | Free |
| `out_of_scope` | Individual entrepreneur, association, public body or other unsupported legal form | Free |

Tip: set a **maximum charge per run** in Apify before a large batch. Re-running the same list charges its matched rows again. Platform storage beyond the run can incur standard Apify costs.

### How matching works

- `confidence` is a rule label, not a probability: exact SIREN/SIRET/VAT is `high`, exact legal-name evidence is `medium`, anything unresolved is `low`.
- A name is auto-matched only when the search is complete, exactly one company has that exact legal name at the location you gave, and no other close candidate exists. Trade names, acronyms, typos and shared words go to review.
- Big brands with many legal entities (Carrefour, EDF, Air Liquide) usually come back `ambiguous` even with a town. That is deliberate: a wrong legal entity means a wrong SIREN on an invoice.
- `vat_number_computed` is derived using the numeric key calculation `(12 + 3 * (SIREN mod 97)) mod 97`, padded to two digits. It is not confirmation that a VAT number has been assigned or is registered in VIES.

### Speed and limits

The source API allows at most 7 requests per second per IP. The Actor runs at about 6 requests per second and slows down automatically when throttled. One SIREN row is one request; a name row is usually one to three. If a run is interrupted, check `SUMMARY` in the key-value store (`complete`, `remaining_rows`) before treating results as final.

### FAQ

**Does this make my e-invoices compliant?**
No. The client's SIREN is one of four additional invoice details introduced under the phased reform, and an e-invoice must also use a structured format and go through an approved platform (*plateforme agréée*). This Actor only helps you fill the SIREN field and related identifiers. It is a data-cleaning tool, not tax or legal advice.

**What are the official dates of the French e-invoicing reform?**

- **1 September 2026**: businesses established in France and subject to French VAT, including those under the franchise en base regime, must be able to receive in-scope e-invoices. Large and intermediate-size issuers must issue in-scope e-invoices, include the four additional invoice details and meet applicable e-reporting obligations.
- **1 September 2027**: SME and micro-business issuers generally become subject to the corresponding issuance, additional-detail and e-reporting obligations.
- Exemptions, transaction scope and special VAT-group rules can affect your situation. Confirm your obligations with your accountant or approved platform.

Sources (checked 13 November 2026): [Légifrance, CGI annexe II, article 242 nonies A](https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000050811276), [Service Public Entreprendre, "Mentions obligatoires sur une facture"](https://entreprendre.service-public.gouv.fr/vosdroits/F31808), [impots.gouv.fr, "Je découvre la facturation électronique"](https://www.impots.gouv.fr/professionnel/je-decouvre-la-facturation-electronique), [economie.gouv.fr, "Tout savoir sur la facturation électronique"](https://www.economie.gouv.fr/tout-savoir-sur-la-facturation-electronique-pour-les-entreprises).

**Will there be penalties right away?**
On 11 July 2026 the French minister for public accounts announced a tolerant approach for the start-up phase: no sanctions at the start for good-faith businesses that meet difficulties and work to regularise. Source: [Ministry press release n°898, 11 July 2026](https://presse.economie.gouv.fr/facturation-electronique-david-amiel-ministre-de-laction-et-des-comptes-publics-annonce-une-approche-de-tolerance-et-de-bienveillance-dans-la-mise-en-oeuvre-de-la-reforme-de-la-facturation-electroniq/). Check your own situation with your accountant.

**Why are some rows `ambiguous` or `not_found`?**
The Actor applies deterministic matching rules. Rows that do not meet those rules are returned for review or marked not found; candidates are included where available. Review the match reason and confirm the intended legal entity before using a SIREN on an invoice. Non-matched rows have no Actor event charge.

**Why is my client marked `out_of_scope`?**
Individual entrepreneurs (legal category 1000), associations and public bodies are not covered, and non-diffusible units are excluded for privacy. These rows are free.

**Where does the data come from?**
Only from the official, free API Recherche d'entreprises (DINUM / data.gouv.fr, SIRENE data from Insee). No scraping, no AI service. The public API can lag behind or omit records.

**Can I try it for free?**
Yes, on the Apify Free plan using the monthly free platform credit. The four-row example costs USD 0.04 if all four rows are matched.

### Privacy (GDPR)

Send company names and identifiers only, with opaque `buyer_row_id` values. Officers, personal data, street addresses and unknown fields from the source are discarded before matching and never written to the output. Raw inputs and source responses are not logged. Apify still stores the run input; its retention settings apply.

### Attribution

Source : API Recherche d'entreprises (DINUM/data.gouv.fr), données SIRENE (Insee); Licence Ouverte 2.0. Analyse dérivée indépendante. Not affiliated with or endorsed by the French government, DGFiP, DINUM, data.gouv.fr or Insee.

References: [API documentation](https://recherche-entreprises.api.gouv.fr/docs/), [SIRENE dataset](https://www.data.gouv.fr/datasets/base-sirene-des-entreprises-et-de-leurs-etablissements-siren-siret), [Licence Ouverte 2.0](https://www.data.gouv.fr/pages/legal/licences/etalab-2-0).

Keywords: SIREN lookup, bulk SIREN, SIRET lookup, company name to SIREN, French VAT number, e-invoicing France, facture électronique, numéro SIREN client, mentions obligatoires facture, trouver SIREN en masse, fichier clients.

# Actor input Schema

## `rows` (type: `array`):

1 to 1000 rows. Each row needs a unique buyer_row_id (your internal ID, no personal data). Then give what you have: company_name with postal_code or city (best for client lists), or an identifier (siren, siret or vat_number). Optional: commune (label or INSEE code) and address (only the postal code and city are read; the street is discarded). Numbers such as 75015 or 356000000 are accepted. Unknown extra columns are ignored, not stored. Rows that cannot be checked come back as needs_identifier and are free.

## Actor input object example

```json
{
  "rows": [
    {
      "buyer_row_id": "client-001",
      "company_name": "Decathlon France",
      "postal_code": "59650"
    },
    {
      "buyer_row_id": "client-002",
      "company_name": "Capgemini",
      "city": "Paris"
    },
    {
      "buyer_row_id": "client-003",
      "siren": "356 000 000"
    },
    {
      "buyer_row_id": "client-004",
      "vat_number": "FR27552032534"
    }
  ]
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `summary` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "rows": [
        {
            "buyer_row_id": "client-001",
            "company_name": "Decathlon France",
            "postal_code": "59650"
        },
        {
            "buyer_row_id": "client-002",
            "company_name": "Capgemini",
            "city": "Paris"
        },
        {
            "buyer_row_id": "client-003",
            "siren": "356 000 000"
        },
        {
            "buyer_row_id": "client-004",
            "vat_number": "FR27552032534"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("krabani/french-siren-finder").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "rows": [
        {
            "buyer_row_id": "client-001",
            "company_name": "Decathlon France",
            "postal_code": "59650",
        },
        {
            "buyer_row_id": "client-002",
            "company_name": "Capgemini",
            "city": "Paris",
        },
        {
            "buyer_row_id": "client-003",
            "siren": "356 000 000",
        },
        {
            "buyer_row_id": "client-004",
            "vat_number": "FR27552032534",
        },
    ] }

# Run the Actor and wait for it to finish
run = client.actor("krabani/french-siren-finder").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "rows": [
    {
      "buyer_row_id": "client-001",
      "company_name": "Decathlon France",
      "postal_code": "59650"
    },
    {
      "buyer_row_id": "client-002",
      "company_name": "Capgemini",
      "city": "Paris"
    },
    {
      "buyer_row_id": "client-003",
      "siren": "356 000 000"
    },
    {
      "buyer_row_id": "client-004",
      "vat_number": "FR27552032534"
    }
  ]
}' |
apify call krabani/french-siren-finder --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,krabani/french-siren-finder"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/LkPJdigjeK51gvUUP/builds/D8v6IIonurv8ACfuS/openapi.json
