Xero

Xero Microservice

Checking live server health...

Enterprise-grade accounting integration platform. A robust microservice built with Laravel 12 that seamlessly connects your applications with Xero's powerful accounting API. Handle OAuth authentication, real-time sync, multi-outlet management, and intelligent export operations.

Real-time Service Indicator

Waiting for first heartbeat from the microservice...

DB Latency -- ms
Queue Load --
Sync Success/Fail (1h) -- / --

Overview

🔐

Secure Authentication

OAuth 2.0 token management with automatic refresh, secure credential storage, and full compliance with Xero's security standards.

Real-time Sync

Background job processing with queue management. Keep your accounting data synchronized across all systems effortlessly.

📊

Smart Mappings

Flexible account, tax, tracking, and payment mappings. Support for complex integration scenarios with customizable configurations.

🔄

Intelligent Retry

Automatic retry mechanism for failed operations. Comprehensive audit logs and detailed error tracking for debugging.

🏢

Multi-Outlet

Manage multiple business locations with individual configurations. Centralized orchestration and unified reporting dashboard.

📤

Smart Export

Configurable export frequency and grouping strategies. Efficient batch processing optimized for high-volume operations.

API Endpoints

Access powerful accounting integration endpoints with simple REST API calls

GET
/api/xero/status?merchant_id={merchantId}&pos_station_id={stationId}
Get Xero integration status and token validity
POST
/api/xero/sync
Trigger manual sync with Xero accounts
POST
/api/xero/reference-data/refresh
Refresh accounts, tax rates, tracking categories, and contacts
GET
/api/xero/mappings/{revenue|payments|tax|tracking|special}
Read configured mapping data by mapping type
GET
/api/xero/reference-data/{accounts|tax_rates|tracking_categories|contacts}
Fetch saved Xero reference data for UI workflows
GET
/api/xero/logs?merchant_id={merchantId}
View sync history and statuses for reconciliation

Technical Specifications

Framework
Laravel 12
Authentication
OAuth 2.0
API Protocol
REST (JSON)
Queue System
Background Jobs
Database
PostgreSQL/MySQL
Architecture
Microservice
Version
1.0.0
Uptime SLA
99.9%