GetAccountInfo
accounts
|
Get Account details
details
Arguments
SQL Call
EXEC FreshBooks.GetAccountInfo select * from FreshBooks.accounts
Http Call
/bsc/freshbooks/getaccountinfo
Output Columns
| Int32 id | | | String accountId | | | String firstName | | | String lastName | | | String email | | | DateTime createdAt | |
|
getTokens
|
Get authentication token
details
Arguments
|
Name
|
Description
|
Default |
|
codeResponse R
|
|
|
SQL Call
EXEC FreshBooks.getTokens 'https://localhost/?code=763bc2b4128fd0ecbc31a7e835843ee7d34f5205a15cdae462005350a4cd6a9e'
Http Call
/bsc/freshbooks/gettokens
Output Columns
| String code | | | String accessToken | | | Int32 expiresIn | | | String refreshToken | | | String createdAt | | | String tokenType | |
|
ListClients
clients
|
List all clients
details
Arguments
|
Name
|
Description
|
Default |
|
accountId R
|
|
|
|
address
|
|
|
|
email
|
|
|
|
fname
|
|
|
|
lname
|
|
|
|
note
|
|
|
|
organization
|
|
|
|
phone
|
|
|
|
updatedMin
|
|
|
|
updatedMax
|
|
|
|
user
|
|
|
|
userid
|
|
|
|
userids
|
|
|
|
username
|
|
|
|
visState
|
|
|
|
emailLike
|
|
|
|
hasCredit
|
|
|
|
hasDraft
|
|
|
|
hasOutstanding
|
|
|
|
hasOverdue
|
|
|
|
topn
|
|
|
SQL Call
EXEC FreshBooks.ListClients select * from FreshBooks.clients
Http Call
/bsc/freshbooks/listclients
Output Columns
| Int32 id | | | String fname | | | String lname | | | String email | | | String fax | | | String username | | | DateTime signupDate | | | String pcode | | | String pcity | | | String pstreet | | | String pstreet2 | | | String pprovince | | | String pcountry | | | String currencyCode | | | Int32 visState | | | String language | | | String mobPhone | | | String homePhone | | | Boolean allowLateFees | | | String organization | | | String companySize | | | String role | | | DateTime updated | | | Int32 userid | | | String vatname | | | Int32 vatnumber | | | DateTime lastLogin | | | String note | | | DateTime updatedMin | | | DateTime updatedMax | | | Boolean hasCredit | | | Boolean hasDraft | | | Boolean hasOutstanding | | | Boolean hasOverdue | |
|
ListInvoices
invoices
|
List all invoices
details
Arguments
|
Name
|
Description
|
Default |
|
accountId R
|
|
|
|
invoiceId
|
|
|
|
invoiceIds
|
|
|
|
invoiceNumber
|
|
|
|
invoiceNumberLike
|
|
|
|
statusId
|
|
|
|
statusIds
|
|
|
|
v3Status
|
|
|
|
currencyCode
|
|
|
|
currency
|
|
|
|
dateMin
|
|
|
|
dateMax
|
|
|
|
totalMin
|
|
|
|
totalMax
|
|
|
|
poNumber
|
|
|
|
customerId
|
|
|
|
customerIds
|
|
|
|
parentId
|
|
|
|
paid
|
|
|
|
outstanding
|
|
|
|
updatedMin
|
|
|
|
updatedMax
|
|
|
|
itemName
|
|
|
|
itemDescription
|
|
|
|
projectId
|
|
|
|
outstandingMin
|
|
|
|
notes
|
|
|
|
topn
|
|
|
SQL Call
EXEC FreshBooks.ListInvoices select * from FreshBooks.invoices
Http Call
/bsc/freshbooks/listinvoices
Output Columns
| Int32 id | | | String invoiceId | | | Int64 invoiceNumber | | | String customerId | | | String fname | | | String lname | | | Decimal outstandingAmount | | | String outstandingCode | | | String paymentStatus | | | String v3Status | | | String country | | | String depositStatus | | | String currentOrganization | | | DateTime dueDate | | | DateTime updated | | | DateTime createDate | | | Decimal paidAmount | | | String paidCode | | | Decimal discountTotalAmount | | | String discountCode | | | String address | | | String street | | | String city | | | String currencyCode | | | String accountId | | | Decimal discountValue | | | String organization | | | Int32 dueOffsetDays | | | String language | | | String displayStatus | | | String notes | | | Decimal amount | | | String code | | | String statusId | | | String currency | | | DateTime dateMin | | | DateTime dateMax | | | Decimal totalMin | | | Decimal totalMax | | | String poNumber | | | String parentId | | | Boolean paid | | | Boolean outstanding | | | DateTime updatedMin | | | DateTime updatedMax | | | String itemName | | | String itemDescription | | | String projectId | | | Decimal outstandingMin | |
|
ListPayments
payments
|
List all payments
details
Arguments
|
Name
|
Description
|
Default |
|
accountId R
|
|
|
|
logid
|
|
|
|
logIds
|
|
|
|
dateMin
|
|
|
|
dateMax
|
|
|
|
updatedMin
|
|
|
|
updatedMax
|
|
|
|
amountMin
|
|
|
|
amountMax
|
|
|
|
type
|
|
|
|
customerId
|
|
|
|
customerIds
|
|
|
|
clientId
|
|
|
|
clientIds
|
|
|
|
currencyCode
|
|
|
|
invoiceId
|
|
|
|
notes
|
|
|
|
fromCredit
|
|
|
|
clientName
|
|
|
|
number
|
|
|
|
paymentOrCredit
|
|
|
|
topn
|
|
|
SQL Call
EXEC FreshBooks.ListPayments select * from FreshBooks.payments
Http Call
/bsc/freshbooks/listpayments
Output Columns
| Int32 id | | | String type | | | Int32 orderId | | | Int32 invoiceId | | | DateTime updated | | | Int32 creditId | | | Decimal amount | | | String code | | | Int32 clientId | | | Int32 visState | | | Int32 logId | | | String note | | | Int32 overpaymentId | | | String gateway | | | DateTime date | | | Int32 transactionId | | | Boolean fromCredit | | | String accountId | | | DateTime dateMin | | | DateTime dateMax | | | DateTime updatedMin | | | DateTime updatedMax | | | Decimal amountMin | | | Decimal amountMax | | | String customerId | | | String currencyCode | | | String notes | | | String clientName | | | String number | | | String paymentOrCredit | |
|
ListTimeEntries
timeentries
|
List all time entries
details
Arguments
|
Name
|
Description
|
Default |
|
businessId R
|
|
|
|
startedFrom
|
|
|
|
startedTo
|
|
|
|
updatedSince
|
|
|
|
billable
|
|
|
|
billed
|
|
|
|
clientId
|
|
|
|
includeDeleted
|
|
|
|
team
|
|
|
|
includeUnlogged
|
|
|
|
topn
|
|
|
SQL Call
EXEC FreshBooks.ListTimeEntries select * from FreshBooks.timeentries
Http Call
/bsc/freshbooks/listtimeentries
Output Columns
| Int32 id | | | Int32 businessId | | | Boolean isLogged | | | DateTime startedAt | | | DateTime createdAt | | | Int32 clientId | | | String projectId | | | String pendingClient | | | String pendingProject | | | String pendingTask | | | Int32 taskId | | | Int64 serviceId | | | String note | | | Boolean active | | | Boolean billable | | | Boolean billed | | | Int64 duration | | | Boolean includeDeleted | | | Boolean team | | | Boolean includeUnlogged | | | DateTime startedFrom | | | DateTime startedTo | | | DateTime updatedSince | |
|