{ "opencollection": "1.0.0", "info": { "name": "SAP AI Core Addresses Invoices API", "version": "2.0" }, "request": { "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://{subdomain}.authentication.{region}.hana.ondemand.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Invoices", "type": "folder" }, "items": [ { "info": { "name": "Sap List Ar Invoices", "type": "http" }, "http": { "method": "GET", "url": "https://api.ai.{region}.cfapps.{landscape}.hana.ondemand.com/v2/Invoices", "params": [ { "name": "$select", "value": "", "type": "query", "description": "Comma-separated list of fields to include in the response" }, { "name": "$filter", "value": "", "type": "query", "description": "OData filter expression" }, { "name": "$top", "value": "", "type": "query", "description": "Maximum number of records to return" }, { "name": "$skip", "value": "", "type": "query", "description": "Number of records to skip" } ] }, "docs": "Retrieves accounts receivable invoices with OData query support." }, { "info": { "name": "Sap Create an Ar Invoice", "type": "http" }, "http": { "method": "POST", "url": "https://api.ai.{region}.cfapps.{landscape}.hana.ondemand.com/v2/Invoices", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new accounts receivable invoice with line items." } ] } ], "bundled": true }