List Invoices
curl --request GET \
--url https://api.mountthor.com/v1/admin/billing/invoices \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.mountthor.com/v1/admin/billing/invoices"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.mountthor.com/v1/admin/billing/invoices', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.mountthor.com/v1/admin/billing/invoices",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.mountthor.com/v1/admin/billing/invoices"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.mountthor.com/v1/admin/billing/invoices")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mountthor.com/v1/admin/billing/invoices")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"customer_id": "<string>",
"invoices": [
{
"created_at": "<string>",
"currency": "USD",
"customer_id": "<string>",
"finality": "final",
"invoice_id": "00000000-0000-0000-0000-000000000000",
"status": "open",
"total_cents": 123,
"credits_applied_cents": 123,
"gross_usage_cents": 123,
"hosted_invoice_url": "<string>",
"invoice_pdf_url": "<string>",
"paid_at": "<string>",
"period_end": "2026-08-01",
"period_start": "2026-07-01"
}
],
"total_count": 123
}"<string>"Billing
List Invoices
Returns invoice headers ordered by period_start descending. finality
distinguishes a running estimate from a final invoice.
GET
/
v1
/
admin
/
billing
/
invoices
List Invoices
curl --request GET \
--url https://api.mountthor.com/v1/admin/billing/invoices \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.mountthor.com/v1/admin/billing/invoices"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.mountthor.com/v1/admin/billing/invoices', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.mountthor.com/v1/admin/billing/invoices",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.mountthor.com/v1/admin/billing/invoices"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.mountthor.com/v1/admin/billing/invoices")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mountthor.com/v1/admin/billing/invoices")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"customer_id": "<string>",
"invoices": [
{
"created_at": "<string>",
"currency": "USD",
"customer_id": "<string>",
"finality": "final",
"invoice_id": "00000000-0000-0000-0000-000000000000",
"status": "open",
"total_cents": 123,
"credits_applied_cents": 123,
"gross_usage_cents": 123,
"hosted_invoice_url": "<string>",
"invoice_pdf_url": "<string>",
"paid_at": "<string>",
"period_end": "2026-08-01",
"period_start": "2026-07-01"
}
],
"total_count": 123
}"<string>"Authorizations
Bearer scheme name used by typed customer admin operations.
Query Parameters
Optional status filter: draft, open, finalized, paid, void, or uncollectible.
Optional inclusive lower bound on period_start (YYYY-MM-DD).
Page size, clamped to [1, 200]; default 50.
Result offset for pagination; default 0.
Response
Success
Customer invoice list response.
Stable UUID for the customer account.
Invoices ordered by period_start descending (nulls last)
then by created_at descending so the most recent period is
first.
Show child attributes
Show child attributes
Total number of invoices matching the filter (independent of
limit/offset) so clients can implement pagination
indicators.