Basware Directory France lookup API

The Directory France lookup API from Basware — 1 operation(s) for directory france lookup.

Operations 1

GET /directory/fr Search #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/basware-directory-france-lookup-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

basware-directory-france-lookup-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: 'Directory API. Stage: prod Directory France lookup API'
  description: The Directory API is a search service for receiver-specific e-invoicing endpoints. Based on given search criteria (for example, a French SIREN), it returns possible matches and their endpoints to help customers determine how to send e-invoices to their buyers.
  version: 1.0.0
servers:
- url: /v1
- url: https://api.basware.com/v1
security:
- BearerAuth: []
- HTTPBasic: []
tags:
- name: Directory France lookup
paths:
  /directory/fr:
    get:
      tags:
      - Directory France lookup
      summary: Search
      operationId: search_directory_fr_get
      parameters:
      - name: siren
        in: query
        required: false
        schema:
          type: string
          minLength: 9
          maxLength: 9
          pattern: ^[0-9]{9}$
          description: SIREN number, min_length=9, max_length=9 regex=^[0-9]{9}$
          title: Siren
        description: SIREN number, min_length=9, max_length=9 regex=^[0-9]{9}$
      - name: siret
        in: query
        required: false
        schema:
          type: string
          minLength: 14
          maxLength: 14
          pattern: ^[0-9]{14}$
          description: SIRET number, min_length=14, max_length=14, regex=^[0-9]{14}$
          title: Siret
        description: SIRET number, min_length=14, max_length=14, regex=^[0-9]{14}$
      - name: addressing_suffix
        in: query
        required: false
        schema:
          type: string
          minLength: 1
          description: Addressing Suffix, min_length=1
          title: Addressing Suffix
        description: Addressing Suffix, min_length=1
      - name: addressing_identifier
        in: query
        required: false
        schema:
          type: string
          minLength: 9
          description: Addressing Identifier, min_length=9
          title: Addressing Identifier
        description: Addressing Identifier, min_length=9
      - name: routing_identifier
        in: query
        required: false
        schema:
          type: string
          minLength: 5
          description: Routing Identifier, min_length=5
          title: Routing Identifier
        description: Routing Identifier, min_length=5
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/DirectoryEntry'
                title: Response 200 Search Directory Fr Get
        '504':
          description: Timeout
          content:
            application/json:
              example:
                error: timeout
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Unknown error
          content:
            application/json:
              example:
                error: unknown
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '503':
          description: Service unreachable
          content:
            application/json:
              example:
                error: unreachable
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Forbidden
          content:
            application/json:
              example:
                Message: User is not authorized to access this resource with an explicit deny in an identity-based policy
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    History:
      properties:
        definitionDate:
          anyOf:
          - type: string
          - type: 'null'
          title: Definitiondate
        dateFrom:
          anyOf:
          - type: string
          - type: 'null'
          title: Datefrom
        createdBy:
          anyOf:
          - type: string
          - type: 'null'
          title: Createdby
        idInstance:
          anyOf:
          - type: string
          - type: 'null'
          title: Idinstance
      type: object
      title: History
    DirectoryEntry:
      properties:
        routingIdentifier:
          anyOf:
          - type: string
          - type: 'null'
          title: Routingidentifier
        addressingIdentifier:
          anyOf:
          - type: string
          - type: 'null'
          title: Addressingidentifier
        siren:
          anyOf:
          - type: string
          - type: 'null'
          title: Siren
        siret:
          anyOf:
          - type: string
          - type: 'null'
          title: Siret
        addressingSuffix:
          anyOf:
          - type: string
          - type: 'null'
          title: Addressingsuffix
        dateTo:
          anyOf:
          - type: string
          - type: 'null'
          title: Dateto
        effectiveEndDate:
          anyOf:
          - type: string
          - type: 'null'
          title: Effectiveenddate
        history:
          anyOf:
          - $ref: '#/components/schemas/History'
          - type: 'null'
        routingCode:
          anyOf:
          - $ref: '#/components/schemas/RoutingCode'
          - type: 'null'
        legalUnit:
          anyOf:
          - $ref: '#/components/schemas/LegalUnit'
          - type: 'null'
        facility:
          anyOf:
          - $ref: '#/components/schemas/Facility'
          - type: 'null'
      type: object
      title: DirectoryEntry
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    LegalUnit:
      properties:
        siren:
          anyOf:
          - type: string
          - type: 'null'
          title: Siren
        businessName:
          anyOf:
          - type: string
          - type: 'null'
          title: Businessname
        entityType:
          anyOf:
          - type: string
          - type: 'null'
          title: Entitytype
        administrativeStatus:
          anyOf:
          - type: string
          - type: 'null'
          title: Administrativestatus
        diffusible:
          anyOf:
          - type: string
          - type: 'null'
          title: Diffusible
      type: object
      title: LegalUnit
    RoutingCode:
      properties:
        routingIdentifier:
          anyOf:
          - type: string
          - type: 'null'
          title: Routingidentifier
        routingIdentifierType:
          anyOf:
          - type: string
          - type: 'null'
          title: Routingidentifiertype
        routingCodeName:
          anyOf:
          - type: string
          - type: 'null'
          title: Routingcodename
        managesLegalCommitment:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Manageslegalcommitment
        administrativeStatus:
          anyOf:
          - type: string
          - type: 'null'
          title: Administrativestatus
        address:
          anyOf:
          - $ref: '#/components/schemas/Address'
          - type: 'null'
      type: object
      title: RoutingCode
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    Facility:
      properties:
        siret:
          anyOf:
          - type: string
          - type: 'null'
          title: Siret
        siren:
          anyOf:
          - type: string
          - type: 'null'
          title: Siren
        name:
          anyOf:
          - type: string
          - type: 'null'
          title: Name
        facilityType:
          anyOf:
          - type: string
          - type: 'null'
          title: Facilitytype
        diffusible:
          anyOf:
          - type: string
          - type: 'null'
          title: Diffusible
        administrativeStatus:
          anyOf:
          - type: string
          - type: 'null'
          title: Administrativestatus
        address:
          anyOf:
          - $ref: '#/components/schemas/Address'
          - type: 'null'
      type: object
      title: Facility
    Address:
      properties:
        addressLine1:
          anyOf:
          - type: string
          - type: 'null'
          title: Addressline1
        addressLine2:
          anyOf:
          - type: string
          - type: 'null'
          title: Addressline2
        addressLine3:
          anyOf:
          - type: string
          - type: 'null'
          title: Addressline3
        postalCode:
          anyOf:
          - type: string
          - type: 'null'
          title: Postalcode
        countrySubdivision:
          anyOf:
          - type: string
          - type: 'null'
          title: Countrysubdivision
        locality:
          anyOf:
          - type: string
          - type: 'null'
          title: Locality
        countryCode:
          anyOf:
          - type: string
          - type: 'null'
          title: Countrycode
        countryName:
          anyOf:
          - type: string
          - type: 'null'
          title: Countryname
      type: object
      title: Address
    ErrorResponse:
      properties:
        error:
          type: string
          title: Error
      type: object
      required:
      - error
      title: ErrorResponse
      example:
        error: timeout
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
    HTTPBasic:
      type: http
      scheme: basic