Module Pappers - Third-party Autofill

From Dolibarr ERP CRM Wiki
Jump to navigation Jump to search


Information

Module name Pappers Autofill
Editor / Editeur Pierre Couy - https://pierre-couy.dev
Download or buy page / Page achat ou téléchargement Dolistore
Status / Statut / Estado Stable
Prerequisites / Prérequis Dolibarr min version 11.0.0   
Last update date / Date mise à jour fiche / Fecha última actualización 2024-08-26
Note / Nota

Features

Automatically pre-fills third-party create/modify form. A new field is added above the form. When a company name is typed into this field, a search on the pappers.fr website is performed. The user is the able to click on a search result to auto-fill the third-party form fields. This module can work either with or without an API key.

Without an API Key

This module works out of the box without an API key, but some data (including the VAT number) will not be available. The module will use all data available from the search results. Any other informations will require an API key. The Pappers website allows up to 100 searches per day per IP address (quotas are applied based on the users' IP addresses)

With an API Key

Creating an API Key is free and allows retrieving more details on a specific company. A newly created account includes up to 100 free requests before requiring a payment. This module only uses one request after the user has clicked on a search result. The API key must be set-up in the module's configuration (see "Setup" section), and quotas to the API key are applied instance-wide.

Install

  • Download archive file of module (.zip file) from web site www.dolistore.com or from any other source.
  • Install module into the /custom folder of Dolibarr:
    • Go to Home - Setup - Modules - Deploy/install external app/module
    • Upload the file. Note: If it fails because upload from this page has been locked by your web hosting provider, you can manually unzip the file into the /custom directory from command line: Go into the /custom directory and uncompress file with command unzip modulefile.zip then check that the directory with the nameof the module is inside the /custom directory. If into a subdirectory, just move it into /custom.
  • Module should be ready to be activated and used.

Setup

To use this module, you must first enable it using an administrator account, via the menu option "Home - Setup - Modules".

Choose the tab where the module is listed. Then click on "Activate".

The module is now activated.

If a cog icon appears Cog circle.svg on module thumb or at end of the line of the module, click on it to access the setup page specific to the module.

Pappers API key (optional)

Create the API key

Create an account on Pappers, then go to your account to create and copy your API key.

Configure the API key in Dolibarr

In the module-specific settings page (accessed by clicking the "Cog" icon from the module list), paste your Pappers API key in the dedicated field.