# Using REST API to fin all invoices for a sales order

**URL:** <https://www.epiusers.help/t/using-rest-api-to-fin-all-invoices-for-a-sales-order/61754>\
**Category:** Epicor ERP 10\
**Tags:** rest-api\
**Created:** [November 12, 2019, 2:07pm UTC](https://www.epiusers.help/t/using-rest-api-to-fin-all-invoices-for-a-sales-order/61754 "2019-11-12T14:07:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AWCScott](https://www.epiusers.help/user_avatar/www.epiusers.help/awcscott/32/37954_2.png) [@AWCScott](https://www.epiusers.help/u/AWCScott)\
**Post date:** [November 12, 2019, 2:07pm UTC](https://www.epiusers.help/t/using-rest-api-to-fin-all-invoices-for-a-sales-order/61754/1 "2019-11-12T14:07:46Z")

</div>

I’m having trouble using REST API to get a list of all the Invoices generated for a sales order. Also, is there a way to have REST Generate a PDF version of the invoice that could be downloaded? Any help would be appreciated, this one has me stuck!

---

<div class="post-metadata">

**Author:** ![josecgomez](https://www.epiusers.help/user_avatar/www.epiusers.help/josecgomez/32/55731_2.png) [@josecgomez](https://www.epiusers.help/u/josecgomez)\
**Post date:** [November 12, 2019, 2:17pm UTC](https://www.epiusers.help/t/using-rest-api-to-fin-all-invoices-for-a-sales-order/61754/2 "2019-11-12T14:17:14Z")

</div>

For that you want to use a BAQ.  
Also for generating a PDF Version see this  
[https://www.epiusers.help/t/trigger-arinvoice-generation-from-api-not-totally-getting-it](https://www.epiusers.help/t/trigger-arinvoice-generation-from-api-not-totally-getting-it)
