API reference

Stock-based compensation runs

Each month's stock-based compensation as its close posted it, split by department, with the entry behind it.

Guides: Record equity awards and expense them

List stock-based compensation by month

GET/v1/sbc_expense_runs

client.sbcExpenseRuns.list()

Each month's stock-based compensation as its close posted it, the newest first, split by department.

Parameters

NameTypeDescription
limitQueryinteger

Page size, 1–200.

Default 50
cursorQuerystring or null

The next_cursor of the previous page.

Response

200SbcExpenseRunPage

Errors

400
The request was malformed or a parameter is invalid.
401
No valid credential was sent.
403
The credential or the member's role does not allow this.
404
No such resource in this ledger.
409
A conflicting request, e.g. one with the same Idempotency-Key still running.
422
A well-formed request a business rule refused.
429
Too many requests; retry after the Retry-After header.
500
Something failed on our side; the request_id identifies it.

Example

curl
curl "https://api.ledgerit.ai/v1/sbc_expense_runs" \
  -H "Authorization: Bearer $LEDGERIT_TOKEN"

Objects

The objects these operations take and return.

SbcExpenseRunPage

NameTypeDescription
dataRequiredarray of SbcExpenseRunOut
has_moreRequiredboolean
next_cursorRequiredstring or null

SbcExpenseRunOut

NameTypeDescription
amountRequiredstring

The month's stock-based compensation, net.

by_departmentRequiredarray of DepartmentAmountOut

The amount split by department.

currencyRequiredstring
entry_idRequiredstring

The entry that posted it.

idRequiredstring

An id that starts with sbc_run_.

period_ends_onRequiredstring (date)

The month it expensed, by its last day.

recorded_atRequiredstring (date-time)
reversedRequiredboolean

Whether that entry was reversed; the next close expenses it again.

versionRequiredinteger

1, or more when the month was closed again and something had changed.

DepartmentAmountOut

NameTypeDescription
amountRequiredstring

The department's share of the run; below zero when expense was taken back.

departmentRequiredDepartmentRef

DepartmentRef

NameTypeDescription
idRequiredstring

An id that starts with dimv_.

nameRequiredstring