我们的基于网络的软件使用Web连接器与我们客户的桌面Quickbooks进行通信。
对于某个特定客户,我的软件发送了以下QBXML:
<?xml version="1.0" encoding="utf-8"?>
<?qbxml version="8.0"?>
<QBXML>
<QBXMLMsgsRq onError="stopOnError">
<BillAddRq>
<BillAdd>
<VendorRef>
<FullName>ESSENDANT</FullName>
</VendorRef>
<APAccountRef>
<FullName>AOS Accounts Payable</FullName>
</APAccountRef>
<TxnDate>2017-05-15</TxnDate>
<RefNumber>1111</RefNumber>
<Memo>United Stationers Invoice for order 1111 on PO# 1111 (SO# 1111)</Memo>
<ExpenseLineAdd>
<AccountRef>
<FullName>Cost of Goods Sold:Purchases</FullName>
</AccountRef>
<Amount>381.83</Amount>
<Memo>Items Total</Memo>
</ExpenseLineAdd>
<ExpenseLineAdd>
<AccountRef>
<FullName>Cost of Goods Sold:COGS Freight</FullName>
</AccountRef>
<Amount>0.00</Amount>
<Memo>Total charges/fees</Memo>
</ExpenseLineAdd>
</BillAdd>
</BillAddRq>
</QBXMLMsgsRq>
</QBXML>
我的软件从客户端的Web连接器收到以下响应:
<?xml version="1.0" ?>
<QBXML>
<QBXMLMsgsRs>
<BillAddRs statusCode="3140" statusSeverity="Error" statusMessage="There is an invalid reference to QuickBooks AP Account "AOS Accounts Payable" in the Bill. QuickBooks error message: Invalid argument. The specified record does not exist in the list." />
</QBXMLMsgsRs>
</QBXML>
我们的客户从他的会计科目表中向我们发送了以下屏幕截图:
这可能会发生什么?这显然是正确的帐户名称和正确的帐户类型。
任何??