DynDeveloper.com

DynDeveloper.com

Sign Up Now!Log In
Falk0r 10/25/2016 12:10:13 PM

eConnect Sales Order Passing Detailed Tax

I am currently attempting to pass taxes via eConnect but keep getting the following error.

"Error Description = Payment total does not match line deposit + credit card payment total"

See XML File Below.

<?xml version="1.0" encoding="UTF-8"?>
<eConnect xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <SOPTransactionType>
      <eConnectProcessInfo xsi:nil="true" />
      <taRequesterTrxDisabler_Items xsi:nil="true" />
      <taUpdateCreateItemRcd xsi:nil="true" />
      <taUpdateCreateCustomerRcd xsi:nil="true" />
      <taCreateCustomerAddress_Items xsi:nil="true" />
      <taSopSerial_Items xsi:nil="true" />
      <taSopLotAuto_Items xsi:nil="true" />
      <taSopLineIvcInsert_Items>
         <taSopLineIvcInsert>
            <SOPTYPE>2</SOPTYPE>
            <CUSTNMBR>ADVANCED0001</CUSTNMBR>
            <DOCDATE>7/11/2016 12:00:00 AM</DOCDATE>
            <LOCNCODE>Warehouse</LOCNCODE>
            <ITEMNMBR>1-A3261A</ITEMNMBR>
            <UNITPRCE>16000</UNITPRCE>
            <XTNDPRCE>16000</XTNDPRCE>
            <QUANTITY>1</QUANTITY>
            <DOCID>STDORD</DOCID>
         </taSopLineIvcInsert>
      </taSopLineIvcInsert_Items>
      <taSopLineIvcInsertComponent_Items xsi:nil="true" />
      <taSopTrackingNum_Items xsi:nil="true" />
      <taSopCommissions_Items xsi:nil="true" />
      <taSopLineIvcTaxInsert_Items>
         <taSopLineIvcTaxInsert>
            <SOPTYPE>2</SOPTYPE>
            <CUSTNMBR>ADVANCED0001</CUSTNMBR>
            <SALESAMT>16000</SALESAMT>
            <TAXDTLID>USASTE-PS6N0</TAXDTLID>
            <STAXAMNT>960</STAXAMNT>
         </taSopLineIvcTaxInsert>
      </taSopLineIvcTaxInsert_Items>
      <taCreateSopPaymentInsertRecord_Items xsi:nil="true" />
      <taSopUserDefined xsi:nil="true" />
      <taSopDistribution_Items xsi:nil="true" />
      <taAnalyticsDistribution_Items xsi:nil="true" />
      <taSopMultiBin_Items xsi:nil="true" />
      <taSopHdrIvcInsert>
         <SOPTYPE>2</SOPTYPE>
         <DOCID>STDORD</DOCID>
         <TAXSCHID>USASTE-PS6N0</TAXSCHID>
         <SHIPMTHD>GROUND</SHIPMTHD>
         <TAXAMNT>960</TAXAMNT>
         <LOCNCODE>Warehouse</LOCNCODE>
         <DOCDATE>7/11/2016 12:00:00 AM</DOCDATE>
         <CUSTNMBR>ADVANCED0001</CUSTNMBR>
         <ShipToName>Warehouse</ShipToName>
         <ADDRESS1>129 Church Street</ADDRESS1>
         <CITY>New Haven</CITY>
         <STATE>CT</STATE>
         <ZIPCODE>06511</ZIPCODE>
         <COUNTRY>USA</COUNTRY>
         <SUBTOTAL>16000</SUBTOTAL>
         <DOCAMNT>16960</DOCAMNT>
         <PYMTRCVD>16960</PYMTRCVD>
         <BACHNUMB>Batch 1</BACHNUMB>
         <DEFPRICING>1</DEFPRICING>
      </taSopHdrIvcInsert>
      <taSopToPopLink xsi:nil="true" />
      <taSopUpdateCreateProcessHold xsi:nil="true" />
      <taCreateSOPTrackingInfo xsi:nil="true" />
      <taMdaUpdate_Items xsi:nil="true" />
   </SOPTransactionType>
</eConnect>

Version: GP 2013
Section: Dynamics GP, eConnect