Dolibarr
Configure Dolibarr
Get your Dolibarr API key to connect Order Invoicer
Prerequisites
Before you begin, make sure that:
- You have administrator access to your Dolibarr instance
- The REST API module is enabled
- Your instance is reachable over HTTPS
Get your credentials
Order Invoicer connects to Dolibarr with your instance URL and an API key tied to a user.
Enable the REST API module
- Log in to Dolibarr as an administrator
- Go to Setup > Modules/Applications
- Enable the REST API (web services) module if it isn't already
Generate a user's API key
- Go to Users & Groups and open the user that will be used for the connection
- On the user card, find the API key field
- Click Generate/Initialize the key, then copy it
The API key inherits the associated user's permissions. Use a user that has the needed access to orders and invoices, and keep the key in a safe place.
Enter your credentials in Order Invoicer
In the Dolibarr connection form:
- Dolibarr URL: your instance's address (e.g.
https://my-instance.dolicloud.com) - API Key: the key you copied in the previous step
Click Test connection to verify your credentials before continuing.
Troubleshooting
"Invalid credentials" error
- Check that the REST API module is enabled
- Make sure the key was copied in full, with no spaces
- Check that the associated user has the required permissions
Instance is unreachable
- Check that the URL is HTTPS and publicly reachable
- Make sure the URL has no extra path (e.g.
/index.php)
Support
If you run into difficulties:
- Check the troubleshooting section above
- Contact our support:
contact@orderinvoicer.com