MongoDBMongoDB Atlas Administration API v2
POST/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}:generateAndDownloadReport
Manage generate Org Invoice And Download Report.
Contract-preserving POST endpoint for generate Org Invoice And Download Report in the MongoDB Atlas Administration API. Resource-specific values are supplied by the caller at runtime.
All 540 MongoDB Atlas administration endpoints from a fixed Apache-2.0 OpenAPI revision. Hub provides documentation and an independent SDK/CLI, but never proxies account, organization, project, network, backup, or operational data; callers connect directly with local credentials.
Request
- operationId
generateOrgInvoiceAndDownloadReport- Server
https://cloud.mongodb.com- Authentication
- ServiceAccounts, DigestAuth
Request parameters
orgId
pathstringrequired
org Id value in the Atlas Administration API contract.
4888442a3354817a7320eb61
invoiceId
pathstringrequired
invoice Id value in the Atlas Administration API contract.
Request body
ReportGenerationRequestrequired
Content-Type: application/vnd.atlas.preview+json
Properties: reportFormatreportTypeversion
Responses
200
stringapplication/vnd.atlas.preview+gzip
Successful supplier response.
400
ApiErrorapplication/json
Supplier response with HTTP status 400.
Properties: badRequestDetaildetailerrorerrorCodeparametersreason
401
ApiErrorapplication/json
Supplier response with HTTP status 401.
Properties: badRequestDetaildetailerrorerrorCodeparametersreason
403
ApiErrorapplication/json
Supplier response with HTTP status 403.
Properties: badRequestDetaildetailerrorerrorCodeparametersreason
404
ApiErrorapplication/json
Supplier response with HTTP status 404.
Properties: badRequestDetaildetailerrorerrorCodeparametersreason
429
ApiErrorapplication/json
Supplier response with HTTP status 429.
Properties: badRequestDetaildetailerrorerrorCodeparametersreason
500
ApiErrorapplication/json
Supplier response with HTTP status 500.
Properties: badRequestDetaildetailerrorerrorCodeparametersreason
invoice_abc123_focus.csv.gz