Prompt
Zoho Books API customers and invoices
Latest observation
Nov 3, 2026
OpenAI APIWeb search: off
Zoho Books has separate endpoints for Customers and Invoices. Typically you:
- Create or fetch a customer
- Create an invoice using that customer’s
customer_id
Base URL
Usually:
https://www.zohoapis.com/books/v3/
(Region-specific domains may differ, e.g. .eu, .in, etc.)
1) Customers API
List customers
GET /customers
Example:
curl -X GET "https://www.zohoapis.com/books/v3/customers?organization_id=YOUR_ORG_ID" \
-H "Authorization: Zoho-oauthtoken YOUR_ACCESS_TOKEN"
Create customer
POST /customers
Example:
curl -X POST "https://www.zohoapis.com/books/v3/customers?organization_id=YOUR_ORG_ID" \
-H "Authorization: Zoho-oauthtoken YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"customer_name": "Acme Corp",
"company_name": "Acme Corp",
"contact_name": "John Doe",
"email": "john@acme.com",
"phone": "+1-555-1234"
}'
Response will include something like:
{
"customer": {
"customer_id": "123456789000000123",
"customer_name": "Acme Corp"
}
}
2) Invoices API
List invoices
GET /invoices
Create invoice
POST /invoices
Example:
curl -X POST "https://www.zohoapis.com/books/v3/invoices?organization_id=YOUR_ORG_ID" \
-H "Authorization: Zoho-oauthtoken YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"customer_id": "123456789000000123",
"line_items": [
{
"name": "Consulting Services",
"description": "Monthly consulting",
"rate": 500,
"quantity": 1
}
]
}'
Common flow
Step 1: Find customer by email
You can search customers:
GET /customers?search_text=john@acme.com
Step 2: Create invoice using returned customer_id
{
"customer_id": "123456789000000123",
"line_items": [
{
"name": "Service Fee",
"rate": 100,
"quantity": 2
}
]
}
Required auth
Zoho Books uses OAuth 2.0.
Header:
Authorization: Zoho-oauthtoken ACCESS_TOKEN
You also need:
organization_id- valid scopes for Books API
Useful endpoints
GET /customersPOST /customersGET /customers/{customer_id}GET /invoicesPOST /invoicesGET /invoices/{invoice_id}
If you want, I can also provide:
- a Python example
- a Node.js example
- a Postman collection setup
- or a full workflow: create customer → create invoice → send invoice
Brands