# How to download multiple Coupa invoice attachments

**URL:** <https://community.postman.com/t/how-to-download-multiple-coupa-invoice-attachments/73747>\
**Category:** Help Hub\
**Tags:** tests, collections\
**Created:** [January 13, 2025, 7:06pm UTC](https://community.postman.com/t/how-to-download-multiple-coupa-invoice-attachments/73747 "2025-01-13T19:06:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![smoize](https://avatars.discourse-cdn.com/v4/letter/s/b9bd4f/32.png) [@smoize](https://community.postman.com/u/smoize)\
**Post date:** [January 13, 2025, 7:06pm UTC](https://community.postman.com/t/how-to-download-multiple-coupa-invoice-attachments/73747/1 "2025-01-13T19:06:47Z")

</div>

Hi,

I’m using API method that shows me Invoice attachments from Coupa.  
I can see preview of the attachment file.

I can click on “Save Response” button and save the response file to any location. I will pass multiple invoices as CSV file and might get in return many attachments.

At collection level is there a setting that can help me to save all the response files on my computer. for now (C:\Downloads\TestAPI) at this folder.

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [January 14, 2025, 10:52am UTC](https://community.postman.com/t/how-to-download-multiple-coupa-invoice-attachments/73747/2 "2025-01-14T10:52:56Z")

</div>

Hey @smoize 👋

Welcome to the Postman Community! :postman:

You’re not going to be able to achieve this using the Postman UI, the only way that can automatically to that would be with Newman as a library and creating a script that saves those responses to a file during the Collection Run.

If would be something like this:

> [@Save body results to a CSV or JSON file - using newman](https://community.postman.com/t/save-body-results-to-a-csv-or-json-file-using-newman/5861/17):
>
> Hey @hdabas, Welcome to the community! rocket Just jumping in here to see if I can help with getting the request name from the Newman run. Newman has certain events that can be access with the .on() function - A full list can be found here: A basic example of getting the name of the Request would be using something like this: const newman = require('newman') newman.run({ collection: '\<Postman Echo Collection\>', }).on('request', (err, args) =\> { console.log(args.item.name) }) Here’…

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [April 14, 2025, 10:53am UTC](https://community.postman.com/t/how-to-download-multiple-coupa-invoice-attachments/73747/3 "2025-04-14T10:53:27Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
