Bodega

Skills › Contabilidad

Xero Automation

Xero Automation: manage invoices, contacts, payments, bank transactions, and accounts in Xero for cloud-based bookkeeping

Su licencia no permite redistribuirla aquí.Ver en GitHub
Departamento
Contabilidad
Fuente
Comunidad · ComposioHQ/awesome-claude-skills
Autor
Composio
Licencia
Sin licencia declarada
Idioma
Inglés
Nivel
Intermedio. Requiere conectar Rube (Composio) y autorizar la aplicación que automatiza.

Cómo usarla

Pídale a Claude, por ejemplo:

Seguridad

Riesgo Bajo.

Cómo instalarla en Claude

  1. Descargue el .zip de la skill y no lo descomprima.
  2. En Claude: Configuración › Capacidades › active «Crear y editar archivos» (solo la primera vez).
  3. Personalizar › Skills › + › Crear skill › Subir una skill › elija el .zip.
  4. Verifique que el interruptor de la skill quede encendido y pruébela en un chat nuevo.

Instrucciones completas (SKILL.md)

Xero Automation

Automate Xero accounting operations including managing invoices, contacts, payments, bank transactions, and chart of accounts for small business bookkeeping.

Toolkit docs: [composio.dev/toolkits/xero](https://composio.dev/toolkits/xero)

---

Setup

This skill requires the Rube MCP server connected at https://rube.app/mcp.

Before executing any tools, ensure an active connection exists for the xero toolkit. If no connection is active, initiate one via RUBE_MANAGE_CONNECTIONS.

Multi-tenant: If you manage multiple Xero organizations, first call XERO_GET_CONNECTIONS to list active tenants and obtain the correct tenant_id for subsequent calls.

---

Core Workflows

1. List and Filter Invoices

Retrieve invoices with filtering by status, contact, date range, and pagination.

Tool: XERO_LIST_INVOICES

Key Parameters:

Example:

Tool: XERO_LIST_INVOICES
Arguments:
  Statuses: "AUTHORISED,PAID"
  order: "Date DESC"
  page: 1

---

2. Manage Contacts

Retrieve and search contacts for use in invoices and transactions.

Tool: XERO_GET_CONTACTS

Key Parameters:

Example:

Tool: XERO_GET_CONTACTS
Arguments:
  searchTerm: "acme"
  page: 1
  pageSize: 25

> Note: On high-volume accounts, some where filters (e.g., IsCustomer, IsSupplier) may be rejected by Xero. Fall back to searchTerm or pagination.

---

3. Create Payments

Link an invoice to a bank account by creating a payment record.

Tool: XERO_CREATE_PAYMENT

Key Parameters:

Example:

Tool: XERO_CREATE_PAYMENT
Arguments:
  InvoiceID: "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
  AccountID: "b2c3d4e5-f6a7-8901-bcde-f12345678901"
  Amount: 1500.00
  Date: "2026-02-11"
  Reference: "Payment for INV-0042"

---

4. Create Bank Transactions

Record spend (payments out) or receive (money in) bank transactions.

Tool: XERO_CREATE_BANK_TRANSACTION

Key Parameters:

Example:

Tool: XERO_CREATE_BANK_TRANSACTION
Arguments:
  Type: "SPEND"
  ContactID: "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
  BankAccountCode: "090"
  LineItems: [
    {
      "Description": "Office supplies",
      "UnitAmount": 75.00,
      "AccountCode": "429",
      "Quantity": 1,
      "TaxType": "INPUT"
    }
  ]
  Date: "2026-02-11"
  Reference: "Feb office supplies"

---

5. List Payments and Bank Transactions

Review existing payments and bank transaction history.

Tools:

Common Parameters:

---

6. View Chart of Accounts and Connections

Tools:

---

Known Pitfalls

| Pitfall | Detail | |---------|--------| | Multi-tenant routing | If tenant_id is omitted, the first connected tenant is used. Always verify the correct tenant with XERO_GET_CONNECTIONS when managing multiple organizations. | | High-volume filter rejection | On large accounts, some where filters like IsCustomer/IsSupplier may be rejected. Fall back to searchTerm with pagination. | | OData filter syntax | Use double-equals (==) in OData filters, e.g., Status==\"AUTHORISED\". Single = causes errors. | | Pagination required | Most list endpoints paginate results. Always check for additional pages and continue fetching until complete. | | Date format | All dates must be in YYYY-MM-DD format. Timestamps for If-Modified-Since must be full ISO 8601 UTC datetime. | | Bank account codes | BankAccountCode in bank transactions must match a valid code from the chart of accounts. Use XERO_LIST_ACCOUNTS to discover valid codes. |

---

Quick Reference

| Tool Slug | Description | |-----------|-------------| | XERO_LIST_INVOICES | List invoices with filtering and pagination | | XERO_GET_CONTACTS | Retrieve and search contacts | | XERO_CREATE_PAYMENT | Create a payment linking invoice to bank account | | XERO_CREATE_BANK_TRANSACTION | Record a spend or receive bank transaction | | XERO_LIST_PAYMENTS | List payment records | | XERO_LIST_BANK_TRANSACTIONS | List bank transactions | | XERO_LIST_ACCOUNTS | Retrieve chart of accounts | | XERO_GET_CONNECTIONS | List active Xero tenant connections | | XERO_LIST_ATTACHMENTS | List attachments on an entity |

---

*Powered by [Composio](https://composio.dev)*