Retrieve Invoices

Learn different ways to retrieve invoices using the Invoices API.

We'll cover the following...

List invoices

For a given location, this endpoint returns a list of invoices. The following code demonstrates the simplest implementation of this endpoint:

Press + to interact
result = client.invoices.list_invoices(
location_id = "{{LOCATION_ID}}"
)
if result.is_success():
pprint(result.body)
elif result.is_error():
pprint(result.errors)

We can also provide ...