I added it to the validate call of sl_eob_invoice.php
I’m not sure how this fixed things to be honest as I thought this was only called on a “submit” and this seems to fix the problem without clicking any buttons (i.e. I can load multiple invoices now without touching them where I couldn’t do that before).