Connect your customers' Xero organisations so your product can read and write invoices, contacts, and ledger entries without handling OAuth tokens yourself. The customer's Xero advisor or admin consents on Xero's screen; Askel manages token refresh and the per-org Xero-Tenant-Id.
POST new sales invoices or bills to a customer's Xero organisation, or update draft invoices to approved status. Covers line items, tax types, account codes, and due dates.
Fetch the customer's contact directory, create new contacts, and update existing records. Contact data includes name, email, phone, postal address, and tax number.
Pull the account list with codes, types, and tax types so your product can present valid account codes when creating journal entries or allocating invoice lines.
Create journal lines against specific account codes for adjustments, accruals, or reconciliation entries that originate in your product and need to land in Xero's ledger.
Read bank transactions imported into Xero and their reconciliation status. Useful for cash-flow dashboards or payment-matching workflows running inside your product.
Fetch Xero's built-in financial reports as structured data. Lets your product show consolidated financials without requiring the customer to export PDFs or CSV files.
You sell a B2B subscription management platform. A new customer, Dunmore Recruitment Ltd, wants every subscription event in your product (new signup, upgrade, cancellation) to create or void a corresponding invoice in their Xero organisation. Dunmore's finance team uses Xero exclusively; they do not want to re-enter billing data by hand.
Dunmore's Xero advisor clicks Connect Xero in your product. Askel redirects to Xero's consent screen. The advisor selects Dunmore Recruitment Ltd from the organisation picker, approves the requested scopes, and Xero issues a refresh token and a Xero-Tenant-Id.
Askel reads Dunmore's chart of accounts. Your product's onboarding wizard shows the account list and Dunmore's finance manager maps subscription revenue to account 200 (Sales) and tax to their applicable rate.
Askel reads Dunmore's Xero contact list. Your product links each of Dunmore's end-customers to their matching Xero contact ID. New customers without a Xero contact are created automatically via the Contacts API.
When a new subscription is activated in your product, Askel POSTs an invoice to Dunmore's Xero org with the correct contact, line items, account code, tax type, and due date. The invoice appears in Xero as a draft, ready for Dunmore to review and approve.
When a subscription is cancelled within the billing period, your product calls Askel to void the corresponding draft invoice in Xero. No manual step is required from Dunmore's finance team.
The customer's Xero advisor or admin consents on Xero's standard OAuth screen and selects the specific organisation to connect. Xero issues a refresh token and a Xero-Tenant-Id for that organisation. Askel stores the refresh token and the tenant ID; access tokens are minted per request and expire after 30 minutes. Multiple Xero organisations can be connected separately by repeating the flow.
© 2025 Askel.ai. All rights reserved.