Rithum · Capability

Dsco Platform API — Invoices

Dsco Platform API — Invoices. 1 operations. Lead operation: Create Invoice. Self-contained Naftiko capability covering one Rithum business surface.

Run with Naftiko RithumInvoices

What You Can Do

POST
Suppliercreateinvoice — Create Invoice
/v1/supplier/invoice-in

MCP Tools

create-invoice

Create Invoice

Capability Spec

dsco-platform-invoices.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Dsco Platform API — Invoices
  description: 'Dsco Platform API — Invoices. 1 operations. Lead operation: Create Invoice. Self-contained Naftiko capability
    covering one Rithum business surface.'
  tags:
  - Rithum
  - Invoices
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    RITHUM_API_KEY: RITHUM_API_KEY
capability:
  consumes:
  - type: http
    namespace: dsco-platform-invoices
    baseUri: https://api.dsco.io/api/v3
    description: Dsco Platform API — Invoices business capability. Self-contained, no shared references.
    resources:
    - name: supplier-invoice-in
      path: /supplier/invoice-in
      operations:
      - name: suppliercreateinvoice
        method: POST
        description: Create Invoice
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.RITHUM_API_KEY}}'
  exposes:
  - type: rest
    namespace: dsco-platform-invoices-rest
    port: 8080
    description: REST adapter for Dsco Platform API — Invoices. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/supplier/invoice-in
      name: supplier-invoice-in
      description: REST surface for supplier-invoice-in.
      operations:
      - method: POST
        name: suppliercreateinvoice
        description: Create Invoice
        call: dsco-platform-invoices.suppliercreateinvoice
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: dsco-platform-invoices-mcp
    port: 9090
    transport: http
    description: MCP adapter for Dsco Platform API — Invoices. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: create-invoice
      description: Create Invoice
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: dsco-platform-invoices.suppliercreateinvoice
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.