Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>When using the ARCreditCardRefund request with the SDK, you must provide one or more <code>Credit Memo TxnID values</code> to link your refund to. </p> <p>From the QuickBooks SDK documentation (starts on page 317, has several pages devoted to this topic): </p> <pre><code>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. </code></pre> <p>The XML looks something like this:</p> <pre><code>&lt;RefundAppliedToTxnAdd&gt; &lt;!-- required, may repeat --&gt; &lt;TxnID&gt;IDTYPE&lt;/TxnID&gt; &lt;!-- required --&gt; &lt;RefundAmount&gt;AMTTYPE&lt;/RefundAmount&gt; &lt;!-- required --&gt; &lt;/RefundAppliedToTxnAdd&gt; </code></pre> <p>It's also worth quoting this part of the docs:</p> <blockquote> <p>The ARAcountRef is also optional. 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.</p> </blockquote> <p>To expand a bit more on that - if you <em>don't</em> specify the A/R account and the default is not the one your credit memo belongs to, <strong>or</strong> if you specify an A/R account that's different from the one your credit memo belongs to, <em>you will get an error back indicating that the transaction could not be found</em>. That could very well be what you're running into. </p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload