{ "opencollection": "1.0.0", "info": { "name": "Huntress API Reference Accounts Invoices API", "version": "1.0.0" }, "items": [ { "info": { "name": "Invoices", "type": "folder" }, "items": [ { "info": { "name": "List Account Invoices", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/invoices", "params": [ { "name": "limit", "value": "", "type": "query", "description": "Max number of resources returned in a paged collection. Defaults to 10, with a minimum of 1 and maximum 500." }, { "name": "page_token", "value": "", "type": "query", "description": "Token used to request the next page in paginated results. Defaults to 'null'" }, { "name": "sort_field", "value": "", "type": "query", "description": "Field to sort by. Defaults to 'id'." }, { "name": "sort_direction", "value": "", "type": "query", "description": "Sort direction. Defaults to 'desc'." }, { "name": "status", "value": "", "type": "query", "description": "Filter by status. One of open, paid, failed, partial_refund, full_refund, draft, voided, processing" }, { "name": "has_usage", "value": "", "type": "query", "description": "When true, returns only invoices with usage (subscription-cycle invoices). When false, returns only invoices without usage (manually-created invoices)." } ] }, "docs": "Shows Invoices associated with your account.\n\n**Note:** This endpoint will also return a `pagination` key on the root level. \nPlease refer to the [pagination section](https://api.huntress.io/docs#pagination) within our docs for more information.\n" }, { "info": { "name": "Get Account Invoice", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/invoices/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Invoice ID within Huntress account" } ] }, "docs": "Shows details on a single Invoice associated with your account." } ] } ], "bundled": true }