---
title: "CostTypeById (Simplicate)"
description: "Cost Type by ID"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/simplicate/Simplicate.Costs.CostTypeById
original: https://documentation.invantive.eu/en/datamodels/simplicate/Simplicate.Costs.CostTypeById
updated: 2024-10-18T06:48:11Z
license: https://documentation.invantive.eu/en/
---

# CostTypeById: Simplicate Cost Type by ID

`read only` `REST`

- Catalog: `Simplicate`
- Schema: `Costs`
- Label: Cost Type by ID

Fetches a single cost type by cost type id

Can only retrieve data.

## API Source

- Endpoint: `/costs/coststype/{id}`
- Operation: `get /costs/coststype/{id}`

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `id` | `` | [x] |  | The template's id |

## Table Columns

The columns of the table `CostTypeById` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `blocked` | `char` | Blocked | [ ] |  |  |
| `color` | `varchar2` | Colour | [ ] |  |  |
| `id` | `varchar2` | ID | [ ] |  |  |
| `label` | `varchar2` | Label | [ ] |  |  |
| `tariff` | `varchar2` | Tariff | [ ] |  |  |
| `type` | `varchar2` | Type | [ ] |  |  |
| `vatclass_code` | `varchar2` | VAT Class Code | [ ] |  |  |
| `vatclass_id` | `varchar2` | VAT Class ID | [ ] |  |  |
| `vatclass_label` | `varchar2` | VAT Class Label | [ ] |  |  |
| `vatclass_name` | `varchar2` | VAT Class Name | [ ] |  |  |
| `vatclass_percentage` | `double` | VAT Class Percentage | [ ] |  |  |



## Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver:

- [Simplicate](/en/release-notes/drivers?driver=simplicate)

