Get the billing account
curl --request GET \
--url https://api.voucher-staging.allride.io/consumer/v1/billing/account \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.voucher-staging.allride.io/consumer/v1/billing/account', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.voucher-staging.allride.io/consumer/v1/billing/account"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)HttpResponse<String> response = Unirest.get("https://api.voucher-staging.allride.io/consumer/v1/billing/account")
.header("Authorization", "Bearer <token>")
.asString();package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.voucher-staging.allride.io/consumer/v1/billing/account"
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))
}<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.voucher-staging.allride.io/consumer/v1/billing/account",
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;
}{
"data": {
"id": 30017,
"resource": "billing-account",
"status": "active",
"mode": "invoiced",
"legalName": "Example Transit GmbH",
"address": {
"line1": "Musterstraße 1",
"line2": null,
"postalCode": "70173",
"city": "Stuttgart",
"region": null,
"country": "DE"
},
"vatId": "DE123456789",
"vatIdStatus": "valid",
"vatIdCheckedAt": "2026-10-22T09:05:00Z",
"taxTreatment": "domestic",
"buyerReference": null,
"purchaseOrderReference": "PO-2026-17",
"invoiceLanguage": "de",
"paymentTermsDays": 14,
"preferredPaymentMethodType": "sepa-debit",
"defaultPaymentMethodId": 42017,
"eInvoiceFormat": "zugferd-en16931",
"creditBalance": {
"value": 0,
"label": "€0.00"
},
"standing": "good-standing",
"missingItems": [],
"bankTransferInstructions": {
"iban": "DE00 0000 0000 0000 0000 00",
"bic": "EXAMPLEXXX",
"accountHolderName": "AllRide GmbH",
"bankName": "Example Bank"
},
"createdAt": "2026-10-22T09:00:00Z",
"updatedAt": "2026-11-02T08:10:00Z",
"_links": {
"self": {
"href": "https://api.voucher.allride.io/consumer/v1/billing/account",
"type": "application/json"
},
"invoices": {
"href": "https://api.voucher.allride.io/consumer/v1/billing/invoices",
"type": "application/json"
}
}
}
}Billing
Get the billing account
Returns your billing account: legal name, address, VAT ID and its VIES status, invoice language, e-invoice format, payment preferences, credit balance, dunning standing and the missingItems that block invoicing. See the billing guide.
Required permissions: view-consumer-billing · API keys: allowed
GET
/
consumer
/
v1
/
billing
/
account
Get the billing account
curl --request GET \
--url https://api.voucher-staging.allride.io/consumer/v1/billing/account \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.voucher-staging.allride.io/consumer/v1/billing/account', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.voucher-staging.allride.io/consumer/v1/billing/account"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)HttpResponse<String> response = Unirest.get("https://api.voucher-staging.allride.io/consumer/v1/billing/account")
.header("Authorization", "Bearer <token>")
.asString();package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.voucher-staging.allride.io/consumer/v1/billing/account"
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))
}<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.voucher-staging.allride.io/consumer/v1/billing/account",
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;
}{
"data": {
"id": 30017,
"resource": "billing-account",
"status": "active",
"mode": "invoiced",
"legalName": "Example Transit GmbH",
"address": {
"line1": "Musterstraße 1",
"line2": null,
"postalCode": "70173",
"city": "Stuttgart",
"region": null,
"country": "DE"
},
"vatId": "DE123456789",
"vatIdStatus": "valid",
"vatIdCheckedAt": "2026-10-22T09:05:00Z",
"taxTreatment": "domestic",
"buyerReference": null,
"purchaseOrderReference": "PO-2026-17",
"invoiceLanguage": "de",
"paymentTermsDays": 14,
"preferredPaymentMethodType": "sepa-debit",
"defaultPaymentMethodId": 42017,
"eInvoiceFormat": "zugferd-en16931",
"creditBalance": {
"value": 0,
"label": "€0.00"
},
"standing": "good-standing",
"missingItems": [],
"bankTransferInstructions": {
"iban": "DE00 0000 0000 0000 0000 00",
"bic": "EXAMPLEXXX",
"accountHolderName": "AllRide GmbH",
"bankName": "Example Bank"
},
"createdAt": "2026-10-22T09:00:00Z",
"updatedAt": "2026-11-02T08:10:00Z",
"_links": {
"self": {
"href": "https://api.voucher.allride.io/consumer/v1/billing/account",
"type": "application/json"
},
"invoices": {
"href": "https://api.voucher.allride.io/consumer/v1/billing/invoices",
"type": "application/json"
}
}
}
}Authorizations
Your API key in Authorization: Bearer <key>. Use vk_test_… keys against the sandbox and vk_live_… keys against production.
Response
OK
Single-object envelope around a BillingAccount.
Your billing account (consumer view). One per consumer partner, created automatically.
Show child attributes
Show child attributes