MongoDB Invoices API

Returns invoices.

GitHub OpenAPI
Business capability
Invoicing & Statement Management BC-4250.30

Operations 13

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage Start a cost usage query · Create One Cost Explorer Query Process #
Ask an LLM
“How do I pull usage cost data for a date range?”
“Can I group cost usage by cluster or service?”
Tell an agent
Start a cost usage query for org {orgId} from {startDate} to {endDate}.
Query usage costs for clusters {clusters} in org {orgId} between {startDate} and {endDate}.
GET /api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token} Get a cost usage query result · Return Usage Details for One Cost Explorer Query #
Ask an LLM
“Has my cost usage query finished?”
“Where do I get the usage cost data once the query completes?”
Tell an agent
Get the usage cost results for query {token} in org {orgId}.
Check cost usage query {token} in org {orgId} and return the data.
GET /api/atlas/v2/orgs/{orgId}/invoices List all invoices for an organization · Return All Invoices for One Organization #
Ask an LLM
“Which invoices has MongoDB billed my organization?”
“Can I list only unpaid invoices?”
Tell an agent
List all invoices for org {orgId}.
List invoices in org {orgId} with status {statusNames}.
GET /api/atlas/v2/orgs/{orgId}/invoices/pending List pending invoices for an organization · Return All Pending Invoices for One Organization #
Ask an LLM
“What invoices are still accruing charges for this billing cycle?”
“Which invoices are pending payment?”
Tell an agent
List pending invoices for org {orgId}.
Show the accruing charges for org {orgId} in the current billing cycle.
GET /api/atlas/v2/orgs/{orgId}/invoices/{invoiceId} Get one invoice for an organization · Return One Invoice for One Organization #
Ask an LLM
“How do I view a single invoice?”
“Can I see the line items of one invoice?”
Tell an agent
Get invoice {invoiceId} for org {orgId}.
Show the details of invoice {invoiceId} in org {orgId}.
GET /api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv Download one invoice as CSV · Return One Invoice as CSV for One Organization #
Ask an LLM
“Can I download an invoice as CSV?”
“Is there a CSV format for an invoice?”
Tell an agent
Download invoice {invoiceId} for org {orgId} as CSV.
Get the CSV version of invoice {invoiceId} in org {orgId}.
GET /api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/lineItems:search Search an invoice's line items · Return All Line Items for One Invoice by Invoice ID #
Ask an LLM
“Which line items make up a particular invoice?”
“Can I filter an invoice's line items?”
Tell an agent
Search line items of invoice {invoiceId} in org {orgId}.
Find line items in invoice {invoiceId} for org {orgId} matching {filters}.
GET /api/atlas/v2/skus List stock keeping units · Return All Stock Keeping Units #
Ask an LLM
“What products and services are available to bill?”
“Which SKUs appear on invoices?”
Tell an agent
List all stock keeping units.
Show every SKU available for billing.
GET /api/atlas/v2/skus/{skuId} Get one stock keeping unit · Return One Stock Keeping Unit #
Ask an LLM
“What are the details of a specific SKU?”
“Can I look up one product by its SKU ID?”
Tell an agent
Get SKU {skuId}.
Show the details of stock keeping unit {skuId}.
GET /api/atlas/v2/orgs/{orgId}/associatedInvoices List invoice IDs for a month · Return Associated Invoices #
Ask an LLM
“Which invoice IDs were issued to my organization last month?”
“Can I include linked organizations' invoices?”
Tell an agent
List invoice IDs for org {orgId} in {month}/{year}.
Show org {orgId}'s invoices for {month}/{year} including linked orgs: {includeLinkedOrgs}.
GET /api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/reports List reports for an invoice · Return All Invoice Reports for One Invoice #
Ask an LLM
“What reports exist for an invoice?”
“Are there unexpired reports for an invoice?”
Tell an agent
List reports for invoice {invoiceId} in org {orgId}.
Show the unexpired reports on invoice {invoiceId} for org {orgId}.
POST /api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/reports Generate a report for an invoice · Create One Invoice Report #
Ask an LLM
“How do I generate a report for an invoice?”
“Can I choose the report format?”
Tell an agent
Generate a {reportType} report in {reportFormat} for invoice {invoiceId} in org {orgId}.
Create a {reportType} report for invoice {invoiceId} in org {orgId} using format version {formatSpecVersion}.
GET /api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/reports/{reportId} Get an invoice report · Return One Invoice Report #
Ask an LLM
“Has my invoice report finished generating?”
“Where do I get the download URL for a report?”
Tell an agent
Get report {reportId} for invoice {invoiceId} in org {orgId}.
Check the status of invoice {invoiceId} report {reportId} in org {orgId}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/mongodb:mongodb-invoices-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

mongodb-invoices-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Mongodb Invoices API
  version: '2.0'
  license:
    name: CC BY-NC-SA 3.0 US
    url: https://creativecommons.org/licenses/by-nc-sa/3.0/us/
  termsOfService: https://www.mongodb.com/mongodb-management-service-terms-and-conditions
  x-refined-note:
  - x-xgen-sha differs across the merged source definitions and was not carried
  description: 'Operations tagged Invoices across 2 of this provider''s published API definitions: mongodb-atlas-openapi.yaml, mongodb-openapi.yaml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://cloud.mongodb.com
security:
- ServiceAccounts: []
- DigestAuth: []
tags:


# --- truncated at 32 KB (113 KB total) ---
# Full source: https://artifacts.apis.io/mongodb/openapi/mongodb-invoices-api-openapi.yml