Bills due planner
Lists Xero supplier bills due in the next 14 days every Monday and leaves one Outlook draft for whoever approves payments.
Read Xero invoices, contacts, accounts, bank transactions, payments, and the two headline reports. Toolspoke gives your agents 10 of its actions, and you decide which ones each project allows.
Open the marketplace in your workspace, add Xero to the project your agents work in, and it appears on the gateway immediately.
Provide the credential Xero asks for. Where to get it, and what it has to be able to reach, is the next section.
Describe the job in one sentence and the builder proposes the instructions, the toolkits it needs, a schedule and where it should answer, or start from a catalogue agent. It can use every Xero action the project leaves on.
Ask it in a channel or a thread, and it replies in the thread it was asked in.
Email it. Each write waits for a person's go-ahead unless that action is allowed in advance.
Mention it on a pull request, and it answers there.
A routine wakes it on a schedule, or when a new item matches.
Any agent in the project can use Xero, and only the actions the project leaves on.
Sign in with Xero. You provide it once, when you install the connector. Toolspoke encrypts it at rest and decrypts it only for the length of a single call, and the gateway attaches it to the outbound request itself, so it is never part of the arguments an agent sends.
10 actions, each one declared by name in the connector. A workspace policy grants a person all of them, a hand-picked selection, everything on the read side, everything on the write side, or none.
10 read, none write, none destructive
Fetches data and changes nothing.
list_organisationsReturn the organisation this connection is pointed at: its name, legal name, country, base currency, financial year end, tax settings and edition. Xero's route is singular, /Organisation, and the payload comes back under a plural Organisations key, that is Xero's shape, not a mistake here. This is the connection test: it needs nothing, costs nothing, names no person, and it is the one call that proves the tenant id in the credential actually resolves to a set of books this sign-in can read.
list_accountsReturn the chart of accounts: every account with its code, name, type, tax type, class and status. This is the organisation's accounting structure rather than anybody's data, so it is the map to read before interpreting an invoice line or a report row. Its response is kept in the audit log for that reason, an agent that has to reason about where a figure came from needs the account list in front of it. Narrow with `where`, e.g. Type=="BANK", or Status=="ACTIVE".
list_invoicesList invoices and bills. Xero keeps both in this one resource and separates them by Type, ACCREC for what you have billed a customer and ACCPAY for what a supplier has billed you. Narrow before you fetch: `statuses` takes a comma-separated list such as AUTHORISED,PAID, `where` filters on any field, and `search_term` matches the invoice number and reference. Set summary_only for a much lighter response without line items, which is what you want when counting or listing. Xero pages this 100 at a time by default; ask for a page with `page`. Its response is kept out of the audit log because an invoice names a real customer or supplier and what they were charged.
get_invoiceFetch one invoice by its InvoiceID, with its full line items, the contact it belongs to, its payments, credit notes and prepayments, and its running amounts due and paid. Ids come from list_invoices. Its response is kept out of the audit log, it names a counterparty and the amounts between you.
list_contactsList the customers and suppliers on the organisation, with their names, contact people, email addresses, addresses, tax numbers and outstanding balances. `search_term` matches name, first name, last name, contact number and email address, which is the fastest way from a person's name to a ContactID. Set summary_only for a lighter response. Its output is kept out of the audit log and `where` and `search_term` are masked before the call is logged, because both the answer and the question name real people.
get_contactFetch one customer or supplier by ContactID, with their full record: addresses, phone numbers, email, tax number, default account codes, payment terms and outstanding balances. Ids come from list_contacts. Xero accepts no query parameters at all on this route. Its response is kept out of the audit log, it is one named person or company and their details.
list_bank_transactionsList money in and out of the organisation's bank accounts, spend and receive transactions, with the contact, the bank account, the line items and the reconciliation state. This is the cash view, as opposed to the invoice view: an invoice is what was billed, a bank transaction is what actually moved. Narrow with `where`, e.g. Status=="AUTHORISED", or by bank account. Kept out of the audit log because each row names a counterparty and an amount.
list_paymentsList payments applied against invoices and credit notes, with the invoice each one settles, the account it went through, the amount and the date. Use it to answer "has this been paid, and when" without pulling whole invoices. Narrow with `where`, e.g. Status=="AUTHORISED", or Date>=DateTime(2026,08,01). Kept out of the audit log because a payment names the counterparty it settles with.
get_profit_and_lossRun the Profit and Loss report and return it as Xero's row-and-cell report structure. Every parameter is optional: with none, Xero reports the current month. Pass from_date and to_date for an explicit range, both as YYYY-MM-DD, or use periods together with timeframe to compare several periods side by side, periods 1 to 11, timeframe MONTH, QUARTER or YEAR. The response is aggregate figures with no customer or supplier named in it, which is why, unlike the invoice and contact reads here, it is kept in the audit log: a number an agent reported should be checkable afterwards.
get_balance_sheetRun the Balance Sheet report and return it as Xero's row-and-cell report structure. Note the difference from the Profit and Loss: a balance sheet is a position at a single moment, so it takes `date` rather than a range, and Xero defaults to the end of the current month. Add periods and timeframe to show prior positions beside it. Note too that Xero's tracking parameters are named differently on this report, trackingOptionID1 and trackingOptionID2, with no category parameter, which is Xero's own asymmetry and not a typo here. Aggregate figures, no counterparties, so the response is kept in the audit log.
The gateway enforces each of these, so they can be stated flatly.
10 named actions: 10 that only read. They include list_organisations, list_accounts and list_invoices. Nothing outside that list is reachable: the connector declares each operation by name rather than proxying whatever an agent asks for.
Sign in with Xero. The connector asks for xero organisation (tenant) id. Values are encrypted at rest and attached to the outbound request by the gateway, so they are never part of the arguments an agent sends and never reach the audit log.
Install Xero in a project and every agent in that project can use the actions the project leaves on. Describe a job in one sentence and the builder proposes the instructions, the toolkits it needs, a schedule and where it should answer, or start from a catalogue agent. The agent answers when someone asks it in Slack, emails it or mentions it on a GitHub pull request, or when its routine wakes it.
The 10 actions above are the whole of it. A call to any other name is refused before it reaches Xero rather than forwarded on, and connecting your account does not add to the list: it is fixed by the connector, not discovered at run time. Every action here reads. Nothing this connector can do changes anything in Xero. Toolspoke holds no access to Xero of its own. Every call carries the credential you stored and nothing besides, so whatever that credential cannot reach, this connector cannot reach either. Nothing is pushed to it. There is no webhook, no subscription and no polling, so this connector cannot notice by itself that something changed in Xero. An agent has to ask. Toolspoke does not retry, queue or back off around Xero's own rate limits. A call that Xero refuses comes back to the agent as a failed call.
Yes, in two places. The project switches Xero's actions on and off one at a time, for everyone in the project at once, and the screen groups them by read, write and destructive so turning off everything that deletes is one click. An individual agent key can then be narrowed further, to particular toolkits in a project and to particular actions in a toolkit. Whatever it was granted, a key never reaches a project its owner cannot.
Every attempt, with the agent that made it and the person that agent belongs to, the full request payload, the response payload, the status, the duration, and what the call cost in sandbox time and model tokens. Values whose key names a secret are masked out before the record is shown to anyone. An operation the connector marks as not retained never has its response body written at all, so the gateway keeps no second copy of what was read.
Lists Xero supplier bills due in the next 14 days every Monday and leaves one Outlook draft for whoever approves payments.
Lists Xero invoices past due every Monday by age and leaves one polite Gmail reminder draft per customer for a person to send.