Run a statement action
One action on a statement. ADD_ADJUSTMENT and REMOVE_ADJUSTMENT (a credit or debit, unit amount times quantity, with a description) and RECOMPUTE (picks again the earnings its period covers) while it is OPEN or PENDING_APPROVAL; CLOSE moves an OPEN statement to approval; REOPEN takes it back; APPROVE releases its earnings and makes it payable — a negative total, or one under the payee's minimum payout, is carried to the next statement; VOID cancels an unapproved statement and frees its earnings. MARK_PAID records that an approved statement was paid outside Nicer (a check, a wire, another system) in one step: the day, optionally how and a reference; it becomes PAID with its payout and journal (409 COMMISSION_STATEMENT_ALREADY_PAID once a payout run holds it). ADD_ATTACHMENT (any status but VOID) answers a presigned upload for a document such as the payment's receipt. ADD_NOTE (Markdown, as on an item) at any time. An approved statement accepts no other change (409 COMMISSION_STATEMENT_FINAL). The payee may add notes; agency admins and finance staff run the rest. Returns the statement and, for ADD_ATTACHMENT, its upload link.
Authorization
Path parameters
Header parameters
Request body JSON required
One of the following:
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object