qb_delete_transaction
Delete a transaction from QuickBooks Desktop by providing its full current snapshot, enabling undo capability.
Instructions
Deletes a transaction. You must pass before_snapshot -- the full transaction as it exists right now (query it first: account, payee, refnum, txn_date, header_memo, lines) -- so the undo log can recreate it if this needs to be reverted. Deleting without an accurate snapshot means it cannot be undone.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| txn_id | Yes | ||
| txn_type | Yes | ||
| before_snapshot | Yes | ||
| expected_company_file | No |