{
  "opencollection": "1.0.0",
  "info": {
    "name": "Oracle EBS e-Commerce Gateway Accounts Payable API",
    "version": "12.2.0"
  },
  "items": [
    {
      "info": {
        "name": "Accounts Payable",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve Ap Invoices",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{instance}.oracle.com/webservices/rest/ap/invoices",
            "params": [
              {
                "name": "invoiceId",
                "value": "500123",
                "type": "query",
                "description": "Invoice identifier"
              },
              {
                "name": "invoiceNum",
                "value": "example_value",
                "type": "query",
                "description": "Invoice number"
              },
              {
                "name": "vendorId",
                "value": "500123",
                "type": "query",
                "description": "Supplier/vendor identifier"
              },
              {
                "name": "invoiceDateFrom",
                "value": "2026-01-15",
                "type": "query",
                "description": "Invoice date range start (YYYY-MM-DD)"
              },
              {
                "name": "invoiceDateTo",
                "value": "2026-01-15",
                "type": "query",
                "description": "Invoice date range end (YYYY-MM-DD)"
              },
              {
                "name": "invoiceStatus",
                "value": "APPROVED",
                "type": "query",
                "description": "Invoice approval status"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Maximum number of records to return"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Number of records to skip for pagination"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "accessToken",
              "value": "{{accessToken}}",
              "placement": "query"
            }
          },
          "docs": "Retrieves Accounts Payable invoices. Maps to the AP_INVOICES_ALL and AP_INVOICE_LINES_ALL tables through the AP_INVOICES_PKG PL/SQL API."
        },
        {
          "info": {
            "name": "Create an Ap Invoice",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{instance}.oracle.com/webservices/rest/ap/invoices",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "accessToken",
              "value": "{{accessToken}}",
              "placement": "query"
            }
          },
          "docs": "Creates a new Accounts Payable invoice. Uses the AP_INVOICES_INTERFACE and AP_INVOICE_LINES_INTERFACE tables, then initiates the Payables Open Interface Import program."
        },
        {
          "info": {
            "name": "Retrieve a Specific Ap Invoice",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{instance}.oracle.com/webservices/rest/ap/invoices/:invoiceId",
            "params": [
              {
                "name": "invoiceId",
                "value": "500123",
                "type": "path"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "accessToken",
              "value": "{{accessToken}}",
              "placement": "query"
            }
          },
          "docs": "Retrieves an Accounts Payable invoice by its identifier."
        },
        {
          "info": {
            "name": "Retrieve Ap Payments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{instance}.oracle.com/webservices/rest/ap/payments",
            "params": [
              {
                "name": "checkId",
                "value": "500123",
                "type": "query",
                "description": "Payment check identifier"
              },
              {
                "name": "vendorId",
                "value": "500123",
                "type": "query",
                "description": "Supplier/vendor identifier"
              },
              {
                "name": "paymentDateFrom",
                "value": "2026-01-15",
                "type": "query",
                "description": "Payment date range start (YYYY-MM-DD)"
              },
              {
                "name": "paymentDateTo",
                "value": "2026-01-15",
                "type": "query",
                "description": "Payment date range end (YYYY-MM-DD)"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Maximum number of records to return"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Number of records to skip for pagination"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "accessToken",
              "value": "{{accessToken}}",
              "placement": "query"
            }
          },
          "docs": "Retrieves Accounts Payable payment records. Maps to the AP_CHECKS_ALL and AP_INVOICE_PAYMENTS_ALL tables."
        }
      ]
    }
  ],
  "bundled": true
}