create_transaction
Record a transaction (cash flow) on a company: a buy (equity purchase or fund capital call), SAFE, sell, or distribution. Amounts are positive, in the company's currency unless you pass another. Target an existing company by slug, or pass a domain to find or create the company. Recording a transaction on a pipeline pitch converts it into a portfolio position.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ISO 8601 date (YYYY-MM-DD). Defaults to today. | |
| name | No | Name for a company created from domain. Defaults to a name derived from the domain. Ignored when the domain already matches one of your companies. | |
| type | Yes | The cash-flow type. buy covers equity purchases and fund capital calls. | |
| amount | Yes | Amount actually paid, positive. Direction comes from type, not sign. | |
| domain | No | Alternative to company: the company's website domain. Matches your existing company by domain, or creates a new portfolio company from it. | |
| entity | No | Investing entity id (from list_entities). Defaults to the entity the company was first transacted under, or your default entity. | |
| shares | No | Shares bought or sold, for equity transactions. | |
| company | No | Company or pitch to record on, by slug (from list_companies / list_pitches / search_companies). | |
| currency | No | ISO 4217 code the amount, price, valuation and cap are in (EUR, GBP, CHF…), as the deal was done; don't convert. Defaults to the company's currency. On a company with no currency of its own and nothing recorded yet (no transactions, marks, metrics or round economics), this sets the company's currency; otherwise a transaction in another currency keeps its own. | |
| valuation_cap | No | Valuation cap, for SAFEs. Also records a valuation mark on the company. | |
| price_per_share | No | Price per share. Derived from amount / shares when omitted. | |
| post_money_valuation | No | The round's post-money valuation, if known. |