Technically it should be done within 24 hours of purchase (even more technically the same day, but that seems to be the practical applied criteria). Just over the 24 hour you might have a straw to clutch at. Two days later and it’s getting difficult to argue.
Of course, there’s always a chance the bag will just get put through routinely given it’s sealed and no-one will bother to look at the receipt date ...