Skip to content

Solutions / Use case

Accounts payable automation, from supplier invoice to paid.

Invoices arrive by email, in portals and as PDFs, approvals sit in inboxes and a resent invoice can get paid twice. Tray carries each invoice from the inbox to payment, so AP works only the exceptions.

Great, a couple more details

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

Jump to the stages
One supplier invoice moving through accounts payable: read from Gmail, the supplier's bank details checked against the record in NetSuite, the invoice matched to its purchase order, approved in Slack, posted to the ledger and scheduled for payment on the supplier's terms.

The short answer

What is accounts payable automation?

Accounts payable (AP) automation gets a supplier invoice from the inbox to a payment and a ledger entry without anyone retyping it: reading the invoice, assigning it to the right accounts, matching it to the order and the delivery, getting it approved, paying on the supplier's terms and checking the payment against the bank. Invoice automation is the first half, up to an approved invoice. It spans email, the ERP, purchasing, chat and the payment tool, and most delays and double payments happen where one step passes to the next. It starts when the supplier's invoice arrives. Procure-to-pay starts earlier, at the purchase request.

  1. 01 Capture invoices
  2. 02 Code and approve
  3. 03 Match
  4. 04 Exceptions
  5. 05 Pay
  6. 06 Reconcile and close

Tray by the numbers

monthly invoices automated at Avid Property Group
3,000+
apps, databases, APIs, and services
12,000+
Type 2 audited every year, SOC 1 for your financial auditors
SOC 1 & 2

The accounts payable process, stage by stage

Six stages from invoice received to payment reconciled, each with what breaks and, where the site has one, a guide for building it.

  1. 01

    Invoice capture

    Invoices are taken from the inbox, the supplier portal or a shared folder, read, checked by a person where the reading is unsure, and checked for duplicates before anything is posted.

    Where it breaks: A chased invoice arrives again with a new reference, and both copies get paid.

  2. 02

    Coding and approval

    Each line gets a ledger account, department and tax code, the supplier's bank details are checked against the record, and the invoice goes to the budget owner in chat with the order beside it.

    Where it breaks: The approval sits in an inbox until the early-payment discount has expired.

  3. 03

    Match to order and receipt

    What was ordered, what arrived and what was invoiced are compared line by line, inside the tolerances finance sets.

    Where it breaks: The invoice matches the order, so it gets paid, and nobody notices the goods never arrived.

  4. 04

    Exceptions and supplier questions

    A mismatch goes to the person who owns it with the reason in one line, and the supplier gets a status answer without a call to AP.

    Where it breaks: A short-shipped invoice bounces between AP and the buyer for three weeks.

  5. 05

    Payment run

    Approved invoices are scheduled on the supplier's terms, grouped into a payment run and sent to the bank or the payment tool, and the status goes back on the bill.

    Where it breaks: Two runs pick up the same invoice because the first one hadn't marked it paid.

  6. 06

    Reconciliation and close

    Payments are matched to the bank statement, approved invoices not yet paid are accrued, and the payables balance ties to the ledger at period end.

    Where it breaks: The payables balance is off by a few invoices and finance finds them on the last day of close.

Three ways to connect the systems

  • The AP tool’s own connector. Quick for the one ERP link it was built for, and it never sees the invoice in the inbox, the approval in Slack or the card feed.
  • Custom code. Full control, and your team owns the fixes, changes and monitoring for as long as it runs.
  • An integration platform. Every handoff in one place, with the same error handling, logging and access control, and a record of every approval an auditor can sample. This is Tray: finance maintains the rules, IT governs them.

Before the invoice, the purchase request, supplier setup and purchase order are covered in procure-to-pay automation.

If your invoices arrive as PDFs or scans, add document processing at the front of the workflow. It reads each invoice, pulls out the supplier, amounts, lines and PO number, and asks a person to confirm any low-confidence field before the match and approval steps run.

The metrics accounts payable moves

What finance and AP teams measure.

Invoice processing time
Days from an invoice arriving to being approved and ready to pay.
Touchless invoice rate
Share of invoices that are captured, matched and approved with nobody touching them.
Duplicate payments
Invoices paid more than once, in number and in value.
Early payment discounts captured
Share of the discounts suppliers offer for paying early that are actually taken.
Days payable outstanding (DPO)
Average number of days between receiving an invoice and paying it.
Invoices past due
Approved invoices still unpaid after their due date.

