Available Routes
get | {API Key}/v2/expenses |
Data Format
FirmId | Number | Unique ID for the Firm(B4T Generated) | |
ExpenseId | Number | Unique ID for the Expense (B4T Generated) | |
InternalClientID | Number | Unique ID for the Client (B4T Generated) | |
ClientID | Number | ID for the Expense | |
ClientName | Text | Name of Client | |
InternalProjectID | Number | Unique ID for the Project (B4T Generated) | |
ProjectID | Number | ID for the Project | |
ProjectName | Text | Name of Project | |
UserId | Number | Unique ID for the User (B4T Generated) | |
UserName | Text | Name of User | |
ExpenseType | Text | Type of Expense | |
CostPrice | Number | Cost of Expense | |
SellPrice | Number | Price passed on the to the client for this expense | |
UnitPrice | Number | Price | |
Reimburse | Number | True False |
If true, this expense is reimbursable. |
ExcludeFromInvoice | Text | True False |
If true, this entry is included in invoice. If false, this entry is not included on the invoice. |
Taxable | Text | True False |
If true, this entry is taxable. If false, this entry is taxable. |
ExpenseDate | Date | Date of the Expense | |
CreatedDate | Date | Date the expense was created | |
Quantity | Number | ||
InvoiceId | Number | ID for the Invoice | |
InvoiceBatchId | Number | ID for the Batch | |
InvoiceAdjustedAmount | Number | Amount of Adjustment on Invoice | |
BillingStatus | Text |
|
Status of the Expense |
Description | Text | Expense Description | |
ExpenseCode | Text | Expense Code |
Usage Examples
Find all expenses
gethttps://secure.bill4time.com/b4t-api/{Api Key}/v2/expenses
Find expense with id = 513
gethttps://secure.bill4time.com/b4t-api/{Api Key}/v2/expenses?$filter=id eq 513
Find All expenses for invoice 10002
gethttps://secure.bill4time.com/b4t-api/{Api Key}/v2/expenses?$filter=invoiceId eq 10002
Find first 5 expenses with expenseType='meal' created on or after January 1st, 2017
gethttps://secure.bill4time.com/b4t-api/{Api Key}/v1/expenses?$filter=expenseType eq 'meal' AND createdDate ge '2017-01-01'&$top=5&$orderby=createdDate
Comments
0 comments
Please sign in to leave a comment.