diff --git a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/scripts/Delivery_Build.xml b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/scripts/Delivery_Build.xml
index 37a19d1a8fee67ebdd1f926b77978b671d42899c..843fa09a02376ef2ecfdfdaecc5173e10b54fc07 100644
--- a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/scripts/Delivery_Build.xml
+++ b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/scripts/Delivery_Build.xml
@@ -88,7 +88,7 @@ if builder_by_ptype.has_key(delivery_portal_type) :\n
     pay_sheet.activate( tag       = expand_tag\n
                       , after_tag = previous_tag\n
                       , priority  = PRIORITY\n
-                      ).updateAppliedRule( rule_id     = \'default_invoice_rule\'\n
+                      ).updateAppliedRule( rule_reference = \'default_invoice_rule\'\n
                                          , activate_kw = activate_kw\n
                                          )\n
 \n
diff --git a/bt5/erp5_accounting/bt/revision b/bt5/erp5_accounting/bt/revision
index 011b5d345761bd8418fb3835cf514a7ceb80b832..acecfee9f6a48940fe277717833f56c498abd940 100644
--- a/bt5/erp5_accounting/bt/revision
+++ b/bt5/erp5_accounting/bt/revision
@@ -1 +1 @@
-961
\ No newline at end of file
+962
\ No newline at end of file