In order to get an annulment, you must apply to the court and show that there was a defect in either the formal or essential validity of the marriage. The formal validity of the marriage is under provincial jurisdiction and refers to a defect in the marriage ceremony.