# Feature OP-18348 - Include labor costs in time_entry API endpoint

Project: OpenProject
Status: specified
URL: https://community.openproject.org/work_packages/OP-18348

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | Wish List |
| Sprint |  |
| Backlog bucket |  |
| Votes | 1 |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

_No work packages_

## Technical Details

| Attribute | Value |
| --- | --- |
| Module | API, Modules and project features / Time tracking, Modules and project features / Costs and budgets |
| Feature Flag |  |
| Requires doc change | No |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | OP Dev Sirius Team |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

**As** a advanced user/power user  
**I want to** build custom format time & cost exports including the actual cost of labor

Right now, the hourly rates cannot be accessed through the API and therefore cannot be used in process automation/low-code tools to build custom reports.

Alternative solution: Use the XLS export and reformat that - but that isn't fully automated.

**Acceptance criteria**

  - Every time\_entry has a \_link to the hourly rate

  - the linked hourly rate is the currently active one

**Technical notes**

  - 
    <br>

**Permissions and visibility considerations**

  - Needs to respect the permissions behind the API-Key

  - Maybe needs to respect the project's settings (Time & Costs can be disabled as a module - I don't know if that has any effect regarding the API outputs)

**Translation considerations**

none

**Out of scope**

  - creation of hourly rates

  - view all (historic and future) hourly rates

*Set the* **To be informed/consulted teams** *field to include all teams necessary to be informed of the changes.*
