Trimble Invoice Lines API

The Invoice Lines API from Trimble — 7 operation(s) for invoice lines.

GitHub OpenAPI

Operations 7

GET /direct/subscribers/{subscriber_code}/vista/ap/2/data/invoice_lines/cache Gets all Invoice Lines objects from the cache #
POST /direct/subscribers/{subscriber_code}/vista/ap/2/data/invoice_lines/cache/search Search through Invoice Lines objects in the data cache #
GET /direct/subscribers/{subscriber_code}/vista/ap/2/data/invoice_lines/cache/{ryvitId_value} Gets one Invoice Lines object from the cache #
GET /direct/subscribers/{subscriber_code}/vista/ap/2/data/invoice_lines/cache/__ryvitId/{ryvitId_value} Gets one Invoice Lines object from the cache #
GET /direct/subscribers/{subscriber_code}/vista/ap/2/data/invoice_lines/cache/keyid/{KeyID} Gets one Invoice Lines object from the cache #
GET /direct/subscribers/{subscriber_code}/vista/ap/2/data/invoice_lines/cache/natural/{APCo}/{Mth}/{APTrans}/{APLine} Gets one Invoice Lines object from the cache #
POST /direct/subscribers/{subscriber_code}/vista/ap/2/data/invoice_lines/actions/refresh_cache Executes the Refresh Cache action for the Invoice Lines data object #

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-invoice-lines-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-invoice-lines-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Vista Accounts Payable v2 Direct Invoice Lines API
  description: For assistance, please visit our Customer Support page.
  contact:
    name: Customer Support
  version: '2'
  x-logo:
    url: https://cdn.brandfolder.io/IH4HLZST/at/pwwq8z7wf64v8jxbtrgnpwqr/TrimbleR-Horiz-RGB-Blue.png
    altText: Trimble logo
servers:
- url: https://{apiHost}/connect/v1/
  description: App Xchange API (choose region)
  variables:
    apiHost:
      default: api.xchange.trimble.com
      description: Regional API hostname. Application keys and subscriber codes are environment-specific.
      enum:
      - api.xchange.trimble.com
      - api-ap-au.xchange.trimble.com
