Navigation

Get One Organization Invoice as CSV

Retrieves one invoice from one organization in CSV format.

Base URL: https://cloud.mongodb.com/api/public/v1.0

Resource

GET /orgs/{ORG-ID}/invoices/{INVOICE-ID}/csv

Request Path Parameters

Name Type Description
ORG-ID string Unique identifier of the organization.
INVOICE-ID string Unique identifier of the invoice.

Request Query Parameters

This endpoint cannot use any of the HTTP request query parameters available to all other Cloud Manager API resources.

Request Body Parameters

This endpoint does not use HTTP request body parameters.

Response

The response is a CSV text file.

Example Request

curl --user "{USERNAME}:{APIKEY}" --digest \
 --header "Accept: text/csv" \
 --include \
 --request GET "https://cloud.mongodb.com/api/public/v1.0/orgs/{ORG-ID}/invoices/{INVOICE-ID}/csv?pretty=true"

Example Response

Response Header

HTTP/1.1 401 Unauthorized
Content-Type: application/json;charset=ISO-8859-1
Date: {dateInUnixFormat}
WWW-Authenticate: Digest realm="MMS Public API", domain="", nonce="{nonce}", algorithm=MD5, op="auth", stale=false
Content-Length: {requestLengthInBytes}
Connection: keep-alive
HTTP/1.1 200 OK
Vary: Accept-Encoding
Content-Type: application/json
Strict-Transport-Security: max-age=300
Date: {dateInUnixFormat}
Connection: keep-alive
Content-Length: {requestLengthInBytes}

Response Body

Invoice Number,{INVOICE-ID}
Company,
Address,"{ADDRESS}"
Billing Period,"April 27, 2020 - May 27, 2020"

