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

# Return One Invoice for One Organization

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

## Request

- Base URL: `https://cloud.mongodb.com`
- URL: `https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}`
- Auth: one of:
  - OAuth 2
    - Client credentials
    - Token URL: `https://cloud.mongodb.com/api/oauth/token`
  - HTTP digest

Returns one invoice that MongoDB issued to the specified organization. A unique 24-hexadecimal digit string identifies the invoice. You can choose to receive this invoice in JSON or CSV format. If you have a cross-organization setup, you can query for a linked invoice if you have the Organization Billing Admin or Organization Owner role.
To compute the total owed amount of the invoice - sum up total 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
- `invoiceId` string, required

## Query parameters

- `envelope` boolean
- `pretty` boolean

## Response `200`

OK

## Other responses

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

---

[API](https://skmtc.dev/mongodb/apis/atlas-admin-api.md) - [All operations](https://skmtc.dev/mongodb/apis/atlas-admin-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mongodb/apis/atlas-admin-api/revisions/e37e8ef8429f?raw)
