xero
Installation
SKILL.md
Xero
Query invoices, contacts, accounts, and bank transactions.
Environment Variables
XERO_ACCESS_TOKEN- OAuth 2.0 access tokenXERO_TENANT_ID- Xero tenant ID
List invoices
curl -s -H "Authorization: Bearer $XERO_ACCESS_TOKEN" \
-H "Xero-Tenant-Id: $XERO_TENANT_ID" \
"https://api.xero.com/api.xro/2.0/Invoices?page=1" | jq '.Invoices[:10] | .[] | {InvoiceID, InvoiceNumber, Contact: .Contact.Name, Total, Status}'