List all BillingSchedules
curl --request GET \
--url https://api.nocotax.app/billing_schedules \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://api.nocotax.app/billing_schedules"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('https://api.nocotax.app/billing_schedules', 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.nocotax.app/billing_schedules",
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: Basic <encoded-value>"
],
]);
$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.nocotax.app/billing_schedules"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Basic <encoded-value>")
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.nocotax.app/billing_schedules")
.header("Authorization", "Basic <encoded-value>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.nocotax.app/billing_schedules")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Basic <encoded-value>'
response = http.request(request)
puts response.read_body{
"object": "list",
"has_more": false,
"has_before": false,
"data": [
{
"id": "bs_17920607221ess9679ffd2",
"livemode": false,
"object": "billing_schedule",
"billing_cycle": {
"id": "bc_179206072217oy42d8b9dd",
"livemode": false,
"object": "billing_cycle",
"is_default": true,
"flow": "COMMISSIONS",
"period": "MONTHLY",
"period_day": 8,
"period_weekday": null,
"created_at": "2026-10-15T10:38:42.064Z",
"updated_at": "2026-10-15T10:38:42.064Z"
},
"billing_cycle_id": "bc_179206072217oy42d8b9dd",
"cancelled_at": null,
"customer": {
"id": "org_1792060721jz4gd9fbc1f6",
"livemode": false,
"object": "organization",
"billing_address": {
"city": "Reedside",
"line1": "837 Kuvalis Extension",
"line2": "Apt. 468",
"country": "MK",
"postal_code": "79239"
},
"business_registration_number": "57124349200246",
"contact_information": {},
"is_professional": true,
"name": "Witting, Stamm and Rosenbaum",
"ownership": "external",
"roles": [
"MERCHANT"
],
"timezone": "Etc/UTC",
"tax_identification_number": "884287038",
"created_at": "2026-10-15T10:38:41.934Z",
"updated_at": "2026-10-15T10:38:41.934Z",
"billing_address_formatted": "837 Kuvalis Extension\nApt. 468\nReedside 79239\nNorth Macedonia",
"tax_registrations": [
{
"id": "txr_1792060721k1q2c3ec3380",
"livemode": false,
"object": "tax_registration",
"country": "FR",
"options": null,
"organization_id": "org_1792060721jz4gd9fbc1f6",
"tax_id": "eu-vat",
"number": "FR76039986153",
"type": "standard",
"zone": "EU",
"created_at": "2026-10-15T10:38:41.937Z",
"updated_at": "2026-10-15T10:38:41.937Z",
"tax": {
"id": "eu-vat",
"name": "VAT",
"display_name": "VAT",
"zone": "EU",
"jurisdictions": []
}
}
]
},
"customer_id": "org_1792060721jz4gd9fbc1f6",
"flow": "COMMISSIONS",
"last_billed_at": null,
"next_billing_date": "2026-11-08T05:00:00.000Z",
"next_billing_period_end": "2026-11-08T05:00:00.000Z",
"next_billing_period_start": "2026-10-15T10:38:42.076Z",
"status": "active",
"supplier_id": "org_1792060721isxec4619411",
"created_at": "2026-10-15T10:38:42.080Z",
"updated_at": "2026-10-15T10:38:42.080Z"
}
]
}{
"message": "<string>",
"status": 123,
"type": "INVALID_REQUEST_ERROR",
"params": [
{
"field": "<string>",
"errors": [
"<string>"
]
}
]
}Billing Schedules
List all BillingSchedules
Returns a list of BillingSchedules you’ve previously created. The BillingSchedules are returned in sorted order, with the most recent appearing first.
GET
/
billing_schedules
List all BillingSchedules
curl --request GET \
--url https://api.nocotax.app/billing_schedules \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://api.nocotax.app/billing_schedules"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('https://api.nocotax.app/billing_schedules', 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.nocotax.app/billing_schedules",
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: Basic <encoded-value>"
],
]);
$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.nocotax.app/billing_schedules"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Basic <encoded-value>")
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.nocotax.app/billing_schedules")
.header("Authorization", "Basic <encoded-value>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.nocotax.app/billing_schedules")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Basic <encoded-value>'
response = http.request(request)
puts response.read_body{
"object": "list",
"has_more": false,
"has_before": false,
"data": [
{
"id": "bs_17920607221ess9679ffd2",
"livemode": false,
"object": "billing_schedule",
"billing_cycle": {
"id": "bc_179206072217oy42d8b9dd",
"livemode": false,
"object": "billing_cycle",
"is_default": true,
"flow": "COMMISSIONS",
"period": "MONTHLY",
"period_day": 8,
"period_weekday": null,
"created_at": "2026-10-15T10:38:42.064Z",
"updated_at": "2026-10-15T10:38:42.064Z"
},
"billing_cycle_id": "bc_179206072217oy42d8b9dd",
"cancelled_at": null,
"customer": {
"id": "org_1792060721jz4gd9fbc1f6",
"livemode": false,
"object": "organization",
"billing_address": {
"city": "Reedside",
"line1": "837 Kuvalis Extension",
"line2": "Apt. 468",
"country": "MK",
"postal_code": "79239"
},
"business_registration_number": "57124349200246",
"contact_information": {},
"is_professional": true,
"name": "Witting, Stamm and Rosenbaum",
"ownership": "external",
"roles": [
"MERCHANT"
],
"timezone": "Etc/UTC",
"tax_identification_number": "884287038",
"created_at": "2026-10-15T10:38:41.934Z",
"updated_at": "2026-10-15T10:38:41.934Z",
"billing_address_formatted": "837 Kuvalis Extension\nApt. 468\nReedside 79239\nNorth Macedonia",
"tax_registrations": [
{
"id": "txr_1792060721k1q2c3ec3380",
"livemode": false,
"object": "tax_registration",
"country": "FR",
"options": null,
"organization_id": "org_1792060721jz4gd9fbc1f6",
"tax_id": "eu-vat",
"number": "FR76039986153",
"type": "standard",
"zone": "EU",
"created_at": "2026-10-15T10:38:41.937Z",
"updated_at": "2026-10-15T10:38:41.937Z",
"tax": {
"id": "eu-vat",
"name": "VAT",
"display_name": "VAT",
"zone": "EU",
"jurisdictions": []
}
}
]
},
"customer_id": "org_1792060721jz4gd9fbc1f6",
"flow": "COMMISSIONS",
"last_billed_at": null,
"next_billing_date": "2026-11-08T05:00:00.000Z",
"next_billing_period_end": "2026-11-08T05:00:00.000Z",
"next_billing_period_start": "2026-10-15T10:38:42.076Z",
"status": "active",
"supplier_id": "org_1792060721isxec4619411",
"created_at": "2026-10-15T10:38:42.080Z",
"updated_at": "2026-10-15T10:38:42.080Z"
}
]
}{
"message": "<string>",
"status": 123,
"type": "INVALID_REQUEST_ERROR",
"params": [
{
"field": "<string>",
"errors": [
"<string>"
]
}
]
}Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
