Create asset categories
POST
/api/v2/fixed_asset_categories
Use this method to create a fixed asset categories. See our HTTP POST documentation for complete queries method.
The following are elements for create a fixed asset categories :
Body Request
Element | Description |
---|---|
id | Fixed asset categories id. String. |
name | fixed asset categories name String maximum 255 characters . |
is_active | Boolean true if active, false if not active. |
depreciation | Element for depreciation. |
depreciation.method | Depreciation method String maximum 255 characters . |
depreciation.useful_life_in_year | Number of years depreciation Number. |
depreciation.useful_life_in_period | Number of months depreciation Number. |
depreciation.is_after_15_start_next_month | Boolean if true depreciation will be charged the following month, if false depreciation will be charged to the active period. |
default_account | Element for default account. |
default_account.asset | Element for default account asset. |
default_account.asset.id | Account asset id String. |
default_account.asset.code | Account asset code String maximum 36 characters . |
default_account.asset.name | Account asset name String maximum 255 characters . |
default_account.accumulated_depreciation | Element for default account accumulated_depreciation. |
default_account.accumulated_depreciation.id | Account accumulated_depreciation id String. |
default_account.accumulated_depreciation.code | Account accumulated_depreciation code String maximum 36 characters . |
default_account.accumulated_depreciation.name | Account accumulated_depreciation name String maximum 255 characters . |
default_account.depreciation | Element for default account depreciation. |
default_account.depreciation.id | Account depreciation id String. |
default_account.depreciation.code | Account depreciation code String maximum 36 characters . |
default_account.depreciation.name | Account depreciation name String maximum 255 characters . |
other_fields* | Element of other fields. |
other_fields.id | other_fields id String. |
other_fields.key | other_fields key String. |
other_fields.type | other_fields data type Ex: string or integer or number |
other_fields.value | value of other_fields String. |
Body Response
Element | Description |
---|---|
id | unit id. String. |
name | Unit name String maximum 255 characters . |
depreciation | Element for depreciation. |
depreciation.method | Depreciation method String maximum 255 characters . |
depreciation.useful_life_in_year | Number of years depreciation Number. |
depreciation.useful_life_in_period | Number of months depreciation Number. |
depreciation.is_after_15_start_next_month | Boolean if true depreciation will be charged the following month, if false depreciation will be charged to the active period. |
default_account | Element for default account. |
default_account.asset | Element for default account asset. |
default_account.asset.id | Account asset id String. |
default_account.asset.code | Account asset code String maximum 36 characters . |
default_account.asset.name | Account asset name String maximum 255 characters . |
default_account.accumulated_depreciation | Element for default account accumulated_depreciation. |
default_account.accumulated_depreciation.id | Account accumulated_depreciation id String. |
default_account.accumulated_depreciation.code | Account accumulated_depreciation code String maximum 36 characters . |
default_account.accumulated_depreciation.name | Account accumulated_depreciation name String maximum 255 characters . |
default_account.depreciation | Element for default account depreciation. |
default_account.depreciation.id | Account depreciation id String. |
default_account.depreciation.code | Account depreciation code String maximum 36 characters . |
default_account.depreciation.name | Account depreciation name String maximum 255 characters . |
other_fields* | Element of other fields. |
other_fields.id | other_fields id String. |
other_fields.key | other_fields key String. |
other_fields.type | other_fields data type Ex: string or integer or number |
other_fields.value | value of other_fields String. |
created* | Created. |
created.user* | Created User. |
created.user.id | User id String Automaticaly. |
created.user.name | User name String. |
created.user.email | User email String. |
created.time | Date Time format YYYY-MM-DDThh:mm:ss.fffZ (RFC 3339, ISO 8601 date format) . Automaticaly. |
update* | Update. |
update.user* | Update user. |
update.user.id | User id String Automaticaly. |
update.user.name | User name String. |
update.user.email | User email String. |
update.time | Date Time format YYYY-MM-DDThh:mm:ss.fffZ (RFC 3339, ISO 8601 date format) . Automaticaly. |