Update a ledger transaction
update_transactionEdit an existing security-ledger transaction (trade or income) in place — e.g. add a distribution's annual tax statement components, set rent's GST treatment, set an entitlement date to accrue income to an earlier year, link a receipt to…
Instructions
Edit an existing security-ledger transaction (trade or income) in place — e.g. add a distribution's annual tax statement components, set rent's GST treatment, set an entitlement date to accrue income to an earlier year, link a receipt to the prior-year receivable it settles, or enter a sell's capital gain. A receipt linked (or re-linked) to a receivable for more than is still outstanding on it is split: the outstanding part settles it and the excess is recorded as income on a new transaction (excess_income_transaction in the result). Only the fields you pass change; this overwrites them. Find the row via search_transactions (it gives the id and holding_id). Blocked if the transaction's financial year is closed or lodged. AUD.
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": {
"fund_id": "<fund_id>",
"holding_id": "<holding_id>",
"transaction_id": "<transaction_id>"
},
"name": "update_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | ||
| fund_id | Yes | Fund ID (discover via whoami or list_funds) | |
| quantity | No | Units | |
| cost_base | No | Sell: cost base of the units sold (AUD) | |
| reasoning | No | Why you are making this change — recorded on the audit log entry for this write | |
| broker_fee | No | ||
| gst_amount | No | Exact GST included in total_amount, when known (overrides the 1/11th estimate) (AUD) | |
| holding_id | Yes | Holding the transaction belongs to | |
| tenant_name | No | Rent: tenant name | |
| external_ref | No | Your stable ID for this write (e.g. a statement line or document reference). Repeating a call with the same external_ref replays the first result instead of writing twice. | |
| payment_date | No | Payment date as an ISO date, e.g. "2026-05-30" | |
| total_amount | No | New total amount (AUD unless currency set) | |
| gst_treatment | No | GST treatment (rent especially). gst_inclusive: total_amount includes GST and is reported GST-exclusive; the others report total_amount as is. Setting any value clears gap G11 for rent | |
| price_per_unit | No | ||
| transaction_id | Yes | Transaction ID (from search_transactions) | |
| entitlement_date | No | Date the fund became entitled to the income (e.g. 30 June for a distribution declared for the year but paid in July). Decides the financial year the income is taxed in; defaults to transaction_date as an ISO date, e.g. "2026-05-30" | |
| ex_dividend_date | No | Ex-dividend date as an ISO date, e.g. "2026-05-30" | |
| foreign_tax_paid | No | Foreign income tax paid / withheld — 13 C1 offset (AUD) | |
| franking_credits | No | Franking credits attached to a dividend (AUD) | |
| rental_period_to | No | Rent: period end as an ISO date, e.g. "2026-05-30" | |
| transaction_date | No | New transaction date as an ISO date, e.g. "2026-05-30" | |
| capital_gain_loss | No | Sell: capital gain (+) or loss (−) from the tax statement — taken as given on the CGT schedule | |
| capital_gain_other | No | Trust distribution: other-method capital gains — 1 G, not discountable (AUD) | |
| rental_period_from | No | Rent: period start as an ISO date, e.g. "2026-05-30" | |
| cgt_discount_amount | No | Sell: CGT discount amount, for reference (AUD) | |
| franking_percentage | No | Percentage of a dividend that is franked (0–100) | |
| tax_deferred_amount | No | Trust distribution: tax-deferred amount / AMIT cost-base net decrease — reduces the holding's cost base (AUD) | |
| capital_gain_indexed | No | Trust distribution: indexation-method capital gains — 1 G, not discountable (AUD) | |
| cgt_concession_amount | No | Trust distribution: CGT concession amount (the trust's discount; non-assessable, recorded for reference) (AUD) | |
| cgt_discount_eligible | No | Sell: whether the gain is discountable (held 12+ months) | |
| foreign_income_amount | No | Assessable foreign income (gross, before foreign tax) — item 11 D (AUD) | |
| trust_franking_credit | No | Trust distribution: franking credits passed through — 13 E1 offset (AUD) | |
| amit_cost_base_increase | No | Trust distribution: AMIT cost-base net increase — increases the holding's cost base (AUD) | |
| franked_distribution_amount | No | Trust distribution: franked distributions (grossed up), from the annual tax statement — item 11 M (AUD) | |
| settles_fund_balance_item_id | No | Balance item ID (list_balance_items) of the PRIOR-YEAR receivable this receipt collects. The receipt is then excluded from this year's income, because it was income of the earlier year | |
| capital_gain_discounted_gross | No | Trust distribution: discount-method capital gains GROSSED UP (the discounted gain plus the CGT concession amount) — CGT schedule 1 G, discountable (AUD) | |
| non_primary_production_amount | No | Trust distribution: non-primary-production income (unfranked / interest / other Australian income) — item 11 M (AUD) |