Introduction
The Zoho Invoice API allows you to perform all the operations that you do with our web client.
Zoho Invoice API is built using REST principles which ensures predictable URLs that makes writing applications easy. This API follows HTTP rules, enabling a wide range of HTTP clients which can be used to interact with the API.
Every resource is exposed as a URL. The URL of each resource can be obtained by accessing the API Root Endpoint.
The Organization ID and the Access token has to be sent as Header
in the API.The JSON String has to be sent as form-data
.
Server to server calls are only possible.
https://www.zohoapis.com/invoice/v3
Organization ID
In Zoho Invoice, your business is termed as an organization. If you have multiple businesses, you simply set each of those up as an individual organization. Each organization is an independent Zoho Invoice Organization with it’s own organization ID, base currency, time zone, language, contacts, reports, etc.
The parameter organization_id along with the organization ID should be sent in with every API request to identify the organization.
The organization_id
can be obtained from the GET /organizations
API’s JSON response. Alternatively, it can be obtained from the Manage Organizations page in the admin console:
Login to the Zoho Invoice admin console. Click the drop down with organization’s name as the label and click Manage Organizations.
$ curl https://www.zohoapis.com/invoice/v3/organizations
{
"code": 0,
"message": "success",
"organizations": [
{
"organization_id": "10234695",
"name": "Zillum",
"contact_name": "John Smith",
"email": "johnsmith@zillum.com",
"is_default_org": false,
"language_code": "en",
"fiscal_year_start_month": 0,
"account_created_date": "2016-02-18",
"time_zone": "PST",
"is_org_active": true,
"currency_id": "460000000000097",
"currency_code": "USD",
"currency_symbol": "$",
"currency_format": "###,##0.00",
"price_precision": 2
},
{...},
{...}
]
}
Multiple Data Centers
Zoho Invoice is hosted at multiple data centers, and therefore available on different domains.
There are 8 different domains for Zoho Invoice' APIs, and you will have to use the one that is applicable to you.
Data Center | Domain | Base API URI |
---|---|---|
United States | .com | https://www.zohoapis.com/invoice/ |
Europe | .eu | https://www.zohoapis.eu/invoice/ |
India | .in | https://www.zohoapis.in/invoice/ |
Australia | .com.au | https://www.zohoapis.com.au/invoice/ |
Japan | .jp | https://www.zohoapis.jp/invoice/ |
Canada | .ca | https://www.zohoapis.ca/invoice/ |
China | .com.cn | https://www.zohoapis.com.cn/invoice/ |
Saudi Arabia | .sa | https://www.zohoapis.sa/invoice/ |
The APIs on this page are for organizations in Zoho Invoice that are hosted on the .com domain. If your organization is on a different domain, then you must replace .com with the appropriate domain for API endpoints on this page before using them.
Note: To know the domain you're accessing Zoho Invoice from, visit the Zoho Invoice web app and check its URL. If the URL contains invoice.zoho.com, then you're accessing it from the .com domain. If the URL contains books.zoho.in, you're accessing it from the .in domain. Similarly, you could be accessing Zoho Invoice from the .eu or .com.au or .jp or .ca domain.
For example, here's how you would modify the domain in an API endpoint for the .eu domain:
API endpoint for the .com domain, as available on this page:
https://www.zohoapis.com/invoice/v3/invoices
API endpoint after replacing the .com domain with .eu:
https://www.zohoapis.eu/invoice/v3/invoices
API Call Limit
API calls are limited to provide better quality of service and availability to all the users. You can make 100 requests per minute per organisation. The limits on total requests per day are listed below for each plan:
- Free Plan - 1000 API requests/day