{"agent":"claude","input":"Duplicate bill check before Thursday's payment run. Today is 2026-11-25. Use QuickBooks. Query Bills with TxnDate >= '2026-09-26' using the query endpoint, paging with STARTPOSITION and MAXRESULTS until none are left. Keep Id, VendorRef, DocNumber, TxnDate, DueDate, TotalAmt, Balance, DepartmentRef, PrivateNote and line descriptions. Open means Balance > 0. Per vendor, find pairs where at least one bill is open and: (a) same DocNumber; (b) same TotalAmt, TxnDate within 10 days, DocNumber different or empty; (c) same TotalAmt and TxnDate, different DepartmentRef. Return Markdown: one row per pair, strongest match first: vendor, rule (a/b/c), bill A (Id, DocNumber, date, location, amount, balance), bill B (same), which to keep and why, and the open balance at risk. End with the total open balance at risk. Read only: never create, update, delete or void a Bill or BillPayment.","connections":["quickbooks"]}