Log Transaction
log_transactionIncome/expense/transfer. from+income = received. IOU repayment/lend need category + person_id (direction from/to). Invoice: iou_type invoice. Open-IOU income needs not_iou_repayment=true. Unknown person_id errors; changes nothing. ($0.10; API key required)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"amount": "<amount>",
"direction": "<direction>"
},
"name": "log_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | YYYY-MM-DD; default today. Prefer with time + timezone when the source has a clock time. | |
| tags | No | Optional tags. Prefer project: / ext: / rail: grammar. | |
| time | No | HH:mm or HH:mm:ss; no default. Pair with timezone or occurred_at. | |
| type | No | Transaction type. | |
| notes | No | Free text about the payment. Alias: description. | |
| amount | Yes | Positive money amount. | |
| source | No | Payment rail, e.g. venmo. | |
| project | No | Project label stored as project:{slug} tag, e.g. Max Soko poker venture. | |
| category | No | Ledger category (e.g. Salary, Gift, Food & Dining). "IOU repayment" / "IOU lend" / "Invoice payment" need person_id. | |
| currency | No | ISO 4217 code, e.g. USD. | |
| iou_type | No | loan (default) or invoice. Invoice = unpaid receivable (no Finance outflow); payment is income "Invoice payment". "I lent…" → loan. | |
| merchant | No | Merchant or payee name. | |
| timezone | No | IANA timezone or ±HH:MM; required for an exact instant with date+time. | |
| direction | Yes | from = received, to = paid. | |
| person_id | No | Owned contact id; required for IOU categories. Unknown/other-user id errors and changes nothing. | |
| account_id | No | Stable provider account identity for imported payments. | |
| cash_moved | No | With category "IOU lend": true (default) = cash changed hands as a loan (Finance); false = an owed share (IOU only). Ignored for iou_type invoice. | |
| message_id | No | Source Gmail message id. | |
| request_id | No | Client idempotency key (retries return original result). | |
| description | No | Alias for notes. | |
| external_id | No | Provider id; dedupes imports. | |
| occurred_at | No | Offset-aware ISO timestamp from the source. Never use ingestion/created_at. | |
| person_name | No | Contact by name when there is no person_id (IOU categories need one). | |
| client_label | No | Optional free-text client label for an invoice IOU. | |
| mirror_event | No | Also insert optional Money calendar event (default false) | |
| payment_method | No | Alias for source. | |
| time_certainty | No | exact, inferred, or unknown. Default exact when time/occurred_at is set. | |
| idempotency_key | No | Alias for request_id. | |
| extractor_version | No | Extractor/parser version for imports. | |
| not_iou_repayment | No | true only when income from a contact with an open IOU is unrelated to it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | ||
| account | No | The Dayze account this data belongs to. With more than one Dayze connection, name it in the answer. | |
| message | No | ||
| event_id | No | ||
| direction | No | ||
| duplicate | No | ||
| expense_id | No | ||
| provenance | No | Which connector wrote the record and which connected Dayze account received it. | |
| inspect_url | No | The Dayze page that shows the saved record. | |
| transaction | No | Expense/income transaction row. | |
| inspect_note | No | What inspect_url opens. Never quote the record id. | |
| transaction_id | No |