Feature/Fonction/Funcionalidad
This script import PDF invoices provided by OVH into Dolibarr. If no corresponding supplier invoice are found into Dolibarr for each OVH invoice, the script ask to create it. Note that invoices are create with draft status so you can delete or validate them from Dolibarr.
Ce script importe les factures PDF fournies par OVH dans Dolibarr. Si aucune facture fournisseur dans Dolibarr n'est trouvé pour chaque facture OVH, le script demande si il faut la créer. Noter que les factures sont crées avec le statut "brouillon" ainsi vous pouvez les supprimer ou valider dans Dolibarr après l'import.
Setup/Configuration
This script use same OVH connexion information to connect to OVH than the SMS feature, so you must fill NIC handle, password and URL onto the SMS tab into OVH module setup page. Ce script utilise les mêmes informations de connexion pour se connecter à OVH que les fonctions SMS, aussi il faut avant avoir remplit le NIC handle, mot de passe et URL sur l'onglet SMS de la configuration du module OVH.
Syntax/Syntaxe/Sintaxis
php importovhinvoice.php dolibarrlogin nameforovhsupplier
- With value "dolibarrlogin" that is login to use to create invoices into Dolibarr.
- With value "nameforovhsupplier" that is name/ref of thirdparty into Dolibarr where to link created invoices to.
Localisation/Localización
Script provided with Module OVH (SMS, ClickToDial, ...).
Script fourni par le Module OVH (SMS, ClickToDial, ...) Fr.
- scripts/ovh/importovhinvoice.php