Alegra CLI¶
A fast, scriptable command-line interface for the Alegra accounting API.
Manage contacts, invoices, items, payments, taxes, and the full Alegra resource
surface from your terminal — with table/json/yaml/csv output, named
profiles, a dry-run mode, and a built-in MCP server.
Unofficial
This is a community tool, not affiliated with Alegra. It uses the public API
at https://api.alegra.com/api/v1.
Quick links¶
- Installation · Authentication · Quickstart
- Cookbook — copy-paste recipes for everyday tasks
- Guides: Invoice → Cash · Expenses & Purchases · Electronic Invoicing · Reporting & Month-End · Automation
- Reference: Commands · Errors & Rate Limits · FAQ
At a glance¶
alegra auth login
alegra contacts list --type client --all
alegra invoices get 12 -o json
alegra invoices create -f new-invoice.json
alegra invoices void 12