diff --git a/product/ERP5/Document/Invoice.py b/product/ERP5/Document/Invoice.py
index 7b40fd51091049541e5ccfc1932d9b7576ab917a..70ab14c459da054836476731d290348c4c2ae1ca 100755
--- a/product/ERP5/Document/Invoice.py
+++ b/product/ERP5/Document/Invoice.py
@@ -185,6 +185,7 @@ class Invoice(AccountingTransaction):
           , id = payment_id
           , source = self.getSource()
           , reference = self.getReference()
+          , resource = self.getResource()
           , start_date = self.getStartDate()
           , source_payment = self.getSourcePayment()
           , source_section = self.getSourceSection()