Get Started
API Reference
- Api keys
- Items
- Inventory Adjustments
- Branches
- Warehouses
- Accounts
- Inventory Cost
- Sale Invoices
- Pdf Templates
- Tax Rates
- Payments Received
- Import
- resources
- Payment Links
- stripe
- Item Categories
- Expenses
- Warehouse Transfers
- Customers
- Vendors
- Sale Estimates
- Sale Receipts
- Bills
- Landed Cost
- Manual Journals
- Credit Notes
- Credit Note Refunds
- Credit Notes Apply Invoice
- Vendor Credits
- Vendor Credits Apply Bills
- Bill Payments
- Vendor Credits Refunds
- Bank Accounts
- Banking Plaid
- banking-plaid
- Banking Categorization
- Banking Transactions
- Banking Uncategorized Transactions
- Banking Pending Transactions
- Bank Rules
- Banking Recognized Transactions
- Banking Transactions Matching
- Transactions Locking
- Settings
- Reports
- Dashboard
- Roles
- Subscriptions
- Organization
- Payment Services
- Attachments
- Export
- Views
- Currencies
- misc
- Users
- Contacts
Expenses
Get the expense transactions.
GET
/
api
/
expenses
Copy
{
"pagination": {
"total": 100,
"page": 1,
"pageSize": 10
},
"data": [
{
"id": 1,
"totalAmount": 1000,
"currencyCode": "USD",
"exchangeRate": 1.2,
"description": "Office supplies and equipment",
"paymentAccountId": 1,
"referenceNo": "EXP-2024-001",
"publishedAt": "2024-03-20T10:00:00Z",
"userId": 1,
"paymentDate": "2024-03-20T10:00:00Z",
"payeeId": 1,
"landedCostAmount": 800,
"allocatedCostAmount": 200,
"invoicedAmount": 0,
"branchId": 1,
"createdAt": "2024-03-20T10:00:00Z",
"isPublished": true,
"unallocatedCostAmount": 200,
"localAmount": 1200,
"localLandedCostAmount": 960,
"localAllocatedCostAmount": 240,
"localUnallocatedCostAmount": 240,
"billableAmount": 1000,
"categories": [
{
"id": 1,
"amount": 100,
"allocatedCostAmount": 50,
"expenseAccountId": 1,
"projectId": 1,
"description": "Office supplies for Q1",
"unallocatedCostAmount": 50
}
]
}
]
}
Headers
Value must be 'Bearer <token>' where <token> is an API key prefixed with 'bc_' or a JWT token.
Example:
"Bearer bc_1234567890abcdef"
Required if Authorization is a JWT token. The organization ID to operate within.
Response
200 - application/json
The item list has been successfully retrieved.
The response is of type object
.
Copy
{
"pagination": {
"total": 100,
"page": 1,
"pageSize": 10
},
"data": [
{
"id": 1,
"totalAmount": 1000,
"currencyCode": "USD",
"exchangeRate": 1.2,
"description": "Office supplies and equipment",
"paymentAccountId": 1,
"referenceNo": "EXP-2024-001",
"publishedAt": "2024-03-20T10:00:00Z",
"userId": 1,
"paymentDate": "2024-03-20T10:00:00Z",
"payeeId": 1,
"landedCostAmount": 800,
"allocatedCostAmount": 200,
"invoicedAmount": 0,
"branchId": 1,
"createdAt": "2024-03-20T10:00:00Z",
"isPublished": true,
"unallocatedCostAmount": 200,
"localAmount": 1200,
"localLandedCostAmount": 960,
"localAllocatedCostAmount": 240,
"localUnallocatedCostAmount": 240,
"billableAmount": 1000,
"categories": [
{
"id": 1,
"amount": 100,
"allocatedCostAmount": 50,
"expenseAccountId": 1,
"projectId": 1,
"description": "Office supplies for Q1",
"unallocatedCostAmount": 50
}
]
}
]
}
Assistant
Responses are generated using AI and may contain mistakes.