Timbrix Series API

The series API from Timbrix — 3 operation(s) for series.

GitHub OpenAPI

Operations 5

GET /organizations/{organizationId}/series List the organization's series and folios #
POST /organizations/{organizationId}/series Create a series #
PUT /organizations/{organizationId}/default-series Set the default series of a voucher type #
PUT /organizations/{organizationId}/series/{series} Update the next folio of a series #
DELETE /organizations/{organizationId}/series/{series} Delete a series #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/timbrix-mx:timbrix-mx-series-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

timbrix-mx-series-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Timbrix Series API
  description: 'API de facturación electrónica CFDI 4.0 para México, con servidor OAuth2 para gestionar organizaciones, miembros y webhooks. Compatible con agentes de IA — ver la extensión `x-ai-agent-friendly` en la raíz de esta spec.


    REST API with OAuth2 server for managing organizations, members, and webhooks.'
  version: '1.0'
  contact: {}
servers: []
tags:
- name: Series
paths:
  /organizations/{organizationId}/series:
    get:
      operationId: SeriesController_list
      parameters:
      - name: organizationId
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SeriesResponseDto'
      security:
      - bearer: []
      summary: List the organization's series and folios
      tags:
      - Series
    post:
      description: Only owners and admins can create series.
      operationId: SeriesController_create
      parameters:
      - name: organizationId
        required: true
        in: path
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateSeriesDto'
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SeriesResponseDto'
        '409':
          description: SERIES_ALREADY_EXISTS
      security:
      - bearer: []
      summary: Create a series
      tags:
      - Series
  /organizations/{organizationId}/default-series:
    put:
      description: Only owners and admins. Returns the updated series list.
      operationId: SeriesController_setDefault
      parameters:
      - name: organizationId
        required: true
        in: path
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SetDefaultSeriesDto'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SeriesResponseDto'
        '404':
          description: SERIES_NOT_FOUND
      security:
      - bearer: []
      summary: Set the default series of a voucher type
      tags:
      - Series
  /organizations/{organizationId}/series/{series}:
    put:
      description: Only owners and admins. The series name cannot be changed.
      operationId: SeriesController_update
      parameters:
      - name: organizationId
        required: true
        in: path
        schema:
          type: string
      - name: series
        required: true
        in: path
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateSeriesDto'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SeriesResponseDto'
        '404':
          description: SERIES_NOT_FOUND
      security:
      - bearer: []
      summary: Update the next folio of a series
      tags:
      - Series
    delete:
      description: Only owners and admins. A default series cannot be deleted (SERIES_IS_DEFAULT).
      operationId: SeriesController_remove
      parameters:
      - name: organizationId
        required: true
        in: path
        schema:
          type: string
      - name: series
        required: true
        in: path
        schema:
          type: string
      responses:
        '204':
          description: ''
        '404':
          description: SERIES_NOT_FOUND
        '409':
          description: SERIES_IS_DEFAULT
      security:
      - bearer: []
      summary: Delete a series
      tags:
      - Series
components:
  schemas:
    UpdateSeriesDto:
      type: object
      properties:
        nextFolio:
          type: number
          description: Siguiente folio de producción
          example: 100
        nextFolioTest:
          type: number
          description: Siguiente folio de sandbox
          example: 100
    SeriesResponseDto:
      type: object
      properties:
        series:
          type: string
          example: A
        nextFolio:
          type: number
          example: 1
        nextFolioTest:
          type: number
          example: 1
        defaultFor:
          type: array
          example:
          - I
          - T
          items:
            type: string
            enum:
            - I
            - E
            - T
            - P
      required:
      - series
      - nextFolio
      - nextFolioTest
      - defaultFor
    CreateSeriesDto:
      type: object
      properties:
        series:
          type: string
          description: Nombre de la serie (1 a 25 caracteres, sin |). Se guarda en mayúsculas.
          example: FAC
        nextFolio:
          type: number
          description: Siguiente folio de producción
          example: 1
        nextFolioTest:
          type: number
          description: Siguiente folio de sandbox
          example: 1
      required:
      - series
    SetDefaultSeriesDto:
      type: object
      properties:
        type:
          type: string
          description: Tipo de comprobante
          enum:
          - I
          - E
          - T
          - P
          example: E
        series:
          type: string
          description: Serie existente que será la predeterminada
          example: FAC
      required:
      - type
      - series
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http
    apiKey:
      type: apiKey
      in: header
      name: X-API-Key
      description: API Key for authentication (sk_test_... for sandbox, sk_live_... for production)
x-ai-agent-friendly: true