Oko/Docs

Command reference

oko obligations done

Closes an obligation as done with the evidence that it is — a filing acknowledgement, a payment confirmation, a receipt — and opens the next instance of a recurring one.

Invocation#

Command
oko obligations done <id> --evidence TEXT --by WHO [--json|--plain]

Inputs and options#

  • The id, the evidence and who records it.

Output and state effect#

  • Marks it done with the evidence, who and when, and prints `{closed, next}`; next is the new instance, its due date moved by --every-months and its reminders fresh, or null. Oko Desktop → Obligations → Mark done runs the same operation as the operator.

Refusals and safe exits#

  • `oko obligations done requires --evidence <text>` and `--by` (exit 2); `a recorded obligation needs the evidence that it is done`; `obligation <id> is already done` or `withdrawn`; `<due> plus <N> months is no date; the next instance was not opened`.

CLI reference#