[FIX] Test on invoice_id instead of id