@thelostcoin You might want to check with payroll if some of your pay is in advance.
I once had a role where I was paid monthly on the 18th of the month, but for the whole month e.g paid on 18th October for the 1st to 31st October. Any sick leave/unpaid leave would be deducted from the next...