diff --git a/htdocs/societe/class/societe.class.php b/htdocs/societe/class/societe.class.php
index 99d764112392868c6e9aeccfd76cdd60e450c754..8e5622cde77f539cd9282c8b21b9773a210c9697 100644
--- a/htdocs/societe/class/societe.class.php
+++ b/htdocs/societe/class/societe.class.php
@@ -3103,6 +3103,7 @@ class Societe extends CommonObject
 		if ($resql)
 		{
 			$outstandingBill = 0;
+			require_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
 			$facturestatic=new Facture($this->db);
 			while($obj=$this->db->fetch_object($resql)) {
 				$facturestatic->id=$obj->rowid;