security:
- {}
tags:
- name: Invoice Lines
paths:
  /direct/subscribers/{subscriber_code}/vista/ap/2/data/invoice_lines/cache:
    get:
      tags:
      - Invoice Lines
      summary: Gets all Invoice Lines objects from the cache
      description: 'Posted AP invoice distribution/coding lines (APTL) as a flat cache object. One record per APTL row. Parent header keyed by APCo, Mth, APTrans.


        Vista view: APTL'
      operationId: GET/direct/subscribers/{subscriber_code}/vista/ap/2/data/invoice_lines/cache
      parameters:
      - $ref: '#/components/parameters/subscriber_code'
      - $ref: '#/components/parameters/X-Application-Key'
      - $ref: '#/components/parameters/limit_continuation'
      - $ref: '#/components/parameters/modifiedUTCSince'
      - $ref: '#/components/parameters/continuationToken'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                required:
                - limit
                - data
                - next
                - continuationToken
                type: object
                properties:
                  limit:
                    type: integer
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/data_invoice_lines_withKeys'
                  next:
                    type: string
                  continuationToken:
                    type: string
        '400':
          $ref: '#/components/responses/errorResponse'
        '401':
          $ref: '#/components/responses/unauth'
        '403':
          $ref: '#/components/responses/forbidden'
      x-operation-id-source: normalized
      x-operation-id-original: GET /direct/subscribers/{subscriber_code}/vista/ap/2/data/invoice_lines/cache
  /direct/subscribers/{subscriber_code}/vista/ap/2/data/invoice_lines/cache/search:
    post:
      tags:
      - Invoice Lines
      summary: Search through Invoice Lines objects in the data cache
      description: 'Posted AP invoice distribution/coding lines (APTL) as a flat cache object. One record per APTL row. Parent header keyed by APCo, Mth, APTrans.


        Vista view: APTL'
      operationId: POST/direct/subscribers/{subscriber_code}/vista/ap/2/data/invoice_lines/cache/search/search
      parameters:
      - $ref: '#/components/parameters/subscriber_code'
      - $ref: '#/components/parameters/X-Application-Key'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                modifiedUtcAfter:
                  maxLength: 28
                  minLength: 28
                  type: string
                  description: 'Returns objects that were modified after the specified date (ISO 8601 format).  Format: yyyy-MM-ddThh:mm:ss.fffffffZ.  Example ''2019-12-11T20:16:58.3419275Z''.  If provided on the first call, the same value must be provided on all subsequent calls as you use the continuation token for the next result set.'
                  format: date-time
                modifiedUtcBefore:
                  maxLength: 28
                  minLength: 28
                  type: string
                  description: 'Returns objects that were modified before the specified date (ISO 8601 format).  Format: yyyy-MM-ddThh:mm:ss.fffffffZ.  Example ''2019-12-11T20:16:58.3419275Z''.  If provided on the first call, the same value must be provided on all subsequent calls as you use the continuation token for the next result set.'
                  format: date-time
                continuationToken:
                  type: string
                  description: Supplying this token will result in retrieving the next chunk of data if the first request contained more than 100 (up to) records or greater than 1 megabyte in size.  On your first call, you must omit or provide an empty string.  On subsequent calls, provide the continuationToken from the previous result.
                filters:
                  type: array
                  items:
                    oneOf:
                    - required:
                      - propertyName
                      - value
                      - operator
                      type: object
                      properties:
                        propertyName:
                          type: string
                          description: Name of the property to apply the filter on. Nested properties are supported with a dot (.) delimiter.  E.g. 'PONumber' or 'Sender.LastName'.
                        value:
                          type: integer
                          description: You must match the JSON type value to the propertyName JSON type.  There is no type coercion.
                        operator:
                          enum:
                          - Equal
                          - GreaterThan
                          - GreaterThanOrEqual
                          - LessThan
                          - LessThanOrEqual
                          - NotEqual
                          type: string
                      additionalProperties: false
                      description: ''
                    - required:
                      - propertyName
                      - value
                      - operator
                      type: object
                      properties:
                        propertyName:
                          type: string
                          description: Name of the property to apply the filter on. Nested properties are supported with a dot (.) delimiter.  E.g. 'PONumber' or 'Sender.LastName'.
                        value:
                          type: string
                          description: You must match the JSON type value to the propertyName JSON type.  There is no type coercion.
                        operator:
                          enum:
                          - Equal
                          - GreaterThan
                          - GreaterThanOrEqual
                          - LessThan
                          - LessThanOrEqual
                          - NotEqual
                          - Like
                          - EndsWith
                          - StartsWith
                          - Contains
                          type: string
                      additionalProperties: false
                      description: ''
                    - required:
                      - propertyName
                      - value
                      - operator
                      type: object
                      properties:
                        propertyName:
                          type: string
                          description: Name of the property to apply the filter on. Nested properties are supported with a dot (.) delimiter.  E.g. 'PONumber' or 'Sender.LastName'.
                        value:
                          type: boolean
                          description: You must match the JSON type value to the propertyName JSON type.  There is no type coercion.
                        operator:
                          enum:
                          - Equal
                          - NotEqual
                          type: string
                      additionalProperties: false
                      description: ''
                    - required:
                      - propertyName
                      - value
                      - operator
                      type: object
                      properties:
                        propertyName:
                          type: string
                          description: Name of the property to apply the filter on. Nested properties are supported with a dot (.) delimiter.  E.g. 'PONumber' or 'Sender.LastName'.
                        value:
                          type: array
                          items:
                            oneOf:
                            - type: string
                            - type: number
                          description: ' This oneOf option is to be used for null values for all data types.  You must match the JSON type value to the propertyName JSON type.  There is no type coercion.'
                        operator:
                          enum:
                          - In
                          type: string
                      additionalProperties: false
                      description: ''
                  description: All provided filters are combined with AND conditions. E.g. filter1 AND filter2 AND filter3.  Not providing a filter will result in an unfiltered result.  Filtering can be performed on nested object properties but can not be performed on array item properties.  If provided on the first call, the same value must be provided on all subsequent calls as you use the continuation token for the next result set.
              additionalProperties: false
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                required:
                - count
                - data
                type: object
                properties:
                  count:
                    type: integer
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/data_invoice_lines_withKeys'
                  continuationToken:
                    type: string
                    description: Supply this token on the next request to get the next chunk of data. This will have a value if the result set contains more than 100 records or the set is greater than 1 megabyte.
        '400':
          $ref: '#/components/responses/errorResponse'
        '401':
          $ref: '#/components/responses/unauth'
        '403':
          $ref: '#/components/responses/forbidden'
      x-operation-id-source: normalized
      x-operation-id-original: POST /direct/subscribers/{subscriber_code}/vista/ap/2/data/invoice_lines/cache/search/search
  /direct/subscribers/{subscriber_code}/vista/ap/2/data/invoice_lines/cache/{ryvitId_value}:
    get:
      tags:
      - Invoice Lines
      summary: Gets one Invoice Lines object from the cache
      description: 'Posted AP invoice distribution/coding lines (APTL) as a flat cache object. One record per APTL row. Parent header keyed by APCo, Mth, APTrans.


        Vista view: APTL'
      operationId: GET/direct/subscribers/{subscriber_code}/vista/ap/2/data/invoice_lines/cache/{ryvitId_value}
      parameters:
      - $ref: '#/components/parameters/subscriber_code'
      - $ref: '#/components/parameters/X-Application-Key'
      - name: ryvitId_value
        in: path
        description: The code of the data object you want to get.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/data_invoice_lines_withKeys'
        '401':
          $ref: '#/components/responses/unauth'
        '403':
          $ref: '#/components/responses/forbidden'
        '404':
          $ref: '#/components/responses/notFound'
      x-operation-id-source: normalized
      x-operation-id-original: GET /direct/subscribers/{subscriber_code}/vista/ap/2/data/invoice_lines/cache/{ryvitId_value}
  /direct/subscribers/{subscriber_code}/vista/ap/2/data/invoice_lines/cache/__ryvitId/{ryvitId_value}:
    get:
      tags:
      - Invoice Lines
      summary: Gets one Invoice Lines object from the cache
      description: 'Posted AP invoice distribution/coding lines (APTL) as a flat cache object. One record per APTL row. Parent header keyed by APCo, Mth, APTrans.


        Vista view: APTL'
      operationId: GET/direct/subscribers/{subscriber_code}/vista/ap/2/data/invoice_lines/cache/__ryvitId/{ryvitId_value}
      parameters:
      - $ref: '#/components/parameters/subscriber_code'
      - $ref: '#/components/parameters/X-Application-Key'
      - name: ryvitId_value
        in: path
        description: The code of the data object you want to get.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/data_invoice_lines_withKeys'
        '401':
          $ref: '#/components/responses/unauth'
        '403':
          $ref: '#/components/responses/forbidden'
        '404':
          $ref: '#/components/responses/notFound'
      x-operation-id-source: normalized
      x-operation-id-original: GET /direct/subscribers/{subscriber_code}/vista/ap/2/data/invoice_lines/cache/__ryvitId/{ryvitId_value}
  /direct/subscribers/{subscriber_code}/vista/ap/2/data/invoice_lines/cache/keyid/{KeyID}:
    get:
      tags:
      - Invoice Lines
      summary: Gets one Invoice Lines object from the cache
      description: 'Posted AP invoice distribution/coding lines (APTL) as a flat cache object. One record per APTL row. Parent header keyed by APCo, Mth, APTrans.


        Vista view: APTL'
      operationId: GET/direct/subscribers/{subscriber_code}/vista/ap/2/data/invoice_lines/cache/keyid/{KeyID}
      parameters:
      - $ref: '#/components/parameters/subscriber_code'
      - $ref: '#/components/parameters/X-Application-Key'
      - name: KeyID
        in: path
        description: The KeyID portion of the key used to identify the object.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/data_invoice_lines_withKeys'
        '401':
          $ref: '#/components/responses/unauth'
        '403':
          $ref: '#/components/responses/forbidden'
        '404':
          $ref: '#/components/responses/notFound'
      x-operation-id-source: normalized
      x-operation-id-original: GET /direct/subscribers/{subscriber_code}/vista/ap/2/data/invoice_lines/cache/keyid/{KeyID}
  /direct/subscribers/{subscriber_code}/vista/ap/2/data/invoice_lines/cache/natural/{APCo}/{Mth}/{APTrans}/{APLine}:
    get:
      tags:
      - Invoice Lines
      summary: Gets one Invoice Lines object from the cache
      description: 'Posted AP invoice distribution/coding lines (APTL) as a flat cache object. One record per APTL row. Parent header keyed by APCo, Mth, APTrans.


        Vista view: APTL'
      operationId: GET/direct/subscribers/{subscriber_code}/vista/ap/2/data/invoice_lines/cache/natural/{APCo,Mth,APTrans,APLine}
      parameters:
      - $ref: '#/components/parameters/subscriber_code'
      - $ref: '#/components/parameters/X-Application-Key'
      - name: APCo
        in: path
        description: The APCo portion of the key used to identify the object.
        required: true
        schema:
          type: string
      - name: Mth
        in: path
        description: The Mth portion of the key used to identify the object.
        required: true
        schema:
          type: string
      - name: APTrans
        in: path
        description: The APTrans portion of the key used to identify the object.
        required: true
        schema:
          type: string
      - name: APLine
        in: path
        description: The APLine portion of the key used to identify the object.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/data_invoice_lines_withKeys'
        '401':
          $ref: '#/components/responses/unauth'
        '403':
          $ref: '#/components/responses/forbidden'
        '404':
          $ref: '#/components/responses/notFound'
      x-operation-id-source: normalized
      x-operation-id-original: GET /direct/subscribers/{subscriber_code}/vista/ap/2/data/invoice_lines/cache/natural/{APCo,Mth,APTrans,APLine}
  /direct/subscribers/{subscriber_code}/vista/ap/2/data/invoice_lines/actions/refresh_cache:
    post:
      tags:
      - Invoice Lines
      summary: Executes the Refresh Cache action for the Invoice Lines data object
      description: Scope refresh of invoice_lines (APTL) to company and optional line-level filters.
      operationId: POST/direct/subscribers/{subscriber_code}/vista/ap/2/data/invoice_lines/actions/refresh_cache
      parameters:
      - $ref: '#/components/parameters/subscriber_code'
      - $ref: '#/components/parameters/X-Application-Key'
      requestBody:
        content:
          application/json:
            schema:
              title: AP Invoice Lines Refresh Cache Input
              required:
              - APCo
              type: object
              properties:
                APCo:
                  maximum: 255
                  minimum: 1
                  type: integer
                  description: AP company.
                Mth:
                  pattern: ^([0-9]{4})-(1[0-2]|0[1-9])-01$
                  type: string
                  description: Invoice month. YYYY-MM-01.
                  format: date
                APTrans:
                  type: integer
                  description: Optional. Limit to one invoice.
                APLine:
                  type: integer
                  description: Optional. Single distribution line.
                LineType:
                  maximum: 8
                  minimum: 1
                  type: integer
                  description: 1 Job, 2 GL, 3 Equipment, 4 Inventory, 5 PO, 6 SM WO, 7 SL, 8 Custom.
                JCCo:
                  type: integer
                  description: Optional. Job cost company.
                Job:
                  maxLength: 10
                  type: string
                  description: Optional. Job.
                PhaseGroup:
                  type: integer
                  description: Optional. Phase group.
                Phase:
                  maxLength: 20
                  type: string
                  description: Optional. Phase.
                GLCo:
                  type: integer
                  description: Optional. GL company.
                GLAcct:
                  maxLength: 20
                  type: string
                  description: Optional. GL account.
                PO:
                  maxLength: 30
                  type: string
                  description: Optional. Purchase order.
                POItem:
                  type: integer
                  description: Optional. PO item.
                SLCo:
                  maximum: 255
                  minimum: 1
                  type: integer
                  description: Optional. Subcontract company.
                SL:
                  maxLength: 30
                  type: string
                  description: Optional. Subcontract.
                SLItem:
                  type: integer
                  description: Optional. Subcontract item.
                EMCo:
                  type: integer
                  description: Optional. Equipment company.
                Equip:
                  maxLength: 10
                  type: string
                  description: Optional. Equipment.
                WO:
                  maxLength: 10
                  type: string
                  description: Optional. Work order.
                INCo:
                  type: integer
                  description: Optional. Inventory company.
                Material:
                  maxLength: 20
                  type: string
                  description: Optional. Material.
                Loc:
                  maxLength: 10
                  type: string
                  description: Optional. Location.
                SMCo:
                  type: integer
                  description: Optional. Service Management company.
                InvDateFrom:
                  type: string
                  description: Optional. Filter via parent APTH join. YYYY-MM-DD.
                  format: date
                InvDateTo:
                  type: string
                  description: Optional. Filter via parent APTH join. YYYY-MM-DD.
                  format: date
                __EnableRefreshCacheDeleteDetection:
                  type: boolean
                  description: Enable deleted-record detection. Increases runtime. Defaults false.
              additionalProperties: false
              description: Scope refresh of invoice_lines (APTL) to company and optional line-level filters.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                properties:
                  id:
                    type: string
                  operation:
                    type: string
                  status:
                    type: string
        '400':
          $ref: '#/components/responses/errorResponse'
        '401':
          $ref: '#/components/responses/unauth'
        '403':
          $ref: '#/components/responses/forbidden'
        '404':
          $ref: '#/components/responses/notFound'
        x-$.result for Successful:
          description: Object returned at $.result from GET /direct/actions/{action_key_value} when $.status = "Successful"
          content:
            application/json:
              schema:
                required:
                - added
                - changed
                type: object
                properties:
                  added:
                    type: integer
                    description: ''
                  changed:
                    type: integer
                    description: ''
                  unchanged:
                    type: integer
                    description: ''
                  errors:
                    minItems: 0
                    type: array
                    items:
                      required:
                      - text
                      type: object
                      properties:
                        text:
                          type: string
                        source:
                          type: array
                          items:
                            type: string
                          description: Array of a json path strings to the property(s) related to this error.  (eg. $.Taxes.Amount)
                        details:
                          type: object
                          description: Properties will be added to this object to provide details specific to the error.
        x-$.result for Failed:
          description: Object returned at $.result from GET /direct/actions/{action_key_value} when $.status = "Failed"
          content:
            application/json:
              schema:
                required:
                - code
                - errors
                type: object
                properties:
                  code:
                    type: string
                    description: Well known codes listed in the examples properties.  You must not fail to accept the error response if other codes are found as codes will be added over time.
                  user_defined_code:
                    type: string
                    description: When Code is User Defined, then this value provides details specific to this api.
                  errors:
                    minItems: 1
                    type: array
                    items:
                      required:
                      - text
                      type: object
                      properties:
                        text:
                          type: string
                        source:
                          type: array
                          items:
                            type: string
                          description: Array of a json path strings to the property(s) related to this error.  (eg. $.Taxes.Amount)
                        details:
                          type: object
                          description: Properties will be added to this object to provide details specific to the error.
      x-operation-id-source: normalized
      x-operation-id-original: POST /direct/subscribers/{subscriber_code}/vista/ap/2/data/invoice_lines/actions/refresh_cache
