naftiko: 1.0.0-alpha2 info: label: Oracle EBS Financial Services API — General Ledger description: 'Oracle EBS Financial Services API — General Ledger. 2 operations. Lead operation: Retrieve Journal Entries. Self-contained Naftiko capability covering one Oracle E Business Suite business surface.' tags: - Oracle E Business Suite - General Ledger created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ORACLE_E_BUSINESS_SUITE_API_KEY: ORACLE_E_BUSINESS_SUITE_API_KEY capability: consumes: - type: http namespace: financial-services-general-ledger baseUri: https://{instance}.oracle.com/webservices/rest description: Oracle EBS Financial Services API — General Ledger business capability. Self-contained, no shared references. resources: - name: gl-journals path: /gl/journals operations: - name: getjournals method: GET description: Retrieve Journal Entries outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: ledgerId in: query type: integer description: Ledger identifier - name: periodName in: query type: string description: Accounting period name - name: journalCategory in: query type: string description: Journal category name - name: status in: query type: string description: Journal status - name: createjournal method: POST description: Create a Journal Entry outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: apikey key: accessToken value: '{{env.ORACLE_E_BUSINESS_SUITE_API_KEY}}' placement: cookie exposes: - type: rest namespace: financial-services-general-ledger-rest port: 8080 description: REST adapter for Oracle EBS Financial Services API — General Ledger. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/gl/journals name: gl-journals description: REST surface for gl-journals. operations: - method: GET name: getjournals description: Retrieve Journal Entries call: financial-services-general-ledger.getjournals with: ledgerId: rest.ledgerId periodName: rest.periodName journalCategory: rest.journalCategory status: rest.status outputParameters: - type: object mapping: $. - method: POST name: createjournal description: Create a Journal Entry call: financial-services-general-ledger.createjournal with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: financial-services-general-ledger-mcp port: 9090 transport: http description: MCP adapter for Oracle EBS Financial Services API — General Ledger. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: retrieve-journal-entries description: Retrieve Journal Entries hints: readOnly: true destructive: false idempotent: true call: financial-services-general-ledger.getjournals with: ledgerId: tools.ledgerId periodName: tools.periodName journalCategory: tools.journalCategory status: tools.status outputParameters: - type: object mapping: $. - name: create-journal-entry description: Create a Journal Entry hints: readOnly: false destructive: false idempotent: false call: financial-services-general-ledger.createjournal with: body: tools.body outputParameters: - type: object mapping: $.