<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.dolibarr.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=AXELTI54</id>
	<title>Dolibarr ERP CRM Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.dolibarr.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=AXELTI54"/>
	<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php/Special:Contributions/AXELTI54"/>
	<updated>2026-11-11T22:57:37Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.17</generator>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Mass_imports_-_Migrate_my_Data_To_Dolibarr&amp;diff=55718</id>
		<title>Mass imports - Migrate my Data To Dolibarr</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Mass_imports_-_Migrate_my_Data_To_Dolibarr&amp;diff=55718"/>
		<updated>2023-02-01T01:00:06Z</updated>

		<summary type="html">&lt;p&gt;AXELTI54: /* Import third parties and contacts */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- BEGIN origin interlang links --&amp;gt;&lt;br /&gt;
&amp;lt;!-- You can edit this section but do NOT remove these comments&lt;br /&gt;
     Links below will be automatically replicated on translated pages by PolyglotBot --&amp;gt;&lt;br /&gt;
[[fr:Imports_de_masse]]&lt;br /&gt;
[[es:Importaciones]]&lt;br /&gt;
[[zh:批量导入]]&lt;br /&gt;
[[ja:一括インポート]]&lt;br /&gt;
&amp;lt;!-- END interlang links --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Admin_en]]&lt;br /&gt;
[[Category:ImportsEn]]&lt;br /&gt;
{{TemplateDocDevEn}}&lt;br /&gt;
&lt;br /&gt;
Following a new installation of Dolibarr, the database is empty. It is a common requirement to import existing data (suppliers, customers, products etc.) instead of entering the data manually.&lt;br /&gt;
There are several possible methods of importing data. The following chapters provide information about this.&lt;br /&gt;
Information about exporting data is described on the page [[Module Exports En|Module Exports]].&lt;br /&gt;
&lt;br /&gt;
=[[File:Art.png]] Using the Dolibarr Import Module=&lt;br /&gt;
The recommended method for importing data is to use the Dolibarr [[Module Imports En|Module Imports]]. You will find a wizard that will guide you step by step in importing your data. You&#039;ll find more information on the page [[Module Imports En|Module Imports]].&lt;br /&gt;
&lt;br /&gt;
For import scenarios not covered by the built-in module, the following alternatives are also possible.&lt;br /&gt;
&lt;br /&gt;
=[[File:OpenOffice.png]] Using OpenOffice=&lt;br /&gt;
You can use OpenOffice, which is able to insert the contents of a table into a database such as Mysql Dolibarr. Here is a tutorial on this method: [[Import data with OpenOffice]]&lt;br /&gt;
&lt;br /&gt;
=[[File:Outils.png]] Developing your own import script=&lt;br /&gt;
&lt;br /&gt;
==Import third parties and contacts==&lt;br /&gt;
We must differentiate a third party from a physical contact (person).&lt;br /&gt;
The third party information contains all the details pertaining to billing (whether companies, private individuals or associations).&lt;br /&gt;
Third party details are compulsory whereas physical contact details are optional.&lt;br /&gt;
Contacts are just a directory of physical persons/addresses related to the third party.&lt;br /&gt;
In the case of a third party that is a company, there may be several additional physical contacts.&lt;br /&gt;
In the case of an individual, there will be only one physical contact which would be identical to the third party.&lt;br /&gt;
&lt;br /&gt;
The import of the third parties inserts rows in the table [[Table llx_societe]]. Ensure that the mandatory fields contain data.&lt;br /&gt;
&lt;br /&gt;
*Name: Must contain the name of the company&lt;br /&gt;
*Client: Must contain 1 if third party is a client, 2 if prospect, 0 otherwise.&lt;br /&gt;
*Supplier: Must contain 1 if its a supplier, 0 otherwise&lt;br /&gt;
&lt;br /&gt;
The import of physical contacts inserts rows in the table [[Table llx_socpeople]]. Ensure that the mandatory fields contain data.&lt;br /&gt;
&lt;br /&gt;
*Name: Must contain the surname of the contact&lt;br /&gt;
*Firstname: Must contain the first name of the contact&lt;br /&gt;
*fk_soc: Must contain the id of the third party from table [[Table llx_societe]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Special Notes for certain import fields when you are importing Excel files (CSV or XLSX)&lt;br /&gt;
&lt;br /&gt;
* Field Type &#039;&#039;&#039;Date&#039;&#039;&#039;  The default formatting abilities in the US Excel can be used (i.e. 2022/01/19 or 2022-01-19).  You must highlight the column in Excel and with &amp;lt;CRTL&amp;gt;&amp;lt;1&amp;gt; you get to the formatting menu.  From there click &amp;quot;Date&amp;quot; and choose format &amp;quot;2022-01-19&amp;quot;.  Afterwards click &amp;quot;Custom&amp;quot; and you will see the format information &amp;quot;yyyy-mm-dd,-@&amp;quot;.  Delete the dashes and the character after dd. Now everything will show in the Excel column as needed for Import.&lt;br /&gt;
* Field Type &#039;&#039;&#039;Country&#039;&#039;&#039;  Although Dolibarr displays fully spelled out name such as &amp;quot;United States&amp;quot;, Dolibarr only imports the two-digit Country code.  A complete list of the countries in the world can be found here:  [https://laendercode.net/en/2-letter-list.html &#039;&#039;&#039;Country Codes&#039;&#039;&#039;]&lt;br /&gt;
* Field Type &#039;&#039;&#039;State/Province&#039;&#039;&#039;  Similar to Country Code (in particular US states) which are displayed for example as &amp;quot;MA - Massachusetts&amp;quot;, Dolibarr only wants the two-digit State Code.  A list of US State codes can be found here:  &#039;&#039;&#039;[https://www.faa.gov/air_traffic/publications/atpubs/cnt_html/appendix_a.html United States].  | [https://www.ncbi.nlm.nih.gov/books/NBK7254/ Canada] | [https://kb.bullseyelocations.com/article/42-australia-state-codes Australia] | [https://brazil-help.com/brazilian_states.htm Brazil]  | [https://kb.bullseyelocations.com/article/67-mexico-state-codes Mexico]&#039;&#039;&#039;  and France is a 3 digit code &#039;&#039;&#039;[https://kb.bullseyelocations.com/article/57-france-state-codes France]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Import invoices==&lt;br /&gt;
To complete...&lt;br /&gt;
&lt;br /&gt;
==Import products==&lt;br /&gt;
To complete...&lt;br /&gt;
&lt;br /&gt;
==Put into practice==&lt;br /&gt;
Page [[Script development]] explains how to create your own Dolibarr script.&lt;br /&gt;
&lt;br /&gt;
==Some tutorials / examples submitted by the community==&lt;br /&gt;
Some scripts examples are available into Dolibarr snapshot distribution in directory &#039;&#039;&#039;/dev/examples&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Other examples are provided by contributors:&lt;br /&gt;
&lt;br /&gt;
*[[Importing customers automatically]]&lt;br /&gt;
*...&lt;br /&gt;
&lt;br /&gt;
=Related video=&lt;br /&gt;
(vocal in french but subtitles are available and review in this language)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube width=&amp;quot;200&amp;quot; height=&amp;quot;120&amp;quot;&amp;gt;WAv9wHIjy9c&amp;lt;/youtube&amp;gt;&lt;/div&gt;</summary>
		<author><name>AXELTI54</name></author>
	</entry>
</feed>