# Finance API Accounting Activities endpoints decommissioned

- **Provider:** Xero
- **Endpoint:** `GET /finance.xro/1.0/AccountingActivities/**`
- **Effective:** 2026-05-04
- **Severity:** critical
- **Change:** version-sunset
- **Status:** verified

## What changed

On 2026-05-04 Xero decommissioned the Finance API's Accounting Activities API: Account Usage, Lock History, Report History and User Activities. All of these endpoints now return errors. Xero suggests the Bank Statements API for cash flow and financial analysis.

## What to do

Remove calls to /finance.xro/1.0/AccountingActivities/AccountUsage, LockHistory, ReportHistory and UserActivities, along with the features built on them. For cash-flow or transaction analysis, move to the Finance API Bank Statements endpoint (/finance.xro/1.0/BankStatementsPlus/statements). Lock history and user activity data have no direct replacement.

## Sources

- Provider notice (2026-05-04): https://developer.xero.com/changelog
- https://raw.githubusercontent.com/XeroAPI/Xero-OpenAPI/2.29.1/xero-finance.yaml
- https://raw.githubusercontent.com/XeroAPI/Xero-OpenAPI/master/xero-finance.yaml

## Machine-readable

- Advisory: https://github.com/SriVarshini09/shapi-advisories/blob/main/advisories/xero-finance-accounting-activities-decommissioned.json
- OSV: https://shapi.dev/osv/xero-finance-accounting-activities-decommissioned.json
