transfer_portfolio_to_account
Withdraw cash from an investment portfolio into a regular account. Creates an income transaction on the account and decreases the portfolio cash balance. Use link_transaction_to_portfolio instead when the bank transaction already exists.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Transfer date in YYYY-MM-DD format | |
| amount | Yes | Amount as a positive decimal string (e.g. "500.00") | |
| accountId | Yes | Destination account ID (from get_accounts) | |
| description | No | Optional note for the transfer | |
| portfolioId | Yes | Source portfolio ID (from get_portfolios) | |
| currencyCode | Yes | Currency of the cash withdrawn from the portfolio (ISO 4217, e.g. "USD") |