The rule says as follows:
The advance tickets purchased can be cancelled prior to the day of journey at the ticket issuing station or journey originating station while on the day of journey, tickets can be cancelled only at journey originating station.