Topic: Error 0x80040400

Hi All,

I'm trying to import data into QB ver 10. but i get error 0x80040400
"QuickBooks found an error when parsing the provided XML text stream."

I send following XML to the Quickbooks:

<?xml version="1.0"?>
<?qbxml version="3.0"?>
<QBXML>
  <QBXMLMsgsRq onError="continueOnError">
    <InvoiceAddRq requestID="76798">
      <InvoiceAdd>
        <CustomerRef>
          <FullName>test test</FullName>
        </CustomerRef>
        <ARAccountRef>
          <FullName>Accounts receivable</FullName>
        </ARAccountRef>
        <TemplateRef>
          <FullName>test Invoice</FullName>
        </TemplateRef>
        <TxnDate>2010-10-21</TxnDate>
        <RefNumber>76798</RefNumber>
        <BillAddress>
          <Addr1>addess 1</Addr1>
          <Addr2>address 2</Addr2>
          <Addr3>address 3</Addr3>
          <Addr4>address 4</Addr4>
        </BillAddress>
        <ShipAddress>
          <Addr1>address 11</Addr1>
          <Addr2>address 12</Addr2>
          <Addr3>address 13</Addr3>
          <Addr4>address 14</Addr4>
        </ShipAddress>
        <PONumber>my name</PONumber>
        <TermsRef>
          <FullName>NET 20</FullName>
        </TermsRef>
        <SalesRepRef>
          <FullName>name</FullName>
        </SalesRepRef>
        <FOB>name</FOB>
        <ShipDate>2010-09-29</ShipDate>
        <ShipMethodRef>
          <FullName>Reddaway</FullName>
        </ShipMethodRef>
        <Memo>Orders : 76798</Memo>
        <InvoiceLineAdd>
          <ItemRef>
            <FullName>Per M</FullName>
          </ItemRef>
          <Desc>description</Desc>
          <Quantity>2500</Quantity>
          <Rate>0.075</Rate>
          <Amount>187.50</Amount>
        </InvoiceLineAdd>
        <InvoiceLineAdd>
          <ItemRef>
            <FullName>Freight</FullName>
          </ItemRef>
          <Desc>Reddaway</Desc>
          <Quantity>1</Quantity>
          <Rate>85.64</Rate>
        </InvoiceLineAdd>
      </InvoiceAdd>
    </InvoiceAddRq>
  </QBXMLMsgsRq>
</QBXML>

Where is the error in sended XML ?
I cannot understand what is incoorect in XML data, which is send to QB sad

Thanks

Re: Error 0x80040400

Post the Web Connector log file in VERBOSE mode.

Re: Error 0x80040400

This my code for sending of XML data to the QB:
The input Xml is in my first post

Dim qbxmlcom As QBXMLRP2Lib.RequestProcessor2
Dim copen As Boolean

qbxmlcom = New QBXMLRP2Lib.RequestProcessor2

Try
   qbXMLCOM.OpenConnection("FTIQuickbooks", "FTI Integration")
   copen = True
   
   'Begin a session
    qbXMLTicket = qbxmlcom.BeginSession(CompanyFilename, QBXMLRPLib.QBFileMode.qbFileOpenDoNotCare)
   
    'Process the XML
     OutXMLString = qbxmlcom.ProcessRequest(qbXMLTicket, InXMLString)
               
     'End the session
     qbxmlcom.EndSession((qbXMLTicket))

Catch ex As System.Runtime.InteropServices.COMException
   
     'Get error details here

Re: Error 0x80040400

Are you that's the request you're sending? Can you post the full response, or the full code?

Re: Error 0x80040400

buspar

Re: Error 0x80040400

buy buspar

Re: Error 0x80040400

buy aciclovir buy generic phenergan trazodone 50mg tablets buy female viagra online vardenafil

Re: Error 0x80040400

buy aciclovir buy generic phenergan trazodone 50mg tablets buy female viagra online vardenafil

Re: Error 0x80040400

buspar

Re: Error 0x80040400

buspar 10mg

Re: Error 0x80040400

buspar 10mg

Re: Error 0x80040400

buspar 10 mg

Re: Error 0x80040400

buspar 10 mg

Re: Error 0x80040400

buspirone 10mg

Re: Error 0x80040400

furosemide doxycycline

Re: Error 0x80040400

advair inhalers

Re: Error 0x80040400

advair inhalers

Re: Error 0x80040400

antibiotic cipro no prescription lasix amoxicillin motilium advair

Re: Error 0x80040400

buy furosemide order doxycycline 100mg without prescription

Re: Error 0x80040400

doxycycline 100 mg furosemide 40 mg tablets online

Re: Error 0x80040400

doxycycline 100 mg furosemide 40 mg tablets online

Re: Error 0x80040400

lasix 20 motilium amoxicillin buy advair hfa inhaler generic cipro

Re: Error 0x80040400

advair buy amoxicillin online cipro online motilium buy lasix without prescription

Re: Error 0x80040400

cipro online motilium over the counter advair hfa amoxicillin lasix without a prescription

Re: Error 0x80040400

lasix buy generic advair cipro online motilium domperidone amoxicillin 400mg