cancel
Showing results for 
Search instead for 
Did you mean: 
naga_reddy
Occasional Member - Level 1

How can I get Concur Expense E-Receipt by using an API?

I'm trying to retrieve Concur E-Receipts using the API, similar to how general attachments are fetched, but I'm encountering an error. Has anyone faced this issue or have any insights?

7 REPLIES 7
alicata
Occasional Member - Level 1

Following as I am having the same problem. 

KevinD
Community Manager
Community Manager

@alicata and @naga_reddy my colleague said that a support case should be submitted so we can get the details of the exact issue that is happening and track it better. 


Thank you,
Kevin
SAP Concur Community Manager
Did this response answer your question? Be sure to select “Accept as Solution” so your fellow community members can be helped by it as well.
alicata
Occasional Member - Level 1

@KevinD There's no issue, per se, to report. We have always used the Image v1 endpoint to retrieve receipts attached to expense reports for ERP integrations. That is the direction that we received from Concur year's ago. (I do see now that the updated documentation says that we should be using Spend Documents v4 but we are not)

When we use Image v1 and search by Report ID, the API does not return an image if the receipt associated with the expense report is an eReciept. I'm simply trying to understand if there is a different endpoint that would return an image if the associated receipt is an e-Receipt? Or is it simply not possible to retrieve an image of an e-receipt?  Will Spend Documents v4 return these? The documentation isn't clear. For the record, I have submitted this same question via the Partner Support Portal and haven't received a response. 

naga_reddy
Occasional Member - Level 1

@alicataYes, I also tried using V4 by passing the E-Receipt ID, but I’m still encountering an error. We have also raised a ticket regarding this issue.

alicata
Occasional Member - Level 1

@naga_reddy I received this response from Support which leads me to believe that what we are asking for is not currently possible since querying a report ID with an e-receipt using v1 does not return an image. 

 


The Receipts V4 API is not designed to obtain the receipt images attached to an expense report. Being an Enterprise Partner creating integrations that are intended to obtain final-approved Expense or Invoice data, and the accompanying receipt images that substantiate those transactions, you will need to use Image v1 API.

You can find more details here:
https://developer.concur.com/api-reference/receipts/endpoints.html
https://developer.concur.com/api-reference/image/v1.image.html

I remain available if you have further questions.

naga_reddy
Occasional Member - Level 1

@alicata

I'm already able to retrieve attachments (jpg, jpeg, png, pdf) using the V1 API, but I’m unable to fetch E-Receipts. After reviewing Concur’s API documentation, I found that I need to use the V4 API for this.

While fetching expense data from Concur using the Report ID, I receive an E-Receipt ID (not an image ID). However, when I pass this ID into the V4 API, I encounter a forbidden error.

KevinD
Community Manager
Community Manager

@naga_reddy Not sure how I missed this. I'm checking with a colleague about the feasibility of this. I'll let you know what I find out.


Thank you,
Kevin
SAP Concur Community Manager
Did this response answer your question? Be sure to select “Accept as Solution” so your fellow community members can be helped by it as well.