Skip to content

Period.recognized

Emitted each time a Period is recognized.

Period.recognize emits Period.recognized when it completes on a Period.

PropertyValue
Emitted byPeriod.recognize
NounPeriod
WakesNone.

Payload

Each delivery is an Event record. data holds what Period.recognize returns.

FieldTypeRequiredDescription
namestringrequiredPeriod.recognized.
atdatetimerequiredWhen it happened.
seqintegerIts position in the namespace, one more than the Event before; any seq is a cursor into the history.
datajsonrequiredThe Thing as the Action left it.
data.entrieslist of EntryrequiredThe recognition Entries it posted.
data.periodPeriodrequiredThe Period whose revenue was recognized.
data.period.monthdaterequiredThe first day of the month it covers.
data.period.statusstringrequiredOne of Open, Closed, or Locked.

Example

JSON
{
  "$id": "https://api.sb/routewise.dev/events/event_1",
  "$type": "Event",
  "name": "Period.recognized",
  "at": "2026-10-22T12:00:00Z",
  "data": {
    "entries": [
      {
        "$id": "https://api.sb/routewise.dev/entries/entry_1",
        "$type": "Entry",
        "account": "cash",
        "amount": {
          "amount": 25,
          "currency": "USD"
        },
        "direction": "debit",
        "startup": "startup_1"
      }
    ],
    "period": {
      "$id": "https://api.sb/routewise.dev/periods/period_1",
      "$type": "Period",
      "month": "2026-10-22",
      "status": "Open"
    }
  },
  "seq": 1
}