Automatically find ids for partial refunds