Xero: API Design & Integration Surface
Docs-backedREST API at api.xero.com with JSON (default). Resources follow consistent URL patterns: /api.xro/2.0/{Resource}. Read supports filtering via where clause (Xero-specific query syntax), orderBy, and pagination via offset. Batch creates/updates via array POST bodies. CDC (change data capture) API for incremental sync — valuable for keeping agent state current. Webhook support for invoice and bank transaction events.