在QuickBooks中添加发票时出错。对QB客户的引用无效

时间:2014-11-30 21:25:41

标签: c# quickbooks quickbooks-online qbxml qbfc

发票中对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出现在Quick books中,但我仍然收到此错误。这不是生成请求XML时的唯一请求,还有其他客户也具有相同的属性。我没有为这些客户收到任何错误。任何人都可以告诉我这里可能出现什么问题?



我的公司档案是否有可能被破坏?作为我的要求的一部分,我正在使用公司文件执行许多InvoiceADD和CustomerADD请求。那么这可能是问题的原因吗?
如果您需要更多信息,请与我们联系。
感谢。

1 个答案:

答案 0 :(得分:0)

There is an invalid reference to **QuickBooks** Customer "ABS, JLMN" in the Invoice.

当客户&#34; ABS,JLMN&#34; Quickbooks 中不存在您尝试为该客户添加发票。

如果 Quickbooks 中已存在客户,则在requestXML中解析客户名称。特殊字符也会产生错误。

相关问题