> This page is for Unified.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.merge.dev/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.merge.dev/_mcp/server.

A `TrackingCategory` object represents a categorization method used to classify transactions within an accounting platform. They are often used to group records for reporting and analysis purposes. The most common types of `TrackingCategories` are Classes and Departments.

### The TrackingCategory Object

```json
{
  "id": "string",
  "remote_id": "string",
  "created_at": "2023-01-01T00:00:00Z",
  "modified_at": "2023-01-01T00:00:00Z",
  "name": "string",
  "status": "ACTIVE",
  "category_type": "CLASS",
  "parent_category": "string",
  "company": "string",
  "tracking_category_url": "string",
  "remote_was_deleted": true,
  "field_mappings": {
    "organization_defined_targets": {
      "string": {}
    },
    "linked_account_defined_targets": {
      "string": {}
    }
  }
}
```

### Schema (`TrackingCategory`)

```yaml
components:
  schemas:
    Status7d1Enum:
      type: string
      enum:
        - ACTIVE
        - ARCHIVED
      title: Status7d1Enum
    CategoryTypeEnum:
      type: string
      enum:
        - CLASS
        - DEPARTMENT
      title: CategoryTypeEnum
    TrackingCategoryFieldMappings:
      type: object
      properties:
        organization_defined_targets:
          type: object
          additionalProperties:
            description: Any type
        linked_account_defined_targets:
          type: object
          additionalProperties:
            description: Any type
      title: TrackingCategoryFieldMappings
    TrackingCategory:
      type: object
      properties:
        id:
          type: string
          format: uuid
        remote_id:
          type:
            - string
            - 'null'
          description: The third-party API ID of the matching object.
        created_at:
          type: string
          format: date-time
          description: The datetime that this object was created by Merge.
        modified_at:
          type: string
          format: date-time
          description: The datetime that this object was modified by Merge.
        name:
          type:
            - string
            - 'null'
          description: The tracking category's name.
        status:
          oneOf:
            - $ref: '#/components/schemas/Status7d1Enum'
            - type: 'null'
          description: >-
            The tracking category's status. This field is an open enum: Merge
            can return a value outside this list when an integration provides
            one it does not map. Pass `show_enum_origins=status` to receive the
            integration's own value instead.
        category_type:
          oneOf:
            - $ref: '#/components/schemas/CategoryTypeEnum'
            - type: 'null'
          description: The tracking category’s type.
        parent_category:
          type:
            - string
            - 'null'
          format: uuid
        company:
          type:
            - string
            - 'null'
          format: uuid
          description: The company the GeneralLedgerTransaction belongs to.
        tracking_category_url:
          type:
            - string
            - 'null'
          format: uri
          maxLength: 2000
          description: The 3rd party URL of the tracking category.
        remote_was_deleted:
          type: boolean
          description: >-
            Indicates whether or not this object has been deleted in the third
            party platform. Full coverage deletion detection is a premium
            add-on. Native deletion detection is offered for free with limited
            coverage. [Learn
            more](https://docs.merge.dev/integrations/hris/supported-features/).
        field_mappings:
          oneOf:
            - $ref: '#/components/schemas/TrackingCategoryFieldMappings'
            - type: 'null'
      title: TrackingCategory
```