Use the Zoho Bills CLI from KosmoKrator to call Zoho Bills tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.
Zoho Bills can be configured headlessly with `kosmokrator integrations:configure zoho_bills`.
# Install KosmoKrator first if it is not available on PATH.curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash# Configure and verify this integration.kosmokrator integrations:configure zoho_bills --set access_token="$ZOHO_BILLS_ACCESS_TOKEN" --set organization_id="$ZOHO_BILLS_ORGANIZATION_ID" --enable --read allow --write ask --jsonkosmokrator integrations:doctor zoho_bills --jsonkosmokrator integrations:status --json
Credentials
Authentication type: Manual OAuth tokenoauth2_manual_token. Configure credentials once, then use the same stored profile from
scripts, coding CLIs, Lua code mode, and the MCP gateway.
Key
Env var
Type
Required
Label
access_token
ZOHO_BILLS_ACCESS_TOKEN
Secret secret
yes
Access Token
organization_id
ZOHO_BILLS_ORGANIZATION_ID
Text string
yes
Organization ID
url
ZOHO_BILLS_URL
URL url
no
API Base URL
Call Zoho Bills Headlessly
Use the generic call form when another coding CLI or script needs a stable universal interface.
Every function below can be called headlessly. The generic form is stable across all integrations;
the provider shortcut is shorter but specific to Zoho Bills.
zoho_bills.zoho_bills_list_invoices
Read read
List invoices from Zoho Bills. Optionally filter by status (draft, sent, overdue, paid, voided, partially_paid) or customer ID.
Create a new invoice in Zoho Bills. Provide a customer ID, line items, and optional date/due date. Each line item should include item_id or a name, plus rate and quantity.
Create a new invoice in Zoho Bills. Provide a customer ID, line items, and optional date/due date. Each line item should include item_id or a name, plus rate and quantity.
Array of line items. Each item should have item_id (or name/description), rate, and quantity. Example: [{"item_id": "...", "quantity": 2, "rate": 50.00}]
date
string
no
Invoice date in YYYY-MM-DD format. Defaults to today.
due_date
string
no
Due date in YYYY-MM-DD format.
zoho_bills.zoho_bills_list_customers
List customers (contacts) from Zoho Bills. Optionally filter by type (customer or vendor). Returns paginated results.
Headless calls still follow the integration read/write permission policy. Configure read/write defaults
with integrations:configure. Add --force only for trusted automation that should bypass that policy.