Production Viability Report

Ashworth Thornton AI Assistant — API Integration Feasibility Assessment

Compiled 18 March 2026 using current API documentation

← Back to demo

Executive Summary

The demo currently simulates 8 platform integrations. Of these, 5 have production-ready APIs that could replace the simulated data with real connections. Two platforms have no public API at all, and one would require a product migration. The core value proposition — AI-assisted analysis and drafting — is viable in production. The main constraint is TaxCalc, which has no API.

Platform-by-Platform Assessment

Xero Fully viable

API: Comprehensive REST API with full OAuth 2.0 authentication. Well-documented with SDKs for Node.js, Python, PHP, and others.

What we can do in production:

Limitations: Rate limits apply (60 calls/minute for most endpoints). Xero partner programme required for production apps with more than 25 connections. No direct MTD submission through Xero's API — Xero handles this internally.

Effort to integrate: Medium. OAuth 2.0 flow needs implementing, but the API is mature and well-documented. Estimated 2-3 weeks for core accounting data features.

Microsoft 365 / Outlook Fully viable

API: Microsoft Graph API. Unified REST API covering mail, calendar, contacts, Teams, OneDrive, and more. OAuth 2.0 with Azure AD.

What we can do in production:

Limitations: Requires Azure AD tenant and app registration. Delegated permissions need user consent; application permissions need admin consent. Mail.Send permission is a sensitive scope. Rate limits: 10,000 requests per 10 minutes per mailbox.

Effort to integrate: Medium. Azure AD setup and OAuth flow are the main hurdle. The Graph API itself is straightforward. Estimated 2-3 weeks including auth flow and email features.

Companies House Fully viable

API: Free public REST API provided by the UK Government. API key authentication (HTTP Basic).

What we can do in production:

What we cannot do: The public API is read-only. Filing submissions (confirmation statements, accounts) require the separate Companies House Filing API, which uses OAuth 2.0 and is available to authorised filing software providers. Ashworth Thornton would need to be registered as a filing agent or use existing software (e.g. TaxCalc) for submissions.

Effort to integrate: Low. Simple API key auth, well-structured JSON responses. The read endpoints are all we need for the monitoring/alerting features. Estimated 1 week.

HMRC Making Tax Digital Viable with caveats

API: Official HMRC REST APIs for MTD. OAuth 2.0 authentication. Sandbox and production environments.

What we can do in production:

Limitations: Becoming a recognised MTD software vendor requires HMRC approval — there is an application process and the software must meet specific requirements including fraud prevention headers. This is a significant compliance hurdle. Practically, it may be better to trigger submissions through Xero (which is already HMRC-recognised) rather than submitting directly.

Effort to integrate: High if going direct to HMRC (3-6 months including approval process). Low if triggering via Xero's built-in MTD submission.

Breathe HR Fully viable

API: REST API with API key authentication. Developer documentation at developer.breathehr.com.

What we can do in production:

Limitations: The API is read-heavy. Write operations exist for some resources (sickness records, absence cancellations) but full CRUD is not available on all entities. Rate limits apply but are not publicly documented. Requires an active Breathe HR subscription.

Effort to integrate: Low. Simple API key auth, well-structured endpoints. The cross-check feature (Breathe vs payroll) would work with real data. Estimated 1 week.

TaxCalc Not viable — no API

API: None. TaxCalc does not provide a public API, developer portal, or any documented integration endpoint for third parties.

What exists:

Workarounds:

Assessment: The TaxCalc Review tab in the demo would need to be reimagined. The AI review of tax computations could still work by pulling data from Xero and applying tax rules, but it would not have access to draft CT600 data or computation details held in TaxCalc.

Payroll Professional (IRIS) Viable with migration

API: IRIS Payroll Professional (the desktop product) has no public API. It is a legacy Windows application that supports only file-based imports/exports (CSV for pensions, journal exports).

However: IRIS is actively migrating customers to Staffology Payroll, which has a comprehensive REST API described as "API-first".

What Staffology's API can do:

Authentication: API key via HTTP Basic Auth (recommended) or OAuth.

Assessment: If Ashworth Thornton is on IRIS Payroll Professional, the payroll cross-check features would require either migrating to Staffology or working with CSV exports. If they migrate, full API integration is straightforward.

Summary Matrix

Platform Public API Auth Method Demo Feature Production Viable Effort
Xero Yes — full REST API OAuth 2.0 Trial balance analysis, miscoding detection Yes 2-3 weeks
Microsoft 365 Yes — Microsoft Graph OAuth 2.0 (Azure AD) Email inbox, draft replies, reminders Yes 2-3 weeks
Companies House Yes — free gov API API Key (Basic) Filing monitor, deadline alerts Yes 1 week
HMRC MTD Yes — official API OAuth 2.0 VAT submission tracker Yes (via Xero) 1 week*
Breathe HR Yes — REST API API Key Leave/payroll cross-check Yes 1 week
TaxCalc No N/A CT600 review, R&D claims No N/A
Payroll Professional No (legacy desktop) N/A Payroll anomaly detection With migration Depends
Claude AI (Anthropic) Yes — Messages API API Key All chat/analysis/drafting Yes (already live) Done

* Via Xero's built-in MTD. Direct HMRC integration would be 3-6 months including vendor approval.

Recommended Production Architecture

Phase 1 — Core (4-6 weeks)

Phase 2 — Email and Calendar (2-3 weeks)

Phase 3 — Extended (timeline varies)

Key Risks and Considerations

Security and Compliance

Cost Estimate

Conclusion

The demo is a credible representation of what a production system could do. Five of the seven external platform integrations can be built with existing public APIs. The two gaps (TaxCalc, legacy Payroll Professional) have workarounds.

The most impactful production features — email analysis, Companies House monitoring, Xero data review, and Breathe HR cross-checking — are all fully achievable with documented, stable APIs. The AI layer (Claude) is already operational in the demo and would carry over directly.

The recommended approach is to start with Xero + Companies House + Breathe HR (the lowest-effort, highest-impact integrations), then add Microsoft 365 email in a second phase. This gives a working production system within 6-8 weeks.