Skip to content

Entry.settled

Emitted each time an Entry is settled.

Entry.settle emits Entry.settled when it completes on an Entry.

PropertyValue
Emitted byEntry.settle
NounEntry
WakesNone.

Payload

Each delivery is an Event record. data holds what Entry.settle returns.

FieldTypeRequiredDescription
namestringrequiredEntry.settled.
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.transactionTransactionrequiredThe one transfer that settles every pair.
data.entryEntryrequiredThe intercompany Entry, now settled.
data.entry.accountstringrequiredThe code of the account in the chart of accounts, such as revenue or cash.
data.entry.amountmoneyrequiredThe amount and currency.
data.entry.directionstringrequiredOne of debit or credit.
data.entry.startupStartuprequiredThe Startup whose books the Entry belongs to.
data.entry.counterpartyStartupThe sibling Startup on the other side of an intercompany Entry; empty for outside parties.

Example

JSON
{
  "$id": "https://api.sb/tutorloop.com/events/event_1",
  "$type": "Event",
  "name": "Entry.settled",
  "at": "2026-10-22T12:00:00Z",
  "data": {
    "transaction": {
      "$id": "https://api.sb/tutorloop.com/transactions/transaction_1",
      "$type": "Transaction",
      "kind": "charge",
      "amount": {
        "amount": 60,
        "currency": "USD"
      }
    },
    "entry": {
      "$id": "https://api.sb/tutorloop.com/entries/entry_1",
      "$type": "Entry",
      "account": "cash",
      "amount": {
        "amount": 60,
        "currency": "USD"
      },
      "direction": "debit",
      "startup": "startup_1",
      "counterparty": "startup_1"
    }
  },
  "seq": 1
}