保存销售收据时出错。QuickBooks 错误消息:交易金额必须为正数。
当我将此 xml 提交到我的 quickbooks 网络连接器时,它会抛出上述错误。交易金额是多少,它在 xml 中的什么位置?
<?xml version="1.0" encoding="utf-16"?>
<?qbxml version="12.0"?>
<QBXML>
<QBXMLMsgsRq onError="stopOnError">
<SalesReceiptAddRq requestID="1">
<SalesReceiptAdd>
<CustomerRef>
<FullName>Daily Sales Summary</FullName>
</CustomerRef>
<TemplateRef>
<FullName>Custom Sales Receipt</FullName>
</TemplateRef>
<SalesReceiptLineAdd>
<ItemRef>
<FullName>Food</FullName>
</ItemRef>
<Desc>Total Food Sales</Desc>
<Amount>50.00</Amount>
</SalesReceiptLineAdd>
</SalesReceiptAdd>
</SalesReceiptAddRq>
</QBXMLMsgsRq>
</QBXML>