{ "opencollection": "1.0.0", "info": { "name": "Sage Accounting Bank Accounts Sales Invoices API", "version": "3.1.0" }, "request": { "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://www.sageone.com/oauth2/auth", "accessTokenUrl": "https://oauth.accounting.sage.com/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Sales Invoices", "type": "folder" }, "items": [ { "info": { "name": "List Sales Invoices", "type": "http" }, "http": { "method": "GET", "url": "https://api.accounting.sage.com/v3.1/sales_invoices", "params": [ { "name": "contact_id", "value": "", "type": "query", "description": "Filter by customer contact ID" }, { "name": "status_id", "value": "", "type": "query" }, { "name": "from_date", "value": "", "type": "query" }, { "name": "to_date", "value": "", "type": "query" }, { "name": "page", "value": "", "type": "query" }, { "name": "items_per_page", "value": "", "type": "query" } ] }, "docs": "Returns a paginated list of sales invoices." }, { "info": { "name": "Create Sales Invoice", "type": "http" }, "http": { "method": "POST", "url": "https://api.accounting.sage.com/v3.1/sales_invoices", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new sales invoice for a customer." }, { "info": { "name": "Get Sales Invoice", "type": "http" }, "http": { "method": "GET", "url": "https://api.accounting.sage.com/v3.1/sales_invoices/:key", "params": [ { "name": "key", "value": "", "type": "path" } ] }, "docs": "Returns a specific sales invoice by ID." }, { "info": { "name": "Update Sales Invoice", "type": "http" }, "http": { "method": "PUT", "url": "https://api.accounting.sage.com/v3.1/sales_invoices/:key", "params": [ { "name": "key", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates a draft sales invoice." }, { "info": { "name": "Delete Sales Invoice", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.accounting.sage.com/v3.1/sales_invoices/:key", "params": [ { "name": "key", "value": "", "type": "path" } ] }, "docs": "Voids or deletes a sales invoice." } ] } ], "bundled": true }