Module Exports En

From Dolibarr Open Source ERP CRM Wiki

Return to user
documentation index

File Doc user.png

Return to
list of modules index


Numero/ID of module 240
User doc. of module This page
Developer doc. of module This page



To export Dolibarr data, use the Export module. Bulk imports are described in the page Mass imports.


This module is included with the Dolibarr distribution, so there is no need to install it.


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 an icon appears at end of the line for the module, click on it to access the setup page specific to the module.


  1. Go to Menu-> Tools -> New Export and choose a predefined dataset.
  2. Choose a predefined (by you) export profile or manually choose the fields you want to include in the export file.
  3. Add any filters you may wish to place on the values of those fields.
  4. Change the position/column of the fields in the export file. You may save the selections you have made as an export profile/template for future use.
  5. Choose a format for the export file from the dropdown list. Possible formats are CSV / TSV (Text files) or XLS 2007 / 95 (native Excel files). Click on Generate.

After few seconds, a link to the file is shown for download.

Outils.png Develop your own export script

If there is no predefined dataset that matches your needes and you have program knowledge, you can also develop your own script. Any language can be used if this language can read a database. You just have to read the table of the entity you want to export and build a file, using the format of your choice, from any fields available in table. The only thing to know is which table contains data you want to export. To help you, the page Table SQL lists all the tables used in Dolibarr.

Note that versions above 2.6 allow "admin" users to see the SQL code that was used to build the export file content when using the Export module. This is shown at the moment of file generation.

Personal tools
  • Ask to to request an account to contribute to this documentation
  • Log in
In other languages
No translation in Deutsch.
No translation in Italian.
No translation in Greek.
No translation in &lt;multilanguagemanager_cn&gt;.

Social networks
Follow us on Google+ Follow us on Facebook Follow us on LinkedIn Follow us on Twitter