HostBill · Capability

HostBill Admin API — Invoices

HostBill Admin API — Invoices. 1 operations. Lead operation: List invoices. Self-contained Naftiko capability covering one Hostbill business surface.

Run with Naftiko HostbillInvoices

What You Can Do

POST
Getinvoices — List invoices
/v1/admin/api-php-getinvoices

MCP Tools

list-invoices

List invoices

read-only

Capability Spec

hostbill-invoices.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: HostBill Admin API — Invoices
  description: 'HostBill Admin API — Invoices. 1 operations. Lead operation: List invoices. Self-contained Naftiko capability
    covering one Hostbill business surface.'
  tags:
  - Hostbill
  - Invoices
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    HOSTBILL_API_KEY: HOSTBILL_API_KEY
capability:
  consumes:
  - type: http
    namespace: hostbill-invoices
    baseUri: https://yourinstance.hostbillapp.com
    description: HostBill Admin API — Invoices business capability. Self-contained, no shared references.
    resources:
    - name: admin-api.php#getInvoices
      path: /admin/api.php#getInvoices
      operations:
      - name: getinvoices
        method: POST
        description: List invoices
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: call
          in: query
          type: string
          required: true
    authentication:
      type: apikey
      key: api_id
      value: '{{env.HOSTBILL_API_KEY}}'
      placement: query
  exposes:
  - type: rest
    namespace: hostbill-invoices-rest
    port: 8080
    description: REST adapter for HostBill Admin API — Invoices. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/admin/api-php-getinvoices
      name: admin-api-php-getinvoices
      description: REST surface for admin-api.php#getInvoices.
      operations:
      - method: POST
        name: getinvoices
        description: List invoices
        call: hostbill-invoices.getinvoices
        with:
          call: rest.call
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: hostbill-invoices-mcp
    port: 9090
    transport: http
    description: MCP adapter for HostBill Admin API — Invoices. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: list-invoices
      description: List invoices
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: hostbill-invoices.getinvoices
      with:
        call: tools.call
      outputParameters:
      - type: object
        mapping: $.