---
title: "Mark expense as billable"
method: POST
path: "/v1/expenses/{expenseId}/billable"
tags: ["Expenses"]
---

# Mark expense as billable

`POST /v1/expenses/{expenseId}/billable`

## Request

- Base URL: `https://api.frihet.io`
- URL: `https://api.frihet.io/v1/expenses/{expenseId}/billable`
- Auth: API key in header `X-API-Key`

Mark an expense as billable to a specific client, optionally with a markup
percentage. The expense must not already be invoiced. Once billable, the
expense can be included in a client invoice.

## Path parameters

- `expenseId` string, required

## Request body

- object
  - `clientId` string, required: ID of the client to bill this expense to
  - `markup` number: Markup percentage to apply when invoicing (e.g. 20 = 20% markup)

## Response `200`

Expense marked as billable

- object
  - `success` boolean
  - `expenseId` string

## Other responses

- `400`: Bad request - invalid parameters or request body
- `401`: Authentication required or invalid API key
- `404`: Resource not found
- `429`: Rate limit exceeded (100 requests per minute)
- `500`: Internal server error

---

[API](https://skmtc.dev/frihet/apis/frihet-api.md) · [All operations](https://skmtc.dev/frihet/apis/frihet-api/llms.txt) · [OpenAPI document](https://skmtc.dev/frihet/apis/frihet-api/revisions/3dd37f6a72d1?raw)
