Trimble GL Accounts API

Retrieves, creates and updates TruckMate general ledger accounts. General ledger accounts can be viewed in the GL Chart of Accounts application.

GitHub OpenAPI

Operations 4

GET /glAccounts Retrieves general ledger accounts #
POST /glAccounts Create a new general ledger account #
GET /glAccounts/{glAccountId} Retrieves a general ledger account #
PUT /glAccounts/{glAccountId} Update a general ledger account #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/trimble:trimble-gl-accounts-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

trimble-gl-accounts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Finance REST GL Accounts API
  description: 'Secure, authorized access to TruckMate''s financial data, including Payroll, Accounts Payable (AP), Accounts Receivable (AR), and General Ledger (GL) data.


    Download latest released OpenAPI


    This documentation is based on the most currently released version of TruckMate. Documentation for previous versions can be accessed by navigating to the openapi.json endpoint for any given API (the service must be set up and running). For example: http://DOMAIN/openapi.json


    ---


    © 2026, Trimble Inc. All rights reserved. Unauthorized copying prohibited. Software functions, including our APIs and their specification, are subject to change without notice. Information contained herein is Trimble Confidential Information, used under license.


    ---'
  version: '1'
  x-tm-release: 26.3.125.0
tags:
- name: GL Accounts
  description: Retrieves, creates and updates TruckMate general ledger accounts. General ledger accounts can be viewed in the GL Chart of Accounts application.
paths:
  /glAccounts:
    get:
      summary: Retrieves general ledger accounts
      description: 'Retrieves general ledger account records.


        General ledger accounts can be viewed in the GL Chart of Accounts application.


        This endpoint is available in TruckMate 25.3 and higher.'
      operationId: GetGlAccounts
      security:
      - truckmateApiKeyAuth: []
      tags:
      - GL Accounts
      parameters:
      - $ref: '#/components/parameters/limit'
      - $ref: '#/components/parameters/offset'
      - $ref: '#/components/parameters/filter'
      - $ref: '#/components/parameters/select'
      - $ref: '#/components/parameters/orderBy'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetGlAccounts200'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ARTErrors'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ARTErrors'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ARTErrors'
    post:
      summary: Create a new general ledger account
      description: 'Creates one or more general ledger account records.


        General ledger accounts can be viewed in the GL Chart of Accounts application.


        This endpoint is available in TruckMate 25.4 and higher.'
      operationId: PostGlAccounts
      security:
      - truckmateApiKeyAuth: []
      tags:
      - GL Accounts
      requestBody:
        description: ''
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostGlAccountDtoList'
      parameters:
      - $ref: '#/components/parameters/select'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostGlAccounts201'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ARTErrors'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ARTErrors'
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ARTErrors'
  /glAccounts/{glAccountId}:
    parameters:
    - name: glAccountId
      in: path
      description: GL Account identifier
      required: true
      schema:
        type: string
    get:
      summary: Retrieves a general ledger account
      description: 'Retrieves the specified general ledger account record.


        General ledger accounts can be viewed in the GL Chart of Accounts application.


        This endpoint is available in TruckMate 25.3 and higher.'
      operationId: GetGlAccount
      security:
      - truckmateApiKeyAuth: []
      tags:
      - GL Accounts
      parameters:
      - $ref: '#/components/parameters/select'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/glAccount'
                - type: object
                  properties:
                    href:
                      type: string
                      readOnly: true
                      description: Self-referencing URL for this resource
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ARTErrors'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ARTErrors'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ARTErrors'
    put:
      summary: Update a general ledger account
      description: 'Updates one or more properties for the specified general ledger account record.


        General ledger accounts can be viewed in the GL Chart of Accounts application.


        This endpoint is available in TruckMate 25.4 and higher.'
      operationId: PutGlAccount
      security:
      - truckmateApiKeyAuth: []
      tags:
      - GL Accounts
      requestBody:
        description: ''
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PutGlAccountDto'
      parameters:
      - $ref: '#/components/parameters/select'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/glAccount'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ARTErrors'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ARTErrors'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ARTErrors'
