Track Expenses API
The Expenses API from Track — 3 operation(s) for expenses.
The Expenses API from Track — 3 operation(s) for expenses.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/track:track-expenses-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Track Expenses API
version: 1.0.0
description: Track API schema
tags:
- name: Expenses
paths:
/api/expenses/:
get:
operationId: api_expenses_list
parameters:
- in: query
name: date_after
schema:
type: string
format: date
- in: query
name: date_before
schema:
type: string
format: date
- in: query
name: expense_type
schema:
type: string
- in: query
name: label_id
schema:
type: string
format: uuid
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
- name: page
required: false
in: query
description: A page number within the paginated result set.
schema:
type: integer
- name: page_size
required: false
in: query
description: Number of results to return per page.
schema:
type: integer
- name: q
required: false
in: query
description: A search term.
schema:
type: string
- in: query
name: recoupable
schema:
type: boolean
- in: query
name: release_id
schema:
type: string
format: uuid
- in: query
name: sound_recording_id
schema:
type: string
format: uuid
tags:
- Expenses
security:
- jwtAuth: []
- cookieAuth: []
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedExpenseList'
description: ''
summary: Api expenses list
x-summary-source: derived
post:
operationId: api_expenses_create
tags:
- Expenses
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/Expense'
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/Expense'
multipart/form-data:
schema:
$ref: '#/components/schemas/Expense'
required: true
security:
- jwtAuth: []
- cookieAuth: []
responses:
'201':
content:
application/json:
schema:
$ref: '#/components/schemas/Expense'
description: ''
summary: Api expenses create
x-summary-source: derived
/api/expenses/{id}:
get:
operationId: api_expenses_retrieve
parameters:
- in: path
name: id
schema:
type: string
format: uuid
required: true
tags:
- Expenses
security:
- jwtAuth: []
- cookieAuth: []
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/Expense'
description: ''
summary: Api expenses retrieve
x-summary-source: derived
put:
operationId: api_expenses_update
parameters:
- in: path
name: id
schema:
type: string
format: uuid
required: true
tags:
- Expenses
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/Expense'
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/Expense'
multipart/form-data:
schema:
$ref: '#/components/schemas/Expense'
required: true
security:
- jwtAuth: []
- cookieAuth: []
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/Expense'
description: ''
summary: Api expenses update
x-summary-source: derived
patch:
operationId: api_expenses_partial_update
parameters:
- in: path
name: id
schema:
type: string
format: uuid
required: true
tags:
- Expenses
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/PatchedExpense'
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/PatchedExpense'
multipart/form-data:
schema:
$ref: '#/components/schemas/PatchedExpense'
security:
- jwtAuth: []
- cookieAuth: []
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/Expense'
description: ''
summary: Api expenses partial update
x-summary-source: derived
delete:
operationId: api_expenses_destroy
parameters:
- in: path
name: id
schema:
type: string
format: uuid
required: true
tags:
- Expenses
security:
- jwtAuth: []
- cookieAuth: []
responses:
'204':
description: No response body
summary: Api expenses destroy
x-summary-source: derived
/api/expenses/{id}/post:
post:
operationId: api_expenses_post_create
parameters:
- in: path
name: id
schema:
type: string
format: uuid
required: true
tags:
- Expenses
security:
- jwtAuth: []
- cookieAuth: []
responses:
'200':
description: No response body
summary: Api expenses post create
x-summary-source: derived
components:
schemas:
ExpenseStatusEnum:
enum:
- draft
- ready
- processed
type: string
description: '* `draft` - Draft
* `ready` - Ready
* `processed` - Processed'
ExpenseTypeEnum:
enum:
- mastering
- mixing
- recording
- artwork
- promotion
- cd_manufacturing
- remix_fees
- video_editing
- in_house_costs
- vinyl_manufacturing
- anti_piracy_prevention
- other
type: string
description: '* `mastering` - Mastering
* `mixing` - Mixing
* `recording` - Recording
* `artwork` - Artwork
* `promotion` - Promotion
* `cd_manufacturing` - CD Manufacturing
* `remix_fees` - Remix Fees
* `video_editing` - Video Editing
* `in_house_costs` - In-house Costs
* `vinyl_manufacturing` - Vinyl Manufacturing
* `anti_piracy_prevention` - Anti-Piracy Prevention
* `other` - Other'
ExtractionStatusEnum:
enum:
- skipped
- pending
- processing
- extracted
- error
type: string
description: '* `skipped` - Skipped
* `pending` - Pending
* `processing` - Processing
* `extracted` - Extracted
* `error` - Error'
PatchedExpense:
type: object
properties:
id:
type: string
format: uuid
readOnly: true
created_at:
type: string
format: date-time
readOnly: true
updated_at:
type: string
format: date-time
readOnly: true
label:
type: string
format: uuid
total_amount:
type:
- string
- 'null'
format: decimal
pattern: ^-?\d{0,8}(?:\.\d{0,2})?$
currency:
type:
- string
- 'null'
maxLength: 3
spot_rate:
type:
- string
- 'null'
format: decimal
pattern: ^-?\d{0,6}(?:\.\d{0,6})?$
readOnly: true
spot_rate_date:
type:
- string
- 'null'
format: date
readOnly: true
local_amount:
type:
- string
- 'null'
format: decimal
pattern: ^-?\d{0,13}(?:\.\d{0,8})?$
readOnly: true
file:
type:
- string
- 'null'
format: uri
name:
type:
- string
- 'null'
maxLength: 255
description:
type:
- string
- 'null'
date:
type:
- string
- 'null'
format: date
expense_type:
$ref: '#/components/schemas/ExpenseTypeEnum'
recoupable:
type: boolean
status:
allOf:
- $ref: '#/components/schemas/ExpenseStatusEnum'
readOnly: true
can_delete:
type: boolean
readOnly: true
extraction_status:
allOf:
- $ref: '#/components/schemas/ExtractionStatusEnum'
readOnly: true
release:
type:
- string
- 'null'
format: uuid
release_details:
type: string
readOnly: true
sound_recording:
type:
- string
- 'null'
format: uuid
sound_recording_details:
type: string
readOnly: true
Expense:
type: object
properties:
id:
type: string
format: uuid
readOnly: true
created_at:
type: string
format: date-time
readOnly: true
updated_at:
type: string
format: date-time
readOnly: true
label:
type: string
format: uuid
total_amount:
type:
- string
- 'null'
format: decimal
pattern: ^-?\d{0,8}(?:\.\d{0,2})?$
currency:
type:
- string
- 'null'
maxLength: 3
spot_rate:
type:
- string
- 'null'
format: decimal
pattern: ^-?\d{0,6}(?:\.\d{0,6})?$
readOnly: true
spot_rate_date:
type:
- string
- 'null'
format: date
readOnly: true
local_amount:
type:
- string
- 'null'
format: decimal
pattern: ^-?\d{0,13}(?:\.\d{0,8})?$
readOnly: true
file:
type:
- string
- 'null'
format: uri
name:
type:
- string
- 'null'
maxLength: 255
description:
type:
- string
- 'null'
date:
type:
- string
- 'null'
format: date
expense_type:
$ref: '#/components/schemas/ExpenseTypeEnum'
recoupable:
type: boolean
status:
allOf:
- $ref: '#/components/schemas/ExpenseStatusEnum'
readOnly: true
can_delete:
type: boolean
readOnly: true
extraction_status:
allOf:
- $ref: '#/components/schemas/ExtractionStatusEnum'
readOnly: true
release:
type:
- string
- 'null'
format: uuid
release_details:
type: string
readOnly: true
sound_recording:
type:
- string
- 'null'
format: uuid
sound_recording_details:
type: string
readOnly: true
required:
- can_delete
- created_at
- extraction_status
- id
- label
- local_amount
- release_details
- sound_recording_details
- spot_rate
- spot_rate_date
- status
- updated_at
PaginatedExpenseList:
type: object
required:
- count
- results
properties:
count:
type: integer
example: 123
next:
type:
- string
- 'null'
format: uri
example: http://api.example.org/accounts/?page=4
previous:
type:
- string
- 'null'
format: uri
example: http://api.example.org/accounts/?page=2
results:
type: array
items:
$ref: '#/components/schemas/Expense'
securitySchemes:
cookieAuth:
type: apiKey
in: cookie
name: sessionid
jwtAuth:
type: http
scheme: bearer
bearerFormat: JWT