SOLO.ro cli
by @rursache
Monitor and interact with SOLO.ro accounting platform via CLI or TUI (summary, revenues, expenses, queue, e-factura, company). Use when a user asks to check their accounting data, view invoices, expenses, or e-factura documents, or translate a task into safe solo-cli commands.
clawhub install solo-cliπ About This Skill
name: solo-cli description: Monitor and interact with SOLO.ro accounting platform via CLI or TUI (summary, revenues, expenses, queue, e-factura, company). Use when a user asks to check their accounting data, view invoices, expenses, or e-factura documents, or translate a task into safe solo-cli commands.
SOLO CLI
Overview
Use solo-cli to access SOLO.ro accounting platform data via command-line interface or interactive TUI.Installation
If thesolo-cli command is not available, install via Homebrew:
brew install rursache/tap/solo-cli
Defaults and safety
~/.config/solo-cli/config.json (created on first run)--config or -c to specify a custom config path~/.config/solo-cli/cookies.json for faster subsequent loginsQuick start
~/.config/solo-cli/config.json with username/passwordsolo-cli summarysolo-cli summary 2025solo-cli revenuessolo-cli expensessolo-cli queuesolo-cli efacturasolo-cli companysolo-cli upload file.pdfsolo-cli queue delete solo-cli (no command)solo-cli demoConfiguration
Config file structure:{
"username": "your_email@solo.ro",
"password": "your_password",
"company_id": "12345",
"page_size": 100,
"user_agent": "Mozilla/5.0 ..."
}
| Field | Required | Description | |-------|----------|-------------| | username | Yes | SOLO.ro login email | | password | Yes | SOLO.ro password | | company_id | No | Company ID for profile display (find in Network tab on /settings#!/company) | | page_size | No | Number of items to fetch (default: 100) | | user_agent | No | Custom HTTP user agent string |
Commands
summary [year]
Show account summary for a year.solo-cli summary # Current year
solo-cli summary 2025 # Specific year
Output: Year, Revenues, Expenses, Taxesrevenues
List revenue invoices.solo-cli revenues
solo-cli rev # Alias
Output: Invoice code, amount, currency, paid status, client nameexpenses
List expenses.solo-cli expenses
solo-cli exp # Alias
Output: Amount, currency, category, supplier namequeue
List pending documents in expense queue or delete them.solo-cli queue # List queue
solo-cli q # Alias
solo-cli queue delete 123 # Delete item by ID
solo-cli q del 123 # Alias
Output: Document name, days pending, overdue status (ID included)efactura
List e-Factura documents.solo-cli efactura
solo-cli ei # Alias
Output: Serial code, amount, currency, date, party namecompany
Show company profile.solo-cli company
Output: Company name, CUI, registration number, addressupload
Upload an expense document (PDF or image).
solo-cli upload invoice.pdf
solo-cli up invoice.pdf # Alias
Output: Upload status and confirmation.demo
Start TUI with mock data for screenshots or testing (no API calls).solo-cli demo
tui
Start interactive TUI mode (default when no command given).solo-cli tui
solo-cli # Same as above
Global options
| Option | Short | Description | |--------|-------|-------------| | --config | -c | Path to custom config file | | --help | -h | Show help message | | --version | -v | Show version |
Examples
# Basic usage
solo-cli summary
solo-cli revenuesCustom config
solo-cli -c ~/work-config.json summaryPipe to grep
solo-cli expenses | grep -i "food"View specific year
solo-cli summary 2024Upload a document
solo-cli upload invoice.pdfDelete a queued item
solo-cli queue delete 123456
Authentication flow
1. On startup, loads cookies from~/.config/solo-cli/cookies.json
2. Validates cookies with a test API call
3. If valid, uses cached session
4. If invalid/missing, logs in with credentials from config
5. Saves new cookies for next sessionTroubleshooting
π‘ Examples
# Basic usage
solo-cli summary
solo-cli revenuesCustom config
solo-cli -c ~/work-config.json summaryPipe to grep
solo-cli expenses | grep -i "food"View specific year
solo-cli summary 2024Upload a document
solo-cli upload invoice.pdfDelete a queued item
solo-cli queue delete 123456
βοΈ Configuration
Config file structure:
{
"username": "your_email@solo.ro",
"password": "your_password",
"company_id": "12345",
"page_size": 100,
"user_agent": "Mozilla/5.0 ..."
}
| Field | Required | Description | |-------|----------|-------------| | username | Yes | SOLO.ro login email | | password | Yes | SOLO.ro password | | company_id | No | Company ID for profile display (find in Network tab on /settings#!/company) | | page_size | No | Number of items to fetch (default: 100) | | user_agent | No | Custom HTTP user agent string |