Date,Description,Note,Project,Project ID,SKU,Region,Cluster,Replica Set,Config Server,Application,Unit,Unit Price,Quantity,Discount ID,Discount Percent,Discount Total,Amount,Tax
05/25/2020,Cloud Manager Standard,,{PROJECT-NAME},{PROJECT-ID},Cloud Manager Standard,,,,,,server hours,0.00,72.0,,0.0,0.00,0.00,
05/24/2020,Cloud Manager Standard,,{PROJECT-NAME},{PROJECT-ID},Cloud Manager Standard,,,,,,server hours,0.00,72.0,,0.0,0.00,0.00,
05/23/2020,Cloud Manager Standard,,{PROJECT-NAME},{PROJECT-ID},Cloud Manager Standard,,,,,,server hours,0.00,72.0,,0.0,0.00,0.00,
05/22/2020,Cloud Manager Standard,,{PROJECT-NAME},{PROJECT-ID},Cloud Manager Standard,,,,,,server hours,0.00,72.0,,0.0,0.00,0.00,
05/21/2020,Cloud Manager Standard,,{PROJECT-NAME},{PROJECT-ID},Cloud Manager Standard,,,,,,server hours,0.00,72.0,,0.0,0.00,0.00,
05/20/2020,Cloud Manager Standard,,{PROJECT-NAME},{PROJECT-ID},Cloud Manager Standard,,,,,,server hours,0.00,72.0,,0.0,0.00,0.00,
05/19/2020,Cloud Manager Standard,,{PROJECT-NAME},{PROJECT-ID},Cloud Manager Standard,,,,,,server hours,0.00,72.0,,0.0,0.00,0.00,
05/18/2020,Cloud Manager Standard,,{PROJECT-NAME},{PROJECT-ID},Cloud Manager Standard,,,,,,server hours,0.00,72.0,,0.0,0.00,0.00,
05/17/2020,Cloud Manager Standard,,{PROJECT-NAME},{PROJECT-ID},Cloud Manager Standard,,,,,,server hours,0.00,42.0,,0.0,0.00,0.00,
05/16/2020,Cloud Manager Standard,,{PROJECT-NAME},{PROJECT-ID},Cloud Manager Standard,,,,,,server hours,0.00,72.0,,0.0,0.00,0.00,
05/15/2020,Cloud Manager Standard,,{PROJECT-NAME},{PROJECT-ID},Cloud Manager Standard,,,,,,server hours,0.00,72.0,,0.0,0.00,0.00,
05/14/2020,Cloud Manager Standard,,{PROJECT-NAME},{PROJECT-ID},Cloud Manager Standard,,,,,,server hours,0.00,72.0,,0.0,0.00,0.00,
05/13/2020,Cloud Manager Standard,,{PROJECT-NAME},{PROJECT-ID},Cloud Manager Standard,,,,,,server hours,0.00,72.0,,0.0,0.00,0.00,
05/12/2020,Cloud Manager Standard,,{PROJECT-NAME},{PROJECT-ID},Cloud Manager Standard,,,,,,server hours,0.00,72.0,,0.0,0.00,0.00,
05/11/2020,Cloud Manager Standard,,{PROJECT-NAME},{PROJECT-ID},Cloud Manager Standard,,,,,,server hours,0.00,72.0,,0.0,0.00,0.00,
05/10/2020,Cloud Manager Standard,,{PROJECT-NAME},{PROJECT-ID},Cloud Manager Standard,,,,,,server hours,0.00,69.0,,0.0,0.00,0.00,
05/09/2020,Cloud Manager Standard,,{PROJECT-NAME},{PROJECT-ID},Cloud Manager Standard,,,,,,server hours,0.00,66.0,,0.0,0.00,0.00,
05/08/2020,Cloud Manager Standard,,{PROJECT-NAME},{PROJECT-ID},Cloud Manager Standard,,,,,,server hours,0.00,72.0,,0.0,0.00,0.00,
05/07/2020,Cloud Manager Standard,,{PROJECT-NAME},{PROJECT-ID},Cloud Manager Standard,,,,,,server hours,0.00,72.0,,0.0,0.00,0.00,
05/06/2020,Cloud Manager Standard,,{PROJECT-NAME},{PROJECT-ID},Cloud Manager Standard,,,,,,server hours,0.00,72.0,,0.0,0.00,0.00,
05/05/2020,Cloud Manager Standard,,{PROJECT-NAME},{PROJECT-ID},Cloud Manager Standard,,,,,,server hours,0.00,72.0,,0.0,0.00,0.00,
05/04/2020,Cloud Manager Standard,,{PROJECT-NAME},{PROJECT-ID},Cloud Manager Standard,,,,,,server hours,0.00,72.0,,0.0,0.00,0.00,
05/03/2020,Cloud Manager Standard,,{PROJECT-NAME},{PROJECT-ID},Cloud Manager Standard,,,,,,server hours,0.00,72.0,,0.0,0.00,0.00,
05/02/2020,Cloud Manager Standard,,{PROJECT-NAME},{PROJECT-ID},Cloud Manager Standard,,,,,,server hours,0.00,72.0,,0.0,0.00,0.00,
05/01/2020,Cloud Manager Standard,,{PROJECT-NAME},{PROJECT-ID},Cloud Manager Standard,,,,,,server hours,0.00,72.0,,0.0,0.00,0.00,
04/30/2020,Cloud Manager Standard,,{PROJECT-NAME},{PROJECT-ID},Cloud Manager Standard,,,,,,server hours,0.00,72.0,,0.0,0.00,0.00,
04/29/2020,Cloud Manager Standard,,{PROJECT-NAME},{PROJECT-ID},Cloud Manager Standard,,,,,,server hours,0.00,72.0,,0.0,0.00,0.00,
04/28/2020,Cloud Manager Standard,,{PROJECT-NAME},{PROJECT-ID},Cloud Manager Standard,,,,,,server hours,0.00,72.0,,0.0,0.00,0.00,
04/27/2020,Cloud Manager Standard,,{PROJECT-NAME},{PROJECT-ID},Cloud Manager Standard,,,,,,server hours,0.00,72.0,,0.0,0.00,0.00,
04/26/2020,Cloud Manager Standard,,{PROJECT-NAME},{PROJECT-ID},Cloud Manager Standard,,,,,,server hours,0.00,72.0,,0.0,0.00,0.00,
,Summary Cloud Manager Standard,,,,Cloud Manager Standard,,,,,,server hours,0.00,2121.0,,0.0,0.00,0.00,
,Subtotal,,,,,,,,,,,,,,,,0.00,0.00
,Total Credit,,,,,,,,,,,,,,,,0.00,
,Total Payment,,,,,,,,,,,,,,,,0.00,0.00
,Amount Due,,,,,,,,,,,,,,,,0.00,