> ## Documentation Index
> Fetch the complete documentation index at: https://docs.invopop.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Lookup in the French directory

> Check whether a SIREN or electronic address is registered in the French Directory (Annuaire) before issuing or receiving invoices.

## Introduction

Verifying that a party is registered in the French Annuaire before issuing or receiving an invoice reduces rejections and lets you branch regulated vs. non-regulated flows correctly. This guide shows how to query the PPF Annuaire so you can:

* Verify that a SIREN is registered as a sender or receiver in the Annuaire.
* Resolve the electronic address used to route invoices to a given party.
* Branch invoice and party workflows between regulated e-invoicing and the [e-reporting flow](/guides/fr-pa-reporting).

## Prerequisites

* A live workspace (Lookup will error with `403 Forbidden` in Sandbox).
* Within Console, make sure you have connected the **France** app.

## Console support

Add the **Lookup in Directory** step to your `invoice`, `party` or `status` workflows.

In the invoice workflow, the step can be configured to lookup suppliers and customers. The job will fail if no matching entry is found, and you can handle the exception any way you want (usually routing to non-regulated flow).

When a match is found, the step writes the resolved routing details back onto the looked-up party (supplier or customer for invoices and payments, or the root party for standalone party documents):

* The `0225` electronic address is added to the party's `inboxes`, so downstream steps can route the document without repeating the lookup.
* If the SIREN was derived from the party's French VAT tax ID or SIRET rather than supplied as an explicit identity, it is also added as a SIREN identity on the party. Existing identities (including SIRET) are preserved.

If the party is already addressed or already carries a SIREN identity, the step leaves those values untouched.

<Frame caption="Configure the Lookup in Directory step for invoices">
  <img width="400" src="https://mintcdn.com/invopop/yZ7qL6iIyGoOuVDQ/assets/guides/fr-lookup-config.png?fit=max&auto=format&n=yZ7qL6iIyGoOuVDQ&q=85&s=25742584d163406ffccfe906881ef624" alt="Configure the Lookup in Directory step for invoices" data-path="assets/guides/fr-lookup-config.png" />
</Frame>

## API support

### Look up by SIREN

Use this endpoint when you have the French legal identifier of a company and want to know whether it is reachable through the Annuaire.

A SIREN may have multiple entries (one per registered SIRET / suffix / routing code), so the response is always a list. An empty `results` array means the SIREN is not currently registered in the Annuaire.

The following outcomes are possible:

| Status                  | Result                      | Flow type         | Action                                                                                                       |
| ----------------------- | --------------------------- | ----------------- | ------------------------------------------------------------------------------------------------------------ |
| Party is registered     | Returns one or more entries | **Regulated**     | Route via Peppol; PPF expects a copy through the [PA send invoice workflow](/guides/fr-pa-invoicing#sending) |
| Party is not registered | Returns an empty list       | **Non-regulated** | Route through the [e-reporting flow](/guides/fr-pa-reporting) instead of Peppol                              |

<Note>
  Parties located in the French overseas territories that sit **outside the French VAT zone** — Guyane (postal codes starting with `973`), Mayotte (`976`), New Caledonia (`NC`) and French Polynesia (`PF`) — are treated as foreign zones for the e-invoicing reform. The lookup short-circuits to an empty result for these parties before querying the Annuaire, even when they carry a French SIREN, so their transactions are always routed to [e-reporting](/guides/fr-pa-reporting). Metropolitan France and the overseas départements that share its VAT territory (Guadeloupe, Martinique, Réunion) remain in scope for e-invoicing.
</Note>

## Look up by electronic address

Use this endpoint when you already have the electronic address (the value used to route invoices in France, typically in `scheme:value` form) and want to confirm it resolves to a registered entry. This is useful when a counterparty supplies their routing identifier directly rather than just a SIREN.

The behaviour mirrors the SIREN lookup:

* **Identifier is registered**: returns the matching entry.
* **Identifier is unknown**: returns an empty list. The address cannot be used as a Peppol routing target for regulated flows.

See the [API reference for lookup by electronic address](/api-ref/apps/gov-fr/lookup-identifier) for the full request and response shape.

## Using lookups in workflows

The typical pattern is to call the lookup endpoint from your own systems **before** triggering an invoice workflow, and then choose which workflow to fire:

* **Both parties registered** → run the [PA send invoice workflow](/guides/fr-pa-invoicing#sending), which transmits over Peppol and forwards the F1 copy to the PPF.
* **One or both parties unregistered** → run the [e-reporting recording workflow](/guides/fr-pa-reporting#recording) so the transaction is reported to the PPF on the next periodic submission.

This keeps the **Record Invoice** step in the send workflow from rejecting non-regulated traffic.

***

<AccordionGroup>
  <Accordion title="🇫🇷 Invopop resources for France">
    |            |                                                                                                                                                                                                                                                                                                                                                                                       |
    | ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
    | Compliance | <Icon icon="https://assets.invopop.com/flags/fr.svg" /> [Invoicing compliance in France](/compliance/france)<br /> <Icon icon="timeline" /> [Compliance timeline](/timelines/france)                                                                                                                                                                                                  |
    | Apps       | <Icon icon="https://assets.invopop.com/flags/fr.svg" /> [France](/apps/france)<br /><Icon icon="https://assets.invopop.com/apps/peppol/icon.svg" /> [Peppol](/apps/peppol)<br /><Icon icon="https://assets.invopop.com/apps/chroruspro/icon.svg" /> [ChorusPro France](/apps/choruspro-france)                                                                                        |
    | Guides     | <Icon icon="book" /> [ChorusPro Guide](/guides/fr-chorus-pro)<br /><Icon icon="book" /> [PA Guide](/guides/fr-pa) — [Registration](/guides/fr-pa-registration) · [Invoicing](/guides/fr-pa-invoicing) · [Status](/guides/fr-pa-status) · [Reporting](/guides/fr-pa-reporting)                                                                                                         |
    | FAQ        | <Icon icon="square-question" /> [France FAQ](/faq/france)                                                                                                                                                                                                                                                                                                                             |
    | GOBL       | <Icon icon="https://assets.invopop.com/icons/gobl.svg" />  [France Tax Regime](https://docs.gobl.org/regimes/fr)<br /> <Icon icon="https://assets.invopop.com/icons/gobl.svg" /> [Chorus Pro Addon](https://docs.gobl.org/addons/fr-choruspro-v1)<br /> <Icon icon="https://assets.invopop.com/icons/gobl.svg" /> [French Factur-X Addon](https://docs.gobl.org/addons/fr-facturx-v1) |
    | GitHub     | <Icon icon="github" /> [gobl.xinvoice](https://github.com/invopop/gobl.xinvoice)                                                                                                                                                                                                                                                                                                      |
  </Accordion>
</AccordionGroup>

<Card title="France FAQ" icon="square-question" href="/faq/france" arrow="true" horizontal>
  Find answers to frequently asked questions about invoicing in France →
</Card>

<Card title="Participate in our community" icon="forumbee" href="https://community.invopop.com" arrow="true" horizontal>
  Ask and answer questions about invoicing in France →
</Card>
