update_transactions
Bulk-edit GnuCash transactions by supplying per-row TSV values for description, notes, or date, with optional field clearing and error handling.
Instructions
Update MANY transactions with per-row values (bulk edit).
INPUT — updates is a TSV block: header guid plus any
of description, notes, date (at least one), then
one row per transaction::
guid<TAB>description<TAB>notes
56926ac2<TAB>PayPal Credit Payment<TAB>Resolved — card payment
7f0fc117<TAB><TAB>Netflix subscription, $22.10/moAn EMPTY cell leaves that field UNCHANGED. To blank a field,
opt in with a clear column: its cell names the fields to
clear on that row (notes or description,notes) —
explicit per row, so a sparse batch can never mass-erase by
accident. date is not clearable; a row that sets and
clears the same field rejects. Splits and memos are not
updatable here (replace_splits)::
guid<TAB>notes<TAB>clear
56926ac2<TAB>Verified subscription<TAB>
7f0fc117<TAB><TAB>notesOne book open, one save; on_error="abort" (default)
sinks the batch on any bad row, "skip" keeps good rows.
Date moves on transactions with reconciled splits are
rejected per row unless force=true (they shift the
transaction out of its reconciled statement period).
Returns a results TSV keyed by your input guids. This is
the canonical update tool for one transaction or many (the
former update_transaction tool was removed; this
replaces it — same value across many transactions = the
same cells repeated per row).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| updates | Yes | ||
| on_error | No | abort |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |