> ## 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.

# Post Term

> Step 7 of the bill-run flow. Finalises and posts the calculated bills, making them visible to customers. Term must be in Processed status before this step.



## OpenAPI

````yaml POST /billspree/terms/post-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/terms/post-term:
    post:
      tags:
        - Bill Run
      summary: Post Term
      description: >-
        Step 7 of the bill-run flow. Finalises and posts the calculated bills,
        making them visible to customers. Term must be in Processed status
        before this step.
      operationId: postTerm
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TermScheduleRequest'
            example:
              method: Update
              action: Post Term
              apiVersion: v2
              operation: schedule
              data:
                termID: 5
                sheduleTime: '2026-06-15T10:00:00'
      responses:
        '200':
          description: Term post job registered
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenericSuccessResponse'
components:
  schemas:
    TermScheduleRequest:
      type: object
      required:
        - method
        - action
        - apiVersion
        - operation
        - data
      properties:
        method:
          type: string
          example: Update
        action:
          type: string
        apiVersion:
          type: string
          example: v2
        operation:
          type: string
          description: >-
            Always `"schedule"` — all mutating bill-run operations are
            registered as async jobs
          example: schedule
        data:
          $ref: '#/components/schemas/TermScheduleData'
    GenericSuccessResponse:
      type: object
      properties:
        success:
          type: boolean
        statusCode:
          type: integer
        message:
          type: string
        error:
          nullable: true
        data:
          type: object
    TermScheduleData:
      type: object
      required:
        - termID
        - sheduleTime
      properties:
        termID:
          type: integer
          description: The `termID` from Get Terms
        sheduleTime:
          type: string
          description: >-
            ISO datetime — pass current time to run immediately, or a future
            time to schedule
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: >-
        Auth token returned from the login endpoint. Send as: `Authorization:
        <token>` (no Bearer prefix)

````