cancel
Showing results for 
Search instead for 
Did you mean: 
Aradhana
Level 1

I need to store the error that QBD sent back when I tried to Void/delete a transaction in QB using QBXML <TxnVoidRq>.

I need to store the error that QBD sent back when I tried to Void/delete a transaction in QB using QBXML <TxnVoidRq>. In <TxnVoidRs> when error is thrown there is no reference for the original request. No request Id of Ref. How do I know which error is for which Invoice/Transaction Id?

Following is the example Response -

 

<QBXML>
<QBXMLMsgsRs>
<TxnVoidRs statusCode="3000" statusMessage="The given object ID &quot;568abcd&quot; in the field &quot;Transaction id&quot; is invalid. " statusSeverity="Error" />
<TxnVoidRs statusCode="3000" statusMessage="The given object ID &quot;569xyz&quot; in the field &quot;Transaction id&quot; is invalid. " statusSeverity="Error" />
<TxnVoidRs statusCode="3000" statusMessage="The given object ID &quot;567qbdf&quot; in the field &quot;Transaction id&quot; is invalid. " statusSeverity="Error" />
</QBXMLMsgsRs>
</QBXML>

2 Comments 2
JessT
Moderator

I need to store the error that QBD sent back when I tried to Void/delete a transaction in QB using QBXML &lt;TxnVoidRq&gt;.

Hello, Aradhana!

 

I appreciate your effort in explaining your concern in detail and for including the script errors in your post. However, I'm going to route you to the Intuit Developers Community about this matter since they are more equipped with answering questions about voiding or deleting a transaction in QuickBooks using QBXML.

 

Here, we can help you with product-related concerns, but not on topics related to programming or anything pertaining to developers' discussions.

 

  1. Follow this link: https://help.developer.intuit.com/s/
  2. Select QuickBooks Desktop.
  3. Click Ask a question.

 

You're welcome to raise other concerns, or if you need help with posting a question in the Developers Community. Take good care always!

Aradhana
Level 1

I need to store the error that QBD sent back when I tried to Void/delete a transaction in QB using QBXML &lt;TxnVoidRq&gt;.

Thanks. I posted my question there.

Sign in for expert help
Ask questions, post replies & join our community of QuickBooks users.

Need to get in touch?

Contact us