naftiko: 1.0.0-alpha2 info: label: Workday Finance Financial Management API — Journal Entries description: 'Workday Finance Financial Management API — Journal Entries. 3 operations. Lead operation: List Journal Entries. Self-contained Naftiko capability covering one Workday Finance business surface.' tags: - Workday Finance - Journal Entries created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: WORKDAY_FINANCE_API_KEY: WORKDAY_FINANCE_API_KEY capability: consumes: - type: http namespace: financial-management-journal-entries baseUri: https://wd2-impl-services1.workday.com/ccx/api/financial-management/v41.2/{tenant} description: Workday Finance Financial Management API — Journal Entries business capability. Self-contained, no shared references. resources: - name: journalEntries path: /journalEntries operations: - name: listjournalentries method: GET description: List Journal Entries outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: period in: query type: string description: Filter by accounting period - name: account in: query type: string description: Filter by account ID - name: createjournalentry method: POST description: Create Journal Entry outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: journalEntries-journalEntryId path: /journalEntries/{journalEntryId} operations: - name: getjournalentry method: GET description: Get Journal Entry outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.WORKDAY_FINANCE_API_KEY}}' exposes: - type: rest namespace: financial-management-journal-entries-rest port: 8080 description: REST adapter for Workday Finance Financial Management API — Journal Entries. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/journalentries name: journalentries description: REST surface for journalEntries. operations: - method: GET name: listjournalentries description: List Journal Entries call: financial-management-journal-entries.listjournalentries with: period: rest.period account: rest.account outputParameters: - type: object mapping: $. - method: POST name: createjournalentry description: Create Journal Entry call: financial-management-journal-entries.createjournalentry with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/journalentries/{journalentryid} name: journalentries-journalentryid description: REST surface for journalEntries-journalEntryId. operations: - method: GET name: getjournalentry description: Get Journal Entry call: financial-management-journal-entries.getjournalentry outputParameters: - type: object mapping: $. - type: mcp namespace: financial-management-journal-entries-mcp port: 9090 transport: http description: MCP adapter for Workday Finance Financial Management API — Journal Entries. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-journal-entries description: List Journal Entries hints: readOnly: true destructive: false idempotent: true call: financial-management-journal-entries.listjournalentries with: period: tools.period account: tools.account outputParameters: - type: object mapping: $. - name: create-journal-entry description: Create Journal Entry hints: readOnly: false destructive: false idempotent: false call: financial-management-journal-entries.createjournalentry with: body: tools.body outputParameters: - type: object mapping: $. - name: get-journal-entry description: Get Journal Entry hints: readOnly: true destructive: false idempotent: true call: financial-management-journal-entries.getjournalentry outputParameters: - type: object mapping: $.