---
title: "Return All Invoices for One Organization"
method: GET
path: "/api/atlas/v2/orgs/{orgId}/invoices"
tags: ["Invoices"]
---

# Return All Invoices for One Organization

`GET /api/atlas/v2/orgs/{orgId}/invoices`

Returns all invoices that MongoDB issued to the specified organization. This list includes all invoices regardless of invoice status. If you have a cross-organization setup, you can view linked invoices if you have the Organization Billing Admin or Organization Owner role.
To compute the total owed amount of the invoices - sum up total owed of each invoice. It could be computed as a sum of owed amount of each payment included into the invoice. To compute payment's owed amount - use formula `totalBilledCents` * `unitPrice` + `salesTax` - `startingBalanceCents`.

## Path parameters

- `orgId` string, required

## Query parameters

- `envelope` boolean
- `includeCount` boolean
- `itemsPerPage` integer
- `pageNum` integer
- `pretty` boolean
- `viewLinkedInvoices` boolean
- `statusNames` string[]
- `fromDate` string, date
- `toDate` string, date
- `sortBy` 'START_DATE' | 'END_DATE'
- `orderBy` 'desc' | 'asc'

## Response `200`

OK

## Other responses

- `401` — Unauthorized.
- `403` — Forbidden.
- `404` — Not Found.
- `429` — Too Many Requests.
- `500` — Internal Server Error.

---

[API](https://skmtc.net/mongodb/apis/atlas-admin-api.md) · [All operations](https://skmtc.net/mongodb/apis/atlas-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mongodb/atlas-admin-api/versions/e37e8ef8429f/schema)
