Send invoice details from Xero to Teams

Accounting

What it does

When someone runs the show_xero_invoice_details command in Teams, this automation retrieves the invoice from Xero and posts the details back to the channel. The invoice information appears instantly so the team has what they need without leaving Teams.

Who it's for

Accounting teams who need to look up invoice details in Xero from Teams without switching apps.

How teams use this

Look up an invoice without leaving Teams

Run the command with an invoice number and get the details posted to the channel instantly. The team stays in the conversation and no one has to open Xero.

Let finance verify invoice status

Invite the bot to a finance channel so team members can check whether an invoice is paid or pending from the same place they discuss payments. The flow stays the same.

Include customer name in the reply

Add a step to fetch the customer record from Xero so the posted message shows the customer name along with the invoice details. That enriches the information the team sees.

How it works

  1. Run the invoice lookup command. Type the show_xero_invoice_details command in Teams with the invoice number. Teams captures that number and passes it to this automation.
  2. Fetch the invoice from Xero. Search Xero for the invoice using the number provided so the correct record is retrieved.
  3. Post invoice details to Teams. Reply in the same Teams conversation with the invoice details so the channel sees the amount, date, status, and other key information.