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": {}
}
'Create a manual leave balance adjustment.
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": {}
}
'posted. The transaction status field is managed by the
leave engine and is not writable.Was this page helpful?