A retrospective planning application for cash machine installed outside a shop in Ossett has been refused.