cancel
Showing results for 
Search instead for 
Did you mean: 
jayantsr
Level 1

0x80040400: QuickBooks found an error when parsing the provided XML text stream.

I am getting the above error Because of  <RefNumber> tag. But don't know what I am doing wrong here.

 

 

<?xml version="1.0" encoding="utf-8"?>
<?qbxml version="13.0"?>
<QBXML>
<QBXMLMsgsRq onError="stopOnError">
<VendorCreditAddRq requestID="31882">
<VendorCreditAdd>
<VendorRef>
<ListID>100-1003450</ListID>
<FullName>Brescome Barton Inc.</FullName>
</VendorRef>
<APAccountRef>
<FullName>Accounts Payable</FullName>
</APAccountRef>
<TxnDate>2020-09-18</TxnDate>
<Memo>#TEST5568980 | Credit Use</Memo>
<RefNumber>TEST5568980</RefNumber> <!-- optional -->
<ExpenseLineAdd> <!-- optional, may repeat -->
<AccountRef>
<FullName>Inventory-RMS</FullName>
</AccountRef>
<Amount>135.96</Amount>
</ExpenseLineAdd>
</VendorCreditAdd>
</VendorCreditAddRq>
</QBXMLMsgsRq>
</QBXML>

Solved
Best answer September 18, 2020

Best Answers
JonpriL
Moderator

0x80040400: QuickBooks found an error when parsing the provided XML text stream.

Hello @jayantsr,

 

The error message you received is related to the information sent by your application provider and QuickBooks is unable to recognize it. Let me share some information and guide where you can contact to resolve this error message.

 

To start with, it is with the special characters or field that has more characters than what QuickBooks can support. To learn more about this error message, here a link you can visit for reference: Fix common Web Connector errors in QuickBooks Desktop.

 

With this, I'd recommend contacting the support of your application provider. From there, let them know about the error message so a specialist can help and guide you on how to resolve it.

 

Lastly, I've also included this helpful article for ideas in case you're in need to start using other versions of web connectors you can use: Set up QuickBooks Web Connector.

 

If there's anything else that I can help you with, let me know in the comments. I'll be here to lend a hand.

View solution in original post

3 Comments 3
JonpriL
Moderator

0x80040400: QuickBooks found an error when parsing the provided XML text stream.

Hello @jayantsr,

 

The error message you received is related to the information sent by your application provider and QuickBooks is unable to recognize it. Let me share some information and guide where you can contact to resolve this error message.

 

To start with, it is with the special characters or field that has more characters than what QuickBooks can support. To learn more about this error message, here a link you can visit for reference: Fix common Web Connector errors in QuickBooks Desktop.

 

With this, I'd recommend contacting the support of your application provider. From there, let them know about the error message so a specialist can help and guide you on how to resolve it.

 

Lastly, I've also included this helpful article for ideas in case you're in need to start using other versions of web connectors you can use: Set up QuickBooks Web Connector.

 

If there's anything else that I can help you with, let me know in the comments. I'll be here to lend a hand.

SDWoods619
Level 1

0x80040400: QuickBooks found an error when parsing the provided XML text stream.

Same issue but with ReceivePaymentAddRq and everything looks 100% perfect but seems to come back as XML text stream error.

 

Here is the Example that was used.

 

<?xml version="1.0" encoding="utf-8"?>
<?qbxml version="15.0"?>
<QBXML>
<QBXMLMsgsRq onError="continueOnError">
<ReceivePaymentAddRq>
<ReceivePaymentAdd>
<CustomerRef>
<ListID>8000063C-1513293544</ListID>
<FullName>Jon & Don's Handmade Yummies</FullName>
</CustomerRef>
<TxnDate>2022-06-17</TxnDate>
<RefNumber>528462CDF-E404F42A-F</RefNumber>
<TotalAmount>507.70</TotalAmount>
<PaymentMethodRef>
<ListID>40000-1115828238</ListID>
<FullName>Visa</FullName>
</PaymentMethodRef>
<Memo></Memo>
<AppliedToTxnAdd>
<TxnID>2FFC56-1654203834</TxnID>
<PaymentAmount>507.70</PaymentAmount>
</AppliedToTxnAdd>
</ReceivePaymentAdd>
</ReceivePaymentAddRq>
</QBXMLMsgsRq>
</QBXML>

 

Everything seems to be perfect and should have recorded the payment directly to the invoice...

MaryLandT
Moderator

0x80040400: QuickBooks found an error when parsing the provided XML text stream.

Hi there, SDWoods619.

 

We have a different team who currently handles a request for ReceivePaymentAddRq. You can post your concern to our Intuit Developer Team where they manage coding, third-party integration, and programming.

 

Let me guide you on how get in touch with them. They can help send a ReceivePaymentAddRq request to create a payment for an invoice in QuickBooks. 

 

Here's how to contact them.

 

  1. Go to this link: https://developer.intuit.com/.
  2. Scroll down, then click Contact us under the Intuit column.
  3. Click Ask A Question.
  4. Select your subscription.
  5. Click Sign In and enter your QuickBooks Online log-in credentials.
  6. Click Ask a Question again.
  7. Enter your question and click Ask.

 

Your question will look like this once you post to their website: QuickBooks rejects ReceivePaymentAddRq requests

 

Also, I'm adding this article to help you organize your cash flow, and track sales, receivables, and profitability more accurately: Learn the different ways you can track customer transactions in QuickBooks Desktop.

 

Keep in touch with me if there's anything else you need by commenting below. I'm always around to answer your questions.

Need to get in touch?

Contact us