FreshbooksAPI API Documentation (dimashirokov) | RapidAPI

FreshbooksAPI

FREE
By dimashirokov
Updated 9 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
POSTcreateExpense

The endpoint allows to create new expense.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
amountSTRING
REQUIREDThe amount of the expense.
accessTokenSTRING
REQUIREDAccess token obtained from getAccessToken method.
staffIdNUMBER
REQUIREDid of related staff member if applicable.
clientIdNUMBER
REQUIREDid of related client if applicable.
categoryIdNUMBER
REQUIREDid of related expense category.
accountIdSTRING
REQUIREDThe ID of the account.
dateDATEPICKER
REQUIREDThe date of the expense.
Optional Parameters
markupPercentSTRING
OPTIONALstring-decimal, note of percent to mark expense up.
taxName1STRING
OPTIONALname of first tax.
taxAmount2STRING
OPTIONALamount for second tax.
accountNameSTRING
OPTIONALname of related account if applicable.
vendorSTRING
OPTIONALname of vendor.
taxName2STRING
OPTIONALname of second tax.
extInvoiceIdNUMBER
OPTIONALid of related contractor invoice if applicable.
visStateSELECT
OPTIONAL0 for active, 1 for deleted.
taxAmount1STRING
OPTIONALamount for first tax.
notesSTRING
OPTIONALnotes about expense.
compoundedTaxSELECT
OPTIONALtrue/false tax2 was a compound tax.
transactionIdNUMBER
OPTIONALid of related transaction if applicable.
taxCode1STRING
OPTIONAL3-letter currency code for first tax.
taxPercent2STRING
OPTIONALstring-decimal tax amount for second tax.
profileIdNUMBER
OPTIONALid of related profile if applicable.
projectIdNUMBER
OPTIONALid of related project if applicable.
taxPercent1STRING
OPTIONALstring-decimal tax amount.
amountCodeSTRING
OPTIONAL3-letter currency code.
bankNameSTRING
OPTIONALname of bank expense was imported from, if applicable.
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.
extSystemIdNUMBER
OPTIONALid of related contractor system if applicable.
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication