Fix this:
<PurchaseDesc>Apple Watch (not Sport)</PurchaseDesc>
<PurchaseDesc>50.00</PurchaseDesc>
Anytime you get this error message:
0x80040400: QuickBooks found an error when parsing the provided XML text stream.
The first thing you should do is look at your XML closely. And then run it through the XML Validator
tool included with the QuickBooks SDK. It tells you exactly what's wrong:
Line: 15
LinePos: 25
Src Text: <PurchaseDesc>50.00</PurchaseDesc>
Reason: Element content is invalid according to the DTD/Schema.
Expecting: PurchaseCost, PurchaseTaxCodeRef, ExpenseAccountRef, PrefVendorRef.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…