Blocks
Xero
Manage accounting and bookkeeping with Xero
Integrate with Xero accounting software to manage invoices, bills, contacts, bank transactions, and financial reports. Perfect for small businesses and accountants using OAuth 2.0 authentication.
Block Preview
Xero
Manage accounting and bookkeeping with Xero
Usage
- Add the block to your workflow and connect it to the upstream step.
- Connect the required credentials or OAuth provider before running.
- Fill in required inputs and optional parameters for the run.
- Run a test execution, inspect outputs, and iterate before deploying.
- Deploy the xero block with monitoring enabled in production.
Inputs (UI)
Xero Account
oauth-inputPlaceholder: Select Xero account
Layout: full
Provider: xero
Operation
dropdownLayout: full
Options: Create Invoice, Get Invoice, List Invoices, Create Contact
Invoice ID
short-inputPlaceholder: Enter invoice ID (GUID)
Layout: full
Condition: operation = "get_invoice"
Contact ID
short-inputPlaceholder: Enter contact ID (GUID)
Layout: full
Condition: operation = ["get_contact","create_invoice","create_bill"]
Contact Name
short-inputPlaceholder: Company Name or Person
Layout: full
Condition: operation = "create_contact"
Placeholder: contact@example.com
Layout: half
Condition: operation = "create_contact"
Amount
short-inputPlaceholder: 100.00
Layout: half
Condition: operation = ["create_invoice","create_bill"]
Description
long-inputPlaceholder: Line item description
Layout: full
Condition: operation = ["create_invoice","create_bill"]
Due Date
short-inputPlaceholder: YYYY-MM-DD
Layout: half
Condition: operation = ["create_invoice","create_bill"]
Inputs (API)
credential
stringRequired
operation
stringRequired
invoiceId
stringOptional
contactId
stringOptional
contactName
stringOptional
Optional
amount
stringOptional
description
stringOptional
dueDate
stringOptional
Outputs
Primary response type:
{
"data": "json"
}