How to create credit memo for each line on referenced invoice using SOAP web service
Summary
Not able to specify previous invoice line number(s) for credit memo to apply againstContent
I'm trying to create a credit memo using SOAP webservice against a previous invoice(AR TXN) that has multiple lines, payload given below works fine but doesn't give the option to distribute the amount for each line. I have each line info beforehand, How can I somehow force assign the values to the lines I have from the invoice.
Currently the service only allows one credit memo line and automatically distributes the amount to the previous invoice lines.
<soapenv:Body>
<typ:createCreditMemo>
<typ:creditMemo>
1