hot.dev/xero — Xero Accounting API bindings for Hot, built for agentic finance ops: OAuth 2.0 with rotating refresh tokens (authorize, exchange, refresh, revoke, PKCE, Custom Connections, tenant connections, a per-run token cache and an opt-in store-backed token keeper), the granular 2026 scopes, contacts, invoices (PDF and email), credit notes, payments, bank transactions and transfers, accounts, items, manual journals, purchase orders, quotes, tax rates, tracking categories and the organisation, attachments, where/order/paging with collect-all, If-Modified-Since and Idempotency-Key, reports (profit and loss, balance sheet, trial balance, aged receivables and payables, bank summary) with a row flattener, rate-limit headers and readable validation errors, and webhook verification with the intent-to-receive handshake.
"hot.dev/xero": "0.1.0"
Add this to your deps in hot.hot
Namespaces
| Namespace | Functions | Types | Description |
::xero | 0 | — | Xero Accounting API bindings, built for agentic finance ops: |
| Namespace | Functions | Types | Description |
::accounting | 33 | 1 | Xero Accounting API records: list (one page or all), get, create, |
::api | 31 | 1 | The authenticated request helpers for the Xero Accounting API, plus |
::auth | 22 | — | Credential resolution, the per-run access-token cache, and the opt-in |
::oauth | 25 | 2 | Xero OAuth 2.0, built on `hot.dev/oauth2`. |
::reports | 14 | — | Xero reports, plus `flatten-report`, which turns a report's sections |
::webhooks | 6 | — | Xero webhooks: signature verification, the intent-to-receive |
::where | 12 | — | Build Xero `where` filters safely. |