{ "opencollection": "1.0.0", "info": { "name": "Everhour Clients Invoices API", "version": "1.2" }, "request": { "auth": { "type": "apikey", "key": "X-Api-Key", "value": "{{X-Api-Key}}", "placement": "header" } }, "items": [ { "info": { "name": "Invoices", "type": "folder" }, "items": [ { "info": { "name": "Get all invoices", "type": "http" }, "http": { "method": "GET", "url": "https://api.everhour.com/invoices" }, "docs": "Returns all invoices." }, { "info": { "name": "Get invoice", "type": "http" }, "http": { "method": "GET", "url": "https://api.everhour.com/invoices/:invoiceId", "params": [ { "name": "invoiceId", "value": "", "type": "path", "description": "Invoice ID." } ] }, "docs": "Returns a single invoice by ID." }, { "info": { "name": "Update invoice", "type": "http" }, "http": { "method": "PUT", "url": "https://api.everhour.com/invoices/:invoiceId", "params": [ { "name": "invoiceId", "value": "", "type": "path", "description": "Invoice ID." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates invoice details, tax, discount, and line items." }, { "info": { "name": "Delete invoice", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.everhour.com/invoices/:invoiceId", "params": [ { "name": "invoiceId", "value": "", "type": "path", "description": "Invoice ID." } ] }, "docs": "Deletes an invoice." }, { "info": { "name": "Create invoice", "type": "http" }, "http": { "method": "POST", "url": "https://api.everhour.com/clients/:clientId/invoices", "params": [ { "name": "clientId", "value": "", "type": "path", "description": "Client ID." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates an invoice for a client from uninvoiced time and expenses within a date range." }, { "info": { "name": "Refresh invoice line items", "type": "http" }, "http": { "method": "POST", "url": "https://api.everhour.com/invoices/:invoiceId/reset-time", "params": [ { "name": "invoiceId", "value": "", "type": "path", "description": "Invoice ID." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Rebuilds the invoice line items from current time and expense data." }, { "info": { "name": "Mark invoice as draft, sent, or paid", "type": "http" }, "http": { "method": "POST", "url": "https://api.everhour.com/invoices/:invoiceId/:status", "params": [ { "name": "invoiceId", "value": "", "type": "path", "description": "Invoice ID." }, { "name": "status", "value": "", "type": "path", "description": "Target invoice status." } ] }, "docs": "Transitions an invoice between draft, sent, and paid statuses." }, { "info": { "name": "Export invoice to Xero, QuickBooks, or FreshBooks", "type": "http" }, "http": { "method": "POST", "url": "https://api.everhour.com/invoices/:invoiceId/export", "params": [ { "name": "invoiceId", "value": "", "type": "path", "description": "Invoice ID." } ] }, "docs": "Exports the invoice to a connected accounting integration." } ] } ], "bundled": true }