Skip to main content

Lookup partner via an API on the SIRENE directory

Project description

Beta License: AGPL-3 OCA/l10n-france Translate me on Weblate Try me on Runboat

This modules updates partner fields via the SIRENE database <https://data.opendatasoft.com>. It uses the dataset economicref-france-sirene-v3 of opendatasoft <https://public.opendatasoft.com/explore/dataset/economicref-france-sirene-v3/information/>. It computes a theorical VAT number from the SIREN and then checks the validity of the VAT number on VIES (if invalid, the VAT number is discarded).

The module supports 2 scenarios:

  • update of an existing partner via the menu Action > SIREN Lookup,

  • creation of a new partner: start by setting the VAT number field, the SIREN field or SIRET field and Odoo will set the other fields. For usability purposes, it also work when you write the VAT number, SIREN or SIRET in the company name field.

In the 2 scenarios, it will update the following fields:

  • Company Name

  • Street

  • Postal Code

  • City

  • Country

  • SIREN and NIC (i.e. SIRET)

  • VAT Number

  • Language (creation scenario only)

Table of contents

Installation

It’s recommended to install python-stdnum>=1.18 for SIRET support.

Usage

To update an existing parter, go to the partner form view and click on Action > SIREN Lookup.

By default, the search field is filled with Company name. To get more accurate results, you may want to add the City name where the company is registered. Then click on Lookup.

A list of company is displayed. You may want to click on one in order to see corresponding information or directly selecting company from tree view. Once a company is selected, the partner information is updated and a message is logged in the chatter.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Le Filament

  • Akretion

Contributors

Other credits

The development of this module has been financially supported by:

  • Le Filament

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

Current maintainers:

remi-filament alexis-via

This module is part of the OCA/l10n-france project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

File details

Details for the file odoo_addon_l10n_fr_siret_lookup-16.0.1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_l10n_fr_siret_lookup-16.0.1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 784c7e068cfd28e4580eedd287ec038ccab50816b9dc6864b3d6bbd5174b19b8
MD5 a293cffae27f343bdafb9e3781a5f7eb
BLAKE2b-256 d9c1e139e02f17f2ee4c9d2a0fd645df7533a6005834a25eb76412677e531589

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page