naftiko: 1.0.0-alpha2 info: label: Apideck Accounting API — Bills description: 'Apideck Accounting API — Bills. 5 operations. Lead operation: Apideck List Bills. Self-contained Naftiko capability covering one Apideck business surface.' tags: - Apideck - Bills created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: APIDECK_API_KEY: APIDECK_API_KEY capability: consumes: - type: http namespace: accounting-bills baseUri: https://unify.apideck.com description: Apideck Accounting API — Bills business capability. Self-contained, no shared references. resources: - name: accounting-bills path: /accounting/bills operations: - name: billsall method: GET description: Apideck List Bills outputRawFormat: json outputParameters: - name: result type: object value: $. - name: billsadd method: POST description: Apideck Create Bill outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: accounting-bills-id path: /accounting/bills/{id} operations: - name: billsone method: GET description: Apideck Get Bill outputRawFormat: json outputParameters: - name: result type: object value: $. - name: billsupdate method: PATCH description: Apideck Update Bill outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: billsdelete method: DELETE description: Apideck Delete Bill outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: Authorization value: '{{env.APIDECK_API_KEY}}' placement: header exposes: - type: rest namespace: accounting-bills-rest port: 8080 description: REST adapter for Apideck Accounting API — Bills. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/accounting/bills name: accounting-bills description: REST surface for accounting-bills. operations: - method: GET name: billsall description: Apideck List Bills call: accounting-bills.billsall outputParameters: - type: object mapping: $. - method: POST name: billsadd description: Apideck Create Bill call: accounting-bills.billsadd with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/accounting/bills/{id} name: accounting-bills-id description: REST surface for accounting-bills-id. operations: - method: GET name: billsone description: Apideck Get Bill call: accounting-bills.billsone outputParameters: - type: object mapping: $. - method: PATCH name: billsupdate description: Apideck Update Bill call: accounting-bills.billsupdate with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: billsdelete description: Apideck Delete Bill call: accounting-bills.billsdelete outputParameters: - type: object mapping: $. - type: mcp namespace: accounting-bills-mcp port: 9090 transport: http description: MCP adapter for Apideck Accounting API — Bills. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: apideck-list-bills description: Apideck List Bills hints: readOnly: true destructive: false idempotent: true call: accounting-bills.billsall outputParameters: - type: object mapping: $. - name: apideck-create-bill description: Apideck Create Bill hints: readOnly: false destructive: false idempotent: false call: accounting-bills.billsadd with: body: tools.body outputParameters: - type: object mapping: $. - name: apideck-get-bill description: Apideck Get Bill hints: readOnly: true destructive: false idempotent: true call: accounting-bills.billsone outputParameters: - type: object mapping: $. - name: apideck-update-bill description: Apideck Update Bill hints: readOnly: false destructive: false idempotent: true call: accounting-bills.billsupdate with: body: tools.body outputParameters: - type: object mapping: $. - name: apideck-delete-bill description: Apideck Delete Bill hints: readOnly: false destructive: true idempotent: true call: accounting-bills.billsdelete outputParameters: - type: object mapping: $.