我一直在研究QuickBooks与python的集成,当从python在QB桌面上创建值时,我遇到了一个错误“QuickBooks在解析提供的XML文本流时发现了一个错误”。 我的xml输入是
<?xml version='1.0' encoding='UTF-8'?>
<?qbxml version="8.0"?>
<QBXML>
<QBXMLMsgsRq onError="stopOnError">
<ItemInventoryAddRq>
<ItemInventoryAdd>
<Name>Pencil</Name>
<IncomeAccountRef>
<FullName>Other Expenses</FullName>
</IncomeAccountRef>
<AssetAccountRef>
<FullName>Inventory Asset</FullName>
</AssetAccountRef>
<COGSAccountRef>
<FullName>Cost of Goods Sold</FullName>
</COGSAccountRef>
</ItemInventoryAdd>
</ItemInventoryAddRq>
</QBXMLMsgsRq>
</QBXML>
我需要知道,为什么会发生这种错误,以及如何克服这种错误
您可以使用qbsdk附带的验证程序应用程序
qbValidator.exe
来获取有关错误的更多详细信息。你可以在这里找到安装和定位它的帮助:https://help.developer.intuit.com/s/article/QBXML-Validator。你知道吗相关问题 更多 >
编程相关推荐