Skip to main content

Expenditures

Create Expenditure

post /businesses/:urlKey/expenditures

This endpoint allows you to record an expenditure.

Path Params

urlKey - will be provided by us

Headers

NameTypeValue Description
Content-Type *stringapplication-json
Authorization *stringBearer <jwt>

Body

NameTypeValue Description
expenseNumberstringExpense number - must be unique among your expenditures. If not passed in the API call, invoice number will auto-incremented from the last invoice. If the last number is APP-2020-0004 next will be APP-2020-0005
invoiceNumberstringInvoice number - Invoice Number of your vendor. If not provided it will be left blank. When vendor accepts an Expense and record it as their invoice, they can change the invoice number
invoiceDatestringISO 8601 Formatted Date String. If not provided, current timestamp will be used.
invoiceTypestring (enum)INVOICE -> Tax Invoice
BOS -> Invoice/Bill without tax
currencystringISO 4217 Currency Code -> Default INR
billedBy *objectVendor's billing details
billedBy.name *stringVendor's Name
billedBy.streetstringVendor's String Address
billedBy.pincodestringVendor's Zip/Postal code
billedBy.gstStatestring(Required Only for India) Vendor's gst state code
billedBy.statestringVendor's State or province (Ignored for India)
billedBy.country *stringISO 3166-1 alpha-2 Country code
billedBy.panNumberstringPAN (India Only)
billedBy.gstinstringGSTIN Number (India Only)
billedBy.phonestringVendor's Phone in international format, example - +91 97394 32668
billedBy.emailemailVendor's email
billedToobjectCustomer's billing details -> In same format as billedBy
items *array[object]Invoice line items array
items[].name *stringLine item name
items[].rate *numberunit price of line item
items[].quantity *numbertotal quantity sold of line item
items[].gstRate
or items[].taxRate
numbertax rate if applicable
emailobjectAdd if email should be sent after invoice creation to specified recipients
email.to *objectMain recipient of email
email.to.namestringName of main recipient
email.to.email *emailEmail of main recipient
email.ccarray[object]email CC list
email.cc[].namestringName of recipient
email.cc[].emailemailEmail of recipient