Edit an existing transaction by creating a corrected version. This endpoint uses a void-and-replace strategy:
- Voids the original POSTED transaction (status → REVERSED)
- Creates a PENDING transaction with the original data
- Creates a new POSTED transaction with the updated data
Key Features:
- Maintains full audit trail with transaction history
- Preserves vendor and bank account relationships
- Updates vector embeddings for AI search
- Works seamlessly with QBO-synced transactions (synced via /v1/qbo/transactions)
- Supports both camelCase and snake_case field names for backward compatibility
QBO Integration Compatibility:
This endpoint can be used to edit transactions that were:
- Manually created via POST /v1/transactions
- Synced from QuickBooks Online via GET /v1/qbo/transactions
- Imported via CSV bulk import
The void-and-replace method ensures QuickBooks compatibility and maintains proper
accounting standards for transaction corrections.
Use Cases:
- Fix incorrect categorization (wrong debit/credit accounts)
- Update transaction descriptions
- Correct accounting errors while preserving history
- Recategorize imported QBO transactions