Exclude a bank feed transaction
accounting:writeFlips an unreconciled bank feed line to excluded (QuickBooks
“Excluded tab” semantics). Excluded lines are invisible to reconciliation
math, counts, and every matcher; frozen against Plaid re-sync updates;
never deleted by the Plaid removed[] sweep; and restorable one click
via the restore endpoint.
Status flips allowed: unreconciled -> excluded ONLY. A matched
or reconciled line returns 409 (bank_transaction_not_excludable) —
unmatch it first.
Idempotency: excluding an already-excluded line is a 200 no-op
(already_excluded: true, no duplicate audit row).
No GL postings occur.
Authorizations
API key issued per entity via Settings > Developers > API Keys.
Each key carries scopes (e.g. orders:read, products:write).
Bearer token format: Authorization: Bearer ark_live_ent_Test keys use ark_test_ent_. Both are issued per entity
via Settings > Developers > API Keys.
Path Parameters
UUID of the unreconciled bank transaction to exclude
Body
Why the line is excluded. Canonical vocabulary: duplicate_of_migrated | pre_baseline | noise | manual (free text tolerated, capped at 200 chars; defaults to 'manual' when omitted).
Response
Excluded (or idempotent no-op when already excluded)

