Entry.settled
Emitted each time an Entry is settled.
Entry.settle emits Entry.settled when it completes on an Entry.
| Property | Value |
|---|---|
| Emitted by | Entry.settle |
| Noun | Entry |
| Wakes | None. |
Payload
Each delivery is an Event record. data holds what Entry.settle returns.
| Field | Type | Required | Description |
|---|---|---|---|
name | string | required | Entry.settled. |
at | datetime | required | When it happened. |
seq | integer | Its position in the namespace, one more than the Event before; any seq is a cursor into the history. | |
data | json | required | The Thing as the Action left it. |
data.transaction | Transaction | required | The one transfer that settles every pair. |
data.entry | Entry | required | The intercompany Entry, now settled. |
data.entry.account | string | required | The code of the account in the chart of accounts, such as revenue or cash. |
data.entry.amount | money | required | The amount and currency. |
data.entry.direction | string | required | One of debit or credit. |
data.entry.startup | Startup | required | The Startup whose books the Entry belongs to. |
data.entry.counterparty | Startup | The sibling Startup on the other side of an intercompany Entry; empty for outside parties. |
Example
{
"$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
}