Expenses

Mark expense as billable

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.

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

Path parameters

expenseIdstring required

Expense unique identifier

Request body

clientIdstring required

ID of the client to bill this expense to

markupnumber

Markup percentage to apply when invoicing (e.g. 20 = 20% markup)

Example request

{
  "clientId": "client_abc123",
  "markup": 20
}

Response

Expense marked as billable

successboolean
expenseIdstring

Example response

{
  "success": true,
  "expenseId": "exp_abc123"
}

Changes

No recorded changes to this operation across all 1 revision of this API.