# Feature OP-20453 - Support budgets in hours in addition to currency-based budgets

Project: OpenProject
Status: new
URL: https://community.openproject.org/work_packages/OP-20453

## 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 |  |
| Feature Flag |  |
| Requires doc change | No |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

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

## Description

**As** a project manager  
**I want to** create and manage budgets in hours in addition to currency-based budgets  
**so that** I can track contractual hour contingents and compare planned hours with actually booked time.

In many of our projects, budgets are not defined primarily as a monetary amount but as an agreed number of hours. Examples include monthly service contingents, development hour budgets, consulting contingents, or fixed hour packages.

Currently, OpenProject budgets are primarily cost-based. While planned labor costs can be calculated from hours and hourly rates, this does not represent a true hour-based budget. For our use case, we need to define a budget directly in hours and track the consumption based on time entries.

**Acceptance criteria**

*   When creating a budget, users can choose whether the budget is:
    
    *   currency-based, or
        
    *   hour-based.
        
*   For an hour-based budget, a total number of available hours can be entered.
    
*   Time entries booked to work packages assigned to that budget are automatically deducted from the available hour budget.
    
*   The budget shows:
    
    *   total planned hours,
        
    *   booked hours,
        
    *   remaining hours,
        
    *   percentage consumed.
        
*   Multiple budgets within the same project can use different budget types.
    
*   Hour-based budgets work with the existing assignment of work packages to budgets.
    
*   Budget progress and reporting can distinguish clearly between currency-based and hour-based budgets.
    

**Current behavior**

Currently, budgets are represented in monetary values. Planned labor hours are converted into costs using an hourly rate. This means that hour-based contractual budgets cannot be represented directly without introducing an artificial monetary value.

**Technical notes**

*   Ideally, the existing budget structure and work package-to-budget assignment can be reused.
    
*   Hour-based budgets should use existing time entries as the source for actual consumption.
    
*   No hourly rate should be required for calculating the consumption of an hour-based budget.
    

**Permissions and visibility considerations**

*   The feature should follow the existing permissions for viewing and managing budgets.
    
*   Users who can currently create, edit, or view budgets should have the same permissions for hour-based budgets.
    
*   Hour-based budget values should not be visible to users who do not have permission to view the respective budget.
    

**Translation considerations**

Relevant terms may include:

*   Hour-based budget
    
*   Planned hours
    
*   Booked hours
    
*   Remaining hours
    
*   Budget consumption
    

**Out of scope**

*   Automatic invoicing based on consumed hours
    
*   Billing or invoice generation
    
*   Changes to time tracking itself
    
*   Automatic conversion between hour-based and currency-based budgets
