REST API
Fixed Assets API
Generated from the Celerp 2.5.5 OpenAPI schema, 12 October 2026.
GET /fixed-assets/api/assets
List Assets
Parameters
| Name | In | Required | Type | Description |
|---|
class_id | query | -- | string, optional | -- |
q | query | -- | string, optional | -- |
limit | query | -- | integer | -- |
offset | query | -- | integer | -- |
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X GET http://localhost:8000/fixed-assets/api/assets \
-H "Authorization: Bearer $TOKEN"
POST /fixed-assets/api/assets
Create Asset
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/assets \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
GET /fixed-assets/api/assets/{asset_id}
Get Asset
Parameters
| Name | In | Required | Type | Description |
|---|
asset_id | path | yes | string | -- |
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X GET http://localhost:8000/fixed-assets/api/assets/:asset_id \
-H "Authorization: Bearer $TOKEN"
PATCH /fixed-assets/api/assets/{asset_id}
Update Asset
Parameters
| Name | In | Required | Type | Description |
|---|
asset_id | path | yes | string | -- |
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X PATCH http://localhost:8000/fixed-assets/api/assets/:asset_id \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
POST /fixed-assets/api/assets/{asset_id}/add
Add To Asset
Parameters
| Name | In | Required | Type | Description |
|---|
asset_id | path | yes | string | -- |
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/assets/:asset_id/add \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
GET /fixed-assets/api/assets/{asset_id}/components
List Components
Parameters
| Name | In | Required | Type | Description |
|---|
asset_id | path | yes | string | -- |
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X GET http://localhost:8000/fixed-assets/api/assets/:asset_id/components \
-H "Authorization: Bearer $TOKEN"
POST /fixed-assets/api/assets/{asset_id}/correct
Correct
Parameters
| Name | In | Required | Type | Description |
|---|
asset_id | path | yes | string | -- |
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/assets/:asset_id/correct \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
GET /fixed-assets/api/assets/{asset_id}/correct-fields
Correct Fields
Parameters
| Name | In | Required | Type | Description |
|---|
asset_id | path | yes | string | -- |
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X GET http://localhost:8000/fixed-assets/api/assets/:asset_id/correct-fields \
-H "Authorization: Bearer $TOKEN"
POST /fixed-assets/api/assets/{asset_id}/corrections
Request Correction
Parameters
| Name | In | Required | Type | Description |
|---|
asset_id | path | yes | string | -- |
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/assets/:asset_id/corrections \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
POST /fixed-assets/api/assets/{asset_id}/dispose
Dispose Asset
Parameters
| Name | In | Required | Type | Description |
|---|
asset_id | path | yes | string | -- |
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/assets/:asset_id/dispose \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
GET /fixed-assets/api/assets/{asset_id}/files
List Files
Parameters
| Name | In | Required | Type | Description |
|---|
asset_id | path | yes | string | -- |
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X GET http://localhost:8000/fixed-assets/api/assets/:asset_id/files \
-H "Authorization: Bearer $TOKEN"
POST /fixed-assets/api/assets/{asset_id}/files
Upload File
Parameters
| Name | In | Required | Type | Description |
|---|
asset_id | path | yes | string | -- |
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/assets/:asset_id/files \
-H "Authorization: Bearer $TOKEN"
GET /fixed-assets/api/assets/{asset_id}/files/{file_id}
Download File
Parameters
| Name | In | Required | Type | Description |
|---|
asset_id | path | yes | string | -- |
file_id | path | yes | string | -- |
Responses
| Status | Description | Body |
|---|
200 | Successful Response | -- |
422 | Validation Error | HTTPValidationError |
Example
curl -X GET http://localhost:8000/fixed-assets/api/assets/:asset_id/files/:file_id \
-H "Authorization: Bearer $TOKEN"
DELETE /fixed-assets/api/assets/{asset_id}/files/{file_id}
Delete File
Parameters
| Name | In | Required | Type | Description |
|---|
asset_id | path | yes | string | -- |
file_id | path | yes | string | -- |
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X DELETE http://localhost:8000/fixed-assets/api/assets/:asset_id/files/:file_id \
-H "Authorization: Bearer $TOKEN"
PATCH /fixed-assets/api/assets/{asset_id}/files/{file_id}/description
Describe File
Parameters
| Name | In | Required | Type | Description |
|---|
asset_id | path | yes | string | -- |
file_id | path | yes | string | -- |
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X PATCH http://localhost:8000/fixed-assets/api/assets/:asset_id/files/:file_id/description \
-H "Authorization: Bearer $TOKEN"
POST /fixed-assets/api/assets/{asset_id}/files/{file_id}/tag
Tag File
Parameters
| Name | In | Required | Type | Description |
|---|
asset_id | path | yes | string | -- |
file_id | path | yes | string | -- |
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/assets/:asset_id/files/:file_id/tag \
-H "Authorization: Bearer $TOKEN"
POST /fixed-assets/api/assets/{asset_id}/financial-details
Financial Details
Parameters
| Name | In | Required | Type | Description |
|---|
asset_id | path | yes | string | -- |
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/assets/:asset_id/financial-details \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
POST /fixed-assets/api/assets/{asset_id}/impair
Impair
Parameters
| Name | In | Required | Type | Description |
|---|
asset_id | path | yes | string | -- |
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/assets/:asset_id/impair \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
POST /fixed-assets/api/assets/{asset_id}/maintenance
Create Entry
Parameters
| Name | In | Required | Type | Description |
|---|
asset_id | path | yes | string | -- |
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/assets/:asset_id/maintenance \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
POST /fixed-assets/api/assets/{asset_id}/move
Move Asset
Parameters
| Name | In | Required | Type | Description |
|---|
asset_id | path | yes | string | -- |
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/assets/:asset_id/move \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
GET /fixed-assets/api/assets/{asset_id}/movements
List Movements
Parameters
| Name | In | Required | Type | Description |
|---|
asset_id | path | yes | string | -- |
limit | query | -- | integer | -- |
offset | query | -- | integer | -- |
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X GET http://localhost:8000/fixed-assets/api/assets/:asset_id/movements \
-H "Authorization: Bearer $TOKEN"
POST /fixed-assets/api/assets/{asset_id}/place-in-service
Place In Service
Parameters
| Name | In | Required | Type | Description |
|---|
asset_id | path | yes | string | -- |
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/assets/:asset_id/place-in-service \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
POST /fixed-assets/api/assets/{asset_id}/readings
Record Reading
Parameters
| Name | In | Required | Type | Description |
|---|
asset_id | path | yes | string | -- |
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/assets/:asset_id/readings \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
POST /fixed-assets/api/assets/{asset_id}/reclassify
Reclassify Asset
Parameters
| Name | In | Required | Type | Description |
|---|
asset_id | path | yes | string | -- |
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/assets/:asset_id/reclassify \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
POST /fixed-assets/api/assets/{asset_id}/reminders
Create Reminder
Parameters
| Name | In | Required | Type | Description |
|---|
asset_id | path | yes | string | -- |
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/assets/:asset_id/reminders \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
POST /fixed-assets/api/assets/{asset_id}/revalue
Revalue
Parameters
| Name | In | Required | Type | Description |
|---|
asset_id | path | yes | string | -- |
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/assets/:asset_id/revalue \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
POST /fixed-assets/api/assets/{asset_id}/reverse-impairment
Reverse Impairment
Parameters
| Name | In | Required | Type | Description |
|---|
asset_id | path | yes | string | -- |
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/assets/:asset_id/reverse-impairment \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
GET /fixed-assets/api/assets/{asset_id}/reviews
List Reviews
Parameters
| Name | In | Required | Type | Description |
|---|
asset_id | path | yes | string | -- |
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X GET http://localhost:8000/fixed-assets/api/assets/:asset_id/reviews \
-H "Authorization: Bearer $TOKEN"
POST /fixed-assets/api/assets/{asset_id}/reviews
Record Review
Parameters
| Name | In | Required | Type | Description |
|---|
asset_id | path | yes | string | -- |
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/assets/:asset_id/reviews \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
POST /fixed-assets/api/assets/{asset_id}/reviews/{review_id}/withdraw
Withdraw Review
Parameters
| Name | In | Required | Type | Description |
|---|
asset_id | path | yes | string | -- |
review_id | path | yes | string | -- |
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/assets/:asset_id/reviews/:review_id/withdraw \
-H "Authorization: Bearer $TOKEN"
GET /fixed-assets/api/assets/{asset_id}/sale
Get Sale
Parameters
| Name | In | Required | Type | Description |
|---|
asset_id | path | yes | string | -- |
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X GET http://localhost:8000/fixed-assets/api/assets/:asset_id/sale \
-H "Authorization: Bearer $TOKEN"
POST /fixed-assets/api/assets/{asset_id}/sale/{action}
Change Sale
Parameters
| Name | In | Required | Type | Description |
|---|
asset_id | path | yes | string | -- |
action | path | yes | string | -- |
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/assets/:asset_id/sale/:action \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
POST /fixed-assets/api/assets/{asset_id}/sell
Sell Asset
Parameters
| Name | In | Required | Type | Description |
|---|
asset_id | path | yes | string | -- |
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/assets/:asset_id/sell \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
POST /fixed-assets/api/assets/{asset_id}/skip
Skip Month
Parameters
| Name | In | Required | Type | Description |
|---|
asset_id | path | yes | string | -- |
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/assets/:asset_id/skip \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
DELETE /fixed-assets/api/assets/{asset_id}/skip/{month}
Withdraw Skip
Parameters
| Name | In | Required | Type | Description |
|---|
asset_id | path | yes | string | -- |
month | path | yes | string | -- |
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X DELETE http://localhost:8000/fixed-assets/api/assets/:asset_id/skip/:month \
-H "Authorization: Bearer $TOKEN"
POST /fixed-assets/api/assets/{asset_id}/transfer
Transfer Asset
Parameters
| Name | In | Required | Type | Description |
|---|
asset_id | path | yes | string | -- |
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/assets/:asset_id/transfer \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
POST /fixed-assets/api/assets/{asset_id}/undo
Undo Asset
Parameters
| Name | In | Required | Type | Description |
|---|
asset_id | path | yes | string | -- |
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/assets/:asset_id/undo \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
POST /fixed-assets/api/assets/{asset_id}/undo-disposal
Undo Disposal
Parameters
| Name | In | Required | Type | Description |
|---|
asset_id | path | yes | string | -- |
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/assets/:asset_id/undo-disposal \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
POST /fixed-assets/api/assets/{asset_id}/undo-latest
Undo Latest
Parameters
| Name | In | Required | Type | Description |
|---|
asset_id | path | yes | string | -- |
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/assets/:asset_id/undo-latest \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
POST /fixed-assets/api/assets/{asset_id}/undo-move
Undo Move
Parameters
| Name | In | Required | Type | Description |
|---|
asset_id | path | yes | string | -- |
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/assets/:asset_id/undo-move \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
GET /fixed-assets/api/assets/{asset_id}/upkeep
Get Upkeep
Parameters
| Name | In | Required | Type | Description |
|---|
asset_id | path | yes | string | -- |
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X GET http://localhost:8000/fixed-assets/api/assets/:asset_id/upkeep \
-H "Authorization: Bearer $TOKEN"
GET /fixed-assets/api/attention
Attention
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
Example
curl -X GET http://localhost:8000/fixed-assets/api/attention \
-H "Authorization: Bearer $TOKEN"
GET /fixed-assets/api/checks
List Checks
The standing checks, each with the asset's name as it reads now.
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
Example
curl -X GET http://localhost:8000/fixed-assets/api/checks \
-H "Authorization: Bearer $TOKEN"
POST /fixed-assets/api/checks
Create Check
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/checks \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
GET /fixed-assets/api/checks/not-seen
Report Not Seen
Parameters
| Name | In | Required | Type | Description |
|---|
since | query | yes | string | -- |
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X GET http://localhost:8000/fixed-assets/api/checks/not-seen \
-H "Authorization: Bearer $TOKEN"
DELETE /fixed-assets/api/checks/{check_id}
Remove Check
Its author removes a check recorded by mistake, on the day it was recorded.
Parameters
| Name | In | Required | Type | Description |
|---|
check_id | path | yes | string | -- |
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X DELETE http://localhost:8000/fixed-assets/api/checks/:check_id \
-H "Authorization: Bearer $TOKEN"
POST /fixed-assets/api/class-table
Apply Class Table
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/class-table \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
POST /fixed-assets/api/class-table/{op_key}/undo
Undo Class Table
Parameters
| Name | In | Required | Type | Description |
|---|
op_key | path | yes | string | -- |
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/class-table/:op_key/undo \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
GET /fixed-assets/api/classes
List Classes
Parameters
| Name | In | Required | Type | Description |
|---|
include_archived | query | -- | boolean | -- |
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X GET http://localhost:8000/fixed-assets/api/classes \
-H "Authorization: Bearer $TOKEN"
POST /fixed-assets/api/classes
Create Class
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/classes \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
PATCH /fixed-assets/api/classes/{class_id}
Update Class
Parameters
| Name | In | Required | Type | Description |
|---|
class_id | path | yes | string | -- |
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X PATCH http://localhost:8000/fixed-assets/api/classes/:class_id \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
POST /fixed-assets/api/classes/{class_id}/apply-to-assets
Apply To Assets
Parameters
| Name | In | Required | Type | Description |
|---|
class_id | path | yes | string | -- |
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/classes/:class_id/apply-to-assets \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
POST /fixed-assets/api/classes/{class_id}/fix-account
Fix Account
Parameters
| Name | In | Required | Type | Description |
|---|
class_id | path | yes | string | -- |
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/classes/:class_id/fix-account \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
POST /fixed-assets/api/classes/{class_id}/fix-account/undo
Undo Fix Account
Parameters
| Name | In | Required | Type | Description |
|---|
class_id | path | yes | string | -- |
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/classes/:class_id/fix-account/undo \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
POST /fixed-assets/api/classes/{class_id}/revalue
Revalue Class
Parameters
| Name | In | Required | Type | Description |
|---|
class_id | path | yes | string | -- |
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/classes/:class_id/revalue \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
POST /fixed-assets/api/classes/{class_id}/valuer-report
Attach Valuer Report
The valuer's report behind a class revaluation, kept on every asset in use in the class.
Parameters
| Name | In | Required | Type | Description |
|---|
class_id | path | yes | string | -- |
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/classes/:class_id/valuer-report \
-H "Authorization: Bearer $TOKEN"
POST /fixed-assets/api/classes/{class_id}/valuer-report/remove
Remove Valuer Report
Take a valuer's report attached by mistake off every asset it was kept on.
Parameters
| Name | In | Required | Type | Description |
|---|
class_id | path | yes | string | -- |
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/classes/:class_id/valuer-report/remove \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
GET /fixed-assets/api/corrections
List Corrections
Parameters
| Name | In | Required | Type | Description |
|---|
asset_id | query | -- | string, optional | -- |
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X GET http://localhost:8000/fixed-assets/api/corrections \
-H "Authorization: Bearer $TOKEN"
GET /fixed-assets/api/corrections/{correction_id}
Get Correction
Parameters
| Name | In | Required | Type | Description |
|---|
correction_id | path | yes | string | -- |
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X GET http://localhost:8000/fixed-assets/api/corrections/:correction_id \
-H "Authorization: Bearer $TOKEN"
POST /fixed-assets/api/corrections/{correction_id}/apply
Apply Correction
Parameters
| Name | In | Required | Type | Description |
|---|
correction_id | path | yes | string | -- |
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/corrections/:correction_id/apply \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
POST /fixed-assets/api/corrections/{correction_id}/undo
Undo Correction
Parameters
| Name | In | Required | Type | Description |
|---|
correction_id | path | yes | string | -- |
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/corrections/:correction_id/undo \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
POST /fixed-assets/api/corrections/{correction_id}/withdraw
Withdraw Correction
Parameters
| Name | In | Required | Type | Description |
|---|
correction_id | path | yes | string | -- |
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/corrections/:correction_id/withdraw \
-H "Authorization: Bearer $TOKEN"
POST /fixed-assets/api/dispose
Dispose Assets
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/dispose \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
GET /fixed-assets/api/imports
List Imports
Parameters
| Name | In | Required | Type | Description |
|---|
limit | query | -- | integer | -- |
offset | query | -- | integer | -- |
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X GET http://localhost:8000/fixed-assets/api/imports \
-H "Authorization: Bearer $TOKEN"
POST /fixed-assets/api/imports
Import Register
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/imports \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
GET /fixed-assets/api/imports/{batch_id}
Get Import
Parameters
| Name | In | Required | Type | Description |
|---|
batch_id | path | yes | string | -- |
status | query | -- | string, optional | -- |
limit | query | -- | integer | -- |
offset | query | -- | integer | -- |
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X GET http://localhost:8000/fixed-assets/api/imports/:batch_id \
-H "Authorization: Bearer $TOKEN"
POST /fixed-assets/api/imports/{batch_id}/rows
Import Rows
Parameters
| Name | In | Required | Type | Description |
|---|
batch_id | path | yes | string | -- |
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/imports/:batch_id/rows \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
POST /fixed-assets/api/imports/{batch_id}/undo
Undo Import
Parameters
| Name | In | Required | Type | Description |
|---|
batch_id | path | yes | string | -- |
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/imports/:batch_id/undo \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
GET /fixed-assets/api/intake
Intake
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
Example
curl -X GET http://localhost:8000/fixed-assets/api/intake \
-H "Authorization: Bearer $TOKEN"
POST /fixed-assets/api/keep-line
Keep Line
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/keep-line \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
POST /fixed-assets/api/link-depreciation
Link Depreciation
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/link-depreciation \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
GET /fixed-assets/api/maintenance/{maint_id}
Get Entry
Parameters
| Name | In | Required | Type | Description |
|---|
maint_id | path | yes | string | -- |
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X GET http://localhost:8000/fixed-assets/api/maintenance/:maint_id \
-H "Authorization: Bearer $TOKEN"
PATCH /fixed-assets/api/maintenance/{maint_id}
Entry Edit
Parameters
| Name | In | Required | Type | Description |
|---|
maint_id | path | yes | string | -- |
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X PATCH http://localhost:8000/fixed-assets/api/maintenance/:maint_id \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
POST /fixed-assets/api/maintenance/{maint_id}/files
Entry File
Parameters
| Name | In | Required | Type | Description |
|---|
maint_id | path | yes | string | -- |
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/maintenance/:maint_id/files \
-H "Authorization: Bearer $TOKEN"
POST /fixed-assets/api/maintenance/{maint_id}/remove
Entry Remove
Parameters
| Name | In | Required | Type | Description |
|---|
maint_id | path | yes | string | -- |
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/maintenance/:maint_id/remove \
-H "Authorization: Bearer $TOKEN"
POST /fixed-assets/api/maintenance/{maint_id}/restore
Entry Restore
Parameters
| Name | In | Required | Type | Description |
|---|
maint_id | path | yes | string | -- |
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/maintenance/:maint_id/restore \
-H "Authorization: Bearer $TOKEN"
GET /fixed-assets/api/mine
List Mine
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
Example
curl -X GET http://localhost:8000/fixed-assets/api/mine \
-H "Authorization: Bearer $TOKEN"
GET /fixed-assets/api/mine/{asset_id}
Get Mine
Parameters
| Name | In | Required | Type | Description |
|---|
asset_id | path | yes | string | -- |
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X GET http://localhost:8000/fixed-assets/api/mine/:asset_id \
-H "Authorization: Bearer $TOKEN"
POST /fixed-assets/api/mine/{asset_id}/confirm
Confirm
The custodian confirms they still hold the asset, today.
Parameters
| Name | In | Required | Type | Description |
|---|
asset_id | path | yes | string | -- |
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/mine/:asset_id/confirm \
-H "Authorization: Bearer $TOKEN"
GET /fixed-assets/api/mine/{asset_id}/files/{file_id}
Download Mine
Parameters
| Name | In | Required | Type | Description |
|---|
asset_id | path | yes | string | -- |
file_id | path | yes | string | -- |
Responses
| Status | Description | Body |
|---|
200 | Successful Response | -- |
422 | Validation Error | HTTPValidationError |
Example
curl -X GET http://localhost:8000/fixed-assets/api/mine/:asset_id/files/:file_id \
-H "Authorization: Bearer $TOKEN"
POST /fixed-assets/api/mine/{asset_id}/problems
Report Problem
The custodian reports a problem, with a photo if they have one; the asset's responsible
person is told, or the whole company when no one is responsible.
Parameters
| Name | In | Required | Type | Description |
|---|
asset_id | path | yes | string | -- |
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/mine/:asset_id/problems \
-H "Authorization: Bearer $TOKEN"
POST /fixed-assets/api/move
Move Assets
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/move \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
POST /fixed-assets/api/not-acquisition
Not Acquisition
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/not-acquisition \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
GET /fixed-assets/api/opening
Get Opening
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
Example
curl -X GET http://localhost:8000/fixed-assets/api/opening \
-H "Authorization: Bearer $TOKEN"
POST /fixed-assets/api/opening/finish
Finish Opening
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/opening/finish \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
GET /fixed-assets/api/reconciliation
Get Reconciliation
Parameters
| Name | In | Required | Type | Description |
|---|
at | query | -- | string, optional | -- |
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X GET http://localhost:8000/fixed-assets/api/reconciliation \
-H "Authorization: Bearer $TOKEN"
POST /fixed-assets/api/reconciliation/acknowledge
Acknowledge
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/reconciliation/acknowledge \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
POST /fixed-assets/api/register
Register
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/register \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
GET /fixed-assets/api/reminders
List Due
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
Example
curl -X GET http://localhost:8000/fixed-assets/api/reminders \
-H "Authorization: Bearer $TOKEN"
GET /fixed-assets/api/reminders/{reminder_id}
Get Reminder
Parameters
| Name | In | Required | Type | Description |
|---|
reminder_id | path | yes | string | -- |
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X GET http://localhost:8000/fixed-assets/api/reminders/:reminder_id \
-H "Authorization: Bearer $TOKEN"
PATCH /fixed-assets/api/reminders/{reminder_id}
Reminder Edit
Parameters
| Name | In | Required | Type | Description |
|---|
reminder_id | path | yes | string | -- |
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X PATCH http://localhost:8000/fixed-assets/api/reminders/:reminder_id \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
POST /fixed-assets/api/reminders/{reminder_id}/done
Reminder Done
Parameters
| Name | In | Required | Type | Description |
|---|
reminder_id | path | yes | string | -- |
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/reminders/:reminder_id/done \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
POST /fixed-assets/api/reminders/{reminder_id}/postpone
Reminder Postpone
Parameters
| Name | In | Required | Type | Description |
|---|
reminder_id | path | yes | string | -- |
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/reminders/:reminder_id/postpone \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
POST /fixed-assets/api/reminders/{reminder_id}/remove
Reminder Remove
Parameters
| Name | In | Required | Type | Description |
|---|
reminder_id | path | yes | string | -- |
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/reminders/:reminder_id/remove \
-H "Authorization: Bearer $TOKEN"
POST /fixed-assets/api/reminders/{reminder_id}/undo
Reminder Undo
Parameters
| Name | In | Required | Type | Description |
|---|
reminder_id | path | yes | string | -- |
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/reminders/:reminder_id/undo \
-H "Authorization: Bearer $TOKEN"
GET /fixed-assets/api/reports/book-tax
Book Tax Report
Parameters
| Name | In | Required | Type | Description |
|---|
regime | query | yes | string | -- |
year | query | yes | integer | -- |
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X GET http://localhost:8000/fixed-assets/api/reports/book-tax \
-H "Authorization: Bearer $TOKEN"
GET /fixed-assets/api/reports/depreciation
Depreciation Report
Parameters
| Name | In | Required | Type | Description |
|---|
date_from | query | yes | string | -- |
date_to | query | yes | string | -- |
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X GET http://localhost:8000/fixed-assets/api/reports/depreciation \
-H "Authorization: Bearer $TOKEN"
GET /fixed-assets/api/reports/disposals
Disposals Report
Parameters
| Name | In | Required | Type | Description |
|---|
date_from | query | yes | string | -- |
date_to | query | yes | string | -- |
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X GET http://localhost:8000/fixed-assets/api/reports/disposals \
-H "Authorization: Bearer $TOKEN"
GET /fixed-assets/api/reports/prior-period-adjustments
Prior Period Adjustments
Parameters
| Name | In | Required | Type | Description |
|---|
year | query | yes | integer | -- |
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X GET http://localhost:8000/fixed-assets/api/reports/prior-period-adjustments \
-H "Authorization: Bearer $TOKEN"
GET /fixed-assets/api/reports/schedule
Schedule Report
Parameters
| Name | In | Required | Type | Description |
|---|
date_from | query | yes | string | -- |
date_to | query | yes | string | -- |
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X GET http://localhost:8000/fixed-assets/api/reports/schedule \
-H "Authorization: Bearer $TOKEN"
GET /fixed-assets/api/reports/statutory/{report_key}
Statutory Report
Parameters
| Name | In | Required | Type | Description |
|---|
report_key | path | yes | string | -- |
year | query | yes | integer | -- |
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X GET http://localhost:8000/fixed-assets/api/reports/statutory/:report_key \
-H "Authorization: Bearer $TOKEN"
GET /fixed-assets/api/reviews
Due Reviews
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
Example
curl -X GET http://localhost:8000/fixed-assets/api/reviews \
-H "Authorization: Bearer $TOKEN"
GET /fixed-assets/api/runs
List Runs
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
Example
curl -X GET http://localhost:8000/fixed-assets/api/runs \
-H "Authorization: Bearer $TOKEN"
POST /fixed-assets/api/runs
Run
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/runs \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
POST /fixed-assets/api/runs/{month}/reverse
Reverse Run
Parameters
| Name | In | Required | Type | Description |
|---|
month | path | yes | string | -- |
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/runs/:month/reverse \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
PATCH /fixed-assets/api/settings
Update Settings
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X PATCH http://localhost:8000/fixed-assets/api/settings \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
GET /fixed-assets/api/setup
Get Setup
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
Example
curl -X GET http://localhost:8000/fixed-assets/api/setup \
-H "Authorization: Bearer $TOKEN"
GET /fixed-assets/api/source-line
Source Line
One source line, waiting or not, with what became of it.
Parameters
| Name | In | Required | Type | Description |
|---|
source | query | -- | string | -- |
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X GET http://localhost:8000/fixed-assets/api/source-line \
-H "Authorization: Bearer $TOKEN"
POST /fixed-assets/api/sources/undo
Undo Source
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/sources/undo \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
POST /fixed-assets/api/start
Start
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
Example
curl -X POST http://localhost:8000/fixed-assets/api/start \
-H "Authorization: Bearer $TOKEN"
GET /fixed-assets/api/tax-books
Get Tax Book
Parameters
| Name | In | Required | Type | Description |
|---|
regime | query | yes | string | -- |
year | query | yes | integer | -- |
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X GET http://localhost:8000/fixed-assets/api/tax-books \
-H "Authorization: Bearer $TOKEN"
PATCH /fixed-assets/api/tax-books/{asset_id}/{regime}
Set Tax Book
Parameters
| Name | In | Required | Type | Description |
|---|
asset_id | path | yes | string | -- |
regime | path | yes | string | -- |
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X PATCH http://localhost:8000/fixed-assets/api/tax-books/:asset_id/:regime \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
POST /fixed-assets/api/tax-years/{regime}/{year}/close
Close Tax Year
Parameters
| Name | In | Required | Type | Description |
|---|
regime | path | yes | string | -- |
year | path | yes | integer | -- |
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/tax-years/:regime/:year/close \
-H "Authorization: Bearer $TOKEN"
POST /fixed-assets/api/tax-years/{regime}/{year}/reopen
Reopen Tax Year
Parameters
| Name | In | Required | Type | Description |
|---|
regime | path | yes | string | -- |
year | path | yes | integer | -- |
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/tax-years/:regime/:year/reopen \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'
GET /fixed-assets/api/transfer-targets
Transfer Targets
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
Example
curl -X GET http://localhost:8000/fixed-assets/api/transfer-targets \
-H "Authorization: Bearer $TOKEN"
GET /fixed-assets/api/year-end
Get Year End
Parameters
| Name | In | Required | Type | Description |
|---|
year | query | yes | integer | -- |
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X GET http://localhost:8000/fixed-assets/api/year-end \
-H "Authorization: Bearer $TOKEN"
POST /fixed-assets/api/year-end/{year}/marks
Mark Year End
Parameters
| Name | In | Required | Type | Description |
|---|
year | path | yes | integer | -- |
Request body
object
Responses
| Status | Description | Body |
|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/fixed-assets/api/year-end/:year/marks \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'