# HourEmployeeExpensesById: Simplicate Hours Employee Costs by ID
Fetches a single expense for an employee
This is a read-only table function. The Simplicate API may not support modifying the data, or the Invantive UniversalSQL driver for Simplicate does not support it. In the latter case, use the table NativePlatformScalarRequests to upload data to the Simplicate API.
- Catalog: `Simplicate`
- Schema: `Hours`
- Label: Hours Employee Costs by ID
## Parameters of Table Function
| Name | Data Type | Required | Default Value | Documentation |
|---|:---:|:---:|:---:|---|
| `id` | `string` | ☑ | | The id of the template |
## Columns
The columns of the table `HourEmployeeExpensesById` are shown below. Each column has an SQL data type.
| Name | Data Type | Label | Required | Documentation |
|---|:---:|---|:---:|---|
| `amount` | `float` | Amount | ☐ | |
| `approval_status_description` | `string` | Approval Status Description | ☐ | |
| `approval_status_label` | `string` | Approval Status Label | ☐ | |
| `costtype_budgeted_amount` | `float` | Cost Type Budgeted Amount | ☐ | |
| `costtype_costtype_blocked` | `boolean` | Blocked Cost Type | ☐ | |
| `costtype_costtype_id` | `string` | Cost Type ID | ☐ | |
| `costtype_costtype_is_attachment_allowed` | `boolean` | | ☐ | |
| `costtype_costtype_is_unit_tariff` | `boolean` | | ☐ | |
| `costtype_costtype_label` | `string` | | ☐ | |
| `costtype_costtype_tariff` | `float` | | ☐ | |
| `costtype_costtype_unit_name` | `string` | | ☐ | |
| `costtype_id` | `string` | Cost Type ID | ☐ | |
| `costtype_label` | `string` | Cost Type Label | ☐ | |
| `costtype_purchase_margin` | `float` | Cost Type Purchase Margin | ☐ | |
| `costtype_purchase_tariff` | `float` | Cost Type Purchase Rate | ☐ | |
| `costtype_tariff` | `float` | Cost Type Rate | ☐ | |
| `date` | `string` | Date | ☐ | |
| `default_costtype_blocked` | `boolean` | | ☐ | |
| `default_costtype_id` | `string` | | ☐ | |
| `default_costtype_is_attachment_allowed` | `boolean` | | ☐ | |
| `default_costtype_is_unit_tariff` | `boolean` | | ☐ | |
| `default_costtype_label` | `string` | | ☐ | |
| `default_costtype_tariff` | `float` | | ☐ | |
| `default_costtype_unit_name` | `string` | | ☐ | |
| `employee_amount` | `float` | Employee Amount | ☐ | |
| `employee_declarable` | `string` | Billable Employee | ☐ | |
| `employee_employee_id` | `string` | Employee ID | ☐ | |
| `employee_id` | `string` | Employee ID | ☐ | |
| `employee_name` | `string` | Employee Name | ☐ | |
| `employee_person_id` | `string` | Employee Person ID | ☐ | Added in order to comply with the original sales/sales responsible_employee response |
| `employee_tariff` | `float` | Employee Rate | ☐ | |
| `id` | `string` | ID | ☐ | |
| `invoice_comments` | `string` | Invoice Remarks | ☐ | |
| `invoice_composition_type` | `string` | Invoice Composition Type | ☐ | |
| `invoice_contact_id` | `string` | Invoice Contact Person ID | ☐ | |
| `invoice_created_at` | `string` | Invoice Created On | ☐ | |
| `invoice_created` | `string` | Invoice Created | ☐ | |
| `invoice_date` | `string` | Invoice Date | ☐ | |
| `invoice_id` | `string` | Invoice ID | ☐ | |
| `invoice_invoice_number` | `string` | Invoice Number | ☐ | |
| `invoice_my_organization_profile_id_2` | `string` | | ☐ | |
| `invoice_my_organization_profile_id` | `string` | | ☐ | |
| `invoice_my_organization_profile_organization_id` | `string` | | ☐ | |
| `invoice_my_organization_profile_organization_name` | `string` | | ☐ | |
| `invoice_my_organization_profile_organization_relation_number` | `string` | | ☐ | |
| `invoice_organization_id_2` | `string` | | ☐ | |
| `invoice_organization_id` | `string` | | ☐ | |
| `invoice_organization_name` | `string` | | ☐ | |
| `invoice_organization_relation_number` | `string` | | ☐ | |
| `invoice_payment_term_days` | `int64` | | ☐ | |
| `invoice_payment_term_id` | `string` | | ☐ | |
| `invoice_payment_term_method` | `string` | | ☐ | |
| `invoice_payment_term_name` | `string` | | ☐ | |
| `invoice_person_full_name` | `string` | | ☐ | |
| `invoice_person_id_2` | `string` | | ☐ | |
| `invoice_person_id` | `string` | | ☐ | |
| `invoice_person_relation_number` | `string` | | ☐ | |
| `invoice_project_has_register_mileage_enabled` | `boolean` | | ☐ | |
| `invoice_project_id_2` | `string` | | ☐ | |
| `invoice_project_id` | `string` | | ☐ | |
| `invoice_project_name` | `string` | | ☐ | |
| `invoice_project_organization_id` | `string` | | ☐ | |
| `invoice_project_organization_name` | `string` | | ☐ | |
| `invoice_project_organization_relation_number` | `string` | | ☐ | |
| `invoice_project_person_full_name` | `string` | | ☐ | |
| `invoice_project_person_id` | `string` | | ☐ | |
| `invoice_project_person_relation_number` | `string` | | ☐ | |
| `invoice_project_project_manager_amount` | `float` | | ☐ | |
| `invoice_project_project_manager_declarable` | `string` | | ☐ | |
| `invoice_project_project_manager_employee_id` | `string` | | ☐ | |
| `invoice_project_project_manager_id` | `string` | | ☐ | |
| `invoice_project_project_manager_name` | `string` | | ☐ | |
| `invoice_project_project_manager_person_id` | `string` | | ☐ | Added in order to comply with the original sales/sales responsible_employee response |
| `invoice_project_project_manager_tariff` | `float` | | ☐ | |
| `invoice_project_project_number` | `string` | | ☐ | |
| `invoice_reference` | `string` | Invoice Reference | ☐ | |
| `invoice_reminder_next_action` | `string` | | ☐ | |
| `invoice_reminder_paused` | `boolean` | | ☐ | |
| `invoice_reminder_set_disabled` | `boolean` | | ☐ | |
| `invoice_reminder_set_label` | `string` | | ☐ | |
| `invoice_reminder_status` | `string` | | ☐ | |
| `invoice_sending_method` | `string` | | ☐ | |
| `invoice_simplicate_url` | `string` | | ☐ | |
| `invoice_status_2` | `string` | | ☐ | |
| `invoice_status` | `string` | Invoice Status | ☐ | |
| `invoice_subject` | `string` | Invoice Subject | ☐ | |
| `invoice_subscription_cycle_end_date` | `string` | | ☐ | |
| `invoice_subscription_cycle_is_invoiced` | `boolean` | | ☐ | |
| `invoice_subscription_cycle_start_date` | `string` | | ☐ | |
| `invoice_timeline_email_address` | `string` | | ☐ | |
| `invoice_total_excluding_vat` | `float` | | ☐ | |
| `invoice_total_including_vat` | `float` | | ☐ | |
| `invoice_total_outstanding` | `float` | | ☐ | |
| `invoice_total_vat` | `float` | | ☐ | |
| `invoice_updated_at` | `string` | | ☐ | |
| `is_billable` | `boolean` | Is Invoiceable | ☐ | |
| `note` | `string` | Note | ☐ | |
| `project_has_register_mileage_enabled` | `boolean` | | ☐ | |
| `project_id` | `string` | Project ID | ☐ | |
| `project_name` | `string` | Project Name | ☐ | |
| `project_organization_id` | `string` | Project Organisation ID | ☐ | |
| `project_organization_name` | `string` | Project Organisation Name | ☐ | |
| `project_organization_relation_number` | `string` | | ☐ | |
| `project_person_full_name` | `string` | Project Person Full Name | ☐ | |
| `project_person_id` | `string` | Project Person ID | ☐ | |
| `project_person_relation_number` | `string` | | ☐ | |
| `project_project_manager_amount` | `float` | Project Manager Amount | ☐ | |
| `project_project_manager_declarable` | `string` | Project Manager Billable | ☐ | |
| `project_project_manager_employee_id` | `string` | Project Manager Employee ID | ☐ | |
| `project_project_manager_id` | `string` | Project Manager ID | ☐ | |
| `project_project_manager_name` | `string` | Project Manager Name | ☐ | |
| `project_project_manager_person_id` | `string` | Project Manager Person ID | ☐ | Added in order to comply with the original sales/sales responsible_employee response |
| `project_project_manager_tariff` | `float` | Project Manager Rate | ☐ | |
| `project_project_number` | `string` | Project Number | ☐ | |
| `purchase_margin` | `float` | Purchase Margin | ☐ | |
| `purchase_price_total` | `float` | Purchase Price Total | ☐ | |
| `purchase_price_unit` | `float` | Purchase Unit Price | ☐ | |
| `service_id` | `string` | Service ID | ☐ | |
| `service_purchase_end_date` | `string` | | ☐ | |
| `service_purchase_start_date` | `string` | | ☐ | |
| `tariff` | `float` | Rate | ☐ | |
| `total_price` | `float` | Total Price | ☐ | |