naftiko: 1.0.0-alpha2 info: label: Apideck Accounting API — Invoices description: 'Apideck Accounting API — Invoices. 5 operations. Lead operation: Apideck List Invoices. Self-contained Naftiko capability covering one Apideck business surface.' tags: - Apideck - Invoices created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: APIDECK_API_KEY: APIDECK_API_KEY capability: consumes: - type: http namespace: accounting-invoices baseUri: https://unify.apideck.com description: Apideck Accounting API — Invoices business capability. Self-contained, no shared references. resources: - name: accounting-invoices path: /accounting/invoices operations: - name: invoicesall method: GET description: Apideck List Invoices outputRawFormat: json outputParameters: - name: result type: object value: $. - name: invoicesadd method: POST description: Apideck Create Invoice outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: accounting-invoices-id path: /accounting/invoices/{id} operations: - name: invoicesone method: GET description: Apideck Get Invoice outputRawFormat: json outputParameters: - name: result type: object value: $. - name: invoicesupdate method: PATCH description: Apideck Update Invoice outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: invoicesdelete method: DELETE description: Apideck Delete Invoice 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-invoices-rest port: 8080 description: REST adapter for Apideck Accounting API — Invoices. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/accounting/invoices name: accounting-invoices description: REST surface for accounting-invoices. operations: - method: GET name: invoicesall description: Apideck List Invoices call: accounting-invoices.invoicesall outputParameters: - type: object mapping: $. - method: POST name: invoicesadd description: Apideck Create Invoice call: accounting-invoices.invoicesadd with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/accounting/invoices/{id} name: accounting-invoices-id description: REST surface for accounting-invoices-id. operations: - method: GET name: invoicesone description: Apideck Get Invoice call: accounting-invoices.invoicesone outputParameters: - type: object mapping: $. - method: PATCH name: invoicesupdate description: Apideck Update Invoice call: accounting-invoices.invoicesupdate with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: invoicesdelete description: Apideck Delete Invoice call: accounting-invoices.invoicesdelete outputParameters: - type: object mapping: $. - type: mcp namespace: accounting-invoices-mcp port: 9090 transport: http description: MCP adapter for Apideck Accounting API — Invoices. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: apideck-list-invoices description: Apideck List Invoices hints: readOnly: true destructive: false idempotent: true call: accounting-invoices.invoicesall outputParameters: - type: object mapping: $. - name: apideck-create-invoice description: Apideck Create Invoice hints: readOnly: false destructive: false idempotent: false call: accounting-invoices.invoicesadd with: body: tools.body outputParameters: - type: object mapping: $. - name: apideck-get-invoice description: Apideck Get Invoice hints: readOnly: true destructive: false idempotent: true call: accounting-invoices.invoicesone outputParameters: - type: object mapping: $. - name: apideck-update-invoice description: Apideck Update Invoice hints: readOnly: false destructive: false idempotent: true call: accounting-invoices.invoicesupdate with: body: tools.body outputParameters: - type: object mapping: $. - name: apideck-delete-invoice description: Apideck Delete Invoice hints: readOnly: false destructive: true idempotent: true call: accounting-invoices.invoicesdelete outputParameters: - type: object mapping: $.