Zoho Books CLI Setup Zoho Books can be configured headlessly with `kosmokrator integrations:configure zoho_books`.
# 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_books --set access_token=" $ZOHO_BOOKS_ACCESS_TOKEN " --set organization_id=" $ZOHO_BOOKS_ORGANIZATION_ID " --enable --read allow --write ask --json
kosmokrator integrations:doctor zoho_books --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 Books Headlessly Use the generic call form when another coding CLI or script needs a stable universal interface.
kosmo integrations:call zoho_books.zohobooks_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,
"search_text": "example_search_text"
}' --json Use the provider shortcut form for shorter human-facing commands.
kosmo integrations:zoho_books zohobooks_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,
"search_text": "example_search_text"
}' --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_books --json
kosmo integrations:docs zoho_books.zohobooks_list_invoices --json
kosmo integrations:schema zoho_books.zohobooks_list_invoices --json
kosmo integrations:search "Zoho Books" --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 Books.
zoho_books.zohobooks_list_invoices Read read List invoices from Zoho Books. Returns a paginated list of invoices with optional filters for status, customer, and date range.
status, customer_id, date_start, date_end, page, per_page, search_text kosmo integrations:call zoho_books.zohobooks_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,"search_text":"example_search_text"}' --json copy kosmo integrations:zoho_books zohobooks_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,"search_text":"example_search_text"}' --json copy
zoho_books.zohobooks_get_invoice Read read Get full details of a specific invoice in Zoho Books by its ID, including line items, totals, payments, and credits.
invoice_id kosmo integrations:call zoho_books.zohobooks_get_invoice '{"invoice_id":"example_invoice_id"}' --json copy kosmo integrations:zoho_books zohobooks_get_invoice '{"invoice_id":"example_invoice_id"}' --json copy
zoho_books.zohobooks_create_invoice Write write Create a new invoice in Zoho Books. Requires a customer_id and line_items array. Each line item needs at least an item_id or name with a rate and quantity.
customer_id, line_items, date, due_date, invoice_number, reference_number, notes, terms kosmo integrations:call zoho_books.zohobooks_create_invoice '{"customer_id":"example_customer_id","line_items":"example_line_items","date":"example_date","due_date":"example_due_date","invoice_number":"example_invoice_number","reference_number":"example_reference_number","notes":"example_notes","terms":"example_terms"}' --json copy kosmo integrations:zoho_books zohobooks_create_invoice '{"customer_id":"example_customer_id","line_items":"example_line_items","date":"example_date","due_date":"example_due_date","invoice_number":"example_invoice_number","reference_number":"example_reference_number","notes":"example_notes","terms":"example_terms"}' --json copy
zoho_books.zohobooks_update_invoice Write write Update an existing invoice in Zoho Books. Provide the invoice_id and any fields to change (line_items, dates, notes, status, etc.).
invoice_id, customer_id, line_items, date, due_date, notes, terms, status, reference_number kosmo integrations:call zoho_books.zohobooks_update_invoice '{"invoice_id":"example_invoice_id","customer_id":"example_customer_id","line_items":"example_line_items","date":"example_date","due_date":"example_due_date","notes":"example_notes","terms":"example_terms","status":"example_status"}' --json copy kosmo integrations:zoho_books zohobooks_update_invoice '{"invoice_id":"example_invoice_id","customer_id":"example_customer_id","line_items":"example_line_items","date":"example_date","due_date":"example_due_date","notes":"example_notes","terms":"example_terms","status":"example_status"}' --json copy
zoho_books.zohobooks_list_contacts Read read List contacts (customers and vendors) from Zoho Books. Returns a paginated list with optional filters.
contact_type, status, page, per_page, search_text kosmo integrations:call zoho_books.zohobooks_list_contacts '{"contact_type":"example_contact_type","status":"example_status","page":1,"per_page":1,"search_text":"example_search_text"}' --json copy kosmo integrations:zoho_books zohobooks_list_contacts '{"contact_type":"example_contact_type","status":"example_status","page":1,"per_page":1,"search_text":"example_search_text"}' --json copy
zoho_books.zohobooks_get_contact Read read Get full details of a specific contact (customer or vendor) in Zoho Books, including addresses and contact persons.
contact_id kosmo integrations:call zoho_books.zohobooks_get_contact '{"contact_id":"example_contact_id"}' --json copy kosmo integrations:zoho_books zohobooks_get_contact '{"contact_id":"example_contact_id"}' --json copy
zoho_books.zohobooks_create_contact Write write Create a new contact (customer or vendor) in Zoho Books. Requires a name; optionally provide email, phone, company name, and contact type.
name, email, phone, company_name, contact_type, billing_address, shipping_address, notes kosmo integrations:call zoho_books.zohobooks_create_contact '{"name":"example_name","email":"example_email","phone":"example_phone","company_name":"example_company_name","contact_type":"example_contact_type","billing_address":"example_billing_address","shipping_address":"example_shipping_address","notes":"example_notes"}' --json copy kosmo integrations:zoho_books zohobooks_create_contact '{"name":"example_name","email":"example_email","phone":"example_phone","company_name":"example_company_name","contact_type":"example_contact_type","billing_address":"example_billing_address","shipping_address":"example_shipping_address","notes":"example_notes"}' --json copy
zoho_books.zohobooks_list_items Read read List items (products and services) from Zoho Books. Returns a paginated list with optional filters.
filter_type, page, per_page, search_text kosmo integrations:call zoho_books.zohobooks_list_items '{"filter_type":"example_filter_type","page":1,"per_page":1,"search_text":"example_search_text"}' --json copy kosmo integrations:zoho_books zohobooks_list_items '{"filter_type":"example_filter_type","page":1,"per_page":1,"search_text":"example_search_text"}' --json copy
zoho_books.zohobooks_create_item Write write Create a new item (product or service) in Zoho Books. Requires a name and rate. Optionally specify item type, description, unit, and tax.
name, rate, description, unit, item_type, tax_id, sku kosmo integrations:call zoho_books.zohobooks_create_item '{"name":"example_name","rate":1,"description":"example_description","unit":"example_unit","item_type":"example_item_type","tax_id":"example_tax_id","sku":"example_sku"}' --json copy kosmo integrations:zoho_books zohobooks_create_item '{"name":"example_name","rate":1,"description":"example_description","unit":"example_unit","item_type":"example_item_type","tax_id":"example_tax_id","sku":"example_sku"}' --json copy
zoho_books.zohobooks_list_estimates Read read List estimates (quotes) from Zoho Books. Returns a paginated list with optional filters for status, customer, and date range.
status, customer_id, date_start, date_end, page, per_page, search_text kosmo integrations:call zoho_books.zohobooks_list_estimates '{"status":"example_status","customer_id":"example_customer_id","date_start":"example_date_start","date_end":"example_date_end","page":1,"per_page":1,"search_text":"example_search_text"}' --json copy kosmo integrations:zoho_books zohobooks_list_estimates '{"status":"example_status","customer_id":"example_customer_id","date_start":"example_date_start","date_end":"example_date_end","page":1,"per_page":1,"search_text":"example_search_text"}' --json copy
zoho_books.zohobooks_create_estimate Write write Create a new estimate (quote) in Zoho Books. Requires a customer_id and line_items array. Each line item needs at least an item_id or name with a rate and quantity.
customer_id, line_items, date, expiry_date, estimate_number, reference_number, notes, terms kosmo integrations:call zoho_books.zohobooks_create_estimate '{"customer_id":"example_customer_id","line_items":"example_line_items","date":"example_date","expiry_date":"example_expiry_date","estimate_number":"example_estimate_number","reference_number":"example_reference_number","notes":"example_notes","terms":"example_terms"}' --json copy kosmo integrations:zoho_books zohobooks_create_estimate '{"customer_id":"example_customer_id","line_items":"example_line_items","date":"example_date","expiry_date":"example_expiry_date","estimate_number":"example_estimate_number","reference_number":"example_reference_number","notes":"example_notes","terms":"example_terms"}' --json copy
zoho_books.zohobooks_get_current_user Read read Get information about the currently authenticated Zoho Books user. Useful for verifying connectivity and identifying the active account.
none kosmo integrations:call zoho_books.zohobooks_get_current_user '{}' --json copy kosmo integrations:zoho_books zohobooks_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_books.zohobooks_list_invoices --json
Operation Read read
Schema command kosmo integrations:schema zoho_books.zohobooks_get_invoice --json
Operation Write write
Schema command kosmo integrations:schema zoho_books.zohobooks_create_invoice --json
Operation Write write
Schema command kosmo integrations:schema zoho_books.zohobooks_update_invoice --json
Operation Read read
Schema command kosmo integrations:schema zoho_books.zohobooks_list_contacts --json
Operation Read read
Schema command kosmo integrations:schema zoho_books.zohobooks_get_contact --json
Operation Write write
Schema command kosmo integrations:schema zoho_books.zohobooks_create_contact --json
Operation Read read
Schema command kosmo integrations:schema zoho_books.zohobooks_list_items --json
Operation Write write
Schema command kosmo integrations:schema zoho_books.zohobooks_create_item --json
Operation Read read
Schema command kosmo integrations:schema zoho_books.zohobooks_list_estimates --json
Operation Write write
Schema command kosmo integrations:schema zoho_books.zohobooks_create_estimate --json
Operation Read read
Schema command kosmo integrations:schema zoho_books.zohobooks_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.