naftiko: 1.0.0-alpha2 info: label: Workday Financials Workday Financial Accounting API — Accounting Periods description: 'Workday Financials Workday Financial Accounting API — Accounting Periods. 3 operations. Lead operation: Workday Financials List accounting periods. Self-contained Naftiko capability covering one Workday Financials business surface.' tags: - Workday Financials - Accounting Periods created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: WORKDAY_FINANCIALS_API_KEY: WORKDAY_FINANCIALS_API_KEY capability: consumes: - type: http namespace: financial-accounting-accounting-periods baseUri: https://{tenant}.workday.com/api/financialAccounting/v38.2 description: Workday Financials Workday Financial Accounting API — Accounting Periods business capability. Self-contained, no shared references. resources: - name: accountingPeriods path: /accountingPeriods operations: - name: listaccountingperiods method: GET description: Workday Financials List accounting periods outputRawFormat: json outputParameters: - name: result type: object value: $. - name: accountingPeriods-id path: /accountingPeriods/{id} operations: - name: getaccountingperiod method: GET description: Workday Financials Get an accounting period outputRawFormat: json outputParameters: - name: result type: object value: $. - name: accountingPeriods-id-close path: /accountingPeriods/{id}/close operations: - name: closeaccountingperiod method: POST description: Workday Financials Close an accounting period outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.WORKDAY_FINANCIALS_API_KEY}}' exposes: - type: rest namespace: financial-accounting-accounting-periods-rest port: 8080 description: REST adapter for Workday Financials Workday Financial Accounting API — Accounting Periods. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/accountingperiods name: accountingperiods description: REST surface for accountingPeriods. operations: - method: GET name: listaccountingperiods description: Workday Financials List accounting periods call: financial-accounting-accounting-periods.listaccountingperiods outputParameters: - type: object mapping: $. - path: /v1/accountingperiods/{id} name: accountingperiods-id description: REST surface for accountingPeriods-id. operations: - method: GET name: getaccountingperiod description: Workday Financials Get an accounting period call: financial-accounting-accounting-periods.getaccountingperiod outputParameters: - type: object mapping: $. - path: /v1/accountingperiods/{id}/close name: accountingperiods-id-close description: REST surface for accountingPeriods-id-close. operations: - method: POST name: closeaccountingperiod description: Workday Financials Close an accounting period call: financial-accounting-accounting-periods.closeaccountingperiod outputParameters: - type: object mapping: $. - type: mcp namespace: financial-accounting-accounting-periods-mcp port: 9090 transport: http description: MCP adapter for Workday Financials Workday Financial Accounting API — Accounting Periods. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: workday-financials-list-accounting-periods description: Workday Financials List accounting periods hints: readOnly: true destructive: false idempotent: true call: financial-accounting-accounting-periods.listaccountingperiods outputParameters: - type: object mapping: $. - name: workday-financials-get-accounting-period description: Workday Financials Get an accounting period hints: readOnly: true destructive: false idempotent: true call: financial-accounting-accounting-periods.getaccountingperiod outputParameters: - type: object mapping: $. - name: workday-financials-close-accounting-period description: Workday Financials Close an accounting period hints: readOnly: false destructive: false idempotent: false call: financial-accounting-accounting-periods.closeaccountingperiod outputParameters: - type: object mapping: $.