Invoice raised by you is entered in your ledgers on the day you raise it.
Invoice received by you is entered in your ledgers on the day you pay it (but if you receive it before month end and don't pay until the next month, you'd accrue the outstanding charge over month end).