Invoice creation request creating both credit memo and debit memo
I have created one invocie correction request.
First line item is for credit, showing positive value
Second line item is for debit, showing negative value.
When I created billing document from this invoice correction request, I got a credit memo for 1st line item and debit memo for 2nd line item separately.
Ideally i should be getting only a single credit memo for the difference in pricing (positive value).
What could be the reason for this?