import_revert
Delete all records created by an import job—invoices, lines, receipts, clients, payments—and mark it reverted to undo wrong column mappings or grouping.
Instructions
Revert a completed or cancelled import job: deletes every record it created (invoices and their lines, receipts, clients, payments) and marks the job as reverted. Use it to undo an import that mapped the wrong columns or grouped the statement the wrong way.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Import job ID | |
| companyId | No | Company UUID override (uses active company if not set) |