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

# Get Term Detail

> Retrieve the full detail of a single billing term, including all generated bills. Use after processing to review bills before posting.



## OpenAPI

````yaml POST /billspree/bills/get-bill-term
openapi: 3.1.0
info:
  title: Billspree API
  description: REST API for Billspree — billing, AR management, and workspace operations.
  version: 1.0.0
servers:
  - url: https://{workspace}.spreesuite.com
    variables:
      workspace:
        default: your-workspace
        description: Your organization's subdomain (e.g. demo → demo.spreesuite.com)
security:
  - apiKeyAuth: []
paths:
  /billspree/bills/get-bill-term:
    post:
      tags:
        - Bill Run
      summary: Get Term Detail
      description: >-
        Retrieve the full detail of a single billing term, including all
        generated bills. Use after processing to review bills before posting.
      operationId: getBillTerm
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetBillTermRequest'
            example:
              billTermID: 5
              batchID: null
      responses:
        '200':
          description: Term detail retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenericSuccessResponse'
components:
  schemas:
    GetBillTermRequest:
      type: object
      required:
        - billTermID
      properties:
        billTermID:
          type: integer
          description: The `termID` from Get Terms
        batchID:
          type: integer
          nullable: true
          description: Filter to a specific batch within the term
    GenericSuccessResponse:
      type: object
      properties:
        success:
          type: boolean
        statusCode:
          type: integer
        message:
          type: string
        error:
          nullable: true
        data:
          type: object
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: >-
        Auth token returned from the login endpoint. Send as: `Authorization:
        <token>` (no Bearer prefix)

````