Auto Repeat Invoice

I’ve got a Auto Repeat setup from a Sales Invoice that is associated with a Delivery Note. The original Invoice was generated from the Delivery Note using “Make->Invoice” from the Delivery Note menu.

However the Invoices generated by the Auto Repeat do not deduct the invoice amount from the Delivery Note. Is there a way to create an Auto Repeat that does retain the relationship to the originating Delivery Note and automatically deducts the Invoice amount from the Note?