Refresh an invoice’s line items from current time records.
The invoice’s billable items are rebuilt from the underlying time tracked against the invoice’s client over its date range. Useful when time records have been added, edited, or deleted after the invoice was first generated.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Everhour","colors":{"primary":"#4caf50","light":"#4caf50","dark":"#349bfc"},"logo":{"light":"https://mintcdn.com/everhour/GOMjgl5g6oFagMmw/images/everhour_logo.png?fit=max\u0026auto=format\u0026n=GOMjgl5g6oFagMmw\u0026q=85\u0026s=28940543c48e552cfd4a60bbcbde0cd7","dark":"https://mintcdn.com/everhour/GOMjgl5g6oFagMmw/images/everhour_logo.png?fit=max\u0026auto=format\u0026n=GOMjgl5g6oFagMmw\u0026q=85\u0026s=28940543c48e552cfd4a60bbcbde0cd7"},"favicon":"https://mintcdn.com/everhour/Oubq6RbIwdLmh0Ca/images/favicon.png?fit=max\u0026auto=format\u0026n=Oubq6RbIwdLmh0Ca\u0026q=85\u0026s=51bfddc3cb030bf11f79e0b9ffed92cc","api":{"openapi":"openapi.json","playground":{"display":"interactive"}},"background":{"decoration":"windows"},"navbar":{"links":[{"href":"https://support.everhour.com/","label":"Support"}],"primary":{"type":"button","label":"Try Free","href":"https://everhour.com/signup"}},"search":{"prompt":"Search or ask..."},"fonts":{"heading":{"family":"Lato"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"everhour","hasAudioNarration":false,"actualSubdomain":"everhour","customDomains":["developers.everhour.com"],"gitSource":{"type":"github","owner":"everhour","repo":"everhour-developers","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":false},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6af059762cd455113583d8ee","clientVersion":"0.0.4088","searchFilterCounts":[{"language":"default","tag":"API Reference","count":101},{"language":"default","tag":"Endpoints","count":101},{"language":"default","tag":"Documentation","count":16},{"language":"default","tag":"Projects","count":13},{"language":"default","tag":"Expenses","count":12},{"language":"default","tag":"Tasks","count":10},{"language":"default","tag":"Time Off","count":8},{"language":"default","tag":"Clients","count":7},{"language":"default","tag":"Invoices","count":7},{"language":"default","tag":"Time Records","count":7}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[],"page":{"pagePath":"api-reference/invoices/refresh-invoice-line-items","slug":"/api-reference/invoices/refresh-invoice-line-items","pageMetadata":{"title":"Refresh Invoice Line Items","description":"Refresh an invoice's line items from current time records.\n\nThe invoice's billable items are rebuilt from the underlying time tracked against the invoice's client over its date range. Useful when time records have been added, edited, or deleted after the invoice was first generated.","deprecated":null,"version":null,"openapi":"/openapi.json post /invoices/{invoice_id}/reset-time","href":"/api-reference/invoices/refresh-invoice-line-items","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Refresh an invoice’s line items from current time records.\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"The invoice’s billable items are rebuilt from the underlying time tracked against the invoice’s client over its date range. Useful when time records have been added, edited, or deleted after the invoice was first generated.\"\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Refresh Invoice Line Items","description":"Refresh an invoice's line items from current time records.\n\nThe invoice's billable items are rebuilt from the underlying time tracked against the invoice's client over its date range. Useful when time records have been added, edited, or deleted after the invoice was first generated.","deprecated":null,"version":null,"openapi":"/openapi.json post /invoices/{invoice_id}/reset-time","href":"/api-reference/invoices/refresh-invoice-line-items","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Invoices"],"summary":"Refresh Invoice Line Items","parameters":["c522f00f-ed62-4b2b-9272-36deb08fa54b"],"requestBody":"85c539ea-b3f9-43d4-b4f3-f3963102cb55","responses":{"200":"7aff9c7f-9f34-42f4-86e7-61766092c67d","401":"510848bd-6071-4556-857d-29747c858ab4"},"operationId":"refreshInvoiceLineItems","description":"Refresh an invoice's line items from current time records.\n\nThe invoice's billable items are rebuilt from the underlying time tracked against the invoice's client over its date range. Useful when time records have been added, edited, or deleted after the invoice was first generated.","method":"post","type":"path","servers":["3190f06c-9abd-4705-83fc-4a9deebf52e5"],"security":["f58c9eda-cf2c-465f-8010-301ac893e179"],"path":"/invoices/{invoice_id}/reset-time","baseUrlOptions":["https://api.everhour.com"],"title":"Refresh Invoice Line Items","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"c522f00f-ed62-4b2b-9272-36deb08fa54b":{"name":"invoice_id","in":"path","required":true,"description":"Invoice ID","schema":{"type":"number","example":11903,"isRequired":true,"description":"Invoice ID","uniqueKey":"","typeLabel":"number"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"limitDateFrom":{"type":"string","example":"2019-03-11","uniqueKey":"limitDateFrom","typeLabel":"string"},"limitDateTill":{"type":"string","example":"2019-03-13","uniqueKey":"limitDateTill","typeLabel":"string"},"includeExpenses":{"type":"boolean","example":true,"uniqueKey":"includeExpenses","typeLabel":"boolean"},"includeTime":{"type":"boolean","example":true,"uniqueKey":"includeTime","typeLabel":"boolean"},"projects":{"type":"array","items":{"type":"string","uniqueKey":"projects.items.[INDEX]","typeLabel":"string"},"example":["gh:63301595"],"uniqueKey":"projects","typeLabel":"string[]"},"expenseMask":{"type":"string","example":"%PROJECT% :: %CATEGORY%","uniqueKey":"expenseMask","typeLabel":"string"},"timeMask":{"type":"string","example":"%PROJECT%","uniqueKey":"timeMask","typeLabel":"string"},"showRowNumbers":{"type":"boolean","uniqueKey":"showRowNumbers","typeLabel":"boolean"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"limitDateFrom":"2019-03-11","limitDateTill":"2019-03-13","includeExpenses":true,"includeTime":true,"projects":["gh:63301595"],"expenseMask":"%PROJECT% :: %CATEGORY%","timeMask":"%PROJECT%","showRowNumbers":true}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"7aff9c7f-9f34-42f4-86e7-61766092c67d":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"number","description":"Invoice ID","example":2660155,"isRequired":true,"uniqueKey":"id","typeLabel":"number"},"client":{"type":"object","properties":{"id":{"type":"number","example":4567,"isRequired":true,"uniqueKey":"client.id","typeLabel":"number"},"name":{"type":"string","example":"Client Name","isRequired":true,"uniqueKey":"client.name","typeLabel":"string"},"projects":{"type":"array","description":"List of projects ID","items":{"type":"string","uniqueKey":"client.projects.items.[INDEX]","typeLabel":"string"},"example":["ev:1234567890"],"isRequired":true,"uniqueKey":"client.projects","typeLabel":"string[]"},"businessDetails":{"oneOf":[{"type":"string","uniqueKey":"client.businessDetails.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"client.businessDetails.oneOf.1","typeLabel":"null"}],"uniqueKey":"client.businessDetails","typeLabel":"string | null"},"budget":{"type":"object","properties":{"type":{"type":"string","description":"Budget Type","enum":["money","time","costs"],"example":"money","isRequired":true,"uniqueKey":"client.budget.type","typeLabel":"enum\u003cstring>"},"budget":{"type":"number","description":"Budget value in cents (for money) or seconds (for time)","example":100000,"isRequired":true,"uniqueKey":"client.budget.budget","typeLabel":"number"},"period":{"type":"string","description":"Budget periodicity (overall, monthly, weekly, daily)","enum":["general","monthly","weekly","daily","quarterly","yearly"],"example":"general","isRequired":true,"uniqueKey":"client.budget.period","typeLabel":"enum\u003cstring>"},"appliedFrom":{"oneOf":[{"type":"string","description":"Start budget from (available only for non-recurrent budgets)","uniqueKey":"client.budget.appliedFrom.oneOf.0","typeLabel":"string"},{"type":"null","description":"Start budget from (available only for non-recurrent budgets)","uniqueKey":"client.budget.appliedFrom.oneOf.1","typeLabel":"null"}],"uniqueKey":"client.budget.appliedFrom","typeLabel":"string | null"},"disallowOverbudget":{"type":"boolean","uniqueKey":"client.budget.disallowOverbudget","typeLabel":"boolean"},"excludeUnbillableTime":{"type":"boolean","uniqueKey":"client.budget.excludeUnbillableTime","typeLabel":"boolean"},"excludeExpenses":{"type":"boolean","uniqueKey":"client.budget.excludeExpenses","typeLabel":"boolean"},"threshold":{"type":"number","description":"Email admins when threshold reached. Threshold is percentage 1 - 100.","uniqueKey":"client.budget.threshold","typeLabel":"number"},"progress":{"type":"number","description":"Current budget usage in cents (for money) or seconds (for time)","readOnly":true,"example":0,"uniqueKey":"client.budget.progress","typeLabel":"number"}},"required":["type","budget","period"],"uniqueKey":"client.budget","typeLabel":"object"}},"required":["id","name","projects"],"isRequired":true,"uniqueKey":"client","typeLabel":"object"},"createdAt":{"type":"string","example":"2018-01-16 12:42:59","isRequired":true,"uniqueKey":"createdAt","typeLabel":"string"},"createdBy":{"type":"object","description":"A team member. `GET /team/users` and `GET /users/me` return the full object; `user` objects nested in other resources may contain a subset of these fields.","properties":{"id":{"type":"number","example":1304,"isRequired":true,"uniqueKey":"createdBy.id","typeLabel":"number"},"email":{"type":"string","example":"john.bender@example.com","isRequired":true,"uniqueKey":"createdBy.email","typeLabel":"string"},"name":{"type":"string","example":"John Bender","isRequired":true,"uniqueKey":"createdBy.name","typeLabel":"string"},"role":{"type":"string","enum":["admin","supervisor","member","member_limited"],"example":"admin","isRequired":true,"uniqueKey":"createdBy.role","typeLabel":"enum\u003cstring>"},"status":{"type":"string","enum":["active","invited","pending","removed"],"example":"active","isRequired":true,"uniqueKey":"createdBy.status","typeLabel":"enum\u003cstring>"},"type":{"type":"string","enum":["employee","contractor"],"example":"employee","isRequired":true,"uniqueKey":"createdBy.type","typeLabel":"enum\u003cstring>"},"createdAt":{"type":"string","description":"Format: Y-m-d H:i:s","example":"2016-08-13 15:27:30","isRequired":true,"uniqueKey":"createdBy.createdAt","typeLabel":"string"},"isEmailVerified":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"createdBy.isEmailVerified","typeLabel":"boolean"},"groups":{"type":"array","description":"Groups the member belongs to. Empty array when the member is in no group.","items":{"type":"object","description":"A group the user belongs to.","properties":{"id":{"type":"number","example":1,"isRequired":true,"uniqueKey":"createdBy.groups.items.[INDEX].id","typeLabel":"number"},"name":{"type":"string","example":"Admins","isRequired":true,"uniqueKey":"createdBy.groups.items.[INDEX].name","typeLabel":"string"}},"required":["id","name"],"uniqueKey":"createdBy.groups.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"createdBy.groups","typeLabel":"object[]"},"permissions":{"type":"object","description":"Areas the user can access beyond the base role. A key is present only when the user has access to that area. Users with no elevated access return an empty array (`[]`) instead of an object — treat both as \"no permissions\".","properties":{"billingBudgets":{"type":"string","enum":["read","write"],"example":"write","uniqueKey":"createdBy.permissions.billingBudgets","typeLabel":"enum\u003cstring>"},"userLimits":{"type":"string","enum":["read","write"],"example":"write","uniqueKey":"createdBy.permissions.userLimits","typeLabel":"enum\u003cstring>"},"costs":{"type":"string","enum":["read","write"],"example":"write","uniqueKey":"createdBy.permissions.costs","typeLabel":"enum\u003cstring>"},"invoices":{"type":"string","enum":["read","write"],"example":"write","uniqueKey":"createdBy.permissions.invoices","typeLabel":"enum\u003cstring>"},"expenses":{"type":"string","enum":["read","write"],"example":"write","uniqueKey":"createdBy.permissions.expenses","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"createdBy.permissions","typeLabel":"object"},"timeTrackingPolicy":{"type":"object","description":"Time tracking rules that apply to the user. Team defaults unless the team overrides them for this member.","properties":{"allowTimeWithoutTask":{"type":"boolean","example":true,"uniqueKey":"createdBy.timeTrackingPolicy.allowTimeWithoutTask","typeLabel":"boolean"},"allowManualTimeInput":{"type":"boolean","example":true,"uniqueKey":"createdBy.timeTrackingPolicy.allowManualTimeInput","typeLabel":"boolean"},"allowFutureTime":{"type":"boolean","example":false,"uniqueKey":"createdBy.timeTrackingPolicy.allowFutureTime","typeLabel":"boolean"},"allowCompletedTaskTime":{"type":"boolean","example":true,"uniqueKey":"createdBy.timeTrackingPolicy.allowCompletedTaskTime","typeLabel":"boolean"},"allowTimeWithoutEstimate":{"type":"boolean","example":true,"uniqueKey":"createdBy.timeTrackingPolicy.allowTimeWithoutEstimate","typeLabel":"boolean"},"allowExceedEstimate":{"type":"boolean","example":false,"uniqueKey":"createdBy.timeTrackingPolicy.allowExceedEstimate","typeLabel":"boolean"},"allowManageEstimates":{"type":"boolean","example":true,"uniqueKey":"createdBy.timeTrackingPolicy.allowManageEstimates","typeLabel":"boolean"},"lockTimeAfter":{"type":"integer","description":"Number of `lockTimePeriod` units after which time entries lock. Present only when the team locks time for this member.","example":2,"uniqueKey":"createdBy.timeTrackingPolicy.lockTimeAfter","typeLabel":"integer"},"lockTimePeriod":{"type":"string","description":"Unit used by `lockTimeAfter`. Present only when the team locks time for this member.","example":"days","uniqueKey":"createdBy.timeTrackingPolicy.lockTimePeriod","typeLabel":"string"}},"isRequired":true,"uniqueKey":"createdBy.timeTrackingPolicy","typeLabel":"object"},"favorite":{"type":"boolean","description":"Whether you marked this member as a favorite.","example":false,"isRequired":true,"uniqueKey":"createdBy.favorite","typeLabel":"boolean"},"headline":{"oneOf":[{"type":"string","description":"Job title. Empty string when not set.","example":"CEO","uniqueKey":"createdBy.headline.oneOf.0","typeLabel":"string"},{"type":"null","description":"Job title. Empty string when not set.","example":"CEO","uniqueKey":"createdBy.headline.oneOf.1","typeLabel":"null"}],"uniqueKey":"createdBy.headline","typeLabel":"string | null"},"phone":{"type":"string","description":"Omitted when not set.","example":"+1 555 0100","uniqueKey":"createdBy.phone","typeLabel":"string"},"externalId":{"type":"string","description":"Employee ID from your own system, set on the member profile. Omitted when not set.","example":"M-3490","uniqueKey":"createdBy.externalId","typeLabel":"string"},"avatarUrl":{"oneOf":[{"type":"string","description":"Omitted when the member has no avatar.","example":"https://d36887svjhykt4.cloudfront.net/users/1304-15ea197d07ca81.jpg","uniqueKey":"createdBy.avatarUrl.oneOf.0","typeLabel":"string"},{"type":"null","description":"Omitted when the member has no avatar.","example":"https://d36887svjhykt4.cloudfront.net/users/1304-15ea197d07ca81.jpg","uniqueKey":"createdBy.avatarUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"createdBy.avatarUrl","typeLabel":"string | null"},"avatarUrlLarge":{"oneOf":[{"type":"string","description":"Omitted when the member has no avatar.","example":"https://d36887svjhykt4.cloudfront.net/users/1304-15ea197d10830c.jpg","uniqueKey":"createdBy.avatarUrlLarge.oneOf.0","typeLabel":"string"},{"type":"null","description":"Omitted when the member has no avatar.","example":"https://d36887svjhykt4.cloudfront.net/users/1304-15ea197d10830c.jpg","uniqueKey":"createdBy.avatarUrlLarge.oneOf.1","typeLabel":"null"}],"uniqueKey":"createdBy.avatarUrlLarge","typeLabel":"string | null"},"capacity":{"oneOf":[{"type":"integer","description":"Weekly capacity in seconds.","example":144000,"uniqueKey":"createdBy.capacity.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Weekly capacity in seconds.","example":144000,"uniqueKey":"createdBy.capacity.oneOf.1","typeLabel":"null"}],"uniqueKey":"createdBy.capacity","typeLabel":"integer | null"},"cost":{"type":"integer","description":"Hourly cost in cents. Returns `0` when you lack the `costs` permission.","example":2500,"uniqueKey":"createdBy.cost","typeLabel":"integer"},"costHistory":{"oneOf":[{"type":"array","description":"Past hourly cost values. `null` when the member has no cost history or you lack the `costs` permission.","example":null,"uniqueKey":"createdBy.costHistory.oneOf.0","typeLabel":"array"},{"type":"null","description":"Past hourly cost values. `null` when the member has no cost history or you lack the `costs` permission.","example":null,"uniqueKey":"createdBy.costHistory.oneOf.1","typeLabel":"null"}],"uniqueKey":"createdBy.costHistory","typeLabel":"array | null"},"resourcePlannerAccess":{"type":"object","description":"Resource planner access flags. Returned for the authenticated user.","properties":{"viewMine":{"type":"boolean","example":false,"uniqueKey":"createdBy.resourcePlannerAccess.viewMine","typeLabel":"boolean"},"editMine":{"type":"boolean","example":false,"uniqueKey":"createdBy.resourcePlannerAccess.editMine","typeLabel":"boolean"},"viewAll":{"type":"boolean","example":false,"uniqueKey":"createdBy.resourcePlannerAccess.viewAll","typeLabel":"boolean"},"editAll":{"type":"boolean","example":false,"uniqueKey":"createdBy.resourcePlannerAccess.editAll","typeLabel":"boolean"}},"uniqueKey":"createdBy.resourcePlannerAccess","typeLabel":"object"}},"required":["id","email","name","role","status","type","createdAt","isEmailVerified","groups","permissions","timeTrackingPolicy","favorite"],"isRequired":true,"uniqueKey":"createdBy","typeLabel":"object"},"status":{"type":"string","enum":["draft","sent","paid","deleted","partial"],"example":"draft","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"dateFrom":{"type":"string","uniqueKey":"dateFrom","typeLabel":"string"},"dateTill":{"type":"string","uniqueKey":"dateTill","typeLabel":"string"},"dueDate":{"type":"string","uniqueKey":"dueDate","typeLabel":"string"},"discount":{"type":"object","properties":{"amount":{"type":"number","example":4581,"uniqueKey":"discount.amount","typeLabel":"number"},"rate":{"type":"number","example":25,"uniqueKey":"discount.rate","typeLabel":"number"}},"uniqueKey":"discount","typeLabel":"object"},"expenseMask":{"type":"string","example":"%PROJECT% :: %CATEGORY%","uniqueKey":"expenseMask","typeLabel":"string"},"includeExpenses":{"type":"boolean","example":true,"uniqueKey":"includeExpenses","typeLabel":"boolean"},"includeTime":{"type":"boolean","example":true,"uniqueKey":"includeTime","typeLabel":"boolean"},"invoiceItems":{"type":"array","items":{"type":"object","properties":{"billedTime":{"type":"number","description":"Time in seconds","example":415860,"uniqueKey":"invoiceItems.items.[INDEX].billedTime","typeLabel":"number"},"createdAt":{"type":"string","example":"2017-02-22 16:11:33","uniqueKey":"invoiceItems.items.[INDEX].createdAt","typeLabel":"string"},"custom":{"type":"boolean","example":false,"uniqueKey":"invoiceItems.items.[INDEX].custom","typeLabel":"boolean"},"id":{"type":"number","example":52,"uniqueKey":"invoiceItems.items.[INDEX].id","typeLabel":"number"},"listAmount":{"type":"number","description":"Amount in cents","example":288793,"uniqueKey":"invoiceItems.items.[INDEX].listAmount","typeLabel":"number"},"name":{"type":"string","example":"Software Development","uniqueKey":"invoiceItems.items.[INDEX].name","typeLabel":"string"},"netAmount":{"type":"number","description":"Amount in cents","example":288793,"uniqueKey":"invoiceItems.items.[INDEX].netAmount","typeLabel":"number"},"position":{"type":"number","example":1,"uniqueKey":"invoiceItems.items.[INDEX].position","typeLabel":"number"},"taxable":{"type":"number","example":1,"uniqueKey":"invoiceItems.items.[INDEX].taxable","typeLabel":"number"},"totalAmount":{"type":"number","example":288793,"uniqueKey":"invoiceItems.items.[INDEX].totalAmount","typeLabel":"number"}},"uniqueKey":"invoiceItems.items.[INDEX]","typeLabel":"object"},"uniqueKey":"invoiceItems","typeLabel":"object[]"},"issueDate":{"type":"string","example":"2019-03-22","uniqueKey":"issueDate","typeLabel":"string"},"limitDateFrom":{"type":"string","uniqueKey":"limitDateFrom","typeLabel":"string"},"limitDateTill":{"type":"string","uniqueKey":"limitDateTill","typeLabel":"string"},"listAmount":{"type":"number","description":"List amount in cents (without discount and taxes)","example":18325,"uniqueKey":"listAmount","typeLabel":"number"},"netAmount":{"type":"number","description":"Net amount in cents (without taxes but with discount applied)","example":13744,"uniqueKey":"netAmount","typeLabel":"number"},"projects":{"type":"array","items":{"type":"string","uniqueKey":"projects.items.[INDEX]","typeLabel":"string"},"example":["gh:63301595"],"uniqueKey":"projects","typeLabel":"string[]"},"publicId":{"type":"string","example":"1020","uniqueKey":"publicId","typeLabel":"string"},"tax":{"type":"object","properties":{"id":{"type":"integer","description":"Tax ID from a connected accounting integration (external invoices).","uniqueKey":"tax.id","typeLabel":"integer"},"rate":{"type":"number","example":11,"uniqueKey":"tax.rate","typeLabel":"number"},"amount":{"type":"number","example":1512,"uniqueKey":"tax.amount","typeLabel":"number"}},"uniqueKey":"tax","typeLabel":"object"},"timeMask":{"type":"string","example":"%PROJECT%","uniqueKey":"timeMask","typeLabel":"string"},"totalAmount":{"type":"number","description":"Total invoice amount in cents (with discount and taxes applied)","example":15256,"uniqueKey":"totalAmount","typeLabel":"number"},"totalTime":{"type":"number","description":"Total invoice time in seconds","example":43980,"uniqueKey":"totalTime","typeLabel":"number"},"valid":{"type":"boolean","example":true,"uniqueKey":"valid","typeLabel":"boolean"}},"required":["id","client","createdAt","createdBy","status"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":2660155,"client":{"id":4567,"name":"Client Name","projects":["ev:1234567890"],"businessDetails":"\u003cstring>","budget":{"type":"money","budget":100000,"period":"general","appliedFrom":"\u003cstring>","disallowOverbudget":true,"excludeUnbillableTime":true,"excludeExpenses":true,"threshold":123,"progress":0}},"createdAt":"2018-01-16 12:42:59","createdBy":{"id":1304,"email":"john.bender@example.com","name":"John Bender","role":"admin","status":"active","type":"employee","createdAt":"2016-08-13 15:27:30","isEmailVerified":true,"groups":[{"id":1,"name":"Admins"}],"permissions":{"billingBudgets":"write","userLimits":"write","costs":"write","invoices":"write","expenses":"write"},"timeTrackingPolicy":{"allowTimeWithoutTask":true,"allowManualTimeInput":true,"allowFutureTime":false,"allowCompletedTaskTime":true,"allowTimeWithoutEstimate":true,"allowExceedEstimate":false,"allowManageEstimates":true,"lockTimeAfter":2,"lockTimePeriod":"days"},"favorite":false,"headline":"CEO","phone":"+1 555 0100","externalId":"M-3490","avatarUrl":"https://d36887svjhykt4.cloudfront.net/users/1304-15ea197d07ca81.jpg","avatarUrlLarge":"https://d36887svjhykt4.cloudfront.net/users/1304-15ea197d10830c.jpg","capacity":144000,"cost":2500,"costHistory":null,"resourcePlannerAccess":{"viewMine":false,"editMine":false,"viewAll":false,"editAll":false}},"status":"draft","dateFrom":"\u003cstring>","dateTill":"\u003cstring>","dueDate":"\u003cstring>","discount":{"amount":4581,"rate":25},"expenseMask":"%PROJECT% :: %CATEGORY%","includeExpenses":true,"includeTime":true,"invoiceItems":[{"billedTime":415860,"createdAt":"2017-02-22 16:11:33","custom":false,"id":52,"listAmount":288793,"name":"Software Development","netAmount":288793,"position":1,"taxable":1,"totalAmount":288793}],"issueDate":"2019-03-22","limitDateFrom":"\u003cstring>","limitDateTill":"\u003cstring>","listAmount":18325,"netAmount":13744,"projects":["gh:63301595"],"publicId":"1020","tax":{"id":123,"rate":11,"amount":1512},"timeMask":"%PROJECT%","totalAmount":15256,"totalTime":43980,"valid":true}}},"exampleType":"generated"}},"exampleType":"generated"},"510848bd-6071-4556-857d-29747c858ab4":{"description":"Unauthorized","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"f58c9eda-cf2c-465f-8010-301ac893e179":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-Api-Key","scopes":[]}}},"servers":{"3190f06c-9abd-4705-83fc-4a9deebf52e5":{"url":"https://api.everhour.com"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-Api-Key","scopes":[]},"schema":{"title":"X-Api-Key","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"X-Api-Key"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"openapi.json"},"subdomain":"everhour","siteName":"Everhour","title":"Refresh Invoice Line Items - Everhour","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-17T17:03:56.949Z","originalFileLocation":"api-reference/invoices/refresh-invoice-line-items.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Refresh an invoice\u0026#x27;s line items from current time records. The invoice\u0026#x27;s billable items are rebuilt from the underlying time tracked against the invoice\u0026#x27;s client over its date range. Useful when time records have been added, edited, or deleted after the invoice was first generated.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Everhour\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/everhour/K0gb3EtVm-Va5RN2/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/everhour/K0gb3EtVm-Va5RN2/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/everhour/K0gb3EtVm-Va5RN2/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/everhour/K0gb3EtVm-Va5RN2/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/everhour/K0gb3EtVm-Va5RN2/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/everhour/K0gb3EtVm-Va5RN2/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/everhour/K0gb3EtVm-Va5RN2/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/everhour/K0gb3EtVm-Va5RN2/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/everhour/K0gb3EtVm-Va5RN2/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Refresh Invoice Line Items - Everhour\">\u003cmeta data-mint-head property=\"og:description\" content=\"Refresh an invoice\u0026#x27;s line items from current time records. The invoice\u0026#x27;s billable items are rebuilt from the underlying time tracked against the invoice\u0026#x27;s client over its date range. Useful when time records have been added, edited, or deleted after the invoice was first generated.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Everhour\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developers.everhour.com/api-reference/invoices/refresh-invoice-line-items\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://everhour.mintlify.site/_mintlify/api/og/v2?division=Invoices\u0026amp;title=Refresh+Invoice+Line+Items\u0026amp;description=Refresh+an+invoice%27s+line+items+from+current+time+records.%0A%0AThe+invoice%27s+billable+items+are+rebuilt+from+the+underlying+time+tracked+against+the+invoice%27s+clie\u0026amp;theme=3e96efcd325b0a1de2bd0119\u0026amp;signature=b9fc670d6265a3f0edef145bce388d1a62f087f6ba3de1f57f327231333485b7\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Refresh Invoice Line Items - Everhour\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Refresh an invoice\u0026#x27;s line items from current time records. The invoice\u0026#x27;s billable items are rebuilt from the underlying time tracked against the invoice\u0026#x27;s client over its date range. Useful when time records have been added, edited, or deleted after the invoice was first generated.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://everhour.mintlify.site/_mintlify/api/og/v2?division=Invoices\u0026amp;title=Refresh+Invoice+Line+Items\u0026amp;description=Refresh+an+invoice%27s+line+items+from+current+time+records.%0A%0AThe+invoice%27s+billable+items+are+rebuilt+from+the+underlying+time+tracked+against+the+invoice%27s+clie\u0026amp;theme=3e96efcd325b0a1de2bd0119\u0026amp;signature=b9fc670d6265a3f0edef145bce388d1a62f087f6ba3de1f57f327231333485b7\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/everhour/K0gb3EtVm-Va5RN2/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Everhour\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#4caf50\">\u003clink data-mint-head rel=\"canonical\" href=\"https://developers.everhour.com/api-reference/invoices/refresh-invoice-line-items\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/invoices/refresh-invoice-line-items.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://developers.everhour.com/#organization\",\"name\":\"Everhour\",\"url\":\"https://developers.everhour.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/everhour/GOMjgl5g6oFagMmw/images/everhour_logo.png?fit=max\u0026auto=format\u0026n=GOMjgl5g6oFagMmw\u0026q=85\u0026s=28940543c48e552cfd4a60bbcbde0cd7\"}},{\"@type\":\"WebSite\",\"@id\":\"https://developers.everhour.com#website\",\"name\":\"Everhour\",\"url\":\"https://developers.everhour.com\",\"publisher\":{\"@id\":\"https://developers.everhour.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://developers.everhour.com/api-reference/invoices/refresh-invoice-line-items#webpage\",\"url\":\"https://developers.everhour.com/api-reference/invoices/refresh-invoice-line-items\",\"name\":\"Refresh Invoice Line Items\",\"description\":\"Refresh an invoice's line items from current time records. The invoice's billable items are rebuilt from the underlying time tracked against the invoice's client over its date range. Useful when time records have been added, edited, or deleted after the invoice was first generated.\",\"dateModified\":\"2026-09-17T17:03:56.949Z\",\"isPartOf\":{\"@id\":\"https://developers.everhour.com#website\"},\"breadcrumb\":{\"@id\":\"https://developers.everhour.com/api-reference/invoices/refresh-invoice-line-items#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developers.everhour.com/api-reference/invoices/refresh-invoice-line-items#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://developers.everhour.com/api-reference/clients/create-client\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Invoices\",\"item\":\"https://developers.everhour.com/api-reference/invoices/create-invoice\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Refresh Invoice Line Items\",\"item\":\"https://developers.everhour.com/api-reference/invoices/refresh-invoice-line-items\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://developers.everhour.com/api-reference/invoices/refresh-invoice-line-items#apireference\",\"headline\":\"Refresh Invoice Line Items\",\"name\":\"Refresh Invoice Line Items\",\"description\":\"Refresh an invoice's line items from current time records. The invoice's billable items are rebuilt from the underlying time tracked against the invoice's client over its date range. Useful when time records have been added, edited, or deleted after the invoice was first generated.\",\"url\":\"https://developers.everhour.com/api-reference/invoices/refresh-invoice-line-items\",\"mainEntityOfPage\":{\"@id\":\"https://developers.everhour.com/api-reference/invoices/refresh-invoice-line-items#webpage\"},\"dateModified\":\"2026-09-17T17:03:56.949Z\",\"publisher\":{\"@id\":\"https://developers.everhour.com/#organization\"},\"isPartOf\":{\"@id\":\"https://developers.everhour.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Everhour\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Everhour","nav":{"global":null,"tabs":[{"tab":"Documentation","icon":"book-open-cover","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","icon":"layer-group","groups":[{"group":"Endpoints","pages":[{"group":"Clients","expanded":false,"pages":[{"title":"Create Client","deprecated":null,"version":null,"openapi":"/openapi.json post /clients","href":"/api-reference/clients/create-client"},{"title":"Delete Client","deprecated":null,"version":null,"openapi":"/openapi.json delete /clients/{client_id}","href":"/api-reference/clients/delete-client"},{"title":"Delete Client Budget","deprecated":null,"version":null,"openapi":"/openapi.json delete /clients/{client_id}/budget","href":"/api-reference/clients/delete-client-budget"},{"title":"Get All Clients","deprecated":null,"version":null,"openapi":"/openapi.json get /clients","href":"/api-reference/clients/get-all-clients"},{"title":"Get Client","deprecated":null,"version":null,"openapi":"/openapi.json get /clients/{client_id}","href":"/api-reference/clients/get-client"},{"title":"Update Client","deprecated":null,"version":null,"openapi":"/openapi.json put /clients/{client_id}","href":"/api-reference/clients/update-client"},{"title":"Update Client Budget","deprecated":null,"version":null,"openapi":"/openapi.json put /clients/{client_id}/budget","href":"/api-reference/clients/update-client-budget"}]},{"group":"Custom Fields","expanded":false,"pages":[{"title":"Create Field in Project","deprecated":null,"version":null,"openapi":"/openapi.json post /projects/{project_id}/fields","href":"/api-reference/custom-fields/create-field-in-project"},{"title":"Delete Field","deprecated":null,"version":null,"openapi":"/openapi.json delete /fields/{field_id}","href":"/api-reference/custom-fields/delete-field"},{"title":"Get Project Fields Configuration","deprecated":null,"version":null,"openapi":"/openapi.json get /projects/{project_id}/fields","href":"/api-reference/custom-fields/get-project-fields-configuration"},{"title":"Reorder Fields","deprecated":null,"version":null,"openapi":"/openapi.json put /projects/{project_id}/fields-order","href":"/api-reference/custom-fields/reorder-fields"},{"title":"Update Field","deprecated":null,"version":null,"openapi":"/openapi.json put /fields/{field_id}","href":"/api-reference/custom-fields/update-field"}]},{"group":"Expenses","expanded":false,"pages":[{"title":"Add Attachment To Expense","deprecated":null,"version":null,"openapi":"/openapi.json post /expenses/{expense_id}/attachments","href":"/api-reference/expenses/add-attachment-to-expense"},{"title":"Create Attachment","deprecated":null,"version":null,"openapi":"/openapi.json post /attachments","href":"/api-reference/expenses/create-attachment"},{"title":"Create Category","deprecated":null,"version":null,"openapi":"/openapi.json post /expenses/categories","href":"/api-reference/expenses/create-category"},{"title":"Create Expense","deprecated":null,"version":null,"openapi":"/openapi.json post /expenses","href":"/api-reference/expenses/create-expense"},{"title":"Delete Attachment","deprecated":null,"version":null,"openapi":"/openapi.json delete /attachments/{attachment_id}","href":"/api-reference/expenses/delete-attachment"},{"title":"Delete Category","deprecated":null,"version":null,"openapi":"/openapi.json delete /expenses/categories/{category_id}","href":"/api-reference/expenses/delete-category"},{"title":"Delete Expense","deprecated":null,"version":null,"openapi":"/openapi.json delete /expenses/{expense_id}","href":"/api-reference/expenses/delete-expense"},{"title":"Download Attachment","deprecated":null,"version":null,"openapi":"/openapi.json get /attachments/{attachment_token}/download","href":"/api-reference/expenses/download-attachment"},{"title":"Get All Categories","deprecated":null,"version":null,"openapi":"/openapi.json get /expenses/categories","href":"/api-reference/expenses/get-all-categories"},{"title":"Get All Expenses","deprecated":null,"version":null,"openapi":"/openapi.json get /expenses","href":"/api-reference/expenses/get-all-expenses"},{"title":"Update Category","deprecated":null,"version":null,"openapi":"/openapi.json put /expenses/categories/{category_id}","href":"/api-reference/expenses/update-category"},{"title":"Update Expense","deprecated":null,"version":null,"openapi":"/openapi.json put /expenses/{expense_id}","href":"/api-reference/expenses/update-expense"}]},{"group":"Invoices","expanded":false,"pages":[{"title":"Create Invoice","deprecated":null,"version":null,"openapi":"/openapi.json post /clients/{client_id}/invoices","href":"/api-reference/invoices/create-invoice"},{"title":"Delete Invoice","deprecated":null,"version":null,"openapi":"/openapi.json delete /invoices/{invoice_id}","href":"/api-reference/invoices/delete-invoice"},{"title":"Export Invoice to Xero/QB/FB","deprecated":null,"version":null,"openapi":"/openapi.json post /invoices/{invoice_id}/export","href":"/api-reference/invoices/export-invoice-to-xeroqbfb"},{"title":"Get All Invoices","deprecated":null,"version":null,"openapi":"/openapi.json get /invoices","href":"/api-reference/invoices/get-all-invoices"},{"title":"Get Invoice","description":"Retrieve a single invoice with its full line-item breakdown.","deprecated":null,"version":null,"openapi":"/openapi.json get /invoices/{invoice_id}","href":"/api-reference/invoices/get-invoice"},{"title":"Refresh Invoice Line Items","deprecated":null,"version":null,"openapi":"/openapi.json post /invoices/{invoice_id}/reset-time","href":"/api-reference/invoices/refresh-invoice-line-items"},{"title":"Update Invoice","description":"Update invoice metadata (notes, dates, custom totals). To change the lifecycle state, set `manualStatus` to `draft`, `sent`, or `paid`.","deprecated":null,"version":null,"openapi":"/openapi.json put /invoices/{invoice_id}","href":"/api-reference/invoices/update-invoice"}]},{"group":"Projects","expanded":false,"pages":[{"title":"Archive/Unarchive Project","deprecated":null,"version":null,"openapi":"/openapi.json patch /projects/{project_id}/archive","href":"/api-reference/projects/archiveunarchive-project"},{"title":"Create Project","deprecated":null,"version":null,"openapi":"/openapi.json post /projects","href":"/api-reference/projects/create-project"},{"title":"Create Section","deprecated":null,"version":null,"openapi":"/openapi.json post /projects/{project_id}/sections","href":"/api-reference/projects/create-section"},{"title":"Delete Project","deprecated":null,"version":null,"openapi":"/openapi.json delete /projects/{project_id}","href":"/api-reference/projects/delete-project"},{"title":"Delete Section","deprecated":null,"version":null,"openapi":"/openapi.json delete /sections/{section_id}","href":"/api-reference/projects/delete-section"},{"title":"Get All Projects","deprecated":null,"version":null,"openapi":"/openapi.json get /projects","href":"/api-reference/projects/get-all-projects"},{"title":"Get Project","deprecated":null,"version":null,"openapi":"/openapi.json get /projects/{project_id}","href":"/api-reference/projects/get-project"},{"title":"Get Project Sections","deprecated":null,"version":null,"openapi":"/openapi.json get /projects/{project_id}/sections","href":"/api-reference/projects/get-project-sections"},{"title":"Get Section","deprecated":null,"version":null,"openapi":"/openapi.json get /sections/{section_id}","href":"/api-reference/projects/get-section"},{"title":"Sync Integration Project","deprecated":null,"version":null,"openapi":"/openapi.json post /projects/{project_id}/sync","href":"/api-reference/projects/sync-integration-project"},{"title":"Update Project","deprecated":null,"version":null,"openapi":"/openapi.json put /projects/{project_id}","href":"/api-reference/projects/update-project"},{"title":"Update Project Billing/Budget","deprecated":null,"version":null,"openapi":"/openapi.json put /projects/{project_id}/billing","href":"/api-reference/projects/update-project-billingbudget"},{"title":"Update Section","deprecated":null,"version":null,"openapi":"/openapi.json put /sections/{section_id}","href":"/api-reference/projects/update-section"}]},{"group":"Reports","expanded":false,"pages":[{"title":"Clients Report","deprecated":null,"version":null,"openapi":"/openapi.json get /dashboards/clients","href":"/api-reference/reports/clients-report"},{"title":"Estimates Report (deprecated)","deprecated":null,"version":null,"openapi":"/openapi.json get /team/estimate/export","href":"/api-reference/reports/estimates-report-deprecated"},{"title":"Projects Report","deprecated":null,"version":null,"openapi":"/openapi.json get /dashboards/projects","href":"/api-reference/reports/projects-report"},{"title":"Time Report (deprecated)","deprecated":null,"version":null,"openapi":"/openapi.json get /team/time/export","href":"/api-reference/reports/time-report-deprecated"},{"title":"Users Report","deprecated":null,"version":null,"openapi":"/openapi.json get /dashboards/users","href":"/api-reference/reports/users-report"}]},{"group":"Schedule","expanded":false,"pages":[{"title":"Create Assignment","deprecated":null,"version":null,"openapi":"/openapi.json post /resource-planner/assignments","href":"/api-reference/schedule/create-assignment"},{"title":"Delete Assignment","deprecated":null,"version":null,"openapi":"/openapi.json delete /resource-planner/assignments/{assignment_id}","href":"/api-reference/schedule/delete-assignment"},{"title":"Get All Assignments","deprecated":null,"version":null,"openapi":"/openapi.json get /resource-planner/assignments","href":"/api-reference/schedule/get-all-assignments"},{"title":"Update Assignment","deprecated":null,"version":null,"openapi":"/openapi.json put /resource-planner/assignments/{assignment_id}","href":"/api-reference/schedule/update-assignment"}]},{"group":"Tasks","expanded":false,"pages":[{"title":"Create Task","deprecated":null,"version":null,"openapi":"/openapi.json post /projects/{project_id}/tasks","href":"/api-reference/tasks/create-task"},{"title":"Delete Task","deprecated":null,"version":null,"openapi":"/openapi.json delete /tasks/{task_id}","href":"/api-reference/tasks/delete-task"},{"title":"Delete Task Estimate","deprecated":null,"version":null,"openapi":"/openapi.json delete /tasks/{task_id}/estimate","href":"/api-reference/tasks/delete-task-estimate"},{"title":"Get Project Tasks","deprecated":null,"version":null,"openapi":"/openapi.json get /projects/{project_id}/tasks","href":"/api-reference/tasks/get-project-tasks"},{"title":"Get Task","deprecated":null,"version":null,"openapi":"/openapi.json get /tasks/{task_id}","href":"/api-reference/tasks/get-task"},{"title":"Search Project Tasks","deprecated":null,"version":null,"openapi":"/openapi.json get /projects/{project_id}/tasks/search","href":"/api-reference/tasks/search-project-tasks"},{"title":"Search Tasks","deprecated":null,"version":null,"openapi":"/openapi.json get /tasks/search","href":"/api-reference/tasks/search-tasks"},{"title":"Update Task","deprecated":null,"version":null,"openapi":"/openapi.json put /tasks/{task_id}","href":"/api-reference/tasks/update-task"},{"title":"Update Task Billing","deprecated":null,"version":null,"openapi":"/openapi.json put /tasks/{task_id}/billing","href":"/api-reference/tasks/update-task-billing"},{"title":"Update Task Estimate","deprecated":null,"version":null,"openapi":"/openapi.json put /tasks/{task_id}/estimate","href":"/api-reference/tasks/update-task-estimate"}]},{"group":"Time Off","expanded":false,"pages":[{"title":"Create Allocation","deprecated":null,"version":null,"openapi":"/openapi.json post /allocations","href":"/api-reference/time-off/create-allocation"},{"title":"Create Time Off Type","deprecated":null,"version":null,"openapi":"/openapi.json post /resource-planner/time-off-types","href":"/api-reference/time-off/create-time-off-type"},{"title":"Delete Allocation","deprecated":null,"version":null,"openapi":"/openapi.json delete /allocations/{allocation_id}","href":"/api-reference/time-off/delete-allocation"},{"title":"Delete Time Off Type","deprecated":null,"version":null,"openapi":"/openapi.json delete /resource-planner/time-off-types/{type_id}","href":"/api-reference/time-off/delete-time-off-type"},{"title":"Get All Allocations","deprecated":null,"version":null,"openapi":"/openapi.json get /allocations","href":"/api-reference/time-off/get-all-allocations"},{"title":"Get Time Off Types","deprecated":null,"version":null,"openapi":"/openapi.json get /resource-planner/time-off-types","href":"/api-reference/time-off/get-time-off-types"},{"title":"Update Allocation","deprecated":null,"version":null,"openapi":"/openapi.json put /allocations/{allocation_id}","href":"/api-reference/time-off/update-allocation"},{"title":"Update Time Off Type","deprecated":null,"version":null,"openapi":"/openapi.json put /resource-planner/time-off-types/{type_id}","href":"/api-reference/time-off/update-time-off-type"}]},{"group":"Time Records","expanded":false,"pages":[{"title":"Add Time","deprecated":null,"version":null,"openapi":"/openapi.json post /time","href":"/api-reference/time-records/add-time"},{"title":"Delete Time Record","deprecated":null,"version":null,"openapi":"/openapi.json delete /time/{time_id}","href":"/api-reference/time-records/delete-time-record"},{"title":"Get All Time Records","deprecated":null,"version":null,"openapi":"/openapi.json get /team/time","href":"/api-reference/time-records/get-all-time-records"},{"title":"Get Project Time Records","deprecated":null,"version":null,"openapi":"/openapi.json get /projects/{project_id}/time","href":"/api-reference/time-records/get-project-time-records"},{"title":"Get Task Time Records","deprecated":null,"version":null,"openapi":"/openapi.json get /tasks/{task_id}/time","href":"/api-reference/time-records/get-task-time-records"},{"title":"Get User Time Records","deprecated":null,"version":null,"openapi":"/openapi.json get /users/{user_id}/time","href":"/api-reference/time-records/get-user-time-records"},{"title":"Update Time Record","deprecated":null,"version":null,"openapi":"/openapi.json put /time/{time_id}","href":"/api-reference/time-records/update-time-record"}]},{"group":"Timecards","expanded":false,"pages":[{"title":"Clock In","deprecated":null,"version":null,"openapi":"/openapi.json post /users/{user_id}/timecards/clock-in","href":"/api-reference/timecards/clock-in"},{"title":"Clock Out","deprecated":null,"version":null,"openapi":"/openapi.json post /users/{user_id}/timecards/clock-out","href":"/api-reference/timecards/clock-out"},{"title":"Delete Timecard","deprecated":null,"version":null,"openapi":"/openapi.json delete /users/{user_id}/timecards/{date}","href":"/api-reference/timecards/delete-timecard"},{"title":"Get All Timecards","deprecated":null,"version":null,"openapi":"/openapi.json get /timecards","href":"/api-reference/timecards/get-all-timecards"},{"title":"Get Timecard","deprecated":null,"version":null,"openapi":"/openapi.json get /users/{user_id}/timecards/{date}","href":"/api-reference/timecards/get-timecard"},{"title":"Get User Timecards","deprecated":null,"version":null,"openapi":"/openapi.json get /users/{user_id}/timecards","href":"/api-reference/timecards/get-user-timecards"},{"title":"Update Timecard","deprecated":null,"version":null,"openapi":"/openapi.json put /users/{user_id}/timecards/{date}","href":"/api-reference/timecards/update-timecard"}]},{"group":"Timers","expanded":false,"pages":[{"title":"Get All Team Timers","deprecated":null,"version":null,"openapi":"/openapi.json get /team/timers","href":"/api-reference/timers/get-all-team-timers"},{"title":"Get Running Timer","deprecated":null,"version":null,"openapi":"/openapi.json get /timers/current","href":"/api-reference/timers/get-running-timer"},{"title":"Start Timer","deprecated":null,"version":null,"openapi":"/openapi.json post /timers","href":"/api-reference/timers/start-timer"},{"title":"Stop Timer","deprecated":null,"version":null,"openapi":"/openapi.json delete /timers/current","href":"/api-reference/timers/stop-timer"}]},{"group":"Timesheets","expanded":false,"pages":[{"title":"Approve or Reject Approval Request","deprecated":null,"version":null,"openapi":"/openapi.json put /timesheets/{timesheet_id}/approval","href":"/api-reference/timesheets/approve-or-reject-approval-request"},{"title":"Approve Week/Request for Approval","deprecated":null,"version":null,"openapi":"/openapi.json post /timesheets/{timesheet_id}/approval","href":"/api-reference/timesheets/approve-weekrequest-for-approval"},{"title":"Discard Your Approval Request","deprecated":null,"version":null,"openapi":"/openapi.json put /timesheets/{timesheet_id}/discard-approval","href":"/api-reference/timesheets/discard-your-approval-request"},{"title":"Get Team Timesheets","deprecated":null,"version":null,"openapi":"/openapi.json get /timesheets","href":"/api-reference/timesheets/get-team-timesheets"},{"title":"Get User Timesheets","deprecated":null,"version":null,"openapi":"/openapi.json get /users/{user_id}/timesheets","href":"/api-reference/timesheets/get-user-timesheets"}]},{"group":"Users","expanded":false,"pages":[{"title":"Get All Users","deprecated":null,"version":null,"openapi":"/openapi.json get /team/users","href":"/api-reference/users/get-all-users"},{"title":"Get Current User","deprecated":null,"version":null,"openapi":"/openapi.json get /users/me","href":"/api-reference/users/get-current-user"}]},{"group":"Webhooks","expanded":false,"pages":[{"title":"Create Webhook","deprecated":null,"version":null,"openapi":"/openapi.json post /hooks","href":"/api-reference/webhooks/create-webhook"},{"title":"Delete Webhook","deprecated":null,"version":null,"openapi":"/openapi.json delete /hooks/{hook_id}","href":"/api-reference/webhooks/delete-webhook"},{"title":"Get All Webhooks","deprecated":null,"version":null,"openapi":"/openapi.json get /hooks","href":"/api-reference/webhooks/get-all-webhooks"},{"title":"Get Webhook","deprecated":null,"version":null,"openapi":"/openapi.json get /hooks/{hook_id}","href":"/api-reference/webhooks/get-webhook"},{"title":"Update Webhook","deprecated":null,"version":null,"openapi":"/openapi.json put /hooks/{hook_id}","href":"/api-reference/webhooks/update-webhook"}]}]}]}]},"basePath":"","title":"Refresh Invoice Line Items - Everhour","buildId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","deploymentId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-5FCzAcfS.js","utils-SLtAG4EZ.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-2DZi8ZMu.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-D7J3nkzE.js","snippetPresets-D0Alv0AH.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BI4qNJ2c.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BD3uyr8j.js","shallow-D8iEBr5z.js","getApiPlaygroundDisplay-CgNP4lzR.js","CodeSnippet-CX-QHuMs.js","CodeSnippets-VlXE-ZUf.js","Page-D9ithiIZ.js","getPastedJson-DYNQkZ1M.js","icon-CzacdwOi.js","MethodPill-2JVqoYKi.js","DuplicateIcon-_xVXs-U8.js","createIcon-BRHrweLo.js","DynamicMarkdown-mQG_iQiE.js","SectionHeading-DMpJzv8f.js","axios-vUo_bRtp.js","Markdown-5FGIym-8.js","clsx-D-TRO5q5.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CdrJecqK.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CHlcWBLM.js"]}