【发布时间】:2014-11-30 21:25:41
【问题描述】:
发票中对 QuickBooks 客户“ABS,JLMN”的引用无效。
QuickBooks 错误消息:参数无效。列表中不存在指定的记录。
<InvoiceAddRq requestID = "***">
<InvoiceAdd>
<CustomerRef>
<FullName>ABS, JLMN</FullName>
</CustomerRef>
<TxnDate>2014-10-31</TxnDate>
<TermsRef>
<FullName>*Proper existing term*</FullName>
</TermsRef>
<DueDate>2014-11-30</DueDate>
<InvoiceLineAdd>
<ItemRef>
<FullName>*Proper existing term*</FullName>
</ItemRef>
<Desc>*String Value*</Desc>
<Rate>0.00</Rate>
</InvoiceLineAdd>
<InvoiceLineAdd>
<ItemRef>
<FullName>*Proper existing term*</FullName>
</ItemRef>
<Desc>*Strings of text*</Desc>
<Rate>0.00</Rate>
</InvoiceLineAdd>
<InvoiceLineAdd>
<ItemRef>
<FullName>*Proper existing term*</FullName>
</ItemRef>
<Desc>*Strings of text*</Desc>
<Rate>0.00</Rate>
</InvoiceLineAdd>
<InvoiceLineAdd>
<ItemRef>
<FullName>*Proper existing term*</FullName>
</ItemRef>
<Desc>*Strings of text*</Desc>
<Rate>0.00</Rate>
</InvoiceLineAdd>
</InvoiceAdd>
<IncludeRetElement>TxnID</IncludeRetElement>
<IncludeRetElement>CustomerRef</IncludeRetElement>
<IncludeRetElement>ItemRef</IncludeRetElement>
</InvoiceAddRq>
请注意,“*”中提到的值只是占位符。
客户 ABS,JLMN 出现在快速书籍中,但我仍然收到此错误。这不是生成请求 XML 时的唯一请求,还有其他客户也具有相同的属性。对于这些客户,我没有收到任何错误。谁能告诉我这里可能是什么问题?
我的公司文件有损坏的可能性吗?作为我要求的一部分,我正在使用公司文件执行许多 InvoiceADD 和 CustomerADD 请求。那么这可能是这里出现问题的原因吗?
如果您需要更多信息,请告诉我。
谢谢。
【问题讨论】:
-
Quickbook在线SDK已经是SDK了。 Ref - developer.intuit.com/blog/2014/09/05/… 你为什么不尝试使用 QBO REST V3 API 呢? developer.intuit.com/docs/api/accounting。谢谢
标签: c# quickbooks quickbooks-online qbxml qbfc