diff --git a/htdocs/compta/paymentbybanktransfer/index.php b/htdocs/compta/paymentbybanktransfer/index.php
index 70379b8285c..1bdbaa33da8 100644
--- a/htdocs/compta/paymentbybanktransfer/index.php
+++ b/htdocs/compta/paymentbybanktransfer/index.php
@@ -102,7 +102,7 @@ print '
';
*/
$sql = "SELECT f.ref, f.rowid, f.total_ttc, f.fk_statut, f.paye, f.type,";
$sql .= " pfd.date_demande, pfd.amount,";
-$sql .= " s.nom as name, s.email, s.rowid as socid, s.tva_intra";
+$sql .= " s.nom as name, s.email, s.rowid as socid, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6";
$sql .= " FROM ".MAIN_DB_PREFIX."facture_fourn as f,";
$sql .= " ".MAIN_DB_PREFIX."societe as s";
if (empty($user->rights->societe->client->voir) && !$socid) {
@@ -149,6 +149,15 @@ if ($resql) {
$thirdpartystatic->name = $obj->name;
$thirdpartystatic->email = $obj->email;
$thirdpartystatic->tva_intra = $obj->tva_intra;
+ $thirdpartystatic->siren = $obj->idprof1;
+ $thirdpartystatic->siret = $obj->idprof2;
+ $thirdpartystatic->ape = $obj->idprof3;
+ $thirdpartystatic->idprof1 = $obj->idprof1;
+ $thirdpartystatic->idprof2 = $obj->idprof2;
+ $thirdpartystatic->idprof3 = $obj->idprof3;
+ $thirdpartystatic->idprof4 = $obj->idprof4;
+ $thirdpartystatic->idprof5 = $obj->idprof5;
+ $thirdpartystatic->idprof6 = $obj->idprof6;
print '