Documentation
- Getting Started
- Authentication
- Making Requests
- Resource Creation
- Searching
- Plugins
- Webhooks
Tutorials
APIs
- Activity Codes
- Archive
- Authorization
- Bank Accounts
- Contacts
- Events
- Expenses
- Fees
- Files
- Firm
- Firm Users
- Folders
- Invoices
- Layout Designs
- Layout Matter Items
- Matter Billing Configuration
- Matter Items
- Matter Types
- Matters
- Memos
- Notifications
- Plugins
- Referral Types
- Relationships
- Roles
- Staff
- Stages
- Subscription Payments
- Subscription Promotions
- Subscriptions
- Tasks
- Users
- Webhooks
Expenses
Get a expense
Retrieves a specified expense.
GET
/
matters
/
{matterId}
/
expenses
/
{id}
curl --request GET \
--url https://api.smokeball.com/matters/{matterId}/expenses/{id} \
--header 'Authorization: <api-key>' \
--header 'x-api-key: <api-key>'
{
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "GET",
"self": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "GET"
},
"versionId": "23d2a4bc-8529-462e-8560-dfbf4fa24e49",
"createdByUserId": "8a7f40ea-4123-4ebe-bb05-e9b4b666e706",
"staff": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
},
"matter": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
},
"staffId": "<string>",
"matterId": "<string>",
"invoiceId": "fdb766bc-eb20-4bc1-9417-08b51a7b2286",
"origin": "<string>",
"activityCode": "PRT",
"utbmsTaskCode": "E101",
"subject": "Review contract",
"description": "Print documents",
"expenseDate": "2022-07-01",
"quantity": 3,
"price": 350.32,
"amount": 900.21,
"amountExcTax": 810.01,
"amountIncTax": 900.21,
"tax": 90,
"taxInclusive": false,
"finalized": false,
"isWrittenOff": false,
"isBillable": false,
"isInvoicedExternally": false,
"isDeleted": false
}
Response
200
application/json
When request is successful. Returns a 'Expense' object.
The response is of type object
.
curl --request GET \
--url https://api.smokeball.com/matters/{matterId}/expenses/{id} \
--header 'Authorization: <api-key>' \
--header 'x-api-key: <api-key>'
{
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "GET",
"self": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "GET"
},
"versionId": "23d2a4bc-8529-462e-8560-dfbf4fa24e49",
"createdByUserId": "8a7f40ea-4123-4ebe-bb05-e9b4b666e706",
"staff": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
},
"matter": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
},
"staffId": "<string>",
"matterId": "<string>",
"invoiceId": "fdb766bc-eb20-4bc1-9417-08b51a7b2286",
"origin": "<string>",
"activityCode": "PRT",
"utbmsTaskCode": "E101",
"subject": "Review contract",
"description": "Print documents",
"expenseDate": "2022-07-01",
"quantity": 3,
"price": 350.32,
"amount": 900.21,
"amountExcTax": 810.01,
"amountIncTax": 900.21,
"tax": 90,
"taxInclusive": false,
"finalized": false,
"isWrittenOff": false,
"isBillable": false,
"isInvoicedExternally": false,
"isDeleted": false
}
Assistant
Responses are generated using AI and may contain mistakes.