Hello,
the system automatically clears the FI documents of cancelled and cancellation invoice only whenver possible (performing the so called New cancellation procedure). The SAP notes 1259505 and 309208 listing possible causes for missing automatic clearing.
Best regards,
Ivano.