E-Invoice/IRN can’t be partially cancelled. It must be fully cancelled within 24 hours from the time of IRN generation.