Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.tread.ai/llms.txt

Use this file to discover all available pages before exploring further.

Agave is an accounting integration platform. One Agave connection links Tread to a list of accounting backends — QuickBooks Online, Sage Intacct, NetSuite, Xero, and others — through a single auth flow. Use Agave when your customer’s accounting system is on the supported list and you want one path instead of separate file-based exports.

Prerequisites

  • An Agave-supported accounting system with admin access. Confirm support with your Tread implementation lead.
  • A Tread admin user with the manage_accounting_integration permission.
  • Customers, vendors, and a chart of accounts already in your accounting system. Tread maps to existing records — it does not create them.
  • Settlements you want to export are approved in Tread. See Settlements & Driver Pay.

How it works

  1. Create a link token — Tread requests a one-time token from Agave for the connection.
  2. Authorize through Agave — A modal opens. The customer picks their accounting system and approves access.
  3. Import master data — Tread pulls customers, vendors, items (services, add-ons, line item types), and ledger accounts from the connected system.
  4. Map records — Match each Agave customer to a Tread customer account, each Agave vendor to a Tread vendor, and each Agave item to a Tread service or add-on.
  5. Export settlements — Approved customer settlements push as AR invoices. Vendor settlements push as AP bills.

What flows where

DataDirectionFrequency
CustomersAgave → TreadOn import
VendorsAgave → TreadOn import
Items (services, add-ons)Agave → TreadOn import
Ledger accountsAgave → TreadOn import
Customer invoices (AR)Tread → AgaveOn settlement export
Vendor bills (AP)Tread → AgaveOn settlement export

Setup

1

Open Integrations settings

Go to Settings → Integrations → Agave.
2

Click Connect

Tread requests a link token and opens the Agave connection modal.
3

Pick your accounting system

Choose your platform (QuickBooks Online, Sage Intacct, NetSuite, etc.) inside the Agave modal and approve access with admin credentials.
4

Run the import

Click Import. Tread queues a job that pulls customers, vendors, items, and ledger accounts. Large datasets can take several minutes.
5

Map customers and vendors

Open the Agave settings page. Match each imported customer and vendor to its Tread counterpart.
6

Map items and ledger accounts

Match Agave items to Tread services and add-ons. Designate one ledger account as AR and one as AP.
7

Export a test settlement

Approve one settlement in Tread and click Export to Agave. Confirm the invoice or bill lands in your accounting system before going wide.

When to use Agave vs a direct integration

Use Agave whenUse direct integration when
Your accounting system is on the Agave listYou’re on Sage 300, Vista, Foundation, or Spectrum
You want a live API connectionA file-based CSV export is enough
You manage multiple accounting backendsYou’re locked to one ERP
For Sage 300, Vista, Foundation, and Spectrum, see the dedicated pages: Sage 300, Vista Viewpoint, Foundation, Spectrum.

Limitations

  • One Agave connection per Tread company. Parent/child Tread hierarchies need one connection per child.
  • Tread does not push driver settlements through Agave — only customer (AR) and vendor (AP) settlements.
  • Tread does not pull invoices created directly in the accounting system back into Tread.
  • Customers and vendors must exist in the accounting system first. Tread maps to them; it does not create them.
  • A settlement that has already been exported cannot be re-exported. Create a new settlement instead.

Troubleshooting

Account token expired (401)
  1. Go to Settings → Integrations → Agave.
  2. Click Reconnect and re-authorize through the Agave modal.
Customer or vendor not linked
  1. Open the failed settlement.
  2. Find the unmapped account in the error.
  3. Map it on the Agave settings page, then click Retry export.
Missing item mapping
  1. The error names the line item type or add-on (for example, Fuel Surcharge).
  2. Map it to an Agave item.
  3. Re-export.
No ledger account configured
  1. On the Agave settings page, set one ledger account to AccountsReceivable and one to AccountsPayable.
  2. Re-export.