Finance

Codat

@ktmcp-cli/codat

Codat provides a unified API to access accounting, banking, and commerce data from over 20 platforms including Xero, QuickBooks, Sage, and more. Build powerful financial applications with normalized data.

Quick Start

Install the CLI globally using npm:

npm install -g @ktmcp-cli/codat

Features

Connect to 20+ accounting platforms
Normalized data across platforms
Real-time data synchronization
Invoice and bill management
Financial reporting
Bank account integration

Usage Examples

Authentication

# Set up API key
codat auth login --api-key YOUR_API_KEY

# Verify credentials
codat auth status

Manage companies

# List all companies
codat companies list

# Get company details
codat companies get COMPANY_ID

# Create a new company
codat companies create --name "My Company"

Access financial data

# Get company invoices
codat invoices list COMPANY_ID

# Get balance sheet
codat reports balance-sheet COMPANY_ID \
  --period-start 2026-01-01 \
  --period-end 2026-12-31

# Export to JSON
codat reports profit-loss COMPANY_ID --format json

Documentation

For complete documentation, API reference, and advanced usage examples, visit the GitHub repository. Each CLI includes comprehensive README.md, AGENT.md for AI integration, and OPENCLAW.md for tool definitions.