Hello Gurus
I managed to create a credit memo using RERAOP -one time posting . In this way I can create this as an independent posting from the contract though I can still relate to contract items.
I created the credit conditions for customer and assigned the flow type to credit posting activity for customer.
Much Regards
David