User Guide

Welcome to the Intacct API Usage application. This guide covers all features and how to use them effectively.

Contents

Overview

This application monitors and reports on Sage Intacct API usage across multiple companies/instances. It connects to the Intacct API to retrieve usage data, stores it locally, and provides reporting and email notification capabilities.

Key Features

Getting Started

Follow these steps to set up the application:

1. Configure API Credentials

Go to Configuration and enter your Intacct API credentials:

Click Save Credentials to store them securely. Credentials are validated before saving.

2. Configure Proxy (Optional)

If your network requires a proxy for outbound connections, configure it in Configuration > Proxy Configuration:

3. Load Company List

In Configuration, load your company list:

You can also manually add companies using the Manage button.

4. Configure Filters (Optional)

Set up filters in Configuration to segment your data:

5. Create a Schedule

Go to the Schedules tab and create a schedule to automatically fetch data and send reports.

Schedules Tab

Set up automated data collection on a recurring schedule.

Creating a Schedule

  1. Enter a Schedule Name to identify this schedule
  2. Select a Schedule Type:
    • One-off - Run once at a specific date and time, then automatically disabled
    • Weekly - Run on selected days at a specific time
    • Monthly - Run on a specific day of the month
    • Custom (cron) - Advanced scheduling using cron expressions
  3. Configure the timing options for your chosen type
  4. Select a Query Filter (All Filters or a specific filter)
  5. Enable one or more Email Configurations to send reports to multiple recipients
  6. Choose Report Attachments to include in the email
  7. Optionally enable Full Refresh to clear data before each run
  8. Click Save Schedule

Data Fetch Modes

Mode Description
Incremental (default) Fetches only new data since the last run. For each company, finds the last date fetched, clears that day's data, and re-fetches from that date forward. Efficient for daily runs.
Full Refresh Clears all existing data for the selected filter before fetching. Use when you need to start fresh or suspect data inconsistencies.
Reports Only Skips data fetching entirely and sends reports using existing data. Useful when you want to re-send reports without querying Intacct again.

Multiple Email Recipients

Schedules support sending reports to multiple email configurations simultaneously. Toggle on each configuration you want to receive the report. This is useful for:

Schedule Options

Option Description
Report Start Date Only include data from this date onwards in reports.
Complete Months Only Exclude the current (incomplete) month from reports.
Reports Only Skip data fetch and send reports from existing data. Useful for re-sending reports.
Full Refresh Clear existing data for the filter before fetching new data. Disabled when Reports Only is active.

Managing Schedules

Note: When saving a new or updated schedule, you'll receive a reminder to enable it using the toggle switch. Schedules are created in a disabled state by default.

Schedule Status

Reports Tab

View and download reports, send email reports, and analyze API usage data.

Downloads Section

Download reports in CSV or Excel format:

Send Reports

Email reports to one or more notification configurations:

  1. Select a Filter to limit the report data (or leave as All Filters)
  2. Choose Report Attachments to include
  3. Optionally set a Date Range to filter the data
  4. Toggle on the Email Configurations you want to send to
  5. Click Send Reports

Error Summary

Review companies that encountered errors during data fetch:

Usage Chart

Visualize API usage trends over time:

Filter Breakdown

See record counts and company counts per filter in a summary table.

Report Types

Report Contents
Detailed Every API usage record with company ID, Sage Account Number, partner, transaction count, and timestamps.
Summary Aggregated view by company showing company ID, Sage Account Number, total transactions and record counts.
Exceptions Companies that failed to authenticate, returned errors, or had no data. Includes company ID, Sage Account Number, error numbers and descriptions.

Configuration

Manage credentials, companies, filters, and proxy settings.

API Credentials

Your Intacct Web Services credentials for API access:

Credentials are encrypted and stored securely. The encryption key is set via the ENCRYPTION_KEY environment variable.

Proxy Configuration

Configure an HTTP/HTTPS proxy for all outbound connections (Intacct API, Companies API, email):

When a proxy is configured and enabled, all outbound HTTP/HTTPS requests will be routed through it.

Companies / Instances

Manage the list of companies to query:

Company Management

Skipping Companies

In the Manage Companies dialog:

Query Filters

Define filters to segment companies by prefix:

Companies not matching any filter are grouped under "Other".

Adding Filters

  1. Click + Add Filter
  2. Enter a name and prefix
  3. Click Save Filters

Notifications

Configure email settings for sending reports.

Supported Providers

Provider Use Case
SMTP Standard email servers, Gmail, Office 365 SMTP, etc.
Microsoft Graph Microsoft 365 using Azure AD app registration (OAuth)

SMTP Configuration

Field Description
SMTP Host Mail server hostname (e.g., smtp.office365.com)
Port Server port (587 for STARTTLS, 465 for SSL, 25 for none)
Security STARTTLS (recommended), SSL/TLS, or None
Username SMTP authentication username (usually your email)
Password SMTP authentication password or app password
From Name Display name for sent emails
From Address Sender email address

Microsoft Graph Configuration

Field Description
Tenant ID Azure AD tenant ID (GUID)
Client ID Azure AD app registration client ID
Client Secret Azure AD app registration client secret
From Address Microsoft 365 mailbox to send from

Note: The Azure AD app needs the Mail.Send application permission.

Recipients

Saving and Testing

When you click Save Configuration or Save, the application automatically:

  1. Sends a test email to verify your settings work correctly
  2. If the test succeeds, saves the configuration
  3. If the test fails, displays the error without saving

This ensures all saved configurations are known to work. A loading spinner indicates when testing is in progress.

Save As New

When editing an existing configuration, you can use Save As New to create a copy with a new name. Note that you must enter a new password/client secret when creating a new configuration from an existing one.

Logs

View application logs for troubleshooting and monitoring.

Log Levels

Features

Understanding Job Logs

During scheduled runs, you'll see log entries like:

Troubleshooting

Common Issues

"No credentials configured"

Solution: Go to Configuration and enter your Intacct API credentials, then click Save Credentials.

"No companies loaded"

Solution: Load companies from the API or manually add companies via the Manage button in Configuration.

Authentication errors for specific companies

Possible causes:

Solution: Check the Exceptions report for details. Consider adding problematic companies to the exceptions list.

Emails not sending

Check:

Solution: Use the Test button in Notifications to verify the configuration.

Scheduled jobs not running

Check:

Data appears incomplete

Try:

Connection timeouts or proxy errors

If using a proxy:

Getting Help

Check the Logs tab for detailed error messages. If issues persist, contact your system administrator with: