Actions
| Name | Description |
|---|---|
xero_create_contactCreate Xero Contact | Create Xero Contact |
xero_create_invoiceCreate Xero Invoice | Create Xero Invoice |
xero_allocate_credit_note_to_invoiceAllocates a credit note to a specific invoice. | Allocates a credit note to a specific invoice. |
xero_create_bank_transferTransfers money between two bank accounts in Xero. | Transfers money between two bank accounts in Xero. |
xero_create_quote_draftCreates a new draft quote. | Creates a new draft quote. |
xero_send_invoice_emailSends a sales invoice via email to a contact. | Sends a sales invoice via email to a contact. |
xero_create_billCreates a new bill (Accounts Payable). | Creates a new bill (Accounts Payable). |
xero_create_paymentApplies a payment to an invoice. | Applies a payment to an invoice. |
xero_create_purchase_orderCreates a new purchase order for a contact. | Creates a new purchase order for a contact. |
xero_update_purchase_orderUpdates details of an existing purchase order. | Updates details of an existing purchase order. |
xero_upload_attachmentUploads an attachment to a specific Xero resource. | Uploads an attachment to a specific Xero resource. |
xero_add_items_to_sales_invoiceAdds line items to an existing sales invoice (ACCREC). | Adds line items to an existing sales invoice (ACCREC). |
xero_create_credit_noteCreates a new credit note for a contact. | Creates a new credit note for a contact. |
xero_create_inventory_itemCreates a new inventory item in Xero. | Creates a new inventory item in Xero. |
xero_create_projectCreates a new project for a contact. | Creates a new project for a contact. |
xero_update_sales_invoiceUpdates details of an existing sales invoice (ACCREC). | Updates details of an existing sales invoice (ACCREC). |
xero_create_repeating_sales_invoiceCreates a repeating sales invoice (Accounts Receivable). | Creates a repeating sales invoice (Accounts Receivable). |
xero_find_contactFinds a contact by name or account number (or SearchTerm). | Finds a contact by name or account number (or SearchTerm). |
xero_find_invoiceFinds an invoice by number or reference. | Finds an invoice by number or reference. |
xero_find_itemFinds an item by name or code. | Finds an item by name or code. |
xero_find_purchase_orderFinds a purchase order by given parameters. | Finds a purchase order by given parameters. |
custom_api_callMake a custom API call to a specific endpoint | Make a custom API call to a specific endpoint |
Triggers
| Name | Description |
|---|---|
xero_new_contactFires when a new contact is added to Xero (via Xero webhooks). Configure the webhook in Xero Developer portal to point to this URL. | 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_contactFires when a contact is created or updated (via Xero webhooks). | Fires when a contact is created or updated (via Xero webhooks). |
xero_new_sales_invoiceFires when a new sales invoice (Accounts Receivable) is created. | Fires when a new sales invoice (Accounts Receivable) is created. |
xero_updated_sales_invoiceFires when an existing sales invoice (Accounts Receivable) is updated. | Fires when an existing sales invoice (Accounts Receivable) is updated. |
xero_new_bank_transactionFires when a new bank transaction is created. | Fires when a new bank transaction is created. |
xero_new_paymentFires when a payment is received. | Fires when a payment is received. |
xero_new_purchase_orderFires when a new purchase order is created or enters a specific status for the first time. | Fires when a new purchase order is created or enters a specific status for the first time. |
xero_new_reconciled_paymentFires when a payment is reconciled for the first time. | Fires when a payment is reconciled for the first time. |
xero_updated_quoteFires when a quote is created or updated. | Fires when a quote is created or updated. |
xero_new_billFires when a new bill (Accounts Payable) is added. | Fires when a new bill (Accounts Payable) is added. |
xero_new_credit_noteFires when a new credit note is created. | Fires when a new credit note is created. |
xero_new_projectFires when a new project is created. | Fires when a new project is created. |
xero_new_quoteFires when a new quote is created. | Fires when a new quote is created. |
Quick Start
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.