Hi,
I'm trying to apply a payment to an existing invoice, I do this by using taCreateSopPaymentInsertRecord, the problem is that if I do not specify a taSopHdrIvcInsert eConnect give error.
How can I apply a payment without creating a new (empty) invoice?
This is the relevant session of my XML, in the taCreateSopPaymentInsertRecord I do specify the real invoice number (5353000057) and in the taSopHdrIvcInsert I have to create a fake (empty) invoice (INV00000000000118)
<taCreateSopPaymentInsertRecord_Items>
<taCreateSopPaymentInsertRecord>
<SOPTYPE>3</SOPTYPE>
<SOPNUMBE>5353000057</SOPNUMBE>
<CUSTNMBR />
<CUSTNAME>FLAWLESS</CUSTNAME>
<DOCDATE>3/2/2019</DOCDATE>
<DOCAMNT>377.5000</DOCAMNT>
<CHEKBKID>TDBANK-OPERATE </CHEKBKID>
<CHEKNMBR>8585</CHEKNMBR>
<AUTHCODE>TEST</AUTHCODE>
<PYMTTYPE>5</PYMTTYPE>
</taCreateSopPaymentInsertRecord>
</taCreateSopPaymentInsertRecord_Items>
<taSopUserDefined xsi:nil="true" />
<taSopDistribution_Items xsi:nil="true" />
<taAnalyticsDistribution_Items xsi:nil="true" />
<taSopMultiBin_Items xsi:nil="true" />
<taSopHdrIvcInsert>
<SOPTYPE>3</SOPTYPE>
<DOCID>DIST-INV </DOCID>
<SOPNUMBE>INV00000000000118</SOPNUMBE>
<LOCNCODE>BR </LOCNCODE>
<DOCDATE>3/2/2019</DOCDATE>
<CUSTNMBR />
<CUSTNAME>FLAWLESS</CUSTNAME>
<PYMTRCVD>377.5000</PYMTRCVD>
<BACHNUMB>MyBatch</BACHNUMB>
</taSopHdrIvcInsert>
*This post is locked for comments