Resolve register diff gap
well_resolve_register_diff_gapPost a well_run_register_diff gap (one of missing_in_register_ids' review tasks) into QuickBooks as a Purchase or Deposit.
Requires the exact ledger_account_id (a UUID, not a name) for both:
bank_ledger_account_id: the bank/cash account the money moved through (e.g. Checking).
category_ledger_account_id: the expense or income category the gap books against.
Look these up first with well_query_records({ root: "ledger_accounts", filters: [...] }) scoped to the register connector — never guess an id or match an account by substring/fuzzy name.
Fails with an error (not a silent no-op) if gap posting is disabled for this workspace, if either account doesn't belong to this gap's register connector, or if either account no longer resolves in QuickBooks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | The gap review task's task_id. | |
| workspace_id | No | Target workspace. Omit when the token authorizes one workspace. Required when it authorizes several — a write lands in exactly one workspace and this call would not say which. | |
| idempotency_key | No | Optional client-supplied key. A retried write with the same key returns the original result instead of re-applying the operation. | |
| bank_ledger_account_id | Yes | ledger_account_id of the bank/cash account. | |
| category_ledger_account_id | Yes | ledger_account_id of the category account. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| success | Yes | ||
| task_id | No | ||
| external_id | No | ||
| already_posted | No |