{ "opencollection": "1.0.0", "info": { "name": "ServiceTitan Accounting Adjustments Invoices API", "version": "2.0.0" }, "request": { "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://auth.servicetitan.io/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Invoices", "type": "folder" }, "items": [ { "info": { "name": "List Invoices", "type": "http" }, "http": { "method": "GET", "url": "https://api.servicetitan.io/accounting/v2/{tenant}/invoices", "params": [ { "name": "page", "value": "", "type": "query" }, { "name": "pageSize", "value": "", "type": "query" }, { "name": "modifiedOnOrAfter", "value": "", "type": "query" }, { "name": "jobId", "value": "", "type": "query" }, { "name": "customerId", "value": "", "type": "query" }, { "name": "batchId", "value": "", "type": "query" } ] }, "docs": "List Invoices" }, { "info": { "name": "Get Invoice", "type": "http" }, "http": { "method": "GET", "url": "https://api.servicetitan.io/accounting/v2/{tenant}/invoices/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Get Invoice" }, { "info": { "name": "Update Invoice", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.servicetitan.io/accounting/v2/{tenant}/invoices/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update Invoice" }, { "info": { "name": "Update Invoice Items", "type": "http" }, "http": { "method": "POST", "url": "https://api.servicetitan.io/accounting/v2/{tenant}/invoices/:id/items", "params": [ { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update Invoice Items" } ] } ], "bundled": true }