# How to get Invoice as a pdf using API

**URL:** <https://community.servicem8.com/t/how-to-get-invoice-as-a-pdf-using-api/541>\
**Category:** API & SDK\
**Created:** [March 9, 2023, 8:03am UTC](https://community.servicem8.com/t/how-to-get-invoice-as-a-pdf-using-api/541 "2023-03-09T08:03:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![developer](https://avatars.discourse-cdn.com/v4/letter/d/bcef8e/32.png) [@developer](https://community.servicem8.com/u/developer)\
**Post date:** [March 9, 2023, 8:03am UTC](https://community.servicem8.com/t/how-to-get-invoice-as-a-pdf-using-api/541/1 "2023-03-09T08:03:27Z")

</div>

**Originally posted by Ankit**

I have used attachment API to get details of invoice agaiinst Job but I just receive file name with extension (invoice1.pdf) but not the path of invoice.

How can I get actual Invoice against jopb?

Thank you.
