You don’t need to file a claim with the company at the same time as the cancellation. The deadline in Spain is five years.