components:
  parameters:
    orderBy:
      name: $orderBy
      in: query
      description: Field(s) to order returned resource by, with optional direction. E.g., "fieldName desc, fieldName2"
      required: false
      style: form
      explode: true
      schema:
        type: string
    offset:
      name: offset
      in: query
      description: Specifies the number of items to skip before beginning to select the records to return.
      required: false
      style: form
      explode: true
      schema:
        type: integer
        default: 0
    select:
      name: $select
      in: query
      description: Select allows to request a specified set of properties, see [Selecting](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part2-url-conventions.html#_Toc31361040)
      required: false
      style: form
      explode: true
      schema:
        type: string
    limit:
      name: limit
      in: query
      description: Specifies the maximum number of items to include in the response results.
      required: false
      style: form
      explode: true
      schema:
        type: integer
        default: 20
    filter:
      name: $filter
      in: query
      description: Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter). Note, not all features of oData filter syntax are supported.
      required: false
      style: form
      explode: true
      schema:
        type: string
  schemas:
    ARTError:
      type: object
      properties:
        type:
          type: string
        title:
          type: string
        code:
          type: string
          description: Error code (optional, deprecated; omitted in Mobile Comm)
          deprecated: true
        description:
          type: string
          description: Human-readable description (optional, deprecated; omitted in Mobile Comm)
          deprecated: true
    PostGlAccounts201:
      type: object
      properties:
        glAccounts:
          type: array
          items:
            $ref: '#/components/schemas/glAccount'
    ARTErrors:
      type: object
      properties:
        type:
          type: string
        title:
          type: string
        status:
          type: integer
          enum:
          - 400
          - 401
          - 403
          - 404
          - 405
          - 409
          - 429
          - 500
        errors:
          type: array
          items:
            $ref: '#/components/schemas/ARTError'
    PostGlAccountDto:
      type: object
      properties:
        glAccount:
          type: string
          maxLength: 50
          pattern: ^[A-Za-z0-9]+(-[A-Za-z0-9]+){0,4}$
        glAccountType:
          type: string
          maxLength: 5
          pattern: ^[A-Z]{2}[0-9]{3}$
        glAccountNotes:
          type: string
          maxLength: 131072
        shortDescription:
          type: string
          maxLength: 40
        longDescription:
          type: string
          maxLength: 255
        currencyCode:
          type: string
          maxLength: 3
        isActive:
          type: string
          enum:
          - 'False'
          - 'True'
        isDefault:
          type: string
          enum:
          - 'False'
          - 'True'
        isSubAccount:
          type: string
          enum:
          - 'False'
          - 'True'
        parentGlAccount:
          type: string
          maxLength: 50
      required:
      - glAccount
      - glAccountType
      - currencyCode
    PutGlAccountDto:
      type: object
      properties:
        glAccountType:
          type: string
          maxLength: 5
          pattern: ^[A-Z]{2}[0-9]{3}$
        glAccountNotes:
          type: string
          maxLength: 131072
        shortDescription:
          type: string
          maxLength: 40
        longDescription:
          type: string
          maxLength: 255
        currencyCode:
          type: string
          maxLength: 3
        isActive:
          type: string
          enum:
          - 'False'
          - 'True'
        isDefault:
          type: string
          enum:
          - 'False'
          - 'True'
        isSubAccount:
          type: string
          enum:
          - 'False'
          - 'True'
        parentGlAccount:
          type: string
          maxLength: 50
    PostGlAccountDtoList:
      type: array
      items:
        $ref: '#/components/schemas/PostGlAccountDto'
    GetGlAccounts200:
      type: object
      properties:
        href:
          type: string
          readOnly: true
          description: Self-referencing URL for this resource
        offset:
          type: integer
        limit:
          type: integer
        filter:
          type: string
        sort:
          type: string
        select:
          type: string
        count:
          type: integer
        glAccounts:
          type: array
          items:
            $ref: '#/components/schemas/glAccount'
    glAccount:
      type: object
      properties:
        glAccount:
          type: string
          maxLength: 50
          oneOf:
          - enum:
            - ''
          - pattern: ^[A-Za-z0-9]+(-[A-Za-z0-9]+){0,4}$
        glAccountType:
          type: string
          maxLength: 5
          oneOf:
          - enum:
            - ''
          - pattern: ^[A-Z]{2}[0-9]{3}$
        glAccountNotes:
          type:
          - string
          - 'null'
          maxLength: 131072
        shortDescription:
          type:
          - string
          - 'null'
          maxLength: 40
        longDescription:
          type:
          - string
          - 'null'
          maxLength: 255
        currencyCode:
          type: string
          maxLength: 3
        isActive:
          type: string
          enum:
          - 'False'
          - 'True'
          - ''
        isDefault:
          type:
          - string
          - 'null'
          enum:
          - 'False'
          - 'True'
          - ''
          - null
        isProtected:
          type: string
          enum:
          - 'False'
          - 'True'
          - ''
        isSubAccount:
          type: string
          enum:
          - 'False'
          - 'True'
          - ''
        parentGlAccount:
          type:
          - string
          - 'null'
          maxLength: 50
  securitySchemes:
    tidJwtAuth:
      type: http
      description: A time-limited JSON Web Token generated via separate POST request using TID
      scheme: bearer
    truckmateApiKeyAuth:
      type: http
      description: TruckMate API Key
      scheme: bearer
externalDocs:
  url: https://learn.transportation.trimble.com/