imlolman/zohobooks

An Unofficial PHP SDK for ZohoBooks generated by https://github.com/imlolman/php-sdk-generator-from-postman-sdk

0.0.8 2024-05-20 10:44 UTC

This package is auto-updated.

Last update: 2025-04-21 18:49:57 UTC


README

This is a PHP SDK generated with the help of the Postman Collection of ZohoBooks API by using https://github.com/imlolman/php-sdk-generator-from-postman-sdk tool created by me and then modified to work with ZohoBooks API. This SDK is not officially supported by ZohoBooks.

Installation

composer require imlolman/zohobooks

Usage

1: We have to get code to get access and refresh token. We can get code by visiting the following URL in the browser and authorizing the zohoBooks, you will get code in return: https://accounts.zoho.com/oauth/v2/auth?response_type=code&client_id={{{{ CLIENT ID HERE }}}}&scope=ZohoBooks.fullaccess.all&redirect_uri={{{{ YOUR REDIRECT URI HERE }}}}&prompt=consent&access_type=offline

2: After visiting the URL, you will get an authorization code that you can use to get access and refresh token by sending a POST request to the following URL: https://accounts.zoho.com/oauth/v2/token?client_id={{{{ CLIENT ID HERE }}}}&grant_type=authorization_code&client_secret={{{{ CLIENT SECRET HERE }}}}&redirect_uri={{{{ REDIRECT URI }}}}&code={{{{ AUTHORIZATION CODE FROM ABOVE REQUEST }}}}

3: Once you have tokens, use in below code

<?php
require_once __DIR__ . '/vendor/autoload.php';

use ZohoBooks\ZohoBooks; // For SDK initialization
use ZohoBooks\SDK\Contacts; // For Contacts API
use ZohoBooks\SDK\Invoices; // For Invoices API
// You can use any other API from the list of APIs in the SDK

// Retrive the config from .env file, database, or you can pass the config array directly
$config = [
  "CLIENT_ID" => "", // Your client id from Zoho Developer Console
  "CLIENT_SECRET" => "", // Your client secret from Zoho Developer Console
  "REDIRECT_URI" => "", // Your redirect uri from Zoho Developer Console
  "ACCESS_TOKEN" => "", // Your access token to be genetated using OAuth2
  "REFRESH_TOKEN" => "", // Your refresh token to be genetated using OAuth2
  "ORGANIZATION_ID" => "", // Your organization id from ZohoBooks
  "ACCESS_TOKEN_EXPIRY" => "", // Your access token to be genetated using OAuth2
  "ZOHO_BOOKS_DOMAIN" => "www.zohoapis.com", // Your ZohoBooks domain (default: www.zohoapis.com), can bewww.zohoapis.in,www.zohoapis.eu, etc.
]

// Initialize the SDK
$newConfig = ZohoBooks::init($config)->getConfig();

// If the access token is expired, it will automatically refresh the token
if ($newConfig['ACCESS_TOKEN_EXPIRY'] != $config['ACCESS_TOKEN_EXPIRY']) {
    // save it to the same location you have saved the config so that it can be used in the next request
}

// You can use any API from the list of APIs in the SDK
$contacts = new Contacts();
$contacts->list_contacts();

$invoices = new Invoices();
$invoices->list_invoices();

$contacts->create_a_contact([
  'contact_name' => 'John Doe',
  'company_name' => 'John Doe Company',
  'website' => 'https://johndoe.com',
  'billing_address' => [
    'address' => '123 Main St',
    'city' => 'New York',
    'state' => 'NY',
    'zip' => '10001',
    'country' => 'US',
  ],
  'shipping_address' => [
    'address' => '123 Main St',
    'city' => 'New York',
    'state' => 'NY',
    'zip' => '10001',
    'country' => 'US',
  ]
])

// For more information about the parameters, please refer to the official documentation at https://www.zoho.com/books/api/v3/

Table of Contents

SalesOrders

create_a_sales_order

Arguments:

  • $data = []

Example:

