Upon accounting validation and according to the value of the LETAUTCNO - Auto match inv ->credit note parameter (CPT chapter, MTC group), the credit memo and invoice can or cannot be matched together.
Depending on the value of theINVCAN - Cancellation invoice parameter (TC chapter, INV group), thedocument in progress can be of the 'Cancellation invoice' type. In this case, the credit memo and invoice are matched, regardless of the value of the LETAUTCNO parameter.