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
POSTcreateSinglePayment

This endpoint allows to create new payment.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
invoiceIdNUMBER
REQUIREDid of related invoice.
accessTokenSTRING
REQUIREDAccess token obtained from getAccessToken method.
dateDATEPICKER
REQUIREDdate the payment was made, YYYY-MM-DD format.
accountIdSTRING
REQUIREDThe ID of the account.
typeSTRING
REQUIRED"Check", "Credit", "Cash", etc.
amountSTRING
REQUIREDamount paid on invoice, to two decimal places.
Optional Parameters
creditIdNUMBER
OPTIONALid of related credit.
gatewaySTRING
OPTIONALthe payment processor used, if any.
clientIdSTRING
OPTIONALid of client who made the payment.
noteSTRING
OPTIONALnotes on payment, often used for credit card reference number.
fromCreditSELECT
OPTIONALwhether or not the payment was converted from a Credit on a Client's account.
overpaymentIdNUMBER
OPTIONALid of related overpayment if relevant.
codeSTRING
OPTIONALthree-letter currency code.
visStateSELECT
OPTIONAL0 for active, 1 for deleted.
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication