Sage Intacct: sending tracking categories (classes) on writes

Edited

In Sage Intacct, the Unified API's tracking categories are Intacct classes. When you create or update a record with tracking_categories (on its lines, or on the record itself for employees), the value you need to send depends on the connector and the record type. Some take the category's id, some its code, and some accept either.

Where to find the values

GET /accounting/tracking-categories returns both for each class:

  • id: the class's internal ID in Sage Intacct

  • code: the class ID you see in the Sage Intacct UI

What to send

Only one tracking category per line (or per employee) is used: the first one in tracking_categories. Any others are ignored.

Sage Intacct (XML connector):

Record type

Send

Invoices

code

Bills

code

Employees

code

Journal entries

id or code (either works)

Expenses

id or code (either works)

Expense reports

id or code (either works)

Sage Intacct REST connector:

Record type

Send

Invoices, bills, credit notes, journal entries, expenses, quotes

id

Simplest approach: send both id and code from GET /accounting/tracking-categories. Each connector then uses the one it needs.

"line_items": [
  {
    "total_amount": 100,
    "tracking_categories": [
      { "id": "12", "code": "MARKETING" }
    ]
  }
]

Not sure which connector you're on?

The two Sage Intacct connectors are different: one uses Sage's XML API, the other the REST API. See Sage Intacct: API Guide (SOAP/XML vs REST).

Related

Was this article helpful?

Sorry about that! Care to tell us more?

Thanks for the feedback!

There was an issue submitting your feedback
Please check your connection and try again.