See how to read your Varibill data from an application.
// List all clients with active contractsvar clients = await client
.GetAsync("api.varibill.com/odata/Clients"
+ "?$filter=IsActive eq true"
+ "&$expand=Contracts"
+ "&$orderby=Name");
// Get billing documents for this monthvar invoices = await client
.GetAsync("api.varibill.com/odata/"
+ "BillingDocuments"
+ "?$filter=BillingDate ge 2026-11-01"
+ "&$select=Number,Total,Currency");
# List all clients with active contractsimport requests
url = "https://api.varibill.com/odata/Clients"
params = {
"$filter": "IsActive eq true",
"$expand": "Contracts",
"$orderby": "Name"
}
response = requests.get(url, params=params, headers=headers)
clients = response.json()["value"]
// Power BI — OData feed connectionlet
Source = OData.Feed(
"https://api.varibill.com/odata/Clients",
null,
[Implementation="2.0"]
),
Filtered = Table.SelectRows(
Source,
each [IsActive] = true
)
in
Filtered
MCP Server — natural language
S
Show me which clients have unbilled usage this month
V
I found 4 clients with usage that hasn't been invoiced yet this cycle:
Acme Corp — 142 M365 licences, R 28,400 Nexus IT — 89 Azure VMs, R 156,320 TechFlow — 2,400 voice minutes, R 3,600 DataPeak — 48 Veeam agents, R 9,120
Want me to run billing for any of these?
S
Run billing for Acme Corp
Need help getting started?
Browse the documentation or speak to our team about your integration.