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

# Get invoice payable line item

> Gets an invoice payable line item



## OpenAPI

````yaml /openapi-public.json get /v1/invoice-payables/{invoicePayableId}/line-items/{lineItemId}
openapi: 3.0.1
info:
  title: Light API
  version: 1.0.0
servers: []
security:
  - apiKeyAuth: []
  - bearerAuth: []
paths:
  /v1/invoice-payables/{invoicePayableId}/line-items/{lineItemId}:
    get:
      tags:
        - v1 - Invoice Payables
      summary: Get invoice payable line item
      description: Gets an invoice payable line item
      operationId: getInvoicePayableLineItem
      parameters:
        - name: invoicePayableId
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: lineItemId
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        default:
          description: default response
          content:
            application/json;charset=UTF-8:
              schema:
                $ref: '#/components/schemas/ExternalInvoicePayableLineItemV1Model'
components:
  schemas:
    ExternalInvoicePayableLineItemV1Model:
      type: object
      properties:
        id:
          type: string
          description: ID of the invoice payable line item.
          format: uuid
        invoicePayableId:
          type: string
          description: ID of the invoice payable this line item belongs to.
          format: uuid
        type:
          type: string
          description: >-
            Type of the invoice payable line item (vendor invoice or
            reimbursement).


            ⚠️ This enum is not exhaustive; new values may be added in the
            future.
          nullable: false
          deprecated: false
          enum:
            - REIMBURSEMENT
            - VENDOR_INVOICE
        metadata:
          $ref: '#/components/schemas/ExternalInvoicePayableLineItemMetadataV1Model'
        amount:
          type: integer
          description: >-
            Amount in cents, including tax. When `lineItemsIncludeTax` is true,
            `amount` represents the full tax-inclusive amount for this line.
          format: int64
          nullable: true
        netAmount:
          type: integer
          description: >-
            Net line amount in cents, excluding tax. When `lineItemsIncludeTax`
            is false, `netAmount` represents the base amount on which tax is
            calculated.
          format: int64
          nullable: true
        description:
          type: string
          description: Description of this invoice payable line item.
          nullable: true
        taxCodeId:
          type: string
          description: ID of the tax code applied to this line item.
          format: uuid
          nullable: true
        taxAmount:
          type: integer
          description: Tax amount in cents for this line item.
          format: int64
          nullable: true
        accountId:
          type: string
          description: ID of the ledger account used to book this line item.
          format: uuid
          nullable: true
        costCenterId:
          type: string
          description: ID of the cost center associated with this line item, if applicable.
          format: uuid
          nullable: true
        amortizationStartDate:
          type: string
          description: Start date for amortization of this line item.
          format: date
          nullable: true
        amortizationEndDate:
          type: string
          description: End date for amortization of this line item.
          format: date
          nullable: true
        amortizationTemplateId:
          type: string
          description: >-
            ID of the amortization template to use for this line item within
            Light Ledger.
          format: uuid
          nullable: true
        customPropertiesOld:
          $ref: '#/components/schemas/ExternalCustomPropertiesObjectValuesV1Model'
        aiValueSuggestions:
          type: array
          description: >-
            AI-generated suggestions for line item values (e.g. account, cost
            center, tax code).
          nullable: true
          items:
            $ref: '#/components/schemas/ExternalAiValueSuggestionV1Model'
        customProperties:
          type: array
          description: Custom properties set on this invoice payable line item.
          nullable: true
          items:
            $ref: '#/components/schemas/ExternalCustomPropertyV1Model'
        createdAt:
          type: string
          description: Timestamp when this invoice payable line item was created.
          format: date-time
        updatedAt:
          type: string
          description: Timestamp when this invoice payable line item was last updated.
          format: date-time
    ExternalInvoicePayableLineItemMetadataV1Model:
      type: object
      properties:
        type:
          type: string
          description: >-
            Type of the invoice payable line item (vendor invoice or
            reimbursement).


            ⚠️ This enum is not exhaustive; new values may be added in the
            future.
          nullable: false
          deprecated: false
          enum:
            - REIMBURSEMENT
            - VENDOR_INVOICE
      description: >-
        Metadata for the invoice payable line item (ERP-specific fields and
        context).
      discriminator:
        propertyName: type
    ExternalCustomPropertiesObjectValuesV1Model:
      type: object
      properties:
        items:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/ExternalPropertyObjectValueV1Model'
      description: >-
        Legacy container for custom properties on this line item (deprecated/old
        format).
      nullable: true
    ExternalAiValueSuggestionV1Model:
      type: object
      properties:
        field:
          type: string
        fieldValues:
          type: array
          items:
            type: string
        reasoning:
          type: string
      description: >-
        AI-generated suggestions for line item values (e.g. account, cost
        center, tax code).
      nullable: true
    ExternalCustomPropertyV1Model:
      type: object
      properties:
        groupId:
          type: string
          description: ID of the custom property group
          format: uuid
        groupInternalName:
          type: string
          description: Internal name of the custom property group
        values:
          type: array
          description: >-
            List of values. Note that this will be a single value unless the
            group input type supports multiple values
          items:
            $ref: '#/components/schemas/ExternalCustomPropertyValueV1Model'
      description: Custom properties set on the vendor.
      nullable: true
    ExternalPropertyObjectValueV1Model:
      type: object
      properties:
        propertyId:
          type: string
          format: uuid
        value:
          type: string
        valueId:
          type: string
          format: uuid
    ExternalCustomPropertyValueV1Model:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier for the object
          format: uuid
        groupId:
          type: string
          description: ID of the custom property group
          format: uuid
        groupInternalName:
          type: string
          description: Internal name of the custom property group
        companyId:
          type: string
          description: ID of the company
          format: uuid
        internalName:
          type: string
          description: Internal name of the custom property value
        label:
          type: string
          description: Label of the custom property value
        context:
          type: string
          description: Context/description of the custom property value
          nullable: true
        createdAt:
          type: string
          description: Timestamp when the custom property value was created
          format: date-time
        updatedAt:
          type: string
          description: Timestamp when the custom property value was last updated
          format: date-time
      description: >-
        List of values. Note that this will be a single value unless the group
        input type supports multiple values
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      description: >-
        Basic authentication header of the form **Basic** **<api_key>**, where
        **<api_key>** is your api key.
      name: Authorization
      in: header
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````