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

# Register Meters

> Register one or more meters in the workspace. Supports batch creation — pass multiple objects in the `meters` array. A meter must be registered before it can be assigned to a subscription. Valid `meterType` IDs come from `/billspree/meters/get-meter-metaData`.



## OpenAPI

````yaml POST /billspree/meters/make-meters
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/meters/make-meters:
    post:
      tags:
        - Usage
      summary: Register Meters
      description: >-
        Register one or more meters in the workspace. Supports batch creation —
        pass multiple objects in the `meters` array. A meter must be registered
        before it can be assigned to a subscription. Valid `meterType` IDs come
        from `/billspree/meters/get-meter-metaData`.
      operationId: makeMeters
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RegisterMetersRequest'
            example:
              method: Create
              action: Create Meters
              apiVersion: v2
              meters:
                - number: 9
                  brand: Siemens
                  meterType: 1
                  purchaseDate: 19/05/2026
                  mf: 1
      responses:
        '200':
          description: Meters registered successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenericSuccessResponse'
              example:
                success: true
                statusCode: 200
                message: Request Succeeded.
                error: null
                data: {}
components:
  schemas:
    RegisterMetersRequest:
      type: object
      required:
        - method
        - action
        - apiVersion
        - meters
      properties:
        method:
          type: string
          description: Always `"Create"`
          example: Create
        action:
          type: string
          description: Always `"Create Meters"`
          example: Create Meters
        apiVersion:
          type: string
          description: Always `"v2"`
          example: v2
        meters:
          type: array
          description: List of meters to register — supports batch creation
          items:
            $ref: '#/components/schemas/MeterInput'
    GenericSuccessResponse:
      type: object
      properties:
        success:
          type: boolean
        statusCode:
          type: integer
        message:
          type: string
        error:
          nullable: true
        data:
          type: object
    MeterInput:
      type: object
      required:
        - number
        - brand
        - meterType
        - purchaseDate
        - mf
      properties:
        number:
          type: integer
          description: Unique meter number
        brand:
          type: string
          description: Manufacturer/brand name
        meterType:
          type: integer
          description: >-
            Meter type ID — fetch valid IDs from
            `/billspree/meters/get-meter-metaData`
        purchaseDate:
          type: string
          description: Purchase date in `dd/mm/yyyy` format
        mf:
          type: number
          description: Multiplier factor — use `1` if no scaling is needed
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: >-
        Auth token returned from the login endpoint. Send as: `Authorization:
        <token>` (no Bearer prefix)

````