Hi,
In standard, you can have the check based on invoice date also. Go to OLMR - Incoming Invoice - Set Check for Duplicate Invoices. Here, maintain the "invoice date" check also as shown below:
Now, system will check for duplicate invoice based on reference, as well as invoice date combination.
Regards,
AKPT