Skip to main content
POST
/
v1
/
leave-balances
/
{leave_balance_id}
/
transactions
Create a leave transaction
curl --request POST \
  --url https://api.plane.com/v1/leave-balances/{leave_balance_id}/transactions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "amount": 123,
  "date": "<string>",
  "description": {}
}
'

Parameters

leave_balance_id
string
required
The leave balance that should receive the manual adjustment.
amount
number
required
Signed adjustment amount. Positive values add balance and negative values subtract balance.
date
string
Effective date for the adjustment. Defaults to today.
description
string | null
Optional freeform note for the manual adjustment.

Returns

Returns the created Leave Transaction object. Manual adjustments are created as posted. The transaction status field is managed by the leave engine and is not writable.