Reconcile 1099Da
reconcile_1099daDiff the broker's 1099-DA lines against the computed disposals. PREMIUM (license).
Typical input {"disposals": , "form_rows": [{"asset": "BTC", "date_sold": "2026-03-04", "qty": "0.5", "proceeds": "31000", "basis": "", "account": "coinbase"}]} returns {"matched": [...], "broker_missing_basis": [...], "basis_mismatch": [...], "proceeds_mismatch": [...], "unmatched_form_rows": [...], "unmatched_disposals": [...]}. A line matches a disposal on the same account (when given), asset and sale date with quantity and proceeds inside the tolerances; several lots sold in one order are summed first. Use when the form arrives and the basis column is blank for coins that came from your own wallet. Not a substitute for the broker's statement. Errors: on invalid, missing, or malformed input this tool never raises a protocol error — it returns {"error": ""} (for example {"error": "disposals must be a non-empty list from build_lots"}). Every call is read-only and idempotent, so after correcting the input it is always safe to retry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| disposals | Yes | rows from build_lots. | |
| form_rows | Yes | 1099-DA lines: asset, date_sold, qty, proceeds, basis (may be blank), account (optional), id (optional). | |
| money_tolerance | No | allowed proceeds/basis difference in fiat units (default 1.00). | |
| qty_tolerance_pct | No | allowed quantity difference in percent (default 0.5). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||