AMCS Group AccountBalance API

The AccountBalance API from AMCS Group — 2 operation(s) for accountbalance.

Specifications

OpenAPI Specification

amcs-group-accountbalance-api-openapi.yml Raw ↑
openapi: 3.0.1
info:
  title: Core AccessGroup AccountBalance API
  version: core
tags:
- name: AccountBalance
paths:
  /accounting/accountBalances/{guid}:
    get:
      tags:
      - AccountBalance
      summary: Find with GUID
      description: "| Property                  | Description                                                              |\r\n| ------------------------- | ------------------------------------------------------------------------ |\r\n| APInvoice                      | The accounts payable invoice associated with the account balance.                                     |\r\n| CreditLimit                      | The maximum credit limit for the account.                                                     |\r\n| GUID                 | The GUID associated to the account balance.                               |\r\n| InvoiceableWork                 | The amount of work that can be invoiced.             |\r\n| POInvoice                | The purchase order invoice associated with the account balance.                            |\r\n| RelatedCustomerGuid             | The GUID associated to the customer.           |\r\n| RelatedCustomerSiteGuid             | The GUID associated to the customer site.                   |\r\n| RemainingCredit| The remaining credit available for the account.   |\r\n| OutstandingAmount| The total outstanding amount for the account.   |\r\n| UnallocatedAmount| The amount that has not been allocated to any specific purpose.   |\r\n| UnconfirmedBalance               | The balance that has not been confirmed.|"
      operationId: AccountBalance_Get
      parameters:
      - name: guid
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: udf
        in: query
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResourceResultEntity[ApiIntegratorAccountBalance]'
  /accounting/accountBalances:
    get:
      tags:
      - AccountBalance
      summary: Find with Filters
      description: "| Property                  | Description                                                              |\r\n| ------------------------- | ------------------------------------------------------------------------ |\r\n| APInvoice                      | The accounts payable invoice associated with the account balance.                                     |\r\n| CreditLimit                      | The maximum credit limit for the account.                                                     |\r\n| GUID                 | The GUID associated to the account balance.                               |\r\n| InvoiceableWork                 | The amount of work that can be invoiced.             |\r\n| POInvoice                | The purchase order invoice associated with the account balance.                            |\r\n| RelatedCustomerGuid             | The GUID associated to the customer.           |\r\n| RelatedCustomerSiteGuid             | The GUID associated to the customer site.                   |\r\n| RemainingCredit| The remaining credit available for the account.   |\r\n| OutstandingAmount| The total outstanding amount for the account.   |\r\n| UnallocatedAmount| The amount that has not been allocated to any specific purpose.   |\r\n| UnconfirmedBalance               | The balance that has not been confirmed.|"
      operationId: AccountBalance_GetCollection
      parameters:
      - name: filter
        in: query
        schema:
          type: string
      - name: max
        in: query
        schema:
          type: integer
          format: int32
      - name: page
        in: query
        schema:
          type: integer
          format: int32
      - name: includeCount
        in: query
        schema:
          type: boolean
      - name: udf
        in: query
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResourceResultCollection[ApiIntegratorAccountBalance]'
components:
  schemas:
    ApiResourceErrors:
      type: object
      properties:
        errors:
          type: string
    ApiResourceResultCollection[ApiIntegratorAccountBalance]:
      type: object
      properties:
        resource:
          type: array
          items:
            $ref: '#/components/schemas/ApiIntegratorAccountBalance'
        errors:
          $ref: '#/components/schemas/ApiResourceErrors'
        status:
          $ref: '#/components/schemas/ApiResourceStatus'
    ApiIntegratorAccountBalance:
      type: object
      properties:
        InvoiceableWork:
          type: number
          format: double
        OutstandingAmount:
          type: number
          format: double
        UnallocatedAmount:
          type: number
          format: double
        UnconfirmedBalance:
          type: number
          format: double
        APInvoice:
          type: number
          format: double
        POInvoice:
          type: number
          format: double
        CreditLimit:
          type: number
          format: double
        RemainingCredit:
          type: number
          format: double
        RelatedCustomerGUID:
          type: string
          format: uuid
          example: 00000000-0000-0000-0000-000000000000
        RelatedCustomerSiteGUID:
          type: string
          format: uuid
          example: 00000000-0000-0000-0000-000000000000
        GUID:
          type: string
          format: uuid
          example: 00000000-0000-0000-0000-000000000000
    ApiResourceStatus:
      type: object
      properties:
        id:
          type: integer
          format: int32
        isSuccess:
          type: boolean
    ApiResourceResultEntity[ApiIntegratorAccountBalance]:
      type: object
      properties:
        resource:
          $ref: '#/components/schemas/ApiIntegratorAccountBalance'
        errors:
          $ref: '#/components/schemas/ApiResourceErrors'
        status:
          $ref: '#/components/schemas/ApiResourceStatus'