CompTeam Accounting API

The Accounting API from CompTeam — 14 operation(s) for accounting.

GitHub OpenAPI

Operations 14

GET /api/v1/accounting/entries List Entries #
GET /api/v1/accounting/account-ledger Get Account Ledger #
GET /api/v1/accounting/account-ledger/{account_code} Get Account Ledger Account #
GET /api/v1/accounting/balances Get Balances #
GET /api/v1/accounting/accounts List Accounts #
POST /api/v1/accounting/reconcile-stripe-payouts Reconcile Stripe Payouts #
POST /api/v1/accounting/manual-entry Post Manual Entry #
POST /api/v1/accounting/close-fiscal-year Close Fiscal Year #
PATCH /api/v1/accounting/lines/{line_id}/bank-reconciled Set Bank Reconciled #
GET /api/v1/accounting/revenue-graph Get Revenue Graph #
GET /api/v1/accounting/attrition-graph Get Attrition Graph #
GET /api/v1/accounting/attrition-events Get Attrition Events #
GET /api/v1/accounting/leads-graph Get Leads Graph #
GET /api/v1/accounting/club-development Get Club Development #

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/compteam-io:compteam-io-accounting-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

compteam-io-accounting-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Compteam Io Accounting API
  version: 0.1.0
  description: 'Operations tagged Accounting across 2 of this provider''s published API definitions: compteam-io-openapi.json, compteam-io-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.compteam.io
  description: C-TEAM API host serving this spec and its Swagger UI at /docs
tags:
- name: Accounting
paths:
  /api/v1/accounting/entries:
    get:
      tags:
      - Accounting
      summary: List Entries
      operationId: list_entries_api_v1_accounting_entries_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /api/v1/accounting/account-ledger:
    get:
      tags:
      - Accounting
      summary: Get Account Ledger
      operationId: get_account_ledger_api_v1_accounting_account_ledger_get
      security:
      - HTTPBearer: []
      parameters:
      - name: year
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
            maximum: 3000
            minimum: 1900
          - type: 'null'
          title: Year
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/accounting/account-ledger/{account_code}:
    get:
      tags:
      - Accounting
      summary: Get Account Ledger Account
      operationId: get_account_ledger_account_api_v1_accounting_account_ledger__account_code__get
      security:
      - HTTPBearer: []
      parameters:
      - name: account_code
        in: path
        required: true
        schema:
          type: string
          title: Account Code
      - name: year
        in: query
        required: true
        schema:
          type: integer
          maximum: 3000
          minimum: 1900
          title: Year
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/accounting/balances:
    get:
      tags:
      - Accounting
      summary: Get Balances
      operationId: get_balances_api_v1_accounting_balances_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /api/v1/accounting/accounts:
    get:
      tags:
      - Accounting
      summary: List Accounts
      operationId: list_accounts_api_v1_accounting_accounts_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /api/v1/accounting/reconcile-stripe-payouts:
    post:
      tags:
      - Accounting
      summary: Reconcile Stripe Payouts
      operationId: reconcile_stripe_payouts_api_v1_accounting_reconcile_stripe_payouts_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /api/v1/accounting/manual-entry:
    post:
      tags:
      - Accounting
      summary: Post Manual Entry
      operationId: post_manual_entry_api_v1_accounting_manual_entry_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ManualEntryBody'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/v1/accounting/close-fiscal-year:
    post:
      tags:
      - Accounting
      summary: Close Fiscal Year
      operationId: close_fiscal_year_api_v1_accounting_close_fiscal_year_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CloseFiscalYearBody'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/v1/accounting/lines/{line_id}/bank-reconciled:
    patch:
      tags:
      - Accounting
      summary: Set Bank Reconciled
      operationId: set_bank_reconciled_api_v1_accounting_lines__line_id__bank_reconciled_patch
      security:
      - HTTPBearer: []
      parameters:
      - name: line_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Line Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BankReconciledBody'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/accounting/revenue-graph:
    get:
      tags:
      - Accounting
      summary: Get Revenue Graph
      operationId: get_revenue_graph_api_v1_accounting_revenue_graph_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /api/v1/accounting/attrition-graph:
    get:
      tags:
      - Accounting
      summary: Get Attrition Graph
      operationId: get_attrition_graph_api_v1_accounting_attrition_graph_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /api/v1/accounting/attrition-events:
    get:
      tags:
      - Accounting
      summary: Get Attrition Events
      operationId: get_attrition_events_api_v1_accounting_attrition_events_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /api/v1/accounting/leads-graph:
    get:
      tags:
      - Accounting
      summary: Get Leads Graph
      operationId: get_leads_graph_api_v1_accounting_leads_graph_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /api/v1/accounting/club-development:
    get:
      tags:
      - Accounting
      summary: Get Club Development
      operationId: get_club_development_api_v1_accounting_club_development_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ManualEntryBody:
      properties:
        description:
          type: string
          minLength: 1
          title: Description
        lines:
          items:
            $ref: '#/components/schemas/ManualEntryLine'
          type: array
          minItems: 2
          title: Lines
        entry_date:
          anyOf:
          - type: string
            format: date
          - type: 'null'
          title: Entry Date
      type: object
      required:
      - description
      - lines
      title: ManualEntryBody
    CloseFiscalYearBody:
      properties:
        year:
          anyOf:
          - type: integer
            maximum: 3000.0
            minimum: 1900.0
          - type: 'null'
          title: Year
      type: object
      title: CloseFiscalYearBody
    BankReconciledBody:
      properties:
        reconciled:
          type: boolean
          title: Reconciled
      type: object
      required:
      - reconciled
      title: BankReconciledBody
    ManualEntryLine:
      properties:
        account_code:
          type: string
          title: Account Code
        debit:
          anyOf:
          - type: number
            minimum: 0.0
          - type: string
          title: Debit
          default: '0'
        credit:
          anyOf:
          - type: number
            minimum: 0.0
          - type: string
          title: Credit
          default: '0'
        memo:
          anyOf:
          - type: string
          - type: 'null'
          title: Memo
      type: object
      required:
      - account_code
      title: ManualEntryLine
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer
x-refined-from:
- compteam-io-openapi.json
- compteam-io-openapi.yml