components:
  parameters:
    X-Application-Key:
      name: X-Application-Key
      in: header
      description: Used to authorize access to the Direct API.
      required: true
      schema:
        type: string
    continuationToken:
      name: continuationToken
      in: query
      description: A URL Encoded continuationToken value from a previous GET response.  When provided, the next set of results for the original GET will be returned.
      schema:
        type: string
    subscriber_code:
      name: subscriber_code
      in: path
      description: The code of the subscriber that you are making this request for.
      required: true
      schema:
        type: string
    modifiedUTCSince:
      name: modifiedUTCSince
      in: query
      description: A string specifies a datetime against which to filter the results. When specified the result will be ordered oldest __modifiedUTC to newest.  Example 2019-12-11T20:16:58.3419275Z. Optional. If unspecified, all cached objects will be returned.
      schema:
        type: string
    limit_continuation:
      name: limit
      in: query
      description: Limits the number of records returned by the API, up to a maximum of 1,000.  The API may return less than the limit even when more records exist.  Always examine the 'next' and 'continuationToken' properties to determine if more records are available.
      schema:
        type: integer
  responses:
    errorResponse:
      description: Describes issues with the request.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/errorSchema'
    unauth:
      description: You have not provided a proper X-Application-Key in the header of this request.
    notFound:
      description: The object with the given ID was not found OR a subscriber with the given URL was not found.
    forbidden:
      description: The X-Application-Key provided is valid but the key does not have access to this resource.
  schemas:
    data_invoice_lines_withKeys:
      allOf:
      - type: object
        properties:
          __ryvitKeys:
            type: array
            items:
              type: string
            description: Array of key paths that can be used to retrieve this object.
            example:
            - keyid/{KeyID}
          __modifiedUTC:
            type: string
            description: UTC timestamp of when this object was last modified in the cache.
            example: '2020-01-01T13:01:01.1234567Z'
      - $ref: '#/components/schemas/data_invoice_lines'
    errorSchema:
      type: object
      properties:
        error:
          type: object
          properties:
            message:
              type: string
            details:
              type: array
              items:
                type: object
                properties:
                  target:
                    title: Describes which field in the request has an issue.
                    type: string
                  message:
                    title: The error message describing the issue.
                    type: string
    data_invoice_lines:
      title: AP Invoice Lines Cache Record
      required:
      - APCo
      - Mth
      - APTrans
      - APLine
      - LineType
      - GLCo
      - GLAcct
      - GrossAmt
      - KeyID
      type: object
      properties:
        APCo:
          maximum: 255
          minimum: 1
          type: integer
          description: AP company. Parent key to invoice_headers.
        Mth:
          pattern: ^([0-9]{4})-(1[0-2]|0[1-9])-01$
          type: string
          description: Invoice month. Parent key to invoice_headers.
          format: date
        APTrans:
          type: integer
          description: AP transaction number. Parent key to invoice_headers.
        APLine:
          type: integer
          description: Line number within the invoice.
        LineType:
          type: integer
          description: 1-Job, 2-GL, 3-Equipment, 4-Inventory, 5-PO, 6-SM Work Order, 7-SL, 8-Custom.
        JCCo:
          type:
          - integer
          - 'null'
          description: Job cost company (Job lines).
        Job:
          maxLength: 10
          type:
          - string
          - 'null'
          description: Job (Job lines).
        PhaseGroup:
          type:
          - integer
          - 'null'
          description: Phase group.
        Phase:
          maxLength: 20
          type:
          - string
          - 'null'
          description: Phase.
        GLCo:
          type: integer
          description: GL company.
        GLAcct:
          maxLength: 20
          type: string
          description: GL account.
        PO:
          maxLength: 30
          type:
          - string
          - 'null'
          description: Purchase order.
        POItem:
          type:
          - integer
          - 'null'
          description: PO item.
        SLCo:
          maximum: 255
          minimum: 1
          type:
          - integer
          - 'null'
          description: Subcontract company (SL lines).
        SL:
          maxLength: 30
          type:
          - string
          - 'null'
          description: Subcontract number.
        SLItem:
          type:
          - integer
          - 'null'
          description: Subcontract item.
        GrossAmt:
          pattern: ^[-+]?[0-9]{1,10}(?:.[0-9]{0,2})?$
          type: string
          description: Line gross amount.
        PayType:
          type: integer
          description: Pay type on the distribution line.
        KeyID:
          type: integer
          description: APTL KeyID.
        __custom_fields:
          type: object
          description: Custom fields defined for APTL in Vista.
      description: Cache record for posted AP invoice distribution lines (APTL). Flat line object; parent header keyed by APCo, Mth, APTrans.