Skip to content
Sage Accounting logo

Connectors / Finance · HTTP Connector

Sage Accounting integration and API

Create a contact, create a sales invoice and create a purchase invoice in Sage Accounting.

What can you do with Sage Accounting on Tray.ai?

Sage Accounting is cloud bookkeeping software for small businesses in the UK, Ireland and Canada, covering invoicing, bills, bank reconciliation, payments and tax. Tray.ai connects to Sage Accounting through the HTTP Connector, so your workflows can call the Sage Accounting API alongside the rest of your stack.

  • Create a sales invoice in Sage Accounting when an order is fulfilled in your ecommerce store.
  • Create a contact in Sage Accounting when a new customer is added to your CRM.
  • Create a contact payment when a payment clears in your payments system, so the invoice shows as paid.
  • Create a purchase invoice for each supplier bill approved in your procurement tool.
Connects through
HTTP Connector
Authentication
OAuth 2.0
Base URL
https://api.accounting.sage.com/v3.1

Set it up

Connect Sage Accounting to Tray.ai

Each step uses Sage Accounting's own API details, from its documentation.

Sign in to Sage Accounting with OAuth 2.0

Set up an OAuth 2.0 authentication with the client ID and secret of an OAuth app you register with Sage Accounting. Sign in once and every step reads the token from there.

Point the HTTP Client at the API

Add an HTTP Client step and use https://api.accounting.sage.com/v3.1 as the base URL. Or paste a cURL example from Sage Accounting's API docs, and Tray.ai fills in the method, URL, and headers.

Start with “List contacts”

It's one of 28 documented actions, under Contacts. The response comes back as data the next step can map into your other apps.

Hand it to an AI agent

Wrap “Get a contact” and “Create a contact” in workflows, and Tray.ai's Agent Gateway for MCP publishes them as governed tools Claude and other AI agents can call.

Workflows to build with Sage Accounting

Connect Sage Accounting with Salesforce, Stripe, Coupa and Slack

Each one uses actions and events from Sage Accounting's own API documentation.

Create Sage Accounting sales invoices from closed deals

When

A deal closes in Salesforce

Then

  1. Create a contact if the customer is new
  2. Create a sales invoice for the deal

With Salesforce

Record Stripe payments against Sage Accounting invoices

When

A payment succeeds in Stripe

Then

  1. List sales invoices to find the matching invoice
  2. Create a contact payment for the amount

With Stripe

Add approved Coupa invoices to Sage Accounting

When

An invoice is approved in Coupa

Then

  1. Create a purchase invoice for the supplier
  2. Post a message to the finance channel in Slack

With Coupa and Slack

Apps you can build on Sage Accounting data

Internal tools your team can build with an AI assistant, each one using Sage Accounting calls from its API documentation.

Customer payment board

Lists sales invoices with payments received and lets finance record a new customer payment.

Supplier bill entry

Lists suppliers and recent purchase invoices and lets staff enter a new purchase invoice.

Customer account lookup

Looks up a contact and shows their sales invoices and payments on one screen.

Give your AI agents Sage Accounting tools

Build an MCP server on Sage Accounting in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works

  • List contacts
  • List sales invoices
  • List purchase invoices
  • List contact payments
  • List bank accounts
  • List products
  • Get a contact
  • Create a contact

What the Sage Accounting API covers

6 resources and 28 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how.

Contacts

  • List contacts
  • Get a contact
  • Create a contact
  • Update a contact
  • Delete a contact

Sales invoices

  • List sales invoices
  • Get a sales invoice
  • Create a sales invoice
  • Update a sales invoice
  • Delete a sales invoice

Purchase invoices

  • List purchase invoices
  • Get a purchase invoice
  • Create a purchase invoice
  • Update a purchase invoice
  • Delete a purchase invoice

Contact payments

  • List contact payments
  • Create a contact payment
  • Update a contact payment
  • Delete a contact payment

Bank accounts

  • List bank accounts
  • Get a bank account
  • Create a bank account
  • Update a bank account
  • Delete a bank account

Products

  • List products
  • Get a product
  • Create a product
  • Update a product

Checked against Sage Accounting's own documentation on 2026-10-22

developer.sage.com/accounting

Frequently asked questions

What can a Tray.ai workflow do in Sage Accounting?

The Sage Accounting API documents 28 actions across 6 resources (Contacts, Sales invoices, Purchase invoices, Contact payments, Bank accounts, Products). For example: List contacts; List sales invoices; List purchase invoices. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Sage Accounting?

The Sage Accounting API uses OAuth 2.0. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

See Sage Accounting working against your stack.

We'll walk through a tailored demo with your systems plugged in.

Great, a couple more details

This helps us connect you with the right person. Optional, and you can skip it.