FreshbooksAPI

FREE
By dimashirokov
Updated 8 months ago
Business Software
-/10
Popularity Score
-
Latency
-
Success Rate

FreshbooksAPI API Documentation

Send invoices, track time, manage receipts, expenses

View API Details
POSTcreateExpense
POSTcreateSingleClient
POSTcreateSingleInvoice
POSTcreateSingleItem
POSTcreateSinglePayment
POSTcreateSingleTax
POSTdeleteSingleClient
POSTdeleteSingleExpense
POSTdeleteSingleInvoice
POSTdeleteSingleItem
POSTdeleteSinglePayment
POSTdeleteSingleStaff
POSTdeleteSingleTax
POSTgetAccessToken
POSTgetAllExpenseCategories
POSTgetAllExpenses
POSTgetClients
POSTgetExpense
POSTgetIdentityInfo
POSTgetInvoices
POSTgetItems
POSTgetPayments
POSTgetSingleClient
POSTgetSingleExpenseCategory
POSTgetSingleInvoice
POSTgetSingleItem
POSTgetSinglePayment
POSTgetSingleStaff
POSTgetSingleTax
POSTgetStaffs
POSTgetSystemInfo
POSTgetTaxes
POSTrefreshAccessToken
POSTupdateSingleClient
POSTupdateSingleExpense
POSTupdateSingleInvoice
POSTupdateSingleItem
POSTupdateSinglePayment
POSTupdateSingleStaff
POSTupdateSingleTax
POSTupdateSingleExpense

The endpoint allows to update existing expenses.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
accountIdSTRING
REQUIREDThe ID of the account.
expenseIdNUMBER
REQUIREDThe ID of the expense.
accessTokenSTRING
REQUIREDAccess token obtained from getAccessToken method.
Optional Parameters
amountSTRING
OPTIONALThe amount of the expense.
staffIdNUMBER
OPTIONALid of related staff member if applicable.
markupPercentSTRING
OPTIONALstring-decimal, note of percent to mark expense up.
taxAmount2STRING
OPTIONALamount for second tax.
bankNameSTRING
OPTIONALname of bank expense was imported from, if applicable.
taxName2STRING
OPTIONALname of second tax.
clientIdNUMBER
OPTIONALid of related client if applicable.
profileIdNUMBER
OPTIONALid of related profile if applicable.
taxName1STRING
OPTIONALname of first tax.
taxAmount1STRING
OPTIONALamount for first tax.
transactionIdNUMBER
OPTIONALid of related transaction if applicable.
notesSTRING
OPTIONALnotes about expense.
visStateSELECT
OPTIONAL0 for active, 1 for deleted.
extSystemIdNUMBER
OPTIONALid of related contractor system if applicable.
amountCodeSTRING
OPTIONAL3-letter currency code.
accountNameSTRING
OPTIONALname of related account if applicable.
taxPercent1STRING
OPTIONALstring-decimal tax amount.
extInvoiceIdNUMBER
OPTIONALid of related contractor invoice if applicable.
taxCode1STRING
OPTIONAL3-letter currency code for first tax.
isDuplicateSELECT
OPTIONALtrue/false is duplicated expense.
taxPercent2STRING
OPTIONALstring-decimal tax amount for second tax.
compoundedTaxSELECT
OPTIONALtrue/false tax2 was a compound tax.
projectIdNUMBER
OPTIONALid of related project if applicable.
dateDATEPICKER
OPTIONALThe date of the expense.
hasReceiptSELECT
OPTIONALtrue/false has receipt attached.
categoryIdNUMBER
OPTIONALid of related expense category.
invoiceIdNUMBER
OPTIONALid of related invoice if applicable.
vendorSTRING
OPTIONALname of vendor.
statusSELECT
OPTIONALvalues from expense status table. 0 - internal (-internal- rather than client); 1 - outstanding (has client, needs to be applied to an invoice); 2 - invoiced (has client, attached to an invoice); 4 - recouped (has client, attached to an invoice, and paid).
taxCode2STRING
OPTIONAL3-letter currency code for second tax.
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication