eavz
Xero

Xero

Beautiful accounting software

OAuth2Finance
22 actions
13 triggers

Actions

Name
xero_create_contact

Create Xero Contact

xero_create_invoice

Create Xero Invoice

xero_allocate_credit_note_to_invoice

Allocates a credit note to a specific invoice.

xero_create_bank_transfer

Transfers money between two bank accounts in Xero.

xero_create_quote_draft

Creates a new draft quote.

xero_send_invoice_email

Sends a sales invoice via email to a contact.

xero_create_bill

Creates a new bill (Accounts Payable).

xero_create_payment

Applies a payment to an invoice.

xero_create_purchase_order

Creates a new purchase order for a contact.

xero_update_purchase_order

Updates details of an existing purchase order.

xero_upload_attachment

Uploads an attachment to a specific Xero resource.

xero_add_items_to_sales_invoice

Adds line items to an existing sales invoice (ACCREC).

xero_create_credit_note

Creates a new credit note for a contact.

xero_create_inventory_item

Creates a new inventory item in Xero.

xero_create_project

Creates a new project for a contact.

xero_update_sales_invoice

Updates details of an existing sales invoice (ACCREC).

xero_create_repeating_sales_invoice

Creates a repeating sales invoice (Accounts Receivable).

xero_find_contact

Finds a contact by name or account number (or SearchTerm).

xero_find_invoice

Finds an invoice by number or reference.

xero_find_item

Finds an item by name or code.

xero_find_purchase_order

Finds a purchase order by given parameters.

custom_api_call

Make a custom API call to a specific endpoint

Triggers

Name
xero_new_contact

Fires when a new contact is added to Xero (via Xero webhooks). Configure the webhook in Xero Developer portal to point to this URL.

xero_new_or_updated_contact

Fires when a contact is created or updated (via Xero webhooks).

xero_new_sales_invoice

Fires when a new sales invoice (Accounts Receivable) is created.

xero_updated_sales_invoice

Fires when an existing sales invoice (Accounts Receivable) is updated.

xero_new_bank_transaction

Fires when a new bank transaction is created.

xero_new_payment

Fires when a payment is received.

xero_new_purchase_order

Fires when a new purchase order is created or enters a specific status for the first time.

xero_new_reconciled_payment

Fires when a payment is reconciled for the first time.

xero_updated_quote

Fires when a quote is created or updated.

xero_new_bill

Fires when a new bill (Accounts Payable) is added.

xero_new_credit_note

Fires when a new credit note is created.

xero_new_project

Fires when a new project is created.

xero_new_quote

Fires when a new quote is created.

Quick Start

TypeScript
import { WeavzClient } from '@weavz/sdk'

const weavz = new WeavzClient({ apiKey: 'wvz_...' })

const result = await weavz.actions.execute({
  integrationName: 'xero',
  actionName: 'xero_create_contact',
  input: { /* ... */ },
  connectionId: 'conn_id',
  workspaceId: 'ws_id',
})

Related Integrations

Works well with

Frequently Asked Questions

How do I connect Xero to my app?

Use Weavz Hosted Connect for OAuth2 authentication. Install the SDK, create a connection through the connect portal or API, then execute actions programmatically.

What actions does Xero support?

Xero supports 22 actions including Create or Update Contact, Create or Update Invoice, Allocate Credit Note to Invoice, Create Bank Transfer, Create New Quote Draft, and more.

Can I use Xero with AI agents?

Yes. Add Xero to an MCP server in TOOLS mode or CODE mode. CODE mode provides 80-98% context reduction with 3 meta-tools for efficient agent access.

What authentication does Xero use?

Xero uses OAuth2. Weavz handles token management, refresh, and secure credential storage automatically.

How much does the Xero integration cost?

The Xero integration is included on all Weavz plans including the free tier with 1,000 actions per month. No credit card required.

What triggers does Xero support?

Xero supports 13 triggers including New Contact, New or Updated Contact, New Sales Invoice, Updated Sales Invoice, New Bank Transaction, and more.

Connect Xero in 2 minutes

Get 1,000 free actions every month. No credit card required.