Expenses
An expense represents the money that you spend, with the ultimate target of generating revenue for your organization.
Possible error codes:
Error Code | Message |
---|---|
1002 | Expense does not exists |
5001 | Expenses that were converted to an invoice cannot be deleted |
5015 | Enter a valid expense amount |
5019 | Contact cannot be changed for an invoiced expense |
5032 | You cannot make this expense non-billable as it has been already invoiced |
Attribute
business_gst
, business_none
, overseas
, consumer
.place of contact
given for the contact will be taken)Maximum length [100]
Maximum length [100]
Maximum length [100]
mileage_type
is odometer
.mileage_type
is odometer
.Create an Expense
Create billable or non-billable expense.
OAuth Scope : ZohoSubscriptions.expenses.CREATE
Arguments
place of contact
given for the contact will be taken)Maximum length [100]
goods
and service
.Maximum length [100]
Maximum length [100]
uk
. If the vendor is in an EU country & VAT registered, you are resides in Northen Ireland and purchasing Goods then his VAT treatment is eu_vat_registered
and if he resides outside the UK then his VAT treatment is overseas
(For Pre Brexit, this can be split as eu_vat_registered
, eu_vat_not_registered
and non_eu
).goods
and service
.mileage_type
is odometer
.mileage_type
is odometer
.mileage_type
is manual
km
and mile
car
, van
, motorcycle
and bike
petrol
, lpg
and diesel
less_than_1400cc
, between_1400cc_and_1600cc
, between_1600cc_and_2000cc
and more_than_2000cc
Query Parameters
gif
, png
, jpeg
, jpg
, bmp
and pdf
. It should be sent in multipart/formdata.List Expenses
List all the Expenses with pagination.
OAuth Scope : ZohoSubscriptions.expenses.READ
Query Parameters
description_startswith
and description_contains
. Maximum length [100]
reference_number_startswith
and reference_number_contains
. Maximum length [100]
date_start
, date_end
, date_before
and date_after
. Date Format [yyyy-mm-dd]
unbilled
, invoiced
, reimbursed
, non-billable
and billable
amount_less_than
, amount_less_equals
, amount_greater_than
and amount_greater_than
account_name_startswith
and account_name_contains
. Maximum length [100]
customer_name_startswith
and customer_name_contains
. Maximum length [100]
customer name
or vendor name
. Maximum length [100]
date
, account_name
, total
, bcy_total
, reference_number
, customer_name
and created_time
Status.All
, Status.Billable
, Status.Nonbillable
, Status.Reimbursed
, Status.Invoiced
and Status.Unbilled
Update an Expense
Update an existing Expense.
OAuth Scope : ZohoSubscriptions.expenses.UPDATE
Arguments
place of contact
given for the contact will be taken)Maximum length [100]
goods
and service
.Maximum length [100]
Maximum length [100]
uk
. If the vendor is in an EU country & VAT registered, you are resides in Northen Ireland and purchasing Goods then his VAT treatment is eu_vat_registered
and if he resides outside the UK then his VAT treatment is overseas
(For Pre Brexit, this can be split as eu_vat_registered
, eu_vat_not_registered
and non_eu
).goods
and service
.mileage_type
is odometer
.mileage_type
is odometer
.mileage_type
is manual
km
and mile
car
, van
, motorcycle
and bike
petrol
, lpg
and diesel
less_than_1400cc
, between_1400cc_and_1600cc
, between_1600cc_and_2000cc
and more_than_2000cc
Query Parameters
gif
, png
, jpeg
, jpg
, bmp
and pdf
. It should be sent in multipart/formdata.Retrieve an Expense
Fetch the details of the Expense.
OAuth Scope : ZohoSubscriptions.expenses.READ
Delete an Expense
Delete an existing expense.
OAuth Scope : ZohoSubscriptions.expenses.DELETE