Teams running accounts payable on Tray

Tray.ai has had a substantial impact on our efficiency, allowing us to enjoy significant time and cost savings.
Carmen Glenister
Enterprise Architect, Avid Property Group

Build the app on top

Tray Helix takes the apps your teams build with an AI assistant to production and runs them there. Each guide below has the prompts to build one.

Frequently asked questions

What is invoice processing automation, and how is it different from accounts payable automation?

Invoice processing automation, also called invoice automation, is the first half of accounts payable automation. It captures and reads each invoice, codes it, checks it for duplicates and routes it for approval. Accounts payable automation continues from the approved invoice through the payment run to reconciliation and close. This page covers both.

How is accounts payable different from procure-to-pay?

Accounts payable starts when the supplier's invoice arrives and ends when the payment is reconciled. Procure-to-pay starts earlier, at the purchase request, and also covers supplier review and setup, the purchase order and budget, and cards and expenses. The two meet at invoice capture and the match, so the invoice guides are listed on this page and the purchase guides on the procure-to-pay page.

Which systems does Tray connect in accounts payable?

ERP and accounting (NetSuite, SAP Business One, Microsoft Dynamics 365, Sage Intacct, Workday, QuickBooks, Xero), procurement (Coupa), payables, payments and cards (BILL, Tipalti, PayPal, Ramp, Brex, Expensify), tax (Avalara AvaTax), and the mailboxes, chat and warehouse around them. Anything without a connector connects through its API.

How do you stop the same invoice being paid twice?

Check every invoice against what is already in the ERP before anything is posted, on supplier, invoice number and amount together, since a chased invoice often arrives with a new reference. Mark each invoice as it enters a payment run, so a second run can't pick it up. A person sees the near-matches.

Can finance run this without engineering?

Yes. The coding rules, matching tolerances, approval limits and routing tables open in Tray Build, the visual canvas, so finance changes them as policy changes. IT governs the credentials and who can change what.

Where do AI agents fit in accounts payable?

In the reading and the exceptions. Agents read invoices that arrive as PDFs and score how sure they are, suggest the ledger account for a line, answer a supplier asking where their payment is, and summarize a mismatch for the person who owns it. Anything that approves or pays money goes to a person.

Can finance build its own invoice approval app?

Yes. Finance describes the app to an AI coding assistant such as Claude Code, and Tray Helix takes it to production and runs it there, with SSO on the front, managed auth behind it, and a named owner in the registry. An invoice approval app can match invoices to what was approved and route the exceptions. The workflows on this page connect the ERP, procurement, and bank systems.

Do we have to replace our ERP or our AP tool?

No. Tray connects the systems you already run and carries the data between them. The stages above describe what moves between systems, not which ones you use.

Do I need intelligent document processing for invoices?

Only if invoices arrive as PDFs or scans instead of data. Intelligent document processing reads each invoice, pulls out the supplier, amounts, lines and PO number, and flags low-confidence fields for a person to confirm before the workflow continues. Tray's document processing capability does this inside the same workflow that matches the invoice and routes it for approval, so there is no separate tool to feed.

Do you have single sign-on, a BAA, and do you train on our data?

Tray does not train on your data, and AI providers do not retain prompts or responses after processing. Tray supports single sign-on (SSO) with phishing-resistant two-factor authentication, and is SOC 1 and SOC 2 Type 2 audited every year, with the reports, a standard data processing agreement and the sub-processor list available at trust.tray.ai. Tray also complies with HIPAA, GDPR and CCPA. For a business associate agreement (BAA), talk to sales.

How much of this is out of the box and how much is implementation?

Connectivity is ready the day you connect your systems: Tray connects to 12,000+ apps, databases, APIs, and services, so nobody builds a connection from scratch. The part that is yours is your accounts payable process: how invoices match to purchase orders and receipts, your approval thresholds, and what happens to an exception. Teams build that themselves in Tray, start from the guides on this site, or bring in Tray's services team or a partner for the first workflow.

Last reviewed 26 November 2026.

See accounts payable running on your stack.

Walk through your systems and stages with a Tray expert, or browse the how-to guides first.

Great, a couple more details

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