> ## Documentation Index
> Fetch the complete documentation index at: https://api.monument.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Get GL accounts by UUIDs for a facility

> Retrieves the GL account details for the provided array of UUIDs: the operator-entered code, the account name, its chart-of-accounts category and its accounting basis.



## OpenAPI

````yaml /openapi/integration-openapi.json post /api/{portfolio}/portfolios/v1/facilities/{facilityUuid}/glAccounts/get_by_uuids
openapi: 3.0.0
info:
  title: Monument Integration API
  description: Monument Integration API
  version: '1.0'
  contact: {}
servers:
  - url: https://public-api.prd.monument.io
    description: Production
  - url: https://public-api.stg.monument.io
    description: Staging
security: []
tags:
  - name: Portfolios
    description: List portfolios accessible to the API key
  - name: Facilities
    description: Facility retrieval and coverage-option configuration
  - name: Units
    description: Unit listing and MORA execution
  - name: Unit Groups
    description: Unit group listing, rate management, and unit assignment
  - name: Rental Records
    description: Rental record listing, coverage, fees, autopay, and payment links
  - name: Ledger Entries
    description: Ledger entry retrieval at facility and rental-record level
  - name: Leads
    description: Lead listing and lease sending
  - name: Tasks
    description: Task creation and listing for integrations
  - name: Tenants
    description: Tenant listing and person updates
  - name: People
    description: Person listing
  - name: Notes
    description: Note listing and creation for tenants and leads
  - name: Auctions
    description: Auction listing
  - name: Coverage
    description: Portfolio-level coverage CRUD and coverage history
  - name: Summary
    description: Portfolio-level aggregate summaries (insurance enrollment/occupancy)
  - name: Promotions
    description: Promotion listing
  - name: ECRI
    description: Effective Current Rent Increase scheduling
  - name: Item Types
    description: Item type listing per facility
  - name: GL Accounts
    description: Chart of accounts listing per facility
  - name: Journal Entries
    description: GL journal entry feed per facility, line by line
  - name: Delinquencies
    description: Delinquency listing per facility
  - name: Physical Locks
    description: Physical lock assignment and unassignment
  - name: Lead Source Options
    description: Lead source option listing
  - name: Webhooks
    description: Webhook subscription management
  - name: Payments
    description: Payment profile creation
paths:
  /api/{portfolio}/portfolios/v1/facilities/{facilityUuid}/glAccounts/get_by_uuids:
    post:
      tags:
        - GL Accounts
      summary: Get GL accounts by UUIDs for a facility
      description: >-
        Retrieves the GL account details for the provided array of UUIDs: the
        operator-entered code, the account name, its chart-of-accounts category
        and its accounting basis.
      operationId: FacilityGlAccountsController_getGlAccountsByUuids
      parameters:
        - name: facilityUuid
          required: true
          in: path
          schema:
            type: string
        - in: path
          required: true
          name: portfolio
          schema:
            example: abc_selfstorage
        - in: header
          required: true
          name: x-api-key
          schema:
            example: monument-2230012-2312321
            description: >-
              Api key required to authenticate your request. Please reach out to
              monument for a key.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetGlAccountsByUuidsDto'
      responses:
        '200':
          description: Successfully retrieved GL account data
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GlAccountResponseDto'
components:
  schemas:
    GetGlAccountsByUuidsDto:
      type: object
      properties:
        glAccountUuids:
          example:
            - 9a1b2c3d-4e5f-6a7b-8c9d-0e1f2a3b4c5d
            - 1c3d4e5f-6a7b-8c9d-0e1f-2a3b4c5d6e7f
          description: Array of GL account UUIDs to retrieve data for
          type: array
          items:
            type: string
            format: uuid
      required:
        - glAccountUuids
    GlAccountResponseDto:
      type: object
      properties:
        glAccountUuid:
          type: string
          format: uuid
          example: 9a1b2c3d-4e5f-6a7b-8c9d-0e1f2a3b4c5d
          description: >-
            UUID of the GL account. It is the same identifier the ledger entries
            route reports per movement.
        facilityUuid:
          type: string
          format: uuid
          example: aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee
          description: >-
            UUID of the facility the account was requested for. Accounts are
            held by the organization behind the facility, not by the facility
            itself; this echoes the facility in the request path so a chart of
            accounts pulled facility by facility stays keyed.
        glCode:
          type: string
          nullable: true
          example: '4000'
          description: >-
            GL code of the account, as entered by the operator in Settings →
            Billing & Taxes → GL Accounts. Null until they enter one; it is the
            field to map against an external chart of accounts.
        accountName:
          type: string
          example: Revenue - Rent
          description: >-
            Name of the GL account. The accrual and cash accounts of the same
            item usually share this name, so read accountingBasis to tell them
            apart.
        accountCategory:
          $ref: '#/components/schemas/GlAccountCategory'
          example: Revenue
        accountingBasis:
          $ref: '#/components/schemas/AccountingBasis'
          example: ACCRUAL
      required:
        - glAccountUuid
        - facilityUuid
        - glCode
        - accountName
        - accountCategory
        - accountingBasis
    GlAccountCategory:
      type: string
      description: >-
        Chart-of-accounts category the account falls under, which decides
        whether it is debited or credited by a movement.
      enum:
        - Asset
        - Liability
        - Revenue
        - Expense
        - Equity
        - Contra-Revenue
        - Contra-Liability
    AccountingBasis:
      type: string
      description: >-
        Accounting basis the account belongs to. ACCRUAL recognises the amount
        when the invoice is issued, CASH when the money is received.
      enum:
        - ACCRUAL
        - CASH

````