$salesorders = new SalesOrders();
$salesorders->create_a_sales_order($data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

list_sales_orders

Arguments:

  • No arguments required.

Example:

$salesorders = new SalesOrders();
$salesorders->list_sales_orders();

update_a_sales_order

Arguments:

  • $salesorderid
  • $data = []

Example:

$salesorders = new SalesOrders();
$salesorders->update_a_sales_order($salesorderid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

get_a_sales_order

Arguments:

  • $salesorderid

Example:

$salesorders = new SalesOrders();
$salesorders->get_a_sales_order($salesorderid);

delete_a_sales_order

Arguments:

  • $salesorderid

Example:

$salesorders = new SalesOrders();
$salesorders->delete_a_sales_order($salesorderid);

mark_a_sales_order_as_open

Arguments:

  • $salesorderid
  • $data = []

Example:

$salesorders = new SalesOrders();
$salesorders->mark_a_sales_order_as_open($salesorderid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

mark_a_sales_order_as_void

Arguments:

  • $salesorderid
  • $data = []

Example:

$salesorders = new SalesOrders();
$salesorders->mark_a_sales_order_as_void($salesorderid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

update_a_sales_order_sub_status

Arguments:

  • $salesorderid
  • $statuscode
  • $data = []

Example:

$salesorders = new SalesOrders();
$salesorders->update_a_sales_order_sub_status($salesorderid, $statuscode, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

email_a_sales_order

Arguments:

  • $salesorderid
  • $data = []

Example:

$salesorders = new SalesOrders();
$salesorders->email_a_sales_order($salesorderid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

get_sales_order_email_content

Arguments:

  • $salesorderid

Example:

$salesorders = new SalesOrders();
$salesorders->get_sales_order_email_content($salesorderid);

submit_a_sales_order_for_approval

Arguments:

  • $salesorderid
  • $data = []

Example:

$salesorders = new SalesOrders();
$salesorders->submit_a_sales_order_for_approval($salesorderid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

approve_a_sales_order

Arguments:

  • $salesorderid
  • $data = []

Example:

$salesorders = new SalesOrders();
$salesorders->approve_a_sales_order($salesorderid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

bulk_export_sales_orders

Arguments:

  • No arguments required.

Example:

$salesorders = new SalesOrders();
$salesorders->bulk_export_sales_orders();

bulk_print_sales_orders

Arguments:

  • No arguments required.

Example:

$salesorders = new SalesOrders();
$salesorders->bulk_print_sales_orders();

update_billing_address

Arguments:

  • $salesorderid
  • $data = []

Example:

$salesorders = new SalesOrders();
$salesorders->update_billing_address($salesorderid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

update_shipping_address

Arguments:

  • $salesorderid
  • $data = []

Example:

$salesorders = new SalesOrders();
$salesorders->update_shipping_address($salesorderid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

list_sales_order_templates

Arguments:

  • No arguments required.

Example:

$salesorders = new SalesOrders();
$salesorders->list_sales_order_templates();

update_sales_order_template

Arguments:

  • $salesorderid
  • $templateid
  • $data = []

Example:

$salesorders = new SalesOrders();
$salesorders->update_sales_order_template($salesorderid, $templateid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

add_attachment_to_a_sales_order

Arguments:

  • $salesorderid
  • $data = []

Example:

$salesorders = new SalesOrders();
$salesorders->add_attachment_to_a_sales_order($salesorderid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

update_attachment_preference

Arguments:

  • $salesorderid
  • $data = []

Example:

$salesorders = new SalesOrders();
$salesorders->update_attachment_preference($salesorderid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

get_a_sales_order_attachment

Arguments:

  • $salesorderid

Example:

$salesorders = new SalesOrders();
$salesorders->get_a_sales_order_attachment($salesorderid);

delete_an_attachment

Arguments:

  • $salesorderid

Example:

$salesorders = new SalesOrders();
$salesorders->delete_an_attachment($salesorderid);

add_comment

Arguments:

  • $salesorderid
  • $data = []

Example:

$salesorders = new SalesOrders();
$salesorders->add_comment($salesorderid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

list_sales_order_comments_and_history

Arguments:

  • $salesorderid

Example:

$salesorders = new SalesOrders();
$salesorders->list_sales_order_comments_and_history($salesorderid);

update_comment

Arguments:

  • $salesorderid
  • $commentid
  • $data = []

Example:

$salesorders = new SalesOrders();
$salesorders->update_comment($salesorderid, $commentid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

delete_a_comment

Arguments:

  • $salesorderid
  • $commentid

Example:

$salesorders = new SalesOrders();
$salesorders->delete_a_comment($salesorderid, $commentid);

Organizations

create_an_organization

Arguments:

  • $data = []

Example:

$organizations = new Organizations();
$organizations->create_an_organization($data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

get_organization_details

Arguments:

  • No arguments required.

Example:

$organizations = new Organizations();
$organizations->get_organization_details();

delete_an_organization

Arguments:

  • No arguments required.

Example:

$organizations = new Organizations();
$organizations->delete_an_organization();

get_organization

Arguments:

  • $organizationid

Example:

$organizations = new Organizations();
$organizations->get_organization($organizationid);

update_organization

Arguments:

  • $organizationid
  • $data = []

Example:

$organizations = new Organizations();
$organizations->update_organization($organizationid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

BankRules

create_a_rule

Arguments:

  • $data = []

Example:

$bankrules = new BankRules();
$bankrules->create_a_rule($data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

get_rules_list

Arguments:

  • No arguments required.

Example:

$bankrules = new BankRules();
$bankrules->get_rules_list();

update_a_rule

Arguments:

  • $ruleid
  • $data = []

Example:

$bankrules = new BankRules();
$bankrules->update_a_rule($ruleid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

get_a_rule

Arguments:

  • $ruleid

Example:

$bankrules = new BankRules();
$bankrules->get_a_rule($ruleid);

delete_a_rule

Arguments:

  • $ruleid

Example:

$bankrules = new BankRules();
$bankrules->delete_a_rule($ruleid);

BankAccounts

create_a_bank_account

Arguments:

  • $data = []

Example:

$bankaccounts = new BankAccounts();
$bankaccounts->create_a_bank_account($data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

list_view_of_accounts

Arguments:

  • No arguments required.

Example:

$bankaccounts = new BankAccounts();
$bankaccounts->list_view_of_accounts();

update_bank_account

Arguments:

  • $accountid
  • $data = []

Example:

$bankaccounts = new BankAccounts();
$bankaccounts->update_bank_account($accountid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

get_account_details

Arguments:

  • $accountid

Example:

$bankaccounts = new BankAccounts();
$bankaccounts->get_account_details($accountid);

delete_an_account

Arguments:

  • $accountid

Example:

$bankaccounts = new BankAccounts();
$bankaccounts->delete_an_account($accountid);

deactivate_account

Arguments:

  • $accountid
  • $data = []

Example:

$bankaccounts = new BankAccounts();
$bankaccounts->deactivate_account($accountid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

activate_account

Arguments:

  • $accountid
  • $data = []

Example:

$bankaccounts = new BankAccounts();
$bankaccounts->activate_account($accountid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

import_a_bank_credit_card_statement

Arguments:

  • $data = []

Example:

$bankaccounts = new BankAccounts();
$bankaccounts->import_a_bank_credit_card_statement($data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

get_last_imported_statement

Arguments:

  • $accountid

Example:

$bankaccounts = new BankAccounts();
$bankaccounts->get_last_imported_statement($accountid);

delete_last_imported_statement

Arguments:

  • $accountid
  • $statementid

Example:

$bankaccounts = new BankAccounts();
$bankaccounts->delete_last_imported_statement($accountid, $statementid);

Projects

create_a_project

Arguments:

  • $data = []

Example:

$projects = new Projects();
$projects->create_a_project($data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

list_projects

Arguments:

  • No arguments required.

Example:

$projects = new Projects();
$projects->list_projects();

update_project

Arguments:

  • $projectid
  • $data = []

Example:

$projects = new Projects();
$projects->update_project($projectid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

get_a_project

Arguments:

  • $projectid

Example:

$projects = new Projects();
$projects->get_a_project($projectid);

delete_project

Arguments:

  • $projectid

Example:

$projects = new Projects();
$projects->delete_project($projectid);

activate_project

Arguments:

  • $projectid
  • $data = []

Example:

$projects = new Projects();
$projects->activate_project($projectid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

inactivate_a_project

Arguments:

  • $projectid
  • $data = []

Example:

$projects = new Projects();
$projects->inactivate_a_project($projectid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

clone_project

Arguments:

  • $projectid
  • $data = []

Example:

$projects = new Projects();
$projects->clone_project($projectid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

assign_users

Arguments:

  • $projectid
  • $data = []

Example:

$projects = new Projects();
$projects->assign_users($projectid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

list_users

Arguments:

  • $projectid

Example:

$projects = new Projects();
$projects->list_users($projectid);

invite_user

Arguments:

  • $projectid
  • $data = []

Example:

$projects = new Projects();
$projects->invite_user($projectid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

update_user

Arguments:

  • $projectid
  • $userid
  • $data = []

Example:

$projects = new Projects();
$projects->update_user($projectid, $userid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

get_a_user

Arguments:

  • $projectid
  • $userid

Example:

$projects = new Projects();
$projects->get_a_user($projectid, $userid);

delete_user

Arguments:

  • $projectid
  • $userid

Example:

$projects = new Projects();
$projects->delete_user($projectid, $userid);

post_comment

Arguments:

  • $projectid
  • $data = []

Example:

$projects = new Projects();
$projects->post_comment($projectid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

list_comments

Arguments:

  • $projectid

Example:

$projects = new Projects();
$projects->list_comments($projectid);

delete_comment

Arguments:

  • $projectid
  • $commentid

Example:

$projects = new Projects();
$projects->delete_comment($projectid, $commentid);

list_invoices

Arguments:

  • $projectid

Example:

$projects = new Projects();
$projects->list_invoices($projectid);

RecurringBills

create_a_recurring_bill

Arguments:

  • $data = []

Example:

$recurringbills = new RecurringBills();
$recurringbills->create_a_recurring_bill($data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

list_recurring_bills

Arguments:

  • No arguments required.

Example:

$recurringbills = new RecurringBills();
$recurringbills->list_recurring_bills();

update_a_recurring_bill

Arguments:

  • $recurringbillid
  • $data = []

Example:

$recurringbills = new RecurringBills();
$recurringbills->update_a_recurring_bill($recurringbillid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

get_a_recurring_bill

Arguments:

  • $recurringbillid

Example:

$recurringbills = new RecurringBills();
$recurringbills->get_a_recurring_bill($recurringbillid);

delete_a_recurring_bill

Arguments:

  • $recurringbillid

Example:

$recurringbills = new RecurringBills();
$recurringbills->delete_a_recurring_bill($recurringbillid);

stop_a_recurring_bill

Arguments:

  • $recurringbillid
  • $data = []

Example:

$recurringbills = new RecurringBills();
$recurringbills->stop_a_recurring_bill($recurringbillid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

resume_a_recurring_bill

Arguments:

  • $recurringbillid
  • $data = []

Example:

$recurringbills = new RecurringBills();
$recurringbills->resume_a_recurring_bill($recurringbillid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

list_recurring_bill_history

Arguments:

  • $recurringbillid

Example:

$recurringbills = new RecurringBills();
$recurringbills->list_recurring_bill_history($recurringbillid);

CustomModules

create_custom_modules

Arguments:

  • $modulename
  • $data = []

Example:

$custommodules = new CustomModules();
$custommodules->create_custom_modules($modulename, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

bulk_update_custom_module

Arguments:

  • $modulename
  • $data = []

Example:

$custommodules = new CustomModules();
$custommodules->bulk_update_custom_module($modulename, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

get_record_list_of_a_custom_module

Arguments:

  • $modulename

Example:

$custommodules = new CustomModules();
$custommodules->get_record_list_of_a_custom_module($modulename);

delete_custom_modules

Arguments:

  • $modulename

Example:

$custommodules = new CustomModules();
$custommodules->delete_custom_modules($modulename);

update_custom_module

Arguments:

  • $modulename
  • $moduleid
  • $data = []

Example:

$custommodules = new CustomModules();
$custommodules->update_custom_module($modulename, $moduleid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

get_individual_record_details

Arguments:

  • $modulename
  • $moduleid

Example:

$custommodules = new CustomModules();
$custommodules->get_individual_record_details($modulename, $moduleid);

delete_individual_records

Arguments:

  • $modulename
  • $moduleid

Example:

$custommodules = new CustomModules();
$custommodules->delete_individual_records($modulename, $moduleid);

RecurringExpenses

create_a_recurring_expense

Arguments:

  • $data = []

Example:

$recurringexpenses = new RecurringExpenses();
$recurringexpenses->create_a_recurring_expense($data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

list_recurring_expenses

Arguments:

  • No arguments required.

Example:

$recurringexpenses = new RecurringExpenses();
$recurringexpenses->list_recurring_expenses();

update_a_recurring_expense

Arguments:

  • $recurringexpenseid
  • $data = []

Example:

$recurringexpenses = new RecurringExpenses();
$recurringexpenses->update_a_recurring_expense($recurringexpenseid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

get_a_recurring_expense

Arguments:

  • $recurringexpenseid

Example:

$recurringexpenses = new RecurringExpenses();
$recurringexpenses->get_a_recurring_expense($recurringexpenseid);

delete_a_recurring_expense

Arguments:

  • $recurringexpenseid

Example:

$recurringexpenses = new RecurringExpenses();
$recurringexpenses->delete_a_recurring_expense($recurringexpenseid);

stop_a_recurring_expense

Arguments:

  • $recurringexpenseid
  • $data = []

Example:

$recurringexpenses = new RecurringExpenses();
$recurringexpenses->stop_a_recurring_expense($recurringexpenseid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

resume_a_recurring_expense

Arguments:

  • $recurringexpenseid
  • $data = []

Example:

$recurringexpenses = new RecurringExpenses();
$recurringexpenses->resume_a_recurring_expense($recurringexpenseid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

list_child_expenses_created

Arguments:

  • $recurringexpenseid

Example:

$recurringexpenses = new RecurringExpenses();
$recurringexpenses->list_child_expenses_created($recurringexpenseid);

list_recurring_expense_history

Arguments:

  • $recurringexpenseid

Example:

$recurringexpenses = new RecurringExpenses();
$recurringexpenses->list_recurring_expense_history($recurringexpenseid);

Invoices

create_an_invoice

Arguments:

  • $data = []

Example:

$invoices = new Invoices();
$invoices->create_an_invoice($data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

list_invoices

Arguments:

  • No arguments required.

Example:

$invoices = new Invoices();
$invoices->list_invoices();

update_an_invoice

Arguments:

  • $invoiceid
  • $data = []

Example:

$invoices = new Invoices();
$invoices->update_an_invoice($invoiceid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

get_an_invoice

Arguments:

  • $invoiceid

Example:

$invoices = new Invoices();
$invoices->get_an_invoice($invoiceid);

delete_an_invoice

Arguments:

  • $invoiceid

Example:

$invoices = new Invoices();
$invoices->delete_an_invoice($invoiceid);

mark_an_invoice_as_sent

Arguments:

  • $invoiceid
  • $data = []

Example:

$invoices = new Invoices();
$invoices->mark_an_invoice_as_sent($invoiceid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

void_an_invoice

Arguments:

  • $invoiceid
  • $data = []

Example:

$invoices = new Invoices();
$invoices->void_an_invoice($invoiceid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

mark_as_draft

Arguments:

  • $invoiceid
  • $data = []

Example:

$invoices = new Invoices();
$invoices->mark_as_draft($invoiceid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

email_invoices

Arguments:

  • $data = []

Example:

$invoices = new Invoices();
$invoices->email_invoices($data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

submit_an_invoice_for_approval

Arguments:

  • $invoiceid
  • $data = []

Example:

$invoices = new Invoices();
$invoices->submit_an_invoice_for_approval($invoiceid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

approve_an_invoice

Arguments:

  • $invoiceid
  • $data = []

Example:

$invoices = new Invoices();
$invoices->approve_an_invoice($invoiceid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

email_an_invoice

Arguments:

  • $invoiceid
  • $data = []

Example:

$invoices = new Invoices();
$invoices->email_an_invoice($invoiceid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

get_invoice_email_content

Arguments:

  • $invoiceid

Example:

$invoices = new Invoices();
$invoices->get_invoice_email_content($invoiceid);

remind_customer

Arguments:

  • $invoiceid
  • $data = []

Example:

$invoices = new Invoices();
$invoices->remind_customer($invoiceid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

get_payment_reminder_mail_content

Arguments:

  • $invoiceid

Example:

$invoices = new Invoices();
$invoices->get_payment_reminder_mail_content($invoiceid);

bulk_invoice_reminder

Arguments:

  • $data = []

Example:

$invoices = new Invoices();
$invoices->bulk_invoice_reminder($data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

bulk_export_invoices

Arguments:

  • No arguments required.

Example:

$invoices = new Invoices();
$invoices->bulk_export_invoices();

bulk_print_invoices

Arguments:

  • No arguments required.

Example:

$invoices = new Invoices();
$invoices->bulk_print_invoices();

disable_payment_reminder

Arguments:

  • $invoiceid
  • $data = []

Example:

$invoices = new Invoices();
$invoices->disable_payment_reminder($invoiceid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

enable_payment_reminder

Arguments:

  • $invoiceid
  • $data = []

Example:

$invoices = new Invoices();
$invoices->enable_payment_reminder($invoiceid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

write_off_invoice

Arguments:

  • $invoiceid
  • $data = []

Example:

$invoices = new Invoices();
$invoices->write_off_invoice($invoiceid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

cancel_write_off

Arguments:

  • $invoiceid
  • $data = []

Example:

$invoices = new Invoices();
$invoices->cancel_write_off($invoiceid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

update_billing_address

Arguments:

  • $invoiceid
  • $data = []

Example:

$invoices = new Invoices();
$invoices->update_billing_address($invoiceid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

update_shipping_address

Arguments:

  • $invoiceid
  • $data = []

Example:

$invoices = new Invoices();
$invoices->update_shipping_address($invoiceid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

list_invoice_templates

Arguments:

  • No arguments required.

Example:

$invoices = new Invoices();
$invoices->list_invoice_templates();

update_invoice_template

Arguments:

  • $invoiceid
  • $templateid
  • $data = []

Example:

$invoices = new Invoices();
$invoices->update_invoice_template($invoiceid, $templateid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

list_invoice_payments

Arguments:

  • $invoiceid

Example:

$invoices = new Invoices();
$invoices->list_invoice_payments($invoiceid);

list_credits_applied

Arguments:

  • $invoiceid

Example:

$invoices = new Invoices();
$invoices->list_credits_applied($invoiceid);

apply_credits

Arguments:

  • $invoiceid
  • $data = []

Example:

$invoices = new Invoices();
$invoices->apply_credits($invoiceid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

delete_a_payment

Arguments:

  • $invoiceid
  • $invoicepaymentid

Example:

$invoices = new Invoices();
$invoices->delete_a_payment($invoiceid, $invoicepaymentid);

delete_applied_credit

Arguments:

  • $invoiceid
  • $creditnotesinvoiceid

Example:

$invoices = new Invoices();
$invoices->delete_applied_credit($invoiceid, $creditnotesinvoiceid);

add_attachment_to_an_invoice

Arguments:

  • $invoiceid
  • $data = []

Example:

$invoices = new Invoices();
$invoices->add_attachment_to_an_invoice($invoiceid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

update_attachment_preference

Arguments:

  • $invoiceid
  • $data = []

Example:

$invoices = new Invoices();
$invoices->update_attachment_preference($invoiceid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

get_an_invoice_attachment

Arguments:

  • $invoiceid

Example:

$invoices = new Invoices();
$invoices->get_an_invoice_attachment($invoiceid);

delete_an_attachment

Arguments:

  • $invoiceid

Example:

$invoices = new Invoices();
$invoices->delete_an_attachment($invoiceid);

delete_the_expense_receipt

Arguments:

  • $expenseid

Example:

$invoices = new Invoices();
$invoices->delete_the_expense_receipt($expenseid);

add_comment

Arguments:

  • $invoiceid
  • $data = []

Example:

$invoices = new Invoices();
$invoices->add_comment($invoiceid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

list_invoice_comments_and_history

Arguments:

  • $invoiceid

Example:

$invoices = new Invoices();
$invoices->list_invoice_comments_and_history($invoiceid);

update_comment

Arguments:

  • $invoiceid
  • $commentid
  • $data = []

Example:

$invoices = new Invoices();
$invoices->update_comment($invoiceid, $commentid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

delete_a_comment

Arguments:

  • $invoiceid
  • $commentid

Example:

$invoices = new Invoices();
$invoices->delete_a_comment($invoiceid, $commentid);

Contacts

create_a_contact

Arguments:

  • $data = []

Example:

$contacts = new Contacts();
$contacts->create_a_contact($data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

list_contacts

Arguments:

  • No arguments required.

Example:

$contacts = new Contacts();
$contacts->list_contacts();

update_a_contact

Arguments:

  • $contactid
  • $data = []

Example:

$contacts = new Contacts();
$contacts->update_a_contact($contactid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

get_contact

Arguments:

  • $contactid

Example:

$contacts = new Contacts();
$contacts->get_contact($contactid);

delete_a_contact

Arguments:

  • $contactid

Example:

$contacts = new Contacts();
$contacts->delete_a_contact($contactid);

mark_as_active

Arguments:

  • $contactid
  • $data = []

Example:

$contacts = new Contacts();
$contacts->mark_as_active($contactid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

mark_as_inactive

Arguments:

  • $contactid
  • $data = []

Example:

$contacts = new Contacts();
$contacts->mark_as_inactive($contactid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

enable_portal_access

Arguments:

  • $contactid
  • $data = []

Example:

$contacts = new Contacts();
$contacts->enable_portal_access($contactid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

enable_payment_reminders

Arguments:

  • $contactid
  • $data = []

Example:

$contacts = new Contacts();
$contacts->enable_payment_reminders($contactid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

disable_payment_reminders

Arguments:

  • $contactid
  • $data = []

Example:

$contacts = new Contacts();
$contacts->disable_payment_reminders($contactid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

email_statement

Arguments:

  • $contactid
  • $data = []

Example:

$contacts = new Contacts();
$contacts->email_statement($contactid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

get_statement_mail_content

Arguments:

  • $contactid

Example:

$contacts = new Contacts();
$contacts->get_statement_mail_content($contactid);

email_contact

Arguments:

  • $contactid
  • $data = []

Example:

$contacts = new Contacts();
$contacts->email_contact($contactid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

list_comments

Arguments:

  • $contactid

Example:

$contacts = new Contacts();
$contacts->list_comments($contactid);

add_additional_address

Arguments:

  • $contactid
  • $data = []

Example:

$contacts = new Contacts();
$contacts->add_additional_address($contactid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

get_contact_addresses

Arguments:

  • $contactid

Example:

$contacts = new Contacts();
$contacts->get_contact_addresses($contactid);

edit_additional_address

Arguments:

  • $contactid
  • $addressid
  • $data = []

Example:

$contacts = new Contacts();
$contacts->edit_additional_address($contactid, $addressid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

delete_additional_address

Arguments:

  • $contactid
  • $addressid

Example:

$contacts = new Contacts();
$contacts->delete_additional_address($contactid, $addressid);

list_refunds

Arguments:

  • $contactid

Example:

$contacts = new Contacts();
$contacts->list_refunds($contactid);

track_1099

Arguments:

  • $contactid
  • $data = []

Example:

$contacts = new Contacts();
$contacts->track_1099($contactid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

untrack_1099

Arguments:

  • $contactid
  • $data = []

Example:

$contacts = new Contacts();
$contacts->untrack_1099($contactid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

VendorCredits

create_a_vendor_credit

Arguments:

  • $data = []

Example:

$vendorcredits = new VendorCredits();
$vendorcredits->create_a_vendor_credit($data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

list_vendor_credits

Arguments:

  • No arguments required.

Example:

$vendorcredits = new VendorCredits();
$vendorcredits->list_vendor_credits();

update_vendor_credit

Arguments:

  • $vendorcreditid
  • $data = []

Example:

$vendorcredits = new VendorCredits();
$vendorcredits->update_vendor_credit($vendorcreditid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

get_vendor_credit

Arguments:

  • $vendorcreditid

Example:

$vendorcredits = new VendorCredits();
$vendorcredits->get_vendor_credit($vendorcreditid);

delete_vendor_credit

Arguments:

  • $vendorcreditid

Example:

$vendorcredits = new VendorCredits();
$vendorcredits->delete_vendor_credit($vendorcreditid);

convert_to_open

Arguments:

  • $vendorcreditid
  • $data = []

Example:

$vendorcredits = new VendorCredits();
$vendorcredits->convert_to_open($vendorcreditid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

void_vendor_credit

Arguments:

  • $vendorcreditid
  • $data = []

Example:

$vendorcredits = new VendorCredits();
$vendorcredits->void_vendor_credit($vendorcreditid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

submit_a_vendor_credit_for_approval

Arguments:

  • $vendorcreditid
  • $data = []

Example:

$vendorcredits = new VendorCredits();
$vendorcredits->submit_a_vendor_credit_for_approval($vendorcreditid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

approve_a_vendor_credit

Arguments:

  • $vendorcreditid
  • $data = []

Example:

$vendorcredits = new VendorCredits();
$vendorcredits->approve_a_vendor_credit($vendorcreditid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

apply_credits_to_a_bill

Arguments:

  • $vendorcreditid
  • $data = []

Example:

$vendorcredits = new VendorCredits();
$vendorcredits->apply_credits_to_a_bill($vendorcreditid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

list_bills_credited

Arguments:

  • $vendorcreditid

Example:

$vendorcredits = new VendorCredits();
$vendorcredits->list_bills_credited($vendorcreditid);

delete_bills_credited

Arguments:

  • $vendorcreditid
  • $vendorcreditbillid

Example:

$vendorcredits = new VendorCredits();
$vendorcredits->delete_bills_credited($vendorcreditid, $vendorcreditbillid);

refund_a_vendor_credit

Arguments:

  • $vendorcreditid
  • $data = []

Example:

$vendorcredits = new VendorCredits();
$vendorcredits->refund_a_vendor_credit($vendorcreditid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

list_refunds_of_a_vendor_credit

Arguments:

  • $vendorcreditid

Example:

$vendorcredits = new VendorCredits();
$vendorcredits->list_refunds_of_a_vendor_credit($vendorcreditid);

update_vendor_credit_refund

Arguments:

  • $vendorcreditid
  • $vendorcreditrefundid
  • $data = []

Example:

$vendorcredits = new VendorCredits();
$vendorcredits->update_vendor_credit_refund($vendorcreditid, $vendorcreditrefundid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

get_vendor_credit_refund

Arguments:

  • $vendorcreditid
  • $vendorcreditrefundid

Example:

$vendorcredits = new VendorCredits();
$vendorcredits->get_vendor_credit_refund($vendorcreditid, $vendorcreditrefundid);

delete_vendor_credit_refund

Arguments:

  • $vendorcreditid
  • $vendorcreditrefundid

Example:

$vendorcredits = new VendorCredits();
$vendorcredits->delete_vendor_credit_refund($vendorcreditid, $vendorcreditrefundid);

list_vendor_credit_refunds

Arguments:

  • No arguments required.

Example:

$vendorcredits = new VendorCredits();
$vendorcredits->list_vendor_credit_refunds();

add_a_comment

Arguments:

  • $vendorcreditid
  • $data = []

Example:

$vendorcredits = new VendorCredits();
$vendorcredits->add_a_comment($vendorcreditid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

list_vendor_credit_comments_and_history

Arguments:

  • $vendorcreditid

Example:

$vendorcredits = new VendorCredits();
$vendorcredits->list_vendor_credit_comments_and_history($vendorcreditid);

delete_a_comment

Arguments:

  • $vendorcreditid
  • $commentid

Example:

$vendorcredits = new VendorCredits();
$vendorcredits->delete_a_comment($vendorcreditid, $commentid);

RecurringInvoices

create_a_recurring_invoice

Arguments:

  • $data = []

Example:

$recurringinvoices = new RecurringInvoices();
$recurringinvoices->create_a_recurring_invoice($data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

list_all_recurring_invoice

Arguments:

  • No arguments required.

Example:

$recurringinvoices = new RecurringInvoices();
$recurringinvoices->list_all_recurring_invoice();

update_recurring_invoice

Arguments:

  • $recurringinvoiceid
  • $data = []

Example:

$recurringinvoices = new RecurringInvoices();
$recurringinvoices->update_recurring_invoice($recurringinvoiceid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

get_a_recurring_invoice

Arguments:

  • $recurringinvoiceid

Example:

$recurringinvoices = new RecurringInvoices();
$recurringinvoices->get_a_recurring_invoice($recurringinvoiceid);

delete_a_recurring_invoice

Arguments:

  • $recurringinvoiceid

Example:

$recurringinvoices = new RecurringInvoices();
$recurringinvoices->delete_a_recurring_invoice($recurringinvoiceid);

stop_a_recurring_invoice

Arguments:

  • $recurringinvoiceid
  • $data = []

Example:

$recurringinvoices = new RecurringInvoices();
$recurringinvoices->stop_a_recurring_invoice($recurringinvoiceid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

resume_a_recurring_invoice

Arguments:

  • $recurringinvoiceid
  • $data = []

Example:

$recurringinvoices = new RecurringInvoices();
$recurringinvoices->resume_a_recurring_invoice($recurringinvoiceid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

update_recurring_invoice_template

Arguments:

  • $recurringinvoiceid
  • $templateid
  • $data = []

Example:

$recurringinvoices = new RecurringInvoices();
$recurringinvoices->update_recurring_invoice_template($recurringinvoiceid, $templateid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

list_recurring_invoice_history

Arguments:

  • $recurringinvoiceid

Example:

$recurringinvoices = new RecurringInvoices();
$recurringinvoices->list_recurring_invoice_history($recurringinvoiceid);

Expenses

create_an_expense

Arguments:

  • $data = []

Example:

$expenses = new Expenses();
$expenses->create_an_expense($data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

list_expenses

Arguments:

  • No arguments required.

Example:

$expenses = new Expenses();
$expenses->list_expenses();

update_an_expense

Arguments:

  • $expenseid
  • $data = []

Example:

$expenses = new Expenses();
$expenses->update_an_expense($expenseid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

get_an_expense

Arguments:

  • $expenseid

Example:

$expenses = new Expenses();
$expenses->get_an_expense($expenseid);

delete_an_expense

Arguments:

  • $expenseid

Example:

$expenses = new Expenses();
$expenses->delete_an_expense($expenseid);

list_expense_history_and_comments

Arguments:

  • $expenseid

Example:

$expenses = new Expenses();
$expenses->list_expense_history_and_comments($expenseid);

create_an_employee

Arguments:

  • $data = []

Example:

$expenses = new Expenses();
$expenses->create_an_employee($data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

list_employees

Arguments:

  • No arguments required.

Example:

$expenses = new Expenses();
$expenses->list_employees();

get_an_employee

Arguments:

  • $employeeid

Example:

$expenses = new Expenses();
$expenses->get_an_employee($employeeid);

delete_an_employee

Arguments:

  • $employeeid

Example:

$expenses = new Expenses();
$expenses->delete_an_employee($employeeid);

add_receipt_to_an_expense

Arguments:

  • $expenseid
  • $data = []

Example:

$expenses = new Expenses();
$expenses->add_receipt_to_an_expense($expenseid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

get_an_expense_receipt

Arguments:

  • $expenseid

Example:

$expenses = new Expenses();
$expenses->get_an_expense_receipt($expenseid);

delete_a_receipt

Arguments:

  • $expenseid

Example:

$expenses = new Expenses();
$expenses->delete_a_receipt($expenseid);

Currency

create_a_currency

Arguments:

  • $data = []

Example:

$currency = new Currency();
$currency->create_a_currency($data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

list_currencies

Arguments:

  • No arguments required.

Example:

$currency = new Currency();
$currency->list_currencies();

update_a_currency

Arguments:

  • $currencyid
  • $data = []

Example:

$currency = new Currency();
$currency->update_a_currency($currencyid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

get_a_currency

Arguments:

  • $currencyid

Example:

$currency = new Currency();
$currency->get_a_currency($currencyid);

delete_a_currency

Arguments:

  • $currencyid

Example:

$currency = new Currency();
$currency->delete_a_currency($currencyid);

create_an_exchange_rate

Arguments:

  • $currencyid
  • $data = []

Example:

$currency = new Currency();
$currency->create_an_exchange_rate($currencyid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

list_exchange_rates

Arguments:

  • $currencyid

Example:

$currency = new Currency();
$currency->list_exchange_rates($currencyid);

update_an_exchange_rate

Arguments:

  • $currencyid
  • $exchangerateid
  • $data = []

Example:

$currency = new Currency();
$currency->update_an_exchange_rate($currencyid, $exchangerateid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

get_an_exchange_rate

Arguments:

  • $currencyid
  • $exchangerateid

Example:

$currency = new Currency();
$currency->get_an_exchange_rate($currencyid, $exchangerateid);

delete_an_exchage_rate

Arguments:

  • $currencyid
  • $exchangerateid

Example:

$currency = new Currency();
$currency->delete_an_exchage_rate($currencyid, $exchangerateid);

OpeningBalances

create_opening_balance

Arguments:

  • $data = []

Example:

$openingbalances = new OpeningBalances();
$openingbalances->create_opening_balance($data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

update_opening_balance

Arguments:

  • $data = []

Example:

$openingbalances = new OpeningBalances();
$openingbalances->update_opening_balance($data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

get_opening_balance

Arguments:

  • No arguments required.

Example:

$openingbalances = new OpeningBalances();
$openingbalances->get_opening_balance();

delete_opening_balance

Arguments:

  • No arguments required.

Example:

$openingbalances = new OpeningBalances();
$openingbalances->delete_opening_balance();

BaseCurrencyAdjustment

create_a_base_currency_adjustment

Arguments:

  • $data = []

Example:

$basecurrencyadjustment = new BaseCurrencyAdjustment();
$basecurrencyadjustment->create_a_base_currency_adjustment($data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

list_base_currency_adjustment

Arguments:

  • No arguments required.

Example:

$basecurrencyadjustment = new BaseCurrencyAdjustment();
$basecurrencyadjustment->list_base_currency_adjustment();

get_a_base_currency_adjustment

Arguments:

  • $basecurrencyadjustmentid

Example:

$basecurrencyadjustment = new BaseCurrencyAdjustment();
$basecurrencyadjustment->get_a_base_currency_adjustment($basecurrencyadjustmentid);

delete_a_base_currency_adjustment

Arguments:

  • $basecurrencyadjustmentid

Example:

$basecurrencyadjustment = new BaseCurrencyAdjustment();
$basecurrencyadjustment->delete_a_base_currency_adjustment($basecurrencyadjustmentid);

list_account_details_for_base_currency_adjustment

Arguments:

  • No arguments required.

Example:

$basecurrencyadjustment = new BaseCurrencyAdjustment();
$basecurrencyadjustment->list_account_details_for_base_currency_adjustment();

Estimates

create_an_estimate

Arguments:

  • $data = []

Example:

$estimates = new Estimates();
$estimates->create_an_estimate($data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

list_estimates

Arguments:

  • No arguments required.

Example:

$estimates = new Estimates();
$estimates->list_estimates();

update_an_estimate

Arguments:

  • $estimateid
  • $data = []

Example:

$estimates = new Estimates();
$estimates->update_an_estimate($estimateid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

get_an_estimate

Arguments:

  • $estimateid

Example:

$estimates = new Estimates();
$estimates->get_an_estimate($estimateid);

delete_an_estimate

Arguments:

  • $estimateid

Example:

$estimates = new Estimates();
$estimates->delete_an_estimate($estimateid);

mark_an_estimate_as_sent

Arguments:

  • $estimateid
  • $data = []

Example:

$estimates = new Estimates();
$estimates->mark_an_estimate_as_sent($estimateid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

mark_an_estimate_as_accepted

Arguments:

  • $estimateid
  • $data = []

Example:

$estimates = new Estimates();
$estimates->mark_an_estimate_as_accepted($estimateid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

mark_an_estimate_as_declined

Arguments:

  • $estimateid
  • $data = []

Example:

$estimates = new Estimates();
$estimates->mark_an_estimate_as_declined($estimateid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

submit_an_estimate_for_approval

Arguments:

  • $estimateid
  • $data = []

Example:

$estimates = new Estimates();
$estimates->submit_an_estimate_for_approval($estimateid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

approve_an_estimate

Arguments:

  • $estimateid
  • $data = []

Example:

$estimates = new Estimates();
$estimates->approve_an_estimate($estimateid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

email_an_estimate

Arguments:

  • $estimateid
  • $data = []

Example:

$estimates = new Estimates();
$estimates->email_an_estimate($estimateid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

get_estimate_email_content

Arguments:

  • $estimateid

Example:

$estimates = new Estimates();
$estimates->get_estimate_email_content($estimateid);

email_multiple_estimates

Arguments:

  • $data = []

Example:

$estimates = new Estimates();
$estimates->email_multiple_estimates($data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

bulk_export_estimates

Arguments:

  • No arguments required.

Example:

$estimates = new Estimates();
$estimates->bulk_export_estimates();

bulk_print_estimates

Arguments:

  • No arguments required.

Example:

$estimates = new Estimates();
$estimates->bulk_print_estimates();

update_billing_address

Arguments:

  • $estimateid
  • $data = []

Example:

$estimates = new Estimates();
$estimates->update_billing_address($estimateid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

update_shipping_address

Arguments:

  • $estimateid
  • $data = []

Example:

$estimates = new Estimates();
$estimates->update_shipping_address($estimateid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

list_estimate_template

Arguments:

  • No arguments required.

Example:

$estimates = new Estimates();
$estimates->list_estimate_template();

update_estimate_template

Arguments:

  • $estimateid
  • $templateid
  • $data = []

Example:

$estimates = new Estimates();
$estimates->update_estimate_template($estimateid, $templateid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

add_comments

Arguments:

  • $estimateid
  • $data = []

Example:

$estimates = new Estimates();
$estimates->add_comments($estimateid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

list_estimate_comments_and_history

Arguments:

  • $estimateid

Example:

$estimates = new Estimates();
$estimates->list_estimate_comments_and_history($estimateid);

update_comment

Arguments:

  • $estimateid
  • $commentid
  • $data = []

Example:

$estimates = new Estimates();
$estimates->update_comment($estimateid, $commentid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

delete_a_comment

Arguments:

  • $estimateid
  • $commentid

Example:

$estimates = new Estimates();
$estimates->delete_a_comment($estimateid, $commentid);

Taxes

create_a_tax

Arguments:

  • $data = []

Example:

$taxes = new Taxes();
$taxes->create_a_tax($data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

list_taxes

Arguments:

  • No arguments required.

Example:

$taxes = new Taxes();
$taxes->list_taxes();

update_a_tax

Arguments:

  • $taxid
  • $data = []

Example:

$taxes = new Taxes();
$taxes->update_a_tax($taxid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

get_a_tax

Arguments:

  • $taxid

Example:

$taxes = new Taxes();
$taxes->get_a_tax($taxid);

delete_a_tax

Arguments:

  • $taxid

Example:

$taxes = new Taxes();
$taxes->delete_a_tax($taxid);

update_a_tax_group

Arguments:

  • $taxgroupid
  • $data = []

Example:

$taxes = new Taxes();
$taxes->update_a_tax_group($taxgroupid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

get_a_tax_group

Arguments:

  • $taxgroupid

Example:

$taxes = new Taxes();
$taxes->get_a_tax_group($taxgroupid);

delete_a_tax_group

Arguments:

  • $taxgroupid

Example:

$taxes = new Taxes();
$taxes->delete_a_tax_group($taxgroupid);

create_a_tax_group

Arguments:

  • $data = []

Example:

$taxes = new Taxes();
$taxes->create_a_tax_group($data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

createa_tax_authority__us_and_ca_edition_only

Arguments:

  • $data = []

Example:

$taxes = new Taxes();
$taxes->create_a_tax_authority__us_and_ca_edition_only_($data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

listtax_authorities__us_edition_only

Arguments:

  • No arguments required.

Example:

$taxes = new Taxes();
$taxes->list_tax_authorities__us_edition_only_();

updatea_tax_authority__us_and_ca_edition_only

Arguments:

  • $taxauthorityid
  • $data = []

Example:

$taxes = new Taxes();
$taxes->update_a_tax_authority__us_and_ca_edition_only_($taxauthorityid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

geta_tax_authority__us_and_ca_edition_only

Arguments:

  • $taxauthorityid

Example:

$taxes = new Taxes();
$taxes->get_a_tax_authority__us_and_ca_edition_only_($taxauthorityid);

deletea_tax_authority__us_and_ca_edition_only

Arguments:

  • $taxauthorityid

Example:

$taxes = new Taxes();
$taxes->delete_a_tax_authority__us_and_ca_edition_only_($taxauthorityid);

createa_tax_exemption__us_edition_only

Arguments:

  • $data = []

Example:

$taxes = new Taxes();
$taxes->create_a_tax_exemption__us_edition_only_($data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

listtax_exemptions__us_edition_only

Arguments:

  • No arguments required.

Example:

$taxes = new Taxes();
$taxes->list_tax_exemptions__us_edition_only_();

updatea_tax_exemption__us_edition_only

Arguments:

  • $taxexemptionid
  • $data = []

Example:

$taxes = new Taxes();
$taxes->update_a_tax_exemption__us_edition_only_($taxexemptionid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

geta_tax_exemption__us_edition_only

Arguments:

  • $taxexemptionid

Example:

$taxes = new Taxes();
$taxes->get_a_tax_exemption__us_edition_only_($taxexemptionid);

deletea_tax_exemption__us_edition_only

Arguments:

  • $taxexemptionid

Example:

$taxes = new Taxes();
$taxes->delete_a_tax_exemption__us_edition_only_($taxexemptionid);

Journals

create_a_journal

Arguments:

  • $data = []

Example:

$journals = new Journals();
$journals->create_a_journal($data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

get_journal_list

Arguments:

  • No arguments required.

Example:

$journals = new Journals();
$journals->get_journal_list();

update_a_journal

Arguments:

  • $journalid
  • $data = []

Example:

$journals = new Journals();
$journals->update_a_journal($journalid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

get_journal

Arguments:

  • $journalid

Example:

$journals = new Journals();
$journals->get_journal($journalid);

delete_a_journal

Arguments:

  • $journalid

Example:

$journals = new Journals();
$journals->delete_a_journal($journalid);

mark_a_journal_as_published

Arguments:

  • $journalid
  • $data = []

Example:

$journals = new Journals();
$journals->mark_a_journal_as_published($journalid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

add_attachment_to_a_journal

Arguments:

  • $journalid
  • $data = []

Example:

$journals = new Journals();
$journals->add_attachment_to_a_journal($journalid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

add_comment

Arguments:

  • $jounralid
  • $data = []

Example:

$journals = new Journals();
$journals->add_comment($jounralid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

delete_a_comment

Arguments:

  • $jounralid
  • $commentid

Example:

$journals = new Journals();
$journals->delete_a_comment($jounralid, $commentid);

Bills

create_a_bill

Arguments:

  • $data = []

Example:

$bills = new Bills();
$bills->create_a_bill($data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

list_bills

Arguments:

  • No arguments required.

Example:

$bills = new Bills();
$bills->list_bills();

update_a_bill

Arguments:

  • $billid
  • $data = []

Example:

$bills = new Bills();
$bills->update_a_bill($billid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

get_a_bill

Arguments:

  • $billid

Example:

$bills = new Bills();
$bills->get_a_bill($billid);

delete_a_bill

Arguments:

  • $billid

Example:

$bills = new Bills();
$bills->delete_a_bill($billid);

void_a_bill

Arguments:

  • $billid
  • $data = []

Example:

$bills = new Bills();
$bills->void_a_bill($billid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

mark_a_bill_as_open

Arguments:

  • $billid
  • $data = []

Example:

$bills = new Bills();
$bills->mark_a_bill_as_open($billid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

submit_a_bill_for_approval

Arguments:

  • $billid
  • $data = []

Example:

$bills = new Bills();
$bills->submit_a_bill_for_approval($billid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

approve_a_bill

Arguments:

  • $billid
  • $data = []

Example:

$bills = new Bills();
$bills->approve_a_bill($billid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

update_billing_address

Arguments:

  • $billid
  • $data = []

Example:

$bills = new Bills();
$bills->update_billing_address($billid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

list_bill_payments

Arguments:

  • $billid

Example:

$bills = new Bills();
$bills->list_bill_payments($billid);

apply_credits

Arguments:

  • $billid
  • $data = []

Example:

$bills = new Bills();
$bills->apply_credits($billid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

delete_a_payment

Arguments:

  • $billid
  • $billpaymentid

Example:

$bills = new Bills();
$bills->delete_a_payment($billid, $billpaymentid);

add_attachment_to_a_bill

Arguments:

  • $billid
  • $data = []

Example:

$bills = new Bills();
$bills->add_attachment_to_a_bill($billid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

get_a_bill_attachment

Arguments:

  • $billid

Example:

$bills = new Bills();
$bills->get_a_bill_attachment($billid);

delete_an_attachment

Arguments:

  • $billid

Example:

$bills = new Bills();
$bills->delete_an_attachment($billid);

add_comment

Arguments:

  • $billid
  • $data = []

Example:

$bills = new Bills();
$bills->add_comment($billid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

list_bill_comments_and_history

Arguments:

  • $billid

Example:

$bills = new Bills();
$bills->list_bill_comments_and_history($billid);

delete_a_comment

Arguments:

  • $billid
  • $commentid

Example:

$bills = new Bills();
$bills->delete_a_comment($billid, $commentid);

TimeEntries

log_time_entries

Arguments:

  • $data = []

Example:

$timeentries = new TimeEntries();
$timeentries->log_time_entries($data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

list_time_entries

Arguments:

  • No arguments required.

Example:

$timeentries = new TimeEntries();
$timeentries->list_time_entries();

delete_time_entries

Arguments:

  • No arguments required.

Example:

$timeentries = new TimeEntries();
$timeentries->delete_time_entries();

update_time_entry

Arguments:

  • $timeentryid
  • $data = []

Example:

$timeentries = new TimeEntries();
$timeentries->update_time_entry($timeentryid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

get_a_time_entry

Arguments:

  • $timeentryid

Example:

$timeentries = new TimeEntries();
$timeentries->get_a_time_entry($timeentryid);

delete_time_entry

Arguments:

  • $timeentryid

Example:

$timeentries = new TimeEntries();
$timeentries->delete_time_entry($timeentryid);

start_timer

Arguments:

  • $timeentryid
  • $data = []

Example:

$timeentries = new TimeEntries();
$timeentries->start_timer($timeentryid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

stop_timer

Arguments:

  • $data = []

Example:

$timeentries = new TimeEntries();
$timeentries->stop_timer($data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

get_timer

Arguments:

  • No arguments required.

Example:

$timeentries = new TimeEntries();
$timeentries->get_timer();

ChartOfAccounts

create_an_account

Arguments:

  • $data = []

Example:

$chartofaccounts = new ChartOfAccounts();
$chartofaccounts->create_an_account($data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

list_chart_of_accounts

Arguments:

  • No arguments required.

Example:

$chartofaccounts = new ChartOfAccounts();
$chartofaccounts->list_chart_of_accounts();

update_an_account

Arguments:

  • $accountid
  • $data = []

Example:

$chartofaccounts = new ChartOfAccounts();
$chartofaccounts->update_an_account($accountid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

get_an_account

Arguments:

  • $accountid

Example:

$chartofaccounts = new ChartOfAccounts();
$chartofaccounts->get_an_account($accountid);

delete_an_account

Arguments:

  • $accountid

Example:

$chartofaccounts = new ChartOfAccounts();
$chartofaccounts->delete_an_account($accountid);

mark_an_account_as_active

Arguments:

  • $accountid
  • $data = []

Example:

$chartofaccounts = new ChartOfAccounts();
$chartofaccounts->mark_an_account_as_active($accountid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

mark_an_account_as_inactive

Arguments:

  • $accountid
  • $data = []

Example:

$chartofaccounts = new ChartOfAccounts();
$chartofaccounts->mark_an_account_as_inactive($accountid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

list_of_transactions_for_an_account

Arguments:

  • No arguments required.

Example:

$chartofaccounts = new ChartOfAccounts();
$chartofaccounts->list_of_transactions_for_an_account();

delete_a_transaction

Arguments:

  • $transactionid

Example:

$chartofaccounts = new ChartOfAccounts();
$chartofaccounts->delete_a_transaction($transactionid);

Tasks

add_a_task

Arguments:

  • $projectid
  • $data = []

Example:

$tasks = new Tasks();
$tasks->add_a_task($projectid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

list_tasks

Arguments:

  • $projectid

Example:

$tasks = new Tasks();
$tasks->list_tasks($projectid);

update_a_task

Arguments:

  • $projectid
  • $taskid
  • $data = []

Example:

$tasks = new Tasks();
$tasks->update_a_task($projectid, $taskid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

get_a_task

Arguments:

  • $projectid
  • $taskid

Example:

$tasks = new Tasks();
$tasks->get_a_task($projectid, $taskid);

delete_task

Arguments:

  • $projectid
  • $taskid

Example:

$tasks = new Tasks();
$tasks->delete_task($projectid, $taskid);

CustomerPayments

create_a_payment

Arguments:

  • $data = []

Example:

$customerpayments = new CustomerPayments();
$customerpayments->create_a_payment($data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

list_customer_payments

Arguments:

  • No arguments required.

Example:

$customerpayments = new CustomerPayments();
$customerpayments->list_customer_payments();

update_a_payment

Arguments:

  • $paymentid
  • $data = []

Example:

$customerpayments = new CustomerPayments();
$customerpayments->update_a_payment($paymentid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

retrieve_a_payment

Arguments:

  • $paymentid

Example:

$customerpayments = new CustomerPayments();
$customerpayments->retrieve_a_payment($paymentid);

delete_a_payment

Arguments:

  • $paymentid

Example:

$customerpayments = new CustomerPayments();
$customerpayments->delete_a_payment($paymentid);

refund_an_excess_customer_payment

Arguments:

  • $customerpaymentid
  • $data = []

Example:

$customerpayments = new CustomerPayments();
$customerpayments->refund_an_excess_customer_payment($customerpaymentid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

list_refunds_of_a_customer_payment

Arguments:

  • $customerpaymentid

Example:

$customerpayments = new CustomerPayments();
$customerpayments->list_refunds_of_a_customer_payment($customerpaymentid);

update_a_refund

Arguments:

  • $customerpaymentid
  • $refundid
  • $data = []

Example:

$customerpayments = new CustomerPayments();
$customerpayments->update_a_refund($customerpaymentid, $refundid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

details_of_a_refund

Arguments:

  • $customerpaymentid
  • $refundid

Example:

$customerpayments = new CustomerPayments();
$customerpayments->details_of_a_refund($customerpaymentid, $refundid);

delete_a_refund

Arguments:

  • $customerpaymentid
  • $refundid

Example:

$customerpayments = new CustomerPayments();
$customerpayments->delete_a_refund($customerpaymentid, $refundid);

RetainerInvoices

create_a_retainerinvoice

Arguments:

  • $data = []

Example:

$retainerinvoices = new RetainerInvoices();
$retainerinvoices->create_a_retainerinvoice($data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

list_a_retainer_invoices

Arguments:

  • No arguments required.

Example:

$retainerinvoices = new RetainerInvoices();
$retainerinvoices->list_a_retainer_invoices();

update_a_retainerinvoice

Arguments:

  • $retainerinvoiceid
  • $data = []

Example:

$retainerinvoices = new RetainerInvoices();
$retainerinvoices->update_a_retainerinvoice($retainerinvoiceid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

get_a_retainer_invoice

Arguments:

  • $retainerinvoiceid

Example:

$retainerinvoices = new RetainerInvoices();
$retainerinvoices->get_a_retainer_invoice($retainerinvoiceid);

delete_a_retainer_invoice

Arguments:

  • $retainerinvoiceid

Example:

$retainerinvoices = new RetainerInvoices();
$retainerinvoices->delete_a_retainer_invoice($retainerinvoiceid);

mark_a_retainer_invoice_as_sent

Arguments:

  • $retainerinvoiceid
  • $data = []

Example:

$retainerinvoices = new RetainerInvoices();
$retainerinvoices->mark_a_retainer_invoice_as_sent($retainerinvoiceid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

update_retainer_invoice_template

Arguments:

  • $retainerinvoiceid
  • $templateid
  • $data = []

Example:

$retainerinvoices = new RetainerInvoices();
$retainerinvoices->update_retainer_invoice_template($retainerinvoiceid, $templateid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

void_a_retainer_invoice

Arguments:

  • $retainerinvoiceid
  • $data = []

Example:

$retainerinvoices = new RetainerInvoices();
$retainerinvoices->void_a_retainer_invoice($retainerinvoiceid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

mark_as_draft

Arguments:

  • $reatinerinvoiceid
  • $data = []

Example:

$retainerinvoices = new RetainerInvoices();
$retainerinvoices->mark_as_draft($reatinerinvoiceid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

submit_a_retainer_invoice_for_approval

Arguments:

  • $reatinerinvoiceid
  • $data = []

Example:

$retainerinvoices = new RetainerInvoices();
$retainerinvoices->submit_a_retainer_invoice_for_approval($reatinerinvoiceid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

approve_a_retainer_invoice

Arguments:

  • $reatinerinvoiceid
  • $data = []

Example:

$retainerinvoices = new RetainerInvoices();
$retainerinvoices->approve_a_retainer_invoice($reatinerinvoiceid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

email_a_retainer_invoice

Arguments:

  • $retainerinvoiceid
  • $data = []

Example:

$retainerinvoices = new RetainerInvoices();
$retainerinvoices->email_a_retainer_invoice($retainerinvoiceid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

get_retainer_invoice_email_content

Arguments:

  • $retainerinvoiceid

Example:

$retainerinvoices = new RetainerInvoices();
$retainerinvoices->get_retainer_invoice_email_content($retainerinvoiceid);

update_billing_address

Arguments:

  • $retainerinvoiceid
  • $data = []

Example:

$retainerinvoices = new RetainerInvoices();
$retainerinvoices->update_billing_address($retainerinvoiceid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

list_retainer_invoice_templates

Arguments:

  • No arguments required.

Example:

$retainerinvoices = new RetainerInvoices();
$retainerinvoices->list_retainer_invoice_templates();

add_attachment_to_a_retainer_invoice

Arguments:

  • $retainerinvoiceid
  • $data = []

Example:

$retainerinvoices = new RetainerInvoices();
$retainerinvoices->add_attachment_to_a_retainer_invoice($retainerinvoiceid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

get_a_retainer_invoice_attachment

Arguments:

  • $retainerinvoiceid

Example:

$retainerinvoices = new RetainerInvoices();
$retainerinvoices->get_a_retainer_invoice_attachment($retainerinvoiceid);

delete_an_attachment

Arguments:

  • $retainerinvoiceid
  • $documentid

Example:

$retainerinvoices = new RetainerInvoices();
$retainerinvoices->delete_an_attachment($retainerinvoiceid, $documentid);

add_comment

Arguments:

  • $retainerinvoiceid
  • $data = []

Example:

$retainerinvoices = new RetainerInvoices();
$retainerinvoices->add_comment($retainerinvoiceid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

list_retainer_invoice_comments_and_history

Arguments:

  • $retainerinvoiceid

Example:

$retainerinvoices = new RetainerInvoices();
$retainerinvoices->list_retainer_invoice_comments_and_history($retainerinvoiceid);

update_comment

Arguments:

  • $retainerinvoiceid
  • $commentid
  • $data = []

Example:

$retainerinvoices = new RetainerInvoices();
$retainerinvoices->update_comment($retainerinvoiceid, $commentid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

delete_a_comment

Arguments:

  • $retainerinvoiceid
  • $commentid

Example:

$retainerinvoices = new RetainerInvoices();
$retainerinvoices->delete_a_comment($retainerinvoiceid, $commentid);

Users

create_a_user

Arguments:

  • $data = []

Example:

$users = new Users();
$users->create_a_user($data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

list_users

Arguments:

  • No arguments required.

Example:

$users = new Users();
$users->list_users();

update_a_user

Arguments:

  • $userid
  • $data = []

Example:

$users = new Users();
$users->update_a_user($userid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

get_a_user

Arguments:

  • $userid

Example:

$users = new Users();
$users->get_a_user($userid);

delete_a_user

Arguments:

  • $userid

Example:

$users = new Users();
$users->delete_a_user($userid);

get_current_user

Arguments:

  • No arguments required.

Example:

$users = new Users();
$users->get_current_user();

invite_a_user

Arguments:

  • $userid
  • $data = []

Example:

$users = new Users();
$users->invite_a_user($userid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

mark_user_as_active

Arguments:

  • $userid
  • $data = []

Example:

$users = new Users();
$users->mark_user_as_active($userid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

mark_user_as_inactive

Arguments:

  • $userid
  • $data = []

Example:

$users = new Users();
$users->mark_user_as_inactive($userid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

CreditNotes

create_a_credit_note

Arguments:

  • $data = []

Example:

$creditnotes = new CreditNotes();
$creditnotes->create_a_credit_note($data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

list_all_credit_notes

Arguments:

  • No arguments required.

Example:

$creditnotes = new CreditNotes();
$creditnotes->list_all_credit_notes();

update_a_credit_note

Arguments:

  • $creditnoteid
  • $data = []

Example:

$creditnotes = new CreditNotes();
$creditnotes->update_a_credit_note($creditnoteid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

get_a_credit_note

Arguments:

  • $creditnoteid

Example:

$creditnotes = new CreditNotes();
$creditnotes->get_a_credit_note($creditnoteid);

delete_a_credit_note

Arguments:

  • $creditnoteid

Example:

$creditnotes = new CreditNotes();
$creditnotes->delete_a_credit_note($creditnoteid);

email_a_credit_note

Arguments:

  • $creditnoteid
  • $data = []

Example:

$creditnotes = new CreditNotes();
$creditnotes->email_a_credit_note($creditnoteid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

get_email_content

Arguments:

  • $creditnoteid

Example:

$creditnotes = new CreditNotes();
$creditnotes->get_email_content($creditnoteid);

void_a_credit_note

Arguments:

  • $creditnoteid
  • $data = []

Example:

$creditnotes = new CreditNotes();
$creditnotes->void_a_credit_note($creditnoteid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

convert_credit_note_to_draft

Arguments:

  • $creditnoteid
  • $data = []

Example:

$creditnotes = new CreditNotes();
$creditnotes->convert_credit_note_to_draft($creditnoteid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

convert_to_open

Arguments:

  • $creditnoteid
  • $data = []

Example:

$creditnotes = new CreditNotes();
$creditnotes->convert_to_open($creditnoteid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

submit_a_credit_note_for_approval

Arguments:

  • $creditnoteid
  • $data = []

Example:

$creditnotes = new CreditNotes();
$creditnotes->submit_a_credit_note_for_approval($creditnoteid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

approve_a_credit_note

Arguments:

  • $creditnoteid
  • $data = []

Example:

$creditnotes = new CreditNotes();
$creditnotes->approve_a_credit_note($creditnoteid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

email_history

Arguments:

  • $creditnoteid

Example:

$creditnotes = new CreditNotes();
$creditnotes->email_history($creditnoteid);

update_billing_address

Arguments:

  • $creditnoteid
  • $data = []

Example:

$creditnotes = new CreditNotes();
$creditnotes->update_billing_address($creditnoteid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

update_shipping_address

Arguments:

  • $creditnoteid
  • $data = []

Example:

$creditnotes = new CreditNotes();
$creditnotes->update_shipping_address($creditnoteid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

list_credit_note_template

Arguments:

  • No arguments required.

Example:

$creditnotes = new CreditNotes();
$creditnotes->list_credit_note_template();

update_a_credit_note_template

Arguments:

  • $creditnoteid
  • $templateid
  • $data = []

Example:

$creditnotes = new CreditNotes();
$creditnotes->update_a_credit_note_template($creditnoteid, $templateid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

credit_to_an_invoice

Arguments:

  • $creditnoteid
  • $data = []

Example:

$creditnotes = new CreditNotes();
$creditnotes->credit_to_an_invoice($creditnoteid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

list_invoices_credited

Arguments:

  • $creditnoteid

Example:

$creditnotes = new CreditNotes();
$creditnotes->list_invoices_credited($creditnoteid);

delete_invoices_credited

Arguments:

  • $creditnoteid
  • $creditnoteinvoiceid

Example:

$creditnotes = new CreditNotes();
$creditnotes->delete_invoices_credited($creditnoteid, $creditnoteinvoiceid);

add_a_comment

Arguments:

  • $creditnoteid
  • $data = []

Example:

$creditnotes = new CreditNotes();
$creditnotes->add_a_comment($creditnoteid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

list_credit_note_comments_and_history

Arguments:

  • $creditnoteid

Example:

$creditnotes = new CreditNotes();
$creditnotes->list_credit_note_comments_and_history($creditnoteid);

delete_a_comment

Arguments:

  • $creditnoteid
  • $commentid

Example:

$creditnotes = new CreditNotes();
$creditnotes->delete_a_comment($creditnoteid, $commentid);

list_credit_note_refunds

Arguments:

  • No arguments required.

Example:

$creditnotes = new CreditNotes();
$creditnotes->list_credit_note_refunds();

refund_credit_note

Arguments:

  • $creditnoteid
  • $data = []

Example:

$creditnotes = new CreditNotes();
$creditnotes->refund_credit_note($creditnoteid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

list_refunds_of_a_credit_note

Arguments:

  • $creditnoteid

Example:

$creditnotes = new CreditNotes();
$creditnotes->list_refunds_of_a_credit_note($creditnoteid);

update_credit_note_refund

Arguments:

  • $creditnoteid
  • $creditnoterefundid
  • $data = []

Example:

$creditnotes = new CreditNotes();
$creditnotes->update_credit_note_refund($creditnoteid, $creditnoterefundid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

get_credit_note_refund

Arguments:

  • $creditnoteid
  • $creditnoterefundid

Example:

$creditnotes = new CreditNotes();
$creditnotes->get_credit_note_refund($creditnoteid, $creditnoterefundid);

delete_credit_note_refund

Arguments:

  • $creditnoteid
  • $creditnoterefundid

Example:

$creditnotes = new CreditNotes();
$creditnotes->delete_credit_note_refund($creditnoteid, $creditnoterefundid);

Items

create_an_item

Arguments:

  • $data = []

Example:

$items = new Items();
$items->create_an_item($data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

list_items

Arguments:

  • No arguments required.

Example:

$items = new Items();
$items->list_items();

update_an_item

Arguments:

  • $itemid
  • $data = []

Example:

$items = new Items();
$items->update_an_item($itemid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

get_an_item

Arguments:

  • $itemid

Example:

$items = new Items();
$items->get_an_item($itemid);

delete_an_item

Arguments:

  • $itemid

Example:

$items = new Items();
$items->delete_an_item($itemid);

mark_as_active

Arguments:

  • $itemid
  • $data = []

Example:

$items = new Items();
$items->mark_as_active($itemid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

mark_as_inactive

Arguments:

  • $itemid
  • $data = []

Example:

$items = new Items();
$items->mark_as_inactive($itemid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

PurchaseOrders

create_a_purchase_order

Arguments:

  • $data = []

Example:

$purchaseorders = new PurchaseOrders();
$purchaseorders->create_a_purchase_order($data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

list_purchase_orders

Arguments:

  • No arguments required.

Example:

$purchaseorders = new PurchaseOrders();
$purchaseorders->list_purchase_orders();

update_a_purchase_order

Arguments:

  • $purchaseorderid
  • $data = []

Example:

$purchaseorders = new PurchaseOrders();
$purchaseorders->update_a_purchase_order($purchaseorderid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

get_a_purchase_order

Arguments:

  • $purchaseorderid

Example:

$purchaseorders = new PurchaseOrders();
$purchaseorders->get_a_purchase_order($purchaseorderid);

delete_purchase_order

Arguments:

  • $purchaseorderid

Example:

$purchaseorders = new PurchaseOrders();
$purchaseorders->delete_purchase_order($purchaseorderid);

mark_a_purchase_order_as_open

Arguments:

  • $purchaseorderid
  • $data = []

Example:

$purchaseorders = new PurchaseOrders();
$purchaseorders->mark_a_purchase_order_as_open($purchaseorderid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

mark_as_billed

Arguments:

  • $purchaseorderid
  • $data = []

Example:

$purchaseorders = new PurchaseOrders();
$purchaseorders->mark_as_billed($purchaseorderid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

cancel_a_purchase_order

Arguments:

  • $purchaseorderid
  • $data = []

Example:

$purchaseorders = new PurchaseOrders();
$purchaseorders->cancel_a_purchase_order($purchaseorderid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

submit_a_purchase_order_for_approval

Arguments:

  • $purchaseorderid
  • $data = []

Example:

$purchaseorders = new PurchaseOrders();
$purchaseorders->submit_a_purchase_order_for_approval($purchaseorderid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

approve_a_purchase_order

Arguments:

  • $purchaseorderid
  • $data = []

Example:

$purchaseorders = new PurchaseOrders();
$purchaseorders->approve_a_purchase_order($purchaseorderid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

email_a_purchase_order

Arguments:

  • $purchaseorderid
  • $data = []

Example:

$purchaseorders = new PurchaseOrders();
$purchaseorders->email_a_purchase_order($purchaseorderid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

get_purchase_order_email_content

Arguments:

  • $purchaseorderid

Example:

$purchaseorders = new PurchaseOrders();
$purchaseorders->get_purchase_order_email_content($purchaseorderid);

update_billing_address

Arguments:

  • $purchaseorderid
  • $data = []

Example:

$purchaseorders = new PurchaseOrders();
$purchaseorders->update_billing_address($purchaseorderid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

list_purchase_order_templates

Arguments:

  • No arguments required.

Example:

$purchaseorders = new PurchaseOrders();
$purchaseorders->list_purchase_order_templates();

update_purchase_order_template

Arguments:

  • $purchaseorderid
  • $templateid
  • $data = []

Example:

$purchaseorders = new PurchaseOrders();
$purchaseorders->update_purchase_order_template($purchaseorderid, $templateid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

add_attachment_to_a_purchase_order

Arguments:

  • $purchaseorderid
  • $data = []

Example:

$purchaseorders = new PurchaseOrders();
$purchaseorders->add_attachment_to_a_purchase_order($purchaseorderid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

update_attachment_preference

Arguments:

  • $purchaseorderid
  • $data = []

Example:

$purchaseorders = new PurchaseOrders();
$purchaseorders->update_attachment_preference($purchaseorderid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

get_a_purchase_order_attachment

Arguments:

  • $purchaseorderid

Example:

$purchaseorders = new PurchaseOrders();
$purchaseorders->get_a_purchase_order_attachment($purchaseorderid);

delete_an_attachment

Arguments:

  • $purchaseorderid

Example:

$purchaseorders = new PurchaseOrders();
$purchaseorders->delete_an_attachment($purchaseorderid);

add_comment

Arguments:

  • $purchaseorderid
  • $data = []

Example:

$purchaseorders = new PurchaseOrders();
$purchaseorders->add_comment($purchaseorderid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

list_purchase_order_comments_and_history

Arguments:

  • $purchaseorderid

Example:

$purchaseorders = new PurchaseOrders();
$purchaseorders->list_purchase_order_comments_and_history($purchaseorderid);

update_comment

Arguments:

  • $purchaseorderid
  • $commentid
  • $data = []

Example:

$purchaseorders = new PurchaseOrders();
$purchaseorders->update_comment($purchaseorderid, $commentid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

delete_a_comment

Arguments:

  • $purchaseorderid
  • $commentid

Example:

$purchaseorders = new PurchaseOrders();
$purchaseorders->delete_a_comment($purchaseorderid, $commentid);

BankTransactions

create_a_transaction_for_an_account

Arguments:

  • $data = []

Example:

$banktransactions = new BankTransactions();
$banktransactions->create_a_transaction_for_an_account($data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

get_transactions_list

Arguments:

  • No arguments required.

Example:

$banktransactions = new BankTransactions();
$banktransactions->get_transactions_list();

update_a_transaction

Arguments:

  • $banktransactionid
  • $data = []

Example:

$banktransactions = new BankTransactions();
$banktransactions->update_a_transaction($banktransactionid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

get_transaction

Arguments:

  • $banktransactionid

Example:

$banktransactions = new BankTransactions();
$banktransactions->get_transaction($banktransactionid);

delete_a_transaction

Arguments:

  • $banktransactionid

Example:

$banktransactions = new BankTransactions();
$banktransactions->delete_a_transaction($banktransactionid);

match_a_transaction

Arguments:

  • $transactionid
  • $data = []

Example:

$banktransactions = new BankTransactions();
$banktransactions->match_a_transaction($transactionid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

get_matching_transactions

Arguments:

  • $transactionid

Example:

$banktransactions = new BankTransactions();
$banktransactions->get_matching_transactions($transactionid);

unmatch_a_matched_transaction

Arguments:

  • $transactionid
  • $data = []

Example:

$banktransactions = new BankTransactions();
$banktransactions->unmatch_a_matched_transaction($transactionid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

exclude_a_transaction

Arguments:

  • $transactionid
  • $data = []

Example:

$banktransactions = new BankTransactions();
$banktransactions->exclude_a_transaction($transactionid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

restore_a_transaction

Arguments:

  • $transactionid
  • $data = []

Example:

$banktransactions = new BankTransactions();
$banktransactions->restore_a_transaction($transactionid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

categorize_an_uncategorized_transaction

Arguments:

  • $transactionid
  • $data = []

Example:

$banktransactions = new BankTransactions();
$banktransactions->categorize_an_uncategorized_transaction($transactionid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

categorize_as_expense

Arguments:

  • $transactionid
  • $data = []

Example:

$banktransactions = new BankTransactions();
$banktransactions->categorize_as_expense($transactionid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

uncategorize_a_categorized_transaction

Arguments:

  • $transactionid
  • $data = []

Example:

$banktransactions = new BankTransactions();
$banktransactions->uncategorize_a_categorized_transaction($transactionid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

categorize_a_vendor_payment

Arguments:

  • $transactionid
  • $data = []

Example:

$banktransactions = new BankTransactions();
$banktransactions->categorize_a_vendor_payment($transactionid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

categorize_as_customer_payment

Arguments:

  • $transactionid
  • $data = []

Example:

$banktransactions = new BankTransactions();
$banktransactions->categorize_as_customer_payment($transactionid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

categorize_as_credit_note_refunds

Arguments:

  • $transactionid
  • $data = []

Example:

$banktransactions = new BankTransactions();
$banktransactions->categorize_as_credit_note_refunds($transactionid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

categorize_as_vendor_credit_refunds

Arguments:

  • $transactionid
  • $data = []

Example:

$banktransactions = new BankTransactions();
$banktransactions->categorize_as_vendor_credit_refunds($transactionid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

categorize_as_customer_payment_refund

Arguments:

  • $statementlineid
  • $data = []

Example:

$banktransactions = new BankTransactions();
$banktransactions->categorize_as_customer_payment_refund($statementlineid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

categorize_as_vendor_payment_refund

Arguments:

  • $statementlineid
  • $data = []

Example:

$banktransactions = new BankTransactions();
$banktransactions->categorize_as_vendor_payment_refund($statementlineid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

ContactPersons

create_a_contact_person

Arguments:

  • $data = []

Example:

$contactpersons = new ContactPersons();
$contactpersons->create_a_contact_person($data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

update_a_contact_person

Arguments:

  • $contactpersonid
  • $data = []

Example:

$contactpersons = new ContactPersons();
$contactpersons->update_a_contact_person($contactpersonid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/

delete_a_contact_person

Arguments:

  • $contactpersonid

Example:

$contactpersons = new ContactPersons();
$contactpersons->delete_a_contact_person($contactpersonid);

list_contact_persons

Arguments:

  • $contactid

Example:

$contactpersons = new ContactPersons();
$contactpersons->list_contact_persons($contactid);

get_a_contact_person

Arguments:

  • $contactid
  • $contactpersonid

Example:

$contactpersons = new ContactPersons();
$contactpersons->get_a_contact_person($contactid, $contactpersonid);

mark_as_primary_contact_person

Arguments:

  • $contactpersonid
  • $data = []

Example:

$contactpersons = new ContactPersons();
$contactpersons->mark_as_primary_contact_person($contactpersonid, $data);
// Array Keys for $data can be found in Official documentation here: https://www.zoho.com/books/api/v3/