Skip to main content
POST
Create fixed asset (alias)

Authorizations

X-API-Key
string
header
default:your_tyms_sk_or_partner_key
required

Business secret tyms_sk_... for business-scoped routes. Partner secret for register-business and referred-business distributor routes.

Body

application/json
name
string
required

Asset name. Alias: title.

date
string<date>

Acquisition date.

amount
number

Asset cost / purchase price.

amount_paid
number

Cash paid on acquisition.

payment_category
string

Cash or bank name used to pay for the asset.

description
string

Asset description.

status
string

Default active.

branch_uuid
string

Branch id. If you also send branch_name and this is empty, the name is used.

branch_name
string

Branch name, ignoring capital letters. Used only when branch_uuid is empty. If no branch has that name, the asset uses the default branch. A branch is not created. On an update, send the id; this name is ignored.

department_uuid
string

Department id. Used ahead of department_name. An unknown id is kept and does not create a department.

department_name
string

Department name, ignoring capital letters. Used only when department_uuid is empty. If no department has that name, the asset is left without a department. On an update, send the id; this name is ignored.

project_uuid
string

Project id. Used ahead of project_name. An unknown id is kept and does not create a project.

project_name
string

Project name, ignoring capital letters. Used only when project_uuid is empty. If no project has that name, the asset is left without a project. On an update, send the id; this name is ignored.

employee_uuid
string

Team member id. Used ahead of employee_name. An unknown id is kept.

employee_name
string

Full name, ignoring capital letters. Used only when employee_uuid is empty. If nobody matches, the asset is left without a team member. On an update, send the id; this name is ignored.

Response

Asset created

status
string
required
Example:

"success"

message
string
required
data
any

Single resource, array of resources, statement sections, or async job metadata — see each operation's example.

meta
object

Pagination (page, limit, total) and/or report range (from, to). Cash flow may include previous_period_end.