send_report_to_accounting
Review and then post an ExpenseBot report to the owner's accounting destination. STEP 1: call with provider, reportId, and optional mode/mappings, without confirm. The server reads the live report and destination, applies Omit/Personal/split/date/currency rules, checks Zoho bank-feed matches, and returns the complete proposal plus proposalId. NOTHING is posted in step 1. Show the complete proposal and ask for approval. STEP 2: call with only provider, proposalId, and confirm:true. The server posts only the frozen, account-bound proposal, revalidates live state, and rejects changed reports or mappings. Never add mapping fields to the confirmation call. Owner accounts only; acting for a client is not supported. Agent-driven posting is currently available only for Zoho Books (zoho_books); QuickBooks Online, Xero, Wave, and FreeAgent are intentionally not accepted by this tool yet because their previews cannot freeze/revalidate the canonical provider plan that shareReport executes. Use those providers' web flows until they satisfy the full push contract.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Step 1 only (Zoho Books): automatic document treatment, paid expenses, or bills. | |
| confirm | No | Step 2 only: true posts the exact staged proposal. No other options may change. | |
| provider | Yes | Accounting destination provider. Agent-driven posting is currently available only for Zoho Books. | |
| reportId | No | Step 1 only: ExpenseBot report ID owned by the signed-in account. | |
| proposalId | No | Step 2 only: proposalId returned by the read-only preview. | |
| forceRepush | No | Step 1 only: explicitly include disclosed uncertain prior outcomes in the frozen proposal. | |
| taxMappings | No | Step 1 only: observed tax-rate string to live destination tax ID overrides. | |
| accountMappings | No | Step 1 only: ExpenseBot category to live destination account ID overrides. | |
| reportingTagMappings | No | Step 1 only: ExpenseBot tag to live destination reporting-tag option. |