Module EInvoicing (Generic, FR, ...): Difference between revisions

Jump to navigation Jump to search
m
mNo edit summary
Tag: 2017 source edit
Tag: 2017 source edit
Line 45: Line 45:
Once your account is created, you must generate credentials to allow Dolibarr to connect to SuperPDP. For this, go into your SuperPDP dashboard, and from the left menu "Applications", click on "New Application" to create a new setup for the application Dolibarr. Choose if you want a setup for Production or for Test (Sandbox). Then select the company and the type of application "confidential" and click "Create".
Once your account is created, you must generate credentials to allow Dolibarr to connect to SuperPDP. For this, go into your SuperPDP dashboard, and from the left menu "Applications", click on "New Application" to create a new setup for the application Dolibarr. Choose if you want a setup for Production or for Test (Sandbox). Then select the company and the type of application "confidential" and click "Create".


Your credential (client_id and client_secret) are created. Go into Dolibarr, into the page to setup the module EInvoice and enter this 2 values and save the data.  
Your credential (client_id and client_secret) are created. Go into Dolibarr, into the page to setup the module EInvoice and enter this 2 values, click on Save to save the data and click on Generate Token to get the security key to exchange with SuperPDP.  


That's all, you are ready to connect to SuperPDP (For Production usage or for Test depending on the choice you made).
That's all, you are connected with SuperPDP (For Production usage or for Test depending on the choice you made).






Note 1: By default, you enter the credentials for a production usage. If you Dolibarr is in eperimental or development mode (MAIN_FEATURES_LEVEL >= 1), you may see a switch to switch between Test and Production usage. However, even if you can, it is seriously not recommended to save both Test and Production credentials in the same Dolibarr instance (you should use one Dolibarr test instance with Test credentials for Test mode and another Dolibarr production instance for Production with Production credential). If you mix the two modes in the same Dolibarr, you may get tests invoices created on your production instance (and the opposite). So fill only test credentials OR production credentials but not both (on a stable instance of Dolibarr, only one setup is possible).
Note 1: By default, you enter the credentials for a production usage. If you Dolibarr is in eperimental or development mode (MAIN_FEATURES_LEVEL >= 1), you may see a switch to switch between Test and Production usage. However, even if you can, it is seriously not recommended to save both Test and Production credentials in the same Dolibarr instance (you should use one Dolibarr test instance with Test credentials for Test mode and another Dolibarr production instance for Production with Production credential). If you mix the two modes in the same Dolibarr, you may get tests invoices created on your production instance (and the opposite). So fill only test credentials OR production credentials but not both (on a stable instance of Dolibarr, only one setup is possible).


= Usage for production =
= Usage for production =

Navigation menu