How to send credit memo against a line on previous invoice
Summary
Unable to specify previous line number for credit memo to apply againstContent
I am sending credit memo against a previous invoice(AR TXN) , The payload given below works fine (Sample only) but when I go in Oracle I see it has distributed the amount between lines. How do I force oracle to apply it against the line. I know the line it should be applied to.
<soapenv:Body>
<typ:createCreditMemo>
<typ:creditMemo>
<cred:PreviousCustomerTransactionId>300100101938398</cred:PreviousCustomerTransactionId>
<cred:BatchSourceSequenceId>7</cred:BatchSourceSequenceId>
<cred:Comments>From SoapUI</cred:Comments>
<cred:CustomerTransactionTypeSequenceId>2</cred:CustomerTransactionTypeSequenceId>
<cred:GlDate>2016-05-24</cred:GlDate>
<cred:LineAmount currencyCode="USD">-4.00</cred:LineAmount>
2