Integration and Testing

Authorize.Net API questions and help with your payment integration.

Posts: 1
Registered: ‎02-27-2015

invoice number for refund transactions


I want to identify transactions with an external id, and i'm using invoiceNumber for that. It works fine for all kinds of transactions, except for refundTransaction. When i submit refund invoice number in reports is always empty.

Is there a way to set invoiceNumber for refunds? Or is there some other way to tag transactions so that i can search for them later?

Thanks, Aleh.

Administrator Administrator
Posts: 563
Registered: ‎08-03-2011

Re: invoice number for refund transactions


Hi OlegYch,


You can pass the invoiceNumber with your refund request and it should display in your report:


<createTransactionRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">