openapi: 3.1.0 info: title: Oracle General Ledger REST Accounting Periods Journal Batches API description: 'Oracle Fusion Cloud General Ledger REST API. Resources are exposed under `/fscmRestApi/resources/11.13.18.05/{resource}` on each customer''s Oracle Cloud instance. Authentication uses HTTP Basic Authentication or OAuth 2.0 Bearer tokens. This spec documents the General Ledger surface: journal batches, ledger balances, currency rates, accounting period status, ledger options, chart of accounts filters, budgetary control, intercompany transactions, and ERP integrations. ' version: 11.13.18.05 contact: name: Oracle Support url: https://support.oracle.com servers: - url: https://{instance}.oraclecloud.com/fscmRestApi/resources/11.13.18.05 description: Customer Oracle Cloud instance. variables: instance: default: example description: Customer-specific Oracle Cloud instance. security: - basicAuth: [] - bearerAuth: [] tags: - name: Journal Batches paths: /journalBatches: get: tags: - Journal Batches summary: List journal batches operationId: listJournalBatches parameters: - $ref: '#/components/parameters/Limit' - $ref: '#/components/parameters/Offset' - $ref: '#/components/parameters/Q' responses: '200': description: Journal batches collection. content: application/json: schema: $ref: '#/components/schemas/ResourceCollection' '401': $ref: '#/components/responses/Unauthorized' /journalBatches/{JournalBatchesUniqID}: parameters: - name: JournalBatchesUniqID in: path required: true schema: type: string get: tags: - Journal Batches summary: Get a journal batch operationId: getJournalBatch responses: '200': description: Journal batch resource. content: application/json: schema: type: object additionalProperties: true patch: tags: - Journal Batches summary: Update a journal batch operationId: updateJournalBatch requestBody: required: true content: application/json: schema: type: object additionalProperties: true responses: '200': description: Updated journal batch. content: application/json: schema: type: object additionalProperties: true delete: tags: - Journal Batches summary: Delete a journal batch operationId: deleteJournalBatch responses: '204': description: Deleted. components: parameters: Offset: name: offset in: query required: false schema: type: integer default: 0 Q: name: q in: query required: false schema: type: string description: Oracle filter expression. Limit: name: limit in: query required: false schema: type: integer default: 25 maximum: 500 schemas: ResourceCollection: type: object properties: items: type: array items: type: object additionalProperties: true count: type: integer hasMore: type: boolean limit: type: integer offset: type: integer links: type: array items: $ref: '#/components/schemas/Link' Link: type: object properties: rel: type: string href: type: string name: type: string kind: type: string ErrorResponse: type: object properties: title: type: string status: type: integer detail: type: string o:errorCode: type: string responses: Unauthorized: description: Missing or invalid credentials. content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' securitySchemes: basicAuth: type: http scheme: basic description: HTTP Basic Authentication with Oracle Cloud user credentials. bearerAuth: type: http scheme: bearer bearerFormat: JWT description: OAuth 2.0 Bearer token from Oracle IDCS / IAM. externalDocs: description: Oracle General Ledger REST API Documentation url: https://docs.oracle.com/en/cloud/saas/financials/26a/farfa/index.html