xero_command_line

Interact with the Xero accounting API to manage financial records and generate reports.

30|12|Updated Mar 23, 2026
One-click install
npx skills add https://github.com/XeroAPI/xero-command-line --skill xero-command-line
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xero_command_line
Source: https://github.com/XeroAPI/xero-command-line/tree/main
Command: npx skills add https://github.com/XeroAPI/xero-command-line --skill xero-command-line

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @inquirer/prompts, @napi-rs/keyring, @oclif/core, @oclif/plugin-help, @toon-format/toon, chalk, cli-table3, open, xero-node, zod, and includes scripts (resource) components.

What problem does it solve?

This Skill provides a secure, efficient way to interact with Xero accounting data directly from your terminal, eliminating the need for manual web portal navigation for routine tasks.

Core Features & Use Cases

  • Resource Management: Create, update, and list contacts, invoices, quotes, and bank transactions.
  • Financial Reporting: Generate trial balances, profit and loss statements, and balance sheets.
  • Multi-Org Support: Seamlessly switch between different Xero organisations using named profiles.
  • Use Case: Quickly list all unpaid invoices for a specific contact or generate a profit and loss report for the current quarter without leaving your development environment.

Quick Start

Use the xero command line tool to list all contacts matching the name Acme and display the output in a compact format.

Frequently Asked Questions about xero_command_line

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage Xero invoices and contacts from the command line?

You can manage Xero invoices and contacts from the command line by using a CLI tool that interacts directly with the Xero accounting API to perform CRUD operations on financial records and generate reports without web portal navigation.

Can I generate Xero financial reports like profit and loss without leaving my terminal?

Yes, you can generate Xero financial reports such as trial balances, profit and loss statements, and balance sheets directly in your terminal using structured command line API interactions.

Does this Xero CLI tool support secure OAuth authentication and token encryption?

Yes, the Xero CLI tool supports secure PKCE OAuth authentication and token encryption to safely interact with your accounting data and protect your API credentials.

What is the best way to switch between multiple Xero organisations for bookkeeping?

The best way to switch between multiple Xero organisations for bookkeeping is using named profiles, which allow you to seamlessly manage data synchronization across different Xero accounts.

Can I output Xero accounting data in JSON or TOON formats for automation?

Yes, you can output Xero accounting data in JSON or TOON formats to facilitate automated bookkeeping workflows and structured data synchronization across your development environment.