naftiko: 1.0.0-alpha2 info: label: Bunq user/{userID}/export-annual-overview — User description: 'Bunq user/{userID}/export-annual-overview — User. 5 operations. Lead operation: User. Self-contained Naftiko capability covering one Bunq business surface.' tags: - Bunq - User created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: BUNQ_API_KEY: BUNQ_API_KEY capability: consumes: - type: http namespace: user-userid-export-annual-overview-user baseUri: https://public-api.sandbox.bunq.com/{basePath} description: Bunq user/{userID}/export-annual-overview — User business capability. Self-contained, no shared references. resources: - name: user-userID-export-annual-overview path: /user/{userID}/export-annual-overview operations: - name: createexportannualoverviewforuser method: POST description: Create a new annual overview for a specific year. An overview can be generated only for a past year. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: userID in: path type: integer required: true - name: body in: body type: object description: Request body (JSON). required: true - name: listallexportannualoverviewforuser method: GET description: List all the annual overviews for a user. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: userID in: path type: integer required: true - name: user-userID-export-annual-overview-export-annual-overviewID-content path: /user/{userID}/export-annual-overview/{export-annual-overviewID}/content operations: - name: listallcontentforuserexportannualoverview method: GET description: Used to retrieve the raw content of an annual overview. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: userID in: path type: integer required: true - name: export-annual-overviewID in: path type: integer required: true - name: user-userID-export-annual-overview-itemId path: /user/{userID}/export-annual-overview/{itemId} operations: - name: readexportannualoverviewforuser method: GET description: Get an annual overview for a user by its id. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: userID in: path type: integer required: true - name: itemId in: path type: integer required: true - name: deleteexportannualoverviewforuser method: DELETE description: Used to create new and read existing annual overviews of all the user's monetary accounts. Once created, annual overviews can be downloaded in PDF format via the 'export-annual-overview/{id}/content' endpoint. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: userID in: path type: integer required: true - name: itemId in: path type: integer required: true exposes: - type: rest namespace: user-userid-export-annual-overview-user-rest port: 8080 description: REST adapter for Bunq user/{userID}/export-annual-overview — User. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/user/{userid}/export-annual-overview name: user-userid-export-annual-overview description: REST surface for user-userID-export-annual-overview. operations: - method: POST name: createexportannualoverviewforuser description: Create a new annual overview for a specific year. An overview can be generated only for a past year. call: user-userid-export-annual-overview-user.createexportannualoverviewforuser with: userID: rest.userID body: rest.body outputParameters: - type: object mapping: $. - method: GET name: listallexportannualoverviewforuser description: List all the annual overviews for a user. call: user-userid-export-annual-overview-user.listallexportannualoverviewforuser with: userID: rest.userID outputParameters: - type: object mapping: $. - path: /v1/user/{userid}/export-annual-overview/{export-annual-overviewid}/content name: user-userid-export-annual-overview-export-annual-overviewid-content description: REST surface for user-userID-export-annual-overview-export-annual-overviewID-content. operations: - method: GET name: listallcontentforuserexportannualoverview description: Used to retrieve the raw content of an annual overview. call: user-userid-export-annual-overview-user.listallcontentforuserexportannualoverview with: userID: rest.userID export-annual-overviewID: rest.export-annual-overviewID outputParameters: - type: object mapping: $. - path: /v1/user/{userid}/export-annual-overview/{itemid} name: user-userid-export-annual-overview-itemid description: REST surface for user-userID-export-annual-overview-itemId. operations: - method: GET name: readexportannualoverviewforuser description: Get an annual overview for a user by its id. call: user-userid-export-annual-overview-user.readexportannualoverviewforuser with: userID: rest.userID itemId: rest.itemId outputParameters: - type: object mapping: $. - method: DELETE name: deleteexportannualoverviewforuser description: Used to create new and read existing annual overviews of all the user's monetary accounts. Once created, annual overviews can be downloaded in PDF format via the 'export-annual-overview/{id}/content' endpoint. call: user-userid-export-annual-overview-user.deleteexportannualoverviewforuser with: userID: rest.userID itemId: rest.itemId outputParameters: - type: object mapping: $. - type: mcp namespace: user-userid-export-annual-overview-user-mcp port: 9090 transport: http description: MCP adapter for Bunq user/{userID}/export-annual-overview — User. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-new-annual-overview-specific description: Create a new annual overview for a specific year. An overview can be generated only for a past year. hints: readOnly: false destructive: false idempotent: false call: user-userid-export-annual-overview-user.createexportannualoverviewforuser with: userID: tools.userID body: tools.body outputParameters: - type: object mapping: $. - name: list-all-annual-overviews-user description: List all the annual overviews for a user. hints: readOnly: true destructive: false idempotent: true call: user-userid-export-annual-overview-user.listallexportannualoverviewforuser with: userID: tools.userID outputParameters: - type: object mapping: $. - name: used-retrieve-raw-content-annual description: Used to retrieve the raw content of an annual overview. hints: readOnly: true destructive: false idempotent: true call: user-userid-export-annual-overview-user.listallcontentforuserexportannualoverview with: userID: tools.userID export-annual-overviewID: tools.export-annual-overviewID outputParameters: - type: object mapping: $. - name: get-annual-overview-user-its description: Get an annual overview for a user by its id. hints: readOnly: true destructive: false idempotent: true call: user-userid-export-annual-overview-user.readexportannualoverviewforuser with: userID: tools.userID itemId: tools.itemId outputParameters: - type: object mapping: $. - name: used-create-new-and-read description: Used to create new and read existing annual overviews of all the user's monetary accounts. Once created, annual overviews can be downloaded in PDF format via the 'export-annual-overview/{id}/content' endpoint. hints: readOnly: false destructive: true idempotent: true call: user-userid-export-annual-overview-user.deleteexportannualoverviewforuser with: userID: tools.userID itemId: tools.itemId outputParameters: - type: object mapping: $.