SUMMER SAVINGS 90% OFF QuickBooks for 3 months* Ends June 27

Buy now
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Work smarter and get more done with advanced tools that save you time. Discover QuickBooks Online Advanced.
jarinanika
Level 1

Item Inventory Add or Modify: 0x80040400: QuickBooks found an error when parsing the provided XML text stream

I am getting the above error Because of  <PurchaseCost> tag. But don't know what I am doing wrong here. If I omit <PurchaseCost> it works. I don't have XML Validator and VERBOSE log doesn't show anything.

<?xml version="1.0" encoding="utf-8"?>
<?qbxml version="13"?>
<QBXML>
<QBXMLMsgsRq onError="stopOnError">
<ItemInventoryAddRq requestID="567897">
<ItemInventoryAdd>
<Name>585928</Name>
<ParentRef><ListID>800004E2-1655395899</ListID></ParentRef>
<SalesDesc >CTC 100</SalesDesc>
<SalesPrice>100</SalesPrice>
<IncomeAccountRef>
<FullName>Sales</FullName>
</IncomeAccountRef>
<COGSAccountRef>
<FullName>Cost of Goods Sold</FullName>
</COGSAccountRef>
<PrefVendorRef>
<ListID >80002369-1532618859</ListID>
</PrefVendorRef>

<PurchaseCost >100</PurchaseCost>

<PurchaseDesc >CTC 100</PurchaseDesc>
<ExpenseAccountRef>
<FullName>Cost of Goods Sold</FullName>
</ExpenseAccountRef>
<AssetAccountRef>
<FullName>Inventory Asset</FullName>
</AssetAccountRef>
</ItemInventoryAdd>
</ItemInventoryAddRq>
<DataExtModRq>
<DataExtMod>
<OwnerID>0</OwnerID>
<DataExtName>SKU</DataExtName>
<ListDataExtType>Item</ListDataExtType>
<ListObjRef>
<FullName>585928</FullName>
</ListObjRef>
<DataExtValue>585233</DataExtValue>
</DataExtMod>
</DataExtModRq>
</QBXMLMsgsRq>
</QBXML>

2 Comments 2
LieraMarie_A
QuickBooks Team

Item Inventory Add or Modify: 0x80040400: QuickBooks found an error when parsing the provided XML text stream

Hi there, @jarinanika.

Thanks for reaching out to us. I'll point you in the right direction to address this concern right away.

 

Which app are you using to import your items? I recommend contacting our Intuit Developer support for this one. They are the experts when it comes to integrating applications or any API concerns.

 

 Here's how:
 

  1. Go to this link: https://help.developer.intuit.com/s/.
  2. Choose QuickBooks Online under What do you need help with?
    Capture.PNG
  3. Click Ask a Question.
  4. Log into your existing Intuit Developer Account or create a new one.
  5. Enter your concern.
  6. Click Ask.


Additionally, you'll want to browse our help articles to find more tips and other resources to help you with your tasks.

 

Please update me on how it goes. I want to make sure everything is taken care of. I'll always be right here if you need assistance with managing your inventories. Have a great day!

jarinanika
Level 1

Item Inventory Add or Modify: 0x80040400: QuickBooks found an error when parsing the provided XML text stream

I am using Web connector for Item import

Need QuickBooks guidance?
Log in to access expert advice and community support instantly.

Need to get in touch?

Contact us