# How to know invoiceId?

**URL:** <https://devforum.zoom.us/t/how-to-know-invoiceid/51000>\
**Category:** API and Webhooks\
**Created:** [May 25, 2021, 2:12pm UTC](https://devforum.zoom.us/t/how-to-know-invoiceid/51000 "2021-05-25T14:12:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tntn3438](https://avatars.discourse-cdn.com/v4/letter/t/e9bcb4/32.png) [@tntn3438](https://devforum.zoom.us/u/tntn3438)\
**Post date:** [May 25, 2021, 2:12pm UTC](https://devforum.zoom.us/t/how-to-know-invoiceid/51000/1 "2021-05-25T14:12:29Z")

</div>

We would like to test API:“Get invoice details”([https://api.zoom.us/v2/accounts/{accountId}/billing/invoices/{invoiceId}](https://api.zoom.us/v2/accounts/%7BaccountId%7D/billing/invoices/%7BinvoiceId%7D))  
in Zoom API referense environment.

but we don’t know how to know what is the sub-account’s invoiceId.

According to  
[https://marketplace.zoom.us/docs/api-reference/zoom-api/billing/getaccountbillinginvoice](https://marketplace.zoom.us/docs/api-reference/zoom-api/billing/getaccountbillinginvoice)

Request Parameters  
are  
accountId and invoiceId

Could you please let us know how to get invoiceId for specific accountId?

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [May 26, 2021, 4:51pm UTC](https://devforum.zoom.us/t/how-to-know-invoiceid/51000/2 "2021-05-26T16:51:26Z")

</div>

Hi @tntn3438,

Good question! Actually, you can query this endpoint to retrieve a list of invoice IDs:

> **[List billing invoices - Billing - Zoom API - API Reference](https://marketplace.zoom.us/docs/api-reference/zoom-api/billing/accountbillinginvoices)**
>
> List invoices of a Zoom account.
> 
> To list a regular Zoom account's invoices or a master account's invoices, provide me as the value of the accountId pat...

Let me know if this helps!  
Will

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [June 26, 2021, 2:52am UTC](https://devforum.zoom.us/t/how-to-know-invoiceid/51000/3 "2021-06-26T02:52:16Z")

</div>

Closed on June 26, 2021, 2:52am UTC

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