简体   繁体   English

QBFC:处理信用卡退货(使用ARCreditCardRefund请求)

[英]QBFC: processing a credit card return (using the ARCreditCardRefund request)

I'm trying to figure this out with Intuit's somewhat lacking documentation. 我试图通过Intuit缺少文档的方式来解决这个问题。

Here is what I have: 这是我所拥有的:

  1. Customer purchases something (I create an Invoice) [Adds an amount to AR] 客户购买了一些东西(我创建了发票)[为应付款增加了金额]
  2. We charge their credit card through an outside process (Not Intuit) (I create a Payment) [Moves the amount from AR to the merchant account] 我们通过外部流程(不是Intuit)(我创建付款)向他们的信用卡收费[将金额从AR转移到商家帐户]
  3. Customer returns all or part of the thing (I create a credit memo) [removes an amount from AR] 客户退回全部或部分东西(我创建了贷项凭单)[从应收账款中删除了一笔金额]

The credit memo creates a credit for the invoice but does not (cannot) reverse the charge in the merchant account. 贷项凭单会为发票创建贷项,但不会(无法)撤销商户帐户中的费用。 How do I process a return when I am not using Intuit's credit card processing service? 不使用Intuit的信用卡处理服务时如何处理退货?

Thanks! 谢谢!

When using the ARCreditCardRefund request with the SDK, you must provide one or more Credit Memo TxnID values to link your refund to. 在SDK中使用ARCreditCardRefund请求时,您必须提供一个或多个Credit Memo TxnID values才能将退款链接到。

From the QuickBooks SDK documentation (starts on page 317, has several pages devoted to this topic): 从QuickBooks SDK文档(从第317页开始,有几个页面专门讨论此主题):

You link this refund to the target credit memo using the RefundAppliedToTxnAdd aggregate.
You must link to at least one of these transactions; you can link to as many as you want.
The TxnID is unique among these transactions, so you don’t (in fact you can’t) specify a
transaction type.

The XML looks something like this: XML看起来像这样:

<RefundAppliedToTxnAdd> <!-- required, may repeat -->
  <TxnID>IDTYPE</TxnID> <!-- required -->
  <RefundAmount>AMTTYPE</RefundAmount> <!-- required -->
</RefundAppliedToTxnAdd>

It's also worth quoting this part of the docs: 同样值得引用这部分文档:

The ARAcountRef is also optional. ARAcountRef也是可选的。 If you omit it, the default Accounts Receivable account is used. 如果您省略它,则使用默认的应收帐款帐户。 Make sure this account matches the ARAccountRef in the credit memo transactions you are linking to. 确保此帐户与您链接到的贷项凭证交易记录中的ARAccountRef相匹配。

To expand a bit more on that - if you don't specify the A/R account and the default is not the one your credit memo belongs to, or if you specify an A/R account that's different from the one your credit memo belongs to, you will get an error back indicating that the transaction could not be found . 进一步说明-如果您指定应收账款科目,且默认值不是贷项凭证所属的科目, 或者您指定的应收账款科目与贷项凭证所属的科目不同, 您将收到一条错误消息,指示找不到事务 That could very well be what you're running into. 那很可能就是您遇到的问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM