Log Transaction
log_transactionRecord income, expense, or transfer transactions with deduplication and optional tags. Use direction and type to classify payments, and mirror to calendar if needed.
Instructions
Income/expense/transfer write. direction=from + type=income for Venmo/Stripe/refunds received. Positive amount; external_id dedupes imports. Optional project/tags. Zelle always USD. Optional mirror_event creates a calendar Money · annotation (ledger is still the source of truth for /money). ($0.10; API key required)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ||
| tags | No | Optional tags. Prefer project: / ext: / rail: grammar. | |
| type | No | ||
| notes | No | ||
| amount | Yes | ||
| source | No | ||
| project | No | Venture/project label → stored as project:{slug} tag (e.g. Max Soko poker venture) | |
| currency | No | ||
| merchant | No | ||
| direction | Yes | ||
| person_id | No | ||
| account_id | No | Stable provider account identity for imported payments. | |
| message_id | No | ||
| request_id | No | Client idempotency key (retries return original result). | |
| external_id | No | ||
| mirror_event | No | Also insert optional Money · calendar event (default false) | |
| payment_method | No | ||
| idempotency_key | No | Alias for request_id. | |
| extractor_version | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | ||
| message | No | ||
| event_id | No | ||
| direction | No | ||
| duplicate | No | ||
| expense_id | No | ||
| transaction | No | Expense/income transaction row. | |
| transaction_id | No |