Zoho Invoice CLI Setup Zoho Invoice can be configured headlessly with `kosmokrator integrations:configure zoho_invoice`.
# 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_invoice --set access_token=" $ZOHO_INVOICE_ACCESS_TOKEN " --enable --read allow --write ask --json
kosmokrator integrations:doctor zoho_invoice --json
kosmokrator integrations:status --json Credentials
Authentication type: Manual OAuth token oauth2_manual_token. Configure credentials once, then use the same stored profile from
scripts, coding CLIs, Lua code mode, and the MCP gateway.
Call Zoho Invoice Headlessly Use the generic call form when another coding CLI or script needs a stable universal interface.
kosmo integrations:call zoho_invoice.zohoinvoice_list_invoices '{
"status": "example_status",
"customer_id": "example_customer_id",
"date_start": "example_date_start",
"date_end": "example_date_end",
"page": 1,
"per_page": 1,
"sort_column": "example_sort_column",
"sort_order": "example_sort_order"
}' --json Use the provider shortcut form for shorter human-facing commands.
kosmo integrations:zoho_invoice zohoinvoice_list_invoices '{
"status": "example_status",
"customer_id": "example_customer_id",
"date_start": "example_date_start",
"date_end": "example_date_end",
"page": 1,
"per_page": 1,
"sort_column": "example_sort_column",
"sort_order": "example_sort_order"
}' --json Agent Discovery Commands
These commands return structured output for coding agents that need to inspect capabilities before choosing a function.
kosmo integrations:docs zoho_invoice --json
kosmo integrations:docs zoho_invoice.zohoinvoice_list_invoices --json
kosmo integrations:schema zoho_invoice.zohoinvoice_list_invoices --json
kosmo integrations:search "Zoho Invoice" --json
kosmo integrations:list --json All CLI Functions
Every function below can be called headlessly. The generic form is stable across all integrations;
the provider shortcut is shorter but specific to Zoho Invoice.
zoho_invoice.zohoinvoice_list_invoices Read read List invoices from Zoho Invoice. Supports filtering by status (draft, sent, overdue, paid, void, partially_paid), customer, and date range.
status, customer_id, date_start, date_end, page, per_page, sort_column, sort_order kosmo integrations:call zoho_invoice.zohoinvoice_list_invoices '{"status":"example_status","customer_id":"example_customer_id","date_start":"example_date_start","date_end":"example_date_end","page":1,"per_page":1,"sort_column":"example_sort_column","sort_order":"example_sort_order"}' --json copy kosmo integrations:zoho_invoice zohoinvoice_list_invoices '{"status":"example_status","customer_id":"example_customer_id","date_start":"example_date_start","date_end":"example_date_end","page":1,"per_page":1,"sort_column":"example_sort_column","sort_order":"example_sort_order"}' --json copy
zoho_invoice.zohoinvoice_get_invoice Read read Get full details of a single invoice by its ID, including line items, totals, payments, and notes.
invoice_id kosmo integrations:call zoho_invoice.zohoinvoice_get_invoice '{"invoice_id":"example_invoice_id"}' --json copy kosmo integrations:zoho_invoice zohoinvoice_get_invoice '{"invoice_id":"example_invoice_id"}' --json copy
zoho_invoice.zohoinvoice_create_invoice Write write Create a new invoice in Zoho Invoice. Requires at minimum a customer_id and one line item. Returns the created invoice with its ID and total.
customer_id, line_items, invoice_number, date, due_date, notes, terms, reference_number kosmo integrations:call zoho_invoice.zohoinvoice_create_invoice '{"customer_id":"example_customer_id","line_items":"example_line_items","invoice_number":"example_invoice_number","date":"example_date","due_date":"example_due_date","notes":"example_notes","terms":"example_terms","reference_number":"example_reference_number"}' --json copy kosmo integrations:zoho_invoice zohoinvoice_create_invoice '{"customer_id":"example_customer_id","line_items":"example_line_items","invoice_number":"example_invoice_number","date":"example_date","due_date":"example_due_date","notes":"example_notes","terms":"example_terms","reference_number":"example_reference_number"}' --json copy
zoho_invoice.zohoinvoice_list_contacts Read read List contacts (customers and vendors) from Zoho Invoice. Supports filtering by type (customer or vendor) and pagination.
type, status, page, per_page, search_text kosmo integrations:call zoho_invoice.zohoinvoice_list_contacts '{"type":"example_type","status":"example_status","page":1,"per_page":1,"search_text":"example_search_text"}' --json copy kosmo integrations:zoho_invoice zohoinvoice_list_contacts '{"type":"example_type","status":"example_status","page":1,"per_page":1,"search_text":"example_search_text"}' --json copy
zoho_invoice.zohoinvoice_list_items Read read List items (products and services) from Zoho Invoice. Use item IDs when creating invoices with line items.
type, status, page, per_page, search_text kosmo integrations:call zoho_invoice.zohoinvoice_list_items '{"type":"example_type","status":"example_status","page":1,"per_page":1,"search_text":"example_search_text"}' --json copy kosmo integrations:zoho_invoice zohoinvoice_list_items '{"type":"example_type","status":"example_status","page":1,"per_page":1,"search_text":"example_search_text"}' --json copy
zoho_invoice.zohoinvoice_list_payments Read read List payments received in Zoho Invoice. Supports filtering by customer, date range, and payment mode.
customer_id, date_start, date_end, payment_mode, page, per_page kosmo integrations:call zoho_invoice.zohoinvoice_list_payments '{"customer_id":"example_customer_id","date_start":"example_date_start","date_end":"example_date_end","payment_mode":"example_payment_mode","page":1,"per_page":1}' --json copy kosmo integrations:zoho_invoice zohoinvoice_list_payments '{"customer_id":"example_customer_id","date_start":"example_date_start","date_end":"example_date_end","payment_mode":"example_payment_mode","page":1,"per_page":1}' --json copy
zoho_invoice.zohoinvoice_get_current_user Read read Get the authenticated user's profile from Zoho Invoice, including name, email, and role.
none kosmo integrations:call zoho_invoice.zohoinvoice_get_current_user '{}' --json copy kosmo integrations:zoho_invoice zohoinvoice_get_current_user '{}' --json copy Function Schemas Use these parameter tables when building CLI payloads without calling integrations:schema first.
Operation Read read
Schema command kosmo integrations:schema zoho_invoice.zohoinvoice_list_invoices --json
Operation Read read
Schema command kosmo integrations:schema zoho_invoice.zohoinvoice_get_invoice --json
Operation Write write
Schema command kosmo integrations:schema zoho_invoice.zohoinvoice_create_invoice --json
Operation Read read
Schema command kosmo integrations:schema zoho_invoice.zohoinvoice_list_contacts --json
Operation Read read
Schema command kosmo integrations:schema zoho_invoice.zohoinvoice_list_items --json
Operation Read read
Schema command kosmo integrations:schema zoho_invoice.zohoinvoice_list_payments --json
Operation Read read
Schema command kosmo integrations:schema zoho_invoice.zohoinvoice_get_current_user --json Permissions
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.