Skip to main content

AR Invoices

Agave Sync allows you to export ServiceTitan Invoices to Foundation AR Invoices.

note

Agave Sync exports AR Invoices to Foundation in an Unposted status. To see the AR Invoice in Foundation, go to Foundation's Accounts Receivable Enter Invoices form, then press Modify and Modify Unposted Invoices.

Visual Mapping

ServiceTitan and Foundation Vendors Visual Mapping

ServiceTitan and Foundation Vendors Visual Mapping

If you plan to sync AR Invoices using the FSI Importer, then you will also be able to export data to the JC (Job Cost) tab in Foundation.

ServiceTitan and Foundation Vendors Visual Mapping

Enabling AR Invoices Sync to Foundation

You may want to use Job Costing in Foundation AR Invoices (i.e. the JC or Job Cost tab). This tab allows for you to distribute income from an AR Invoice to one or more Phases and Cost Codes in Foundation:

Foundation AP Invoices

Foundation AP Invoices

Agave Sync can only export AR Invoices that reference this tab using the FSI Importer. To export to this tab, you will need to complete the below steps.

Installation

Exporting AR Invoices with Job Costing details to Foundation requires the a combination of Foundation's FSI Importer, ODBC access, and the Agave Connector.

Step 1: Download the FSI Importer

  1. Log in to the Foundation Client Portal.

  2. If you are a Foundation Cloud (Hosted) Customer, go to Resources-->Downloads. If you are a Foundation On-premise Customer, go to Resources-->Software Releases.

  3. Select the download icon for the FSI Importer.

  4. Once the file has downloaded, go to your Downloads folder and open the .exe file. This will start the installation process for the FSI Importer.

  5. Finish the installation process.

Step 2: Set up ODBC access for the FSI Importer

To use the FSI Importer with Agave Sync, you will need to set up Microsoft Open Database Connectivity (ODBC) access to your Foundation instance. Complete Foundation's guide to setting up this access.

Step 3: Set up the Agave Connector

  1. Ask your Agave Account Manager for a link to the Agave Connector. Then download and install it.

  2. Open the Agave Connector and press Add Account.

Foundation AP Invoices

  1. Select Foundation as your Source System.

Foundation AP Invoices

  1. Input details for your Foundation user you use in Agave Sync, and then press Test and Save. Note, these are the same credentials you used for connecting Foundation to Agave Sync.

Foundation AP Invoices

  1. Notify your Agave Account Manager that you have completed the foregoing step and ask for an Account ID and Token. Input these details in the next screen and then press Test and Save:

Foundation AP Invoices

  1. Notify your Agave Account Manager that you have completed the foregoing step. They will then be able to confirm that you can export AR Invoices to Foundation.

Common Errors and FAQs

What does Agave use for the Cost Code in ServiceTitan?

Since ServiceTitan does not have a concept of "Cost Code", Agave uses the Pricebook Code for Cost Code.

Error: The Ledger Account ID Field is Required

Foundation requires a Ledger Account to be applied when exporting AR Invoices from other systems. Because your Project Management System does not have Ledger Accounts, you will need to supply your Agave Account Manager with default (1) Accounts Receivable, and (2) Accounts Receivable Retention Ledger Accounts that you would like Agave to apply to all AR Invoices exported from your Project Management System going forward.

Note these two Ledger Accounts appear in the G/L section of the A/R Enter Invoices form in Foundation:

Foundation and Procore Visual Mapping

Error: The Retainage GL Account is Required

Foundation also requires a Retainage Ledger Account to be applied when exporting AR Invoices from other systems. Because your Project Management system does not have Ledger Accounts, you will need to supply your Agave Account Manager with a default Retainage Ledger Account (e.g. "Accounts Receivable - Retention") that you would like Agave to apply to all AR Invoices exported from your Project Management System going forward.

note

Agave Sync does not yet support retention releases.

Error: AR Invoice with Code "#" Already Exists

Agave uses Foundation's built-in "Next Number" feature when creating AR Invoices in Foundation. If you receive the error Foundation: An AR Invoice with code "X" already exists, it is from the "Next Number" already being in use in Foundation.

To reset the "Next Number" in Foundation:

  1. Navigate to Main Menu > Tools > System > Other and select Next Number:

Foundation Auto Numbering

  1. Select the relevant data type (Customer in this example) and reset its number (i.e. to a later number):

Foundation Auto Numbering

Foundation: This Customer has the "Force Job" Checkbox Enabled

This error occurs because a Foundation Customer-related setting is enabled, which requires every AR Invoice for the Customer to be linked to a Job.

To resolve this error, you need to either:

  1. Associate the AR Invoice with a Job in ServiceTitan, or
  2. Uncheck the "Force Job" option for the customer in Foundation by navigating to CustomersDefaults:

ServiceTitan and Foundation Invoice Error