Generate an invoice for a client from unbilled time entries, services, expenses or fixed price projects, with optional taxes. The invoice is generated in the background, so its status is generating when the request returns.
IDs of unbilled time entries to bill. Refer to Getting the Time Entry ID section for detailed instructions. An unknown or already billed ID is rejected with a field error on time_entry_ids.
Due date of the invoice in YYYY-MM-DD format. MM/DD/YYYY is still accepted. Sending due_date alone sets a custom due date; you do not need to send due_date_period.
Fixed price projects to bill. When the request has no invoice_services, each project is billed for its remaining flat amount. Refer to Getting the Project ID section for detailed instructions.
Whether to email the invoice once it is generated. The invoice goes to every current recipient of the client unless invoice_details.recipient_ids narrows it. If the client has no current recipients, the request is rejected and no invoice is created.
Array of recipient IDs for email delivery. Defaults to every current recipient of the client. Refer to Getting the Recipient ID section for detailed instructions.
Name of an expense category set up in the workspace, for example Travel. The match is case-insensitive. An unknown name is rejected and the error lists the categories in the workspace.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"NeetoInvoice Docs","description":"Developer docs for NeetoInvoice: the REST API and the CLI.","colors":{"primary":"#10B981","light":"#34D399","dark":"#059669"},"logo":"https://mintcdn.com/neetoinvoice-apis/9BFQAdCZaf8a8DQr/assets/logo.svg?fit=max\u0026auto=format\u0026n=9BFQAdCZaf8a8DQr\u0026q=85\u0026s=fb44ccefd45809f11aaaaba92100e85a","favicon":"https://mintcdn.com/neetoinvoice-apis/uWVC3JUYmHJV-Nax/assets/favicon.svg?fit=max\u0026auto=format\u0026n=uWVC3JUYmHJV-Nax\u0026q=85\u0026s=549d0ce4ae972680e5f9ce64588271b4","api":{"params":{"expanded":"all"},"playground":{"display":"interactive","proxy":true},"examples":{"defaults":"all","languages":["curl","javascript","python"]}},"appearance":{"default":"light","strict":true},"navbar":{"links":[{"href":"https://www.neeto.com/neetoinvoice/blog","label":"Blog"},{"href":"https://help.neetoinvoice.com/","label":"Help center"},{"href":"https://neetoinvoice.com/","label":"NeetoInvoice"}]},"footer":{"socials":{"x":"https://x.com/neetohq","linkedin":"https://www.linkedin.com/company/neeto","youtube":"https://www.youtube.com/channel/UCoQ3Kv2JdZ51WZJ3QFFcI9g","slack":"https://neeto.com/community"}},"styling":{"eyebrows":"section","codeblocks":"system","latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"neetoinvoice-apis","hasAudioNarration":false,"actualSubdomain":"neetoinvoice-apis","customDomains":["apidocs.neetoinvoice.com"],"gitSource":{"type":"github","owner":"neetoinvoiceapis","repo":"neeto-invoice-api","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae870c7ed2f58cb10ee14d1","clientVersion":"0.0.4111","searchFilterCounts":[{"language":"default","tag":"API","count":64},{"language":"default","tag":"API v1 (deprecated)","count":22},{"language":"default","tag":"Getting started","count":20},{"language":"default","tag":"CLI","count":18},{"language":"default","tag":"Commands","count":11},{"language":"default","tag":"Clients","count":4},{"language":"default","tag":"Project users","count":4},{"language":"default","tag":"Projects","count":4},{"language":"default","tag":"Team members","count":4},{"language":"default","tag":"Invoices","count":3}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"googleFontsInlined":false},"customCss":[{"filePath":"theme.css","content":":root{--primary-green: #0da874;--white: #ffffff;--light-gray: #eeeeee;--dark-gray: #1f2937;--text-white: rgb(255, 255, 255);--text-light: rgb(238, 238, 238)}#navbar-transition,[data-nav=\"true\"]{background-color:var(--primary-green)!important}.nav-logo{filter:brightness(0) invert(1)!important;height:20px!important;width:auto!important;max-width:none!important}[data-nav=\"true\"] a,#navbar-transition a,#navbar a,.navbar-link{color:var(--text-white)!important}[data-nav=\"true\"] a:hover,#navbar-transition a:hover,#navbar a:hover,.navbar-link:hover{color:var(--text-light)!important}#navbar button,#navbar span,#navbar div,#navbar p,#navbar .text-sm,#navbar .text-xs{color:var(--white)!important}#navbar .bg-gray-500,#navbar .bg-gray-400,#navbar .bg-gray-600,#navbar .bg-gray-300{background-color:var(--white)!important}[data-headlessui-state=\"open\"] [id*=\"headlessui-dialog-panel\"]{background-color:var(--white)!important}[data-headlessui-state=\"open\"] [id*=\"headlessui-dialog-panel\"] .navbar-link a,[data-headlessui-state=\"open\"] [id*=\"headlessui-dialog-panel\"] .text-gray-600,[data-headlessui-state=\"open\"] [id*=\"headlessui-dialog-panel\"] .dark\\:text-gray-400{color:var(--dark-gray)!important}[data-headlessui-state=\"open\"] [id*=\"headlessui-dialog-panel\"] .navbar-link a:hover,[data-headlessui-state=\"open\"] [id*=\"headlessui-dialog-panel\"] .hover\\:text-gray-900:hover,[data-headlessui-state=\"open\"] [id*=\"headlessui-dialog-panel\"] .dark\\:hover\\:text-gray-300:hover{color:var(--primary-green)!important}#search-bar-entry button,#search-bar-entry span,#search-bar-entry div,#search-bar-entry p,#search-bar-entry img,#search-bar-entry svg,#search-bar-entry .text-sm,#search-bar-entry .text-xs{color:var(--primary-green)!important}"}],"page":{"pagePath":"api/invoices/create","slug":"/api/invoices/create","pageMetadata":{"title":"Generate invoice","openapi":"bundled/invoices.yaml POST /clients/{client_id}/invoices","description":"Generate an invoice for a client from unbilled time entries, services, expenses or fixed price projects, with optional taxes. The invoice is generated in the background, so its status is `generating` when the request returns.","href":"/api/invoices/create"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Generate an invoice for a client from unbilled time entries, services, expenses or fixed price projects, with optional taxes. The invoice is generated in the background, so its status is \", _jsx(_components.code, {\n children: \"generating\"\n }), \" when the request returns.\"]\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{jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,..._provideComponents(),...props.components},{Info}=_components;if(!Info)_missingMdxReference(`Info`,true);return _jsxs(Info,{children:[`Replace `,_jsx(_components.code,{children:`{your-subdomain}`}),` with your workspace’s subdomain. `,_jsx(`br`,{}),` Learn how to find your subdomain in `,_jsx(_components.a,{href:`/api/workspace-subdomain`,children:`Workspace subdomain`}),`.`]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Generate invoice","openapi":"bundled/invoices.yaml POST /clients/{client_id}/invoices","description":"Generate an invoice for a client from unbilled time entries, services, expenses or fixed price projects, with optional taxes. The invoice is generated in the background, so its status is `generating` when the request returns.","href":"/api/invoices/create"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/neetoinvoice-apis/5f665fb1f1635bc3/os-detect.js"],"openApiReferenceData":{"operation":{"summary":"Generate an invoice","tags":["Invoices"],"description":"Generate an invoice for a client from unbilled time entries, services, expenses or fixed price projects, with optional taxes. The invoice is generated in the background, so its status is `generating` when the request returns.","parameters":["3f93d2e9-b34e-40a8-ad17-d4ce6e3a6bf1","42d545c5-cdac-498a-9c94-434551f16183"],"requestBody":"28b7f892-5a74-4b2b-9189-d074ffd0a1e4","responses":{"201":"91c577a9-ced8-43cf-b395-6ae3a412075c"},"method":"post","type":"path","servers":["e1db59ff-eb84-4ce3-9637-34cb41f307c9"],"security":[],"path":"/clients/{client_id}/invoices","baseUrlOptions":["https://{your-subdomain}.neetoinvoice.com/api/external/v2"],"title":"Generate an invoice","codeSamples":[],"requestExampleLanguages":["bash","javascript","python"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"3f93d2e9-b34e-40a8-ad17-d4ce6e3a6bf1":{"in":"header","name":"X-Api-Key","description":"Use the X-Api-Key header to provide your workspace API key. Refer to [Authentication](/api/authentication) for more information.","required":true,"schema":{"type":"string","default":"your-api-key","isRequired":true,"description":"Use the X-Api-Key header to provide your workspace API key. Refer to [Authentication](/api/authentication) for more information.","uniqueKey":"","typeLabel":"string"}},"42d545c5-cdac-498a-9c94-434551f16183":{"in":"path","name":"client_id","description":"Unique ID of the client for which you want to retrieve or update details. Refer to [Getting the Client ID](/api/getting-client-id) section for detailed instructions.","required":true,"schema":{"type":"string","isRequired":true,"description":"Unique ID of the client for which you want to retrieve or update details. Refer to [Getting the Client ID](/api/getting-client-id) section for detailed instructions.","uniqueKey":"","typeLabel":"string"},"example":"a8b90a464cad12b48e45"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"type":"object","title":"Time Entry IDs","required":["time_entry_ids","email","number"],"properties":{"email":{"type":"string","format":"email","description":"Email of the person creating the invoice.","example":"john@example.com","isRequired":true,"uniqueKey":"oneOf.0.email","typeLabel":"string\u003cemail>"},"number":{"type":"string","description":"Invoice identifier.","example":"INV-EXT-001","isRequired":true,"uniqueKey":"oneOf.0.number","typeLabel":"string"},"time_entry_ids":{"type":"array","description":"IDs of unbilled time entries to bill. Refer to [Getting the Time Entry ID](/api/getting-time-entry-id) section for detailed instructions. An unknown or already billed ID is rejected with a field error on `time_entry_ids`.","items":{"type":"string","format":"uuid","uniqueKey":"oneOf.0.time_entry_ids.items.[INDEX]","typeLabel":"string\u003cuuid>"},"example":["128c1dfc-b29f-4fda-9a05-8a90e197b81b"],"isRequired":true,"uniqueKey":"oneOf.0.time_entry_ids","typeLabel":"string\u003cuuid>[]"},"total":{"type":"number","format":"float","description":"Total amount of the invoice. Optional; the total is computed from the line items.","example":500,"uniqueKey":"oneOf.0.total","typeLabel":"number\u003cfloat>"},"issue_date":{"type":"string","description":"Issue date of the invoice in `YYYY-MM-DD` format. `MM/DD/YYYY` is still accepted.","example":"2026-10-15","uniqueKey":"oneOf.0.issue_date","typeLabel":"string"},"due_date":{"type":"string","description":"Due date of the invoice in `YYYY-MM-DD` format. `MM/DD/YYYY` is still accepted. Sending `due_date` alone sets a custom due date; you do not need to send `due_date_period`.","example":"2026-10-30","uniqueKey":"oneOf.0.due_date","typeLabel":"string"},"due_date_period":{"type":"number","description":"Due date period for the invoice in days.","example":30,"uniqueKey":"oneOf.0.due_date_period","typeLabel":"number"},"interval":{"type":"string","description":"Billing interval for the invoice.","example":"monthly","uniqueKey":"oneOf.0.interval","typeLabel":"string"},"notes":{"type":"string","description":"Additional notes for the invoice.","example":"Payment terms: Net 30 days","uniqueKey":"oneOf.0.notes","typeLabel":"string"},"include_hours_by_person":{"type":"boolean","description":"Whether to include hours breakdown by person.","example":true,"uniqueKey":"oneOf.0.include_hours_by_person","typeLabel":"boolean"},"include_hours_by_task":{"type":"boolean","description":"Whether to include hours breakdown by task.","example":false,"uniqueKey":"oneOf.0.include_hours_by_task","typeLabel":"boolean"},"include_time_entries":{"type":"boolean","description":"Whether to include detailed time entries.","example":true,"uniqueKey":"oneOf.0.include_time_entries","typeLabel":"boolean"},"send_automated_reminder_email":{"type":"boolean","description":"Whether to send automated reminder emails.","example":true,"uniqueKey":"oneOf.0.send_automated_reminder_email","typeLabel":"boolean"},"include_payment_link":{"type":"boolean","description":"Whether to include payment link in the invoice.","example":true,"uniqueKey":"oneOf.0.include_payment_link","typeLabel":"boolean"},"payment_provider":{"type":"string","description":"Payment provider for the invoice.","enum":["stripe","undefined"],"example":"undefined","uniqueKey":"oneOf.0.payment_provider","typeLabel":"enum\u003cstring>"},"display_task_name":{"type":"boolean","description":"Whether to display task names in the invoice.","example":true,"uniqueKey":"oneOf.0.display_task_name","typeLabel":"boolean"},"display_person_name":{"type":"boolean","description":"Whether to display person names in the invoice.","example":true,"uniqueKey":"oneOf.0.display_person_name","typeLabel":"boolean"},"display_date":{"type":"boolean","description":"Whether to display dates in the invoice.","example":true,"uniqueKey":"oneOf.0.display_date","typeLabel":"boolean"},"display_note":{"type":"boolean","description":"Whether to display notes in the invoice.","example":true,"uniqueKey":"oneOf.0.display_note","typeLabel":"boolean"},"display_project_name":{"type":"boolean","description":"Whether to display project names in the invoice.","example":false,"uniqueKey":"oneOf.0.display_project_name","typeLabel":"boolean"},"project_id":{"type":"array","description":"Fixed price projects to bill. When the request has no `invoice_services`, each project is billed for its remaining flat amount. Refer to [Getting the Project ID](/api/getting-project-id) section for detailed instructions.","items":{"type":"string","uniqueKey":"oneOf.0.project_id.items.[INDEX]","typeLabel":"string"},"example":["89d1b47d9f36af3c9ecf","24e6a2fe31bb686c541a"],"uniqueKey":"oneOf.0.project_id","typeLabel":"string[]"},"send_email":{"type":"boolean","description":"Whether to email the invoice once it is generated. The invoice goes to every current recipient of the client unless `invoice_details.recipient_ids` narrows it. If the client has no current recipients, the request is rejected and no invoice is created.","example":true,"uniqueKey":"oneOf.0.send_email","typeLabel":"boolean"},"invoice_details":{"type":"object","description":"Email details for sending the invoice. Optional; used only when send_email is true.","properties":{"subject":{"type":"string","description":"Email subject for the invoice.","example":"Invoice INV-EXT-001 from Your Company","uniqueKey":"oneOf.0.invoice_details.subject","typeLabel":"string"},"message":{"type":"string","description":"Email message for the invoice.","example":"Please find attached your invoice for the services rendered.","uniqueKey":"oneOf.0.invoice_details.message","typeLabel":"string"},"attach_pdf_invoice":{"type":"string","description":"Whether to attach PDF invoice.","enum":["true","false"],"example":"true","uniqueKey":"oneOf.0.invoice_details.attach_pdf_invoice","typeLabel":"enum\u003cstring>"},"send_me_a_copy":{"type":"string","description":"Whether to send a copy to the sender.","enum":["true","false"],"example":"false","uniqueKey":"oneOf.0.invoice_details.send_me_a_copy","typeLabel":"enum\u003cstring>"},"recipient_ids":{"type":"array","description":"Array of recipient IDs for email delivery. Defaults to every current recipient of the client. Refer to [Getting the Recipient ID](/api/getting-recipient-id) section for detailed instructions.","items":{"type":"string","format":"uuid","uniqueKey":"oneOf.0.invoice_details.recipient_ids.items.[INDEX]","typeLabel":"string\u003cuuid>"},"example":["128c1dfc-b29f-4fda-9a05-8a90e197b81b","6be815a8-9a10-455c-95d9-b0b548664420"],"uniqueKey":"oneOf.0.invoice_details.recipient_ids","typeLabel":"string\u003cuuid>[]"}},"uniqueKey":"oneOf.0.invoice_details","typeLabel":"object"},"tax_details":{"type":"array","description":"Array of tax details for the invoice.","items":{"type":"object","properties":{"name":{"type":"string","description":"Name of the tax.","example":"GST","uniqueKey":"oneOf.0.tax_details.items.[INDEX].name","typeLabel":"string"},"percentage":{"type":"number","description":"Tax percentage.","example":10,"uniqueKey":"oneOf.0.tax_details.items.[INDEX].percentage","typeLabel":"number"},"notes":{"type":"string","description":"Notes for the tax.","example":"Goods and Services Tax","uniqueKey":"oneOf.0.tax_details.items.[INDEX].notes","typeLabel":"string"},"selected":{"type":"boolean","description":"Whether the tax is selected for the invoice.","example":true,"uniqueKey":"oneOf.0.tax_details.items.[INDEX].selected","typeLabel":"boolean"}},"uniqueKey":"oneOf.0.tax_details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.0.tax_details","typeLabel":"object[]"},"invoice_expenses":{"type":"array","description":"Expenses to bill. An invoice may contain only expenses.","items":{"type":"object","required":["notes","unit_amount","recorded_on"],"properties":{"notes":{"type":"string","description":"Expense description.","example":"Flight to client site","isRequired":true,"uniqueKey":"oneOf.0.invoice_expenses.items.[INDEX].notes","typeLabel":"string"},"unit_amount":{"type":"number","format":"float","description":"Amount per unit.","example":320,"isRequired":true,"uniqueKey":"oneOf.0.invoice_expenses.items.[INDEX].unit_amount","typeLabel":"number\u003cfloat>"},"recorded_on":{"type":"string","format":"date","description":"Date of the expense in `YYYY-MM-DD` format.","example":"2026-10-12","isRequired":true,"uniqueKey":"oneOf.0.invoice_expenses.items.[INDEX].recorded_on","typeLabel":"string\u003cdate>"},"quantity":{"type":"number","description":"Quantity. Defaults to 1.","example":1,"uniqueKey":"oneOf.0.invoice_expenses.items.[INDEX].quantity","typeLabel":"number"},"category":{"type":"string","description":"Name of an expense category set up in the workspace, for example Travel. The match is case-insensitive. An unknown name is rejected and the error lists the categories in the workspace.","example":"Travel","uniqueKey":"oneOf.0.invoice_expenses.items.[INDEX].category","typeLabel":"string"},"vendor":{"type":"string","description":"Vendor name.","example":"Airline Co","uniqueKey":"oneOf.0.invoice_expenses.items.[INDEX].vendor","typeLabel":"string"},"project_id":{"type":"string","description":"Project the expense belongs to.","example":"f627c399-379d-4d07-a6f6-90b7c9470ac0","uniqueKey":"oneOf.0.invoice_expenses.items.[INDEX].project_id","typeLabel":"string"}},"uniqueKey":"oneOf.0.invoice_expenses.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.0.invoice_expenses","typeLabel":"object[]"}},"uniqueKey":"oneOf.0","typeLabel":"Time Entry IDs · object"},{"type":"object","title":"Expenses","required":["invoice_expenses","email","number"],"properties":{"email":{"type":"string","format":"email","description":"Email of the person creating the invoice.","example":"john@example.com","isRequired":true,"uniqueKey":"oneOf.1.email","typeLabel":"string\u003cemail>"},"number":{"type":"string","description":"Invoice identifier.","example":"INV-EXT-001","isRequired":true,"uniqueKey":"oneOf.1.number","typeLabel":"string"},"invoice_expenses":{"type":"array","description":"Expenses to bill. An invoice may contain only expenses.","items":{"type":"object","required":["notes","unit_amount","recorded_on"],"properties":{"notes":{"type":"string","description":"Expense description.","example":"Flight to client site","isRequired":true,"uniqueKey":"oneOf.1.invoice_expenses.items.[INDEX].notes","typeLabel":"string"},"unit_amount":{"type":"number","format":"float","description":"Amount per unit.","example":320,"isRequired":true,"uniqueKey":"oneOf.1.invoice_expenses.items.[INDEX].unit_amount","typeLabel":"number\u003cfloat>"},"recorded_on":{"type":"string","format":"date","description":"Date of the expense in `YYYY-MM-DD` format.","example":"2026-10-12","isRequired":true,"uniqueKey":"oneOf.1.invoice_expenses.items.[INDEX].recorded_on","typeLabel":"string\u003cdate>"},"quantity":{"type":"number","description":"Quantity. Defaults to 1.","example":1,"uniqueKey":"oneOf.1.invoice_expenses.items.[INDEX].quantity","typeLabel":"number"},"category":{"type":"string","description":"Name of an expense category set up in the workspace, for example Travel. The match is case-insensitive. An unknown name is rejected and the error lists the categories in the workspace.","example":"Travel","uniqueKey":"oneOf.1.invoice_expenses.items.[INDEX].category","typeLabel":"string"},"vendor":{"type":"string","description":"Vendor name.","example":"Airline Co","uniqueKey":"oneOf.1.invoice_expenses.items.[INDEX].vendor","typeLabel":"string"},"project_id":{"type":"string","description":"Project the expense belongs to.","example":"f627c399-379d-4d07-a6f6-90b7c9470ac0","uniqueKey":"oneOf.1.invoice_expenses.items.[INDEX].project_id","typeLabel":"string"}},"uniqueKey":"oneOf.1.invoice_expenses.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"oneOf.1.invoice_expenses","typeLabel":"object[]"},"total":{"type":"number","format":"float","description":"Total amount of the invoice. Optional; the total is computed from the line items.","example":500,"uniqueKey":"oneOf.1.total","typeLabel":"number\u003cfloat>"},"issue_date":{"type":"string","description":"Issue date of the invoice in `YYYY-MM-DD` format. `MM/DD/YYYY` is still accepted.","example":"2026-10-15","uniqueKey":"oneOf.1.issue_date","typeLabel":"string"},"due_date":{"type":"string","description":"Due date of the invoice in `YYYY-MM-DD` format. `MM/DD/YYYY` is still accepted. Sending `due_date` alone sets a custom due date; you do not need to send `due_date_period`.","example":"2026-10-30","uniqueKey":"oneOf.1.due_date","typeLabel":"string"},"due_date_period":{"type":"number","description":"Due date period for the invoice in days.","example":30,"uniqueKey":"oneOf.1.due_date_period","typeLabel":"number"},"interval":{"type":"string","description":"Billing interval for the invoice.","example":"monthly","uniqueKey":"oneOf.1.interval","typeLabel":"string"},"notes":{"type":"string","description":"Additional notes for the invoice.","example":"Payment terms: Net 30 days","uniqueKey":"oneOf.1.notes","typeLabel":"string"},"include_hours_by_person":{"type":"boolean","description":"Whether to include hours breakdown by person.","example":true,"uniqueKey":"oneOf.1.include_hours_by_person","typeLabel":"boolean"},"include_hours_by_task":{"type":"boolean","description":"Whether to include hours breakdown by task.","example":false,"uniqueKey":"oneOf.1.include_hours_by_task","typeLabel":"boolean"},"include_time_entries":{"type":"boolean","description":"Whether to include detailed time entries.","example":true,"uniqueKey":"oneOf.1.include_time_entries","typeLabel":"boolean"},"send_automated_reminder_email":{"type":"boolean","description":"Whether to send automated reminder emails.","example":true,"uniqueKey":"oneOf.1.send_automated_reminder_email","typeLabel":"boolean"},"include_payment_link":{"type":"boolean","description":"Whether to include payment link in the invoice.","example":true,"uniqueKey":"oneOf.1.include_payment_link","typeLabel":"boolean"},"payment_provider":{"type":"string","description":"Payment provider for the invoice.","enum":["stripe","undefined"],"example":"undefined","uniqueKey":"oneOf.1.payment_provider","typeLabel":"enum\u003cstring>"},"display_task_name":{"type":"boolean","description":"Whether to display task names in the invoice.","example":true,"uniqueKey":"oneOf.1.display_task_name","typeLabel":"boolean"},"display_person_name":{"type":"boolean","description":"Whether to display person names in the invoice.","example":true,"uniqueKey":"oneOf.1.display_person_name","typeLabel":"boolean"},"display_date":{"type":"boolean","description":"Whether to display dates in the invoice.","example":true,"uniqueKey":"oneOf.1.display_date","typeLabel":"boolean"},"display_note":{"type":"boolean","description":"Whether to display notes in the invoice.","example":true,"uniqueKey":"oneOf.1.display_note","typeLabel":"boolean"},"display_project_name":{"type":"boolean","description":"Whether to display project names in the invoice.","example":false,"uniqueKey":"oneOf.1.display_project_name","typeLabel":"boolean"},"time_entry_ids":{"type":"array","description":"IDs of unbilled time entries to bill. Refer to [Getting the Time Entry ID](/api/getting-time-entry-id) section for detailed instructions. An unknown or already billed ID is rejected with a field error on `time_entry_ids`.","items":{"type":"string","format":"uuid","uniqueKey":"oneOf.1.time_entry_ids.items.[INDEX]","typeLabel":"string\u003cuuid>"},"example":["128c1dfc-b29f-4fda-9a05-8a90e197b81b"],"uniqueKey":"oneOf.1.time_entry_ids","typeLabel":"string\u003cuuid>[]"},"project_id":{"type":"array","description":"Fixed price projects to bill. When the request has no `invoice_services`, each project is billed for its remaining flat amount. Refer to [Getting the Project ID](/api/getting-project-id) section for detailed instructions.","items":{"type":"string","uniqueKey":"oneOf.1.project_id.items.[INDEX]","typeLabel":"string"},"example":["89d1b47d9f36af3c9ecf","24e6a2fe31bb686c541a"],"uniqueKey":"oneOf.1.project_id","typeLabel":"string[]"},"send_email":{"type":"boolean","description":"Whether to email the invoice once it is generated. The invoice goes to every current recipient of the client unless `invoice_details.recipient_ids` narrows it. If the client has no current recipients, the request is rejected and no invoice is created.","example":true,"uniqueKey":"oneOf.1.send_email","typeLabel":"boolean"},"invoice_details":{"type":"object","description":"Email details for sending the invoice. Optional; used only when send_email is true.","properties":{"subject":{"type":"string","description":"Email subject for the invoice.","example":"Invoice INV-EXT-001 from Your Company","uniqueKey":"oneOf.1.invoice_details.subject","typeLabel":"string"},"message":{"type":"string","description":"Email message for the invoice.","example":"Please find attached your invoice for the services rendered.","uniqueKey":"oneOf.1.invoice_details.message","typeLabel":"string"},"attach_pdf_invoice":{"type":"string","description":"Whether to attach PDF invoice.","enum":["true","false"],"example":"true","uniqueKey":"oneOf.1.invoice_details.attach_pdf_invoice","typeLabel":"enum\u003cstring>"},"send_me_a_copy":{"type":"string","description":"Whether to send a copy to the sender.","enum":["true","false"],"example":"false","uniqueKey":"oneOf.1.invoice_details.send_me_a_copy","typeLabel":"enum\u003cstring>"},"recipient_ids":{"type":"array","description":"Array of recipient IDs for email delivery. Defaults to every current recipient of the client. Refer to [Getting the Recipient ID](/api/getting-recipient-id) section for detailed instructions.","items":{"type":"string","format":"uuid","uniqueKey":"oneOf.1.invoice_details.recipient_ids.items.[INDEX]","typeLabel":"string\u003cuuid>"},"example":["128c1dfc-b29f-4fda-9a05-8a90e197b81b","6be815a8-9a10-455c-95d9-b0b548664420"],"uniqueKey":"oneOf.1.invoice_details.recipient_ids","typeLabel":"string\u003cuuid>[]"}},"uniqueKey":"oneOf.1.invoice_details","typeLabel":"object"},"tax_details":{"type":"array","description":"Array of tax details for the invoice.","items":{"type":"object","properties":{"name":{"type":"string","description":"Name of the tax.","example":"GST","uniqueKey":"oneOf.1.tax_details.items.[INDEX].name","typeLabel":"string"},"percentage":{"type":"number","description":"Tax percentage.","example":10,"uniqueKey":"oneOf.1.tax_details.items.[INDEX].percentage","typeLabel":"number"},"notes":{"type":"string","description":"Notes for the tax.","example":"Goods and Services Tax","uniqueKey":"oneOf.1.tax_details.items.[INDEX].notes","typeLabel":"string"},"selected":{"type":"boolean","description":"Whether the tax is selected for the invoice.","example":true,"uniqueKey":"oneOf.1.tax_details.items.[INDEX].selected","typeLabel":"boolean"}},"uniqueKey":"oneOf.1.tax_details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.1.tax_details","typeLabel":"object[]"}},"uniqueKey":"oneOf.1","typeLabel":"Expenses · object"},{"type":"object","title":"Fixed Price Projects","required":["project_id","email","number"],"properties":{"email":{"type":"string","format":"email","description":"Email of the person creating the invoice.","example":"john@example.com","isRequired":true,"uniqueKey":"oneOf.2.email","typeLabel":"string\u003cemail>"},"number":{"type":"string","description":"Invoice identifier.","example":"INV-EXT-001","isRequired":true,"uniqueKey":"oneOf.2.number","typeLabel":"string"},"project_id":{"type":"array","description":"Fixed price projects to bill. When the request has no `invoice_services`, each project is billed for its remaining flat amount. Refer to [Getting the Project ID](/api/getting-project-id) section for detailed instructions.","items":{"type":"string","uniqueKey":"oneOf.2.project_id.items.[INDEX]","typeLabel":"string"},"example":["89d1b47d9f36af3c9ecf","24e6a2fe31bb686c541a"],"isRequired":true,"uniqueKey":"oneOf.2.project_id","typeLabel":"string[]"},"total":{"type":"number","format":"float","description":"Total amount of the invoice. Optional; the total is computed from the line items.","example":500,"uniqueKey":"oneOf.2.total","typeLabel":"number\u003cfloat>"},"issue_date":{"type":"string","description":"Issue date of the invoice in `YYYY-MM-DD` format. `MM/DD/YYYY` is still accepted.","example":"2026-10-15","uniqueKey":"oneOf.2.issue_date","typeLabel":"string"},"due_date":{"type":"string","description":"Due date of the invoice in `YYYY-MM-DD` format. `MM/DD/YYYY` is still accepted. Sending `due_date` alone sets a custom due date; you do not need to send `due_date_period`.","example":"2026-10-30","uniqueKey":"oneOf.2.due_date","typeLabel":"string"},"due_date_period":{"type":"number","description":"Due date period for the invoice in days.","example":30,"uniqueKey":"oneOf.2.due_date_period","typeLabel":"number"},"interval":{"type":"string","description":"Billing interval for the invoice.","example":"monthly","uniqueKey":"oneOf.2.interval","typeLabel":"string"},"notes":{"type":"string","description":"Additional notes for the invoice.","example":"Payment terms: Net 30 days","uniqueKey":"oneOf.2.notes","typeLabel":"string"},"include_hours_by_person":{"type":"boolean","description":"Whether to include hours breakdown by person.","example":true,"uniqueKey":"oneOf.2.include_hours_by_person","typeLabel":"boolean"},"include_hours_by_task":{"type":"boolean","description":"Whether to include hours breakdown by task.","example":false,"uniqueKey":"oneOf.2.include_hours_by_task","typeLabel":"boolean"},"include_time_entries":{"type":"boolean","description":"Whether to include detailed time entries.","example":true,"uniqueKey":"oneOf.2.include_time_entries","typeLabel":"boolean"},"send_automated_reminder_email":{"type":"boolean","description":"Whether to send automated reminder emails.","example":true,"uniqueKey":"oneOf.2.send_automated_reminder_email","typeLabel":"boolean"},"include_payment_link":{"type":"boolean","description":"Whether to include payment link in the invoice.","example":true,"uniqueKey":"oneOf.2.include_payment_link","typeLabel":"boolean"},"payment_provider":{"type":"string","description":"Payment provider for the invoice.","enum":["stripe","undefined"],"example":"undefined","uniqueKey":"oneOf.2.payment_provider","typeLabel":"enum\u003cstring>"},"display_task_name":{"type":"boolean","description":"Whether to display task names in the invoice.","example":true,"uniqueKey":"oneOf.2.display_task_name","typeLabel":"boolean"},"display_person_name":{"type":"boolean","description":"Whether to display person names in the invoice.","example":true,"uniqueKey":"oneOf.2.display_person_name","typeLabel":"boolean"},"display_date":{"type":"boolean","description":"Whether to display dates in the invoice.","example":true,"uniqueKey":"oneOf.2.display_date","typeLabel":"boolean"},"display_note":{"type":"boolean","description":"Whether to display notes in the invoice.","example":true,"uniqueKey":"oneOf.2.display_note","typeLabel":"boolean"},"display_project_name":{"type":"boolean","description":"Whether to display project names in the invoice.","example":false,"uniqueKey":"oneOf.2.display_project_name","typeLabel":"boolean"},"time_entry_ids":{"type":"array","description":"IDs of unbilled time entries to bill. Refer to [Getting the Time Entry ID](/api/getting-time-entry-id) section for detailed instructions. An unknown or already billed ID is rejected with a field error on `time_entry_ids`.","items":{"type":"string","format":"uuid","uniqueKey":"oneOf.2.time_entry_ids.items.[INDEX]","typeLabel":"string\u003cuuid>"},"example":["128c1dfc-b29f-4fda-9a05-8a90e197b81b"],"uniqueKey":"oneOf.2.time_entry_ids","typeLabel":"string\u003cuuid>[]"},"send_email":{"type":"boolean","description":"Whether to email the invoice once it is generated. The invoice goes to every current recipient of the client unless `invoice_details.recipient_ids` narrows it. If the client has no current recipients, the request is rejected and no invoice is created.","example":true,"uniqueKey":"oneOf.2.send_email","typeLabel":"boolean"},"invoice_details":{"type":"object","description":"Email details for sending the invoice. Optional; used only when send_email is true.","properties":{"subject":{"type":"string","description":"Email subject for the invoice.","example":"Invoice INV-EXT-001 from Your Company","uniqueKey":"oneOf.2.invoice_details.subject","typeLabel":"string"},"message":{"type":"string","description":"Email message for the invoice.","example":"Please find attached your invoice for the services rendered.","uniqueKey":"oneOf.2.invoice_details.message","typeLabel":"string"},"attach_pdf_invoice":{"type":"string","description":"Whether to attach PDF invoice.","enum":["true","false"],"example":"true","uniqueKey":"oneOf.2.invoice_details.attach_pdf_invoice","typeLabel":"enum\u003cstring>"},"send_me_a_copy":{"type":"string","description":"Whether to send a copy to the sender.","enum":["true","false"],"example":"false","uniqueKey":"oneOf.2.invoice_details.send_me_a_copy","typeLabel":"enum\u003cstring>"},"recipient_ids":{"type":"array","description":"Array of recipient IDs for email delivery. Defaults to every current recipient of the client. Refer to [Getting the Recipient ID](/api/getting-recipient-id) section for detailed instructions.","items":{"type":"string","format":"uuid","uniqueKey":"oneOf.2.invoice_details.recipient_ids.items.[INDEX]","typeLabel":"string\u003cuuid>"},"example":["128c1dfc-b29f-4fda-9a05-8a90e197b81b","6be815a8-9a10-455c-95d9-b0b548664420"],"uniqueKey":"oneOf.2.invoice_details.recipient_ids","typeLabel":"string\u003cuuid>[]"}},"uniqueKey":"oneOf.2.invoice_details","typeLabel":"object"},"tax_details":{"type":"array","description":"Array of tax details for the invoice.","items":{"type":"object","properties":{"name":{"type":"string","description":"Name of the tax.","example":"GST","uniqueKey":"oneOf.2.tax_details.items.[INDEX].name","typeLabel":"string"},"percentage":{"type":"number","description":"Tax percentage.","example":10,"uniqueKey":"oneOf.2.tax_details.items.[INDEX].percentage","typeLabel":"number"},"notes":{"type":"string","description":"Notes for the tax.","example":"Goods and Services Tax","uniqueKey":"oneOf.2.tax_details.items.[INDEX].notes","typeLabel":"string"},"selected":{"type":"boolean","description":"Whether the tax is selected for the invoice.","example":true,"uniqueKey":"oneOf.2.tax_details.items.[INDEX].selected","typeLabel":"boolean"}},"uniqueKey":"oneOf.2.tax_details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.2.tax_details","typeLabel":"object[]"},"invoice_expenses":{"type":"array","description":"Expenses to bill. An invoice may contain only expenses.","items":{"type":"object","required":["notes","unit_amount","recorded_on"],"properties":{"notes":{"type":"string","description":"Expense description.","example":"Flight to client site","isRequired":true,"uniqueKey":"oneOf.2.invoice_expenses.items.[INDEX].notes","typeLabel":"string"},"unit_amount":{"type":"number","format":"float","description":"Amount per unit.","example":320,"isRequired":true,"uniqueKey":"oneOf.2.invoice_expenses.items.[INDEX].unit_amount","typeLabel":"number\u003cfloat>"},"recorded_on":{"type":"string","format":"date","description":"Date of the expense in `YYYY-MM-DD` format.","example":"2026-10-12","isRequired":true,"uniqueKey":"oneOf.2.invoice_expenses.items.[INDEX].recorded_on","typeLabel":"string\u003cdate>"},"quantity":{"type":"number","description":"Quantity. Defaults to 1.","example":1,"uniqueKey":"oneOf.2.invoice_expenses.items.[INDEX].quantity","typeLabel":"number"},"category":{"type":"string","description":"Name of an expense category set up in the workspace, for example Travel. The match is case-insensitive. An unknown name is rejected and the error lists the categories in the workspace.","example":"Travel","uniqueKey":"oneOf.2.invoice_expenses.items.[INDEX].category","typeLabel":"string"},"vendor":{"type":"string","description":"Vendor name.","example":"Airline Co","uniqueKey":"oneOf.2.invoice_expenses.items.[INDEX].vendor","typeLabel":"string"},"project_id":{"type":"string","description":"Project the expense belongs to.","example":"f627c399-379d-4d07-a6f6-90b7c9470ac0","uniqueKey":"oneOf.2.invoice_expenses.items.[INDEX].project_id","typeLabel":"string"}},"uniqueKey":"oneOf.2.invoice_expenses.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.2.invoice_expenses","typeLabel":"object[]"}},"uniqueKey":"oneOf.2","typeLabel":"Fixed Price Projects · object"},{"type":"object","title":"Time Entries","required":["invoice_time_entries","email","number"],"properties":{"email":{"type":"string","format":"email","description":"Email of the person creating the invoice.","example":"john@example.com","isRequired":true,"uniqueKey":"oneOf.3.email","typeLabel":"string\u003cemail>"},"number":{"type":"string","description":"Invoice identifier.","example":"INV-EXT-001","isRequired":true,"uniqueKey":"oneOf.3.number","typeLabel":"string"},"invoice_time_entries":{"type":"array","description":"Array of time entries to include in the invoice.","items":{"type":"object","required":["time_entry_id","project_id","task_id","user_id"],"properties":{"time_entry_id":{"type":"string","format":"uuid","description":"ID of the time entry. Refer to [Getting the Time Entry ID](/api/getting-time-entry-id) section for detailed instructions.","example":"128c1dfc-b29f-4fda-9a05-8a90e197b81b","isRequired":true,"uniqueKey":"oneOf.3.invoice_time_entries.items.[INDEX].time_entry_id","typeLabel":"string\u003cuuid>"},"project_id":{"type":"string","description":"Unique ID of the project.","example":"f627c399-379d-4d07-a6f6-90b7c9470ac0","isRequired":true,"uniqueKey":"oneOf.3.invoice_time_entries.items.[INDEX].project_id","typeLabel":"string"},"task_id":{"type":"string","format":"uuid","description":"Unique ID of the task. Refer to [Getting the Task ID](/api/getting-task-id) section for detailed instructions.","example":"4d0d7ad1-91ce-44d0-abfe-6718422716dd","isRequired":true,"uniqueKey":"oneOf.3.invoice_time_entries.items.[INDEX].task_id","typeLabel":"string\u003cuuid>"},"user_id":{"type":"string","format":"uuid","description":"User ID for this time entry. Refer to [Getting the User ID](/api/getting-user-id) section for detailed instructions.","example":"5a2de667-243b-4da3-b090-b698a03d98da","isRequired":true,"uniqueKey":"oneOf.3.invoice_time_entries.items.[INDEX].user_id","typeLabel":"string\u003cuuid>"},"notes":{"type":"string","description":"Notes for the time entry.","example":"Working on feature implementation","uniqueKey":"oneOf.3.invoice_time_entries.items.[INDEX].notes","typeLabel":"string"},"hours":{"type":"number","format":"float","description":"Hours worked.","example":2.5,"uniqueKey":"oneOf.3.invoice_time_entries.items.[INDEX].hours","typeLabel":"number\u003cfloat>"},"hourly_rate":{"type":"number","format":"float","description":"Hourly rate for this time entry.","example":50,"uniqueKey":"oneOf.3.invoice_time_entries.items.[INDEX].hourly_rate","typeLabel":"number\u003cfloat>"}},"uniqueKey":"oneOf.3.invoice_time_entries.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"oneOf.3.invoice_time_entries","typeLabel":"object[]"},"total":{"type":"number","format":"float","description":"Total amount of the invoice. Optional; the total is computed from the line items.","example":500,"uniqueKey":"oneOf.3.total","typeLabel":"number\u003cfloat>"},"issue_date":{"type":"string","description":"Issue date of the invoice in `YYYY-MM-DD` format. `MM/DD/YYYY` is still accepted.","example":"2026-10-15","uniqueKey":"oneOf.3.issue_date","typeLabel":"string"},"due_date":{"type":"string","description":"Due date of the invoice in `YYYY-MM-DD` format. `MM/DD/YYYY` is still accepted. Sending `due_date` alone sets a custom due date; you do not need to send `due_date_period`.","example":"2026-10-30","uniqueKey":"oneOf.3.due_date","typeLabel":"string"},"due_date_period":{"type":"number","description":"Due date period for the invoice in days.","example":30,"uniqueKey":"oneOf.3.due_date_period","typeLabel":"number"},"interval":{"type":"string","description":"Billing interval for the invoice.","example":"monthly","uniqueKey":"oneOf.3.interval","typeLabel":"string"},"notes":{"type":"string","description":"Additional notes for the invoice.","example":"Payment terms: Net 30 days","uniqueKey":"oneOf.3.notes","typeLabel":"string"},"include_hours_by_person":{"type":"boolean","description":"Whether to include hours breakdown by person.","example":true,"uniqueKey":"oneOf.3.include_hours_by_person","typeLabel":"boolean"},"include_hours_by_task":{"type":"boolean","description":"Whether to include hours breakdown by task.","example":false,"uniqueKey":"oneOf.3.include_hours_by_task","typeLabel":"boolean"},"include_time_entries":{"type":"boolean","description":"Whether to include detailed time entries.","example":true,"uniqueKey":"oneOf.3.include_time_entries","typeLabel":"boolean"},"send_automated_reminder_email":{"type":"boolean","description":"Whether to send automated reminder emails.","example":true,"uniqueKey":"oneOf.3.send_automated_reminder_email","typeLabel":"boolean"},"include_payment_link":{"type":"boolean","description":"Whether to include payment link in the invoice.","example":true,"uniqueKey":"oneOf.3.include_payment_link","typeLabel":"boolean"},"payment_provider":{"type":"string","description":"Payment provider for the invoice.","enum":["stripe","undefined"],"example":"undefined","uniqueKey":"oneOf.3.payment_provider","typeLabel":"enum\u003cstring>"},"display_task_name":{"type":"boolean","description":"Whether to display task names in the invoice.","example":true,"uniqueKey":"oneOf.3.display_task_name","typeLabel":"boolean"},"display_person_name":{"type":"boolean","description":"Whether to display person names in the invoice.","example":true,"uniqueKey":"oneOf.3.display_person_name","typeLabel":"boolean"},"display_date":{"type":"boolean","description":"Whether to display dates in the invoice.","example":true,"uniqueKey":"oneOf.3.display_date","typeLabel":"boolean"},"display_note":{"type":"boolean","description":"Whether to display notes in the invoice.","example":true,"uniqueKey":"oneOf.3.display_note","typeLabel":"boolean"},"display_project_name":{"type":"boolean","description":"Whether to display project names in the invoice.","example":false,"uniqueKey":"oneOf.3.display_project_name","typeLabel":"boolean"},"time_entry_ids":{"type":"array","description":"IDs of unbilled time entries to bill. Refer to [Getting the Time Entry ID](/api/getting-time-entry-id) section for detailed instructions. An unknown or already billed ID is rejected with a field error on `time_entry_ids`.","items":{"type":"string","format":"uuid","uniqueKey":"oneOf.3.time_entry_ids.items.[INDEX]","typeLabel":"string\u003cuuid>"},"example":["128c1dfc-b29f-4fda-9a05-8a90e197b81b"],"uniqueKey":"oneOf.3.time_entry_ids","typeLabel":"string\u003cuuid>[]"},"project_id":{"type":"array","description":"Fixed price projects to bill. When the request has no `invoice_services`, each project is billed for its remaining flat amount. Refer to [Getting the Project ID](/api/getting-project-id) section for detailed instructions.","items":{"type":"string","uniqueKey":"oneOf.3.project_id.items.[INDEX]","typeLabel":"string"},"example":["89d1b47d9f36af3c9ecf","24e6a2fe31bb686c541a"],"uniqueKey":"oneOf.3.project_id","typeLabel":"string[]"},"send_email":{"type":"boolean","description":"Whether to email the invoice once it is generated. The invoice goes to every current recipient of the client unless `invoice_details.recipient_ids` narrows it. If the client has no current recipients, the request is rejected and no invoice is created.","example":true,"uniqueKey":"oneOf.3.send_email","typeLabel":"boolean"},"invoice_details":{"type":"object","description":"Email details for sending the invoice. Optional; used only when send_email is true.","properties":{"subject":{"type":"string","description":"Email subject for the invoice.","example":"Invoice INV-EXT-001 from Your Company","uniqueKey":"oneOf.3.invoice_details.subject","typeLabel":"string"},"message":{"type":"string","description":"Email message for the invoice.","example":"Please find attached your invoice for the services rendered.","uniqueKey":"oneOf.3.invoice_details.message","typeLabel":"string"},"attach_pdf_invoice":{"type":"string","description":"Whether to attach PDF invoice.","enum":["true","false"],"example":"true","uniqueKey":"oneOf.3.invoice_details.attach_pdf_invoice","typeLabel":"enum\u003cstring>"},"send_me_a_copy":{"type":"string","description":"Whether to send a copy to the sender.","enum":["true","false"],"example":"false","uniqueKey":"oneOf.3.invoice_details.send_me_a_copy","typeLabel":"enum\u003cstring>"},"recipient_ids":{"type":"array","description":"Array of recipient IDs for email delivery. Defaults to every current recipient of the client. Refer to [Getting the Recipient ID](/api/getting-recipient-id) section for detailed instructions.","items":{"type":"string","format":"uuid","uniqueKey":"oneOf.3.invoice_details.recipient_ids.items.[INDEX]","typeLabel":"string\u003cuuid>"},"example":["128c1dfc-b29f-4fda-9a05-8a90e197b81b","6be815a8-9a10-455c-95d9-b0b548664420"],"uniqueKey":"oneOf.3.invoice_details.recipient_ids","typeLabel":"string\u003cuuid>[]"}},"uniqueKey":"oneOf.3.invoice_details","typeLabel":"object"},"tax_details":{"type":"array","description":"Array of tax details for the invoice.","items":{"type":"object","properties":{"name":{"type":"string","description":"Name of the tax.","example":"GST","uniqueKey":"oneOf.3.tax_details.items.[INDEX].name","typeLabel":"string"},"percentage":{"type":"number","description":"Tax percentage.","example":10,"uniqueKey":"oneOf.3.tax_details.items.[INDEX].percentage","typeLabel":"number"},"notes":{"type":"string","description":"Notes for the tax.","example":"Goods and Services Tax","uniqueKey":"oneOf.3.tax_details.items.[INDEX].notes","typeLabel":"string"},"selected":{"type":"boolean","description":"Whether the tax is selected for the invoice.","example":true,"uniqueKey":"oneOf.3.tax_details.items.[INDEX].selected","typeLabel":"boolean"}},"uniqueKey":"oneOf.3.tax_details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.3.tax_details","typeLabel":"object[]"},"invoice_expenses":{"type":"array","description":"Expenses to bill. An invoice may contain only expenses.","items":{"type":"object","required":["notes","unit_amount","recorded_on"],"properties":{"notes":{"type":"string","description":"Expense description.","example":"Flight to client site","isRequired":true,"uniqueKey":"oneOf.3.invoice_expenses.items.[INDEX].notes","typeLabel":"string"},"unit_amount":{"type":"number","format":"float","description":"Amount per unit.","example":320,"isRequired":true,"uniqueKey":"oneOf.3.invoice_expenses.items.[INDEX].unit_amount","typeLabel":"number\u003cfloat>"},"recorded_on":{"type":"string","format":"date","description":"Date of the expense in `YYYY-MM-DD` format.","example":"2026-10-12","isRequired":true,"uniqueKey":"oneOf.3.invoice_expenses.items.[INDEX].recorded_on","typeLabel":"string\u003cdate>"},"quantity":{"type":"number","description":"Quantity. Defaults to 1.","example":1,"uniqueKey":"oneOf.3.invoice_expenses.items.[INDEX].quantity","typeLabel":"number"},"category":{"type":"string","description":"Name of an expense category set up in the workspace, for example Travel. The match is case-insensitive. An unknown name is rejected and the error lists the categories in the workspace.","example":"Travel","uniqueKey":"oneOf.3.invoice_expenses.items.[INDEX].category","typeLabel":"string"},"vendor":{"type":"string","description":"Vendor name.","example":"Airline Co","uniqueKey":"oneOf.3.invoice_expenses.items.[INDEX].vendor","typeLabel":"string"},"project_id":{"type":"string","description":"Project the expense belongs to.","example":"f627c399-379d-4d07-a6f6-90b7c9470ac0","uniqueKey":"oneOf.3.invoice_expenses.items.[INDEX].project_id","typeLabel":"string"}},"uniqueKey":"oneOf.3.invoice_expenses.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.3.invoice_expenses","typeLabel":"object[]"}},"uniqueKey":"oneOf.3","typeLabel":"Time Entries · object"},{"type":"object","title":"Services","required":["invoice_services","email","number"],"properties":{"email":{"type":"string","format":"email","description":"Email of the person creating the invoice.","example":"john@example.com","isRequired":true,"uniqueKey":"oneOf.4.email","typeLabel":"string\u003cemail>"},"number":{"type":"string","description":"Invoice identifier.","example":"INV-EXT-001","isRequired":true,"uniqueKey":"oneOf.4.number","typeLabel":"string"},"invoice_services":{"type":"array","description":"Array of services to include in the invoice.","items":{"type":"object","properties":{"notes":{"type":"string","description":"Notes for this service.","example":"Test Service","uniqueKey":"oneOf.4.invoice_services.items.[INDEX].notes","typeLabel":"string"},"quantity":{"type":"number","description":"Quantity of the service.","example":1,"uniqueKey":"oneOf.4.invoice_services.items.[INDEX].quantity","typeLabel":"number"},"unit_amount":{"type":"number","format":"float","description":"Unit amount for the service.","example":500,"uniqueKey":"oneOf.4.invoice_services.items.[INDEX].unit_amount","typeLabel":"number\u003cfloat>"},"project_id":{"type":"string","description":"Project identifier for this service.","example":"3f0c0f87-ddc7-45f4-ad7a-c3690fa04963","uniqueKey":"oneOf.4.invoice_services.items.[INDEX].project_id","typeLabel":"string"},"file":{"oneOf":[{"type":"string","description":"File attachment for the service.","uniqueKey":"oneOf.4.invoice_services.items.[INDEX].file.oneOf.0","typeLabel":"string"},{"type":"null","description":"File attachment for the service.","uniqueKey":"oneOf.4.invoice_services.items.[INDEX].file.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.4.invoice_services.items.[INDEX].file","typeLabel":"string | null"}},"uniqueKey":"oneOf.4.invoice_services.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"oneOf.4.invoice_services","typeLabel":"object[]"},"total":{"type":"number","format":"float","description":"Total amount of the invoice. Optional; the total is computed from the line items.","example":500,"uniqueKey":"oneOf.4.total","typeLabel":"number\u003cfloat>"},"issue_date":{"type":"string","description":"Issue date of the invoice in `YYYY-MM-DD` format. `MM/DD/YYYY` is still accepted.","example":"2026-10-15","uniqueKey":"oneOf.4.issue_date","typeLabel":"string"},"due_date":{"type":"string","description":"Due date of the invoice in `YYYY-MM-DD` format. `MM/DD/YYYY` is still accepted. Sending `due_date` alone sets a custom due date; you do not need to send `due_date_period`.","example":"2026-10-30","uniqueKey":"oneOf.4.due_date","typeLabel":"string"},"due_date_period":{"type":"number","description":"Due date period for the invoice in days.","example":30,"uniqueKey":"oneOf.4.due_date_period","typeLabel":"number"},"interval":{"type":"string","description":"Billing interval for the invoice.","example":"monthly","uniqueKey":"oneOf.4.interval","typeLabel":"string"},"notes":{"type":"string","description":"Additional notes for the invoice.","example":"Payment terms: Net 30 days","uniqueKey":"oneOf.4.notes","typeLabel":"string"},"include_hours_by_person":{"type":"boolean","description":"Whether to include hours breakdown by person.","example":true,"uniqueKey":"oneOf.4.include_hours_by_person","typeLabel":"boolean"},"include_hours_by_task":{"type":"boolean","description":"Whether to include hours breakdown by task.","example":false,"uniqueKey":"oneOf.4.include_hours_by_task","typeLabel":"boolean"},"include_time_entries":{"type":"boolean","description":"Whether to include detailed time entries.","example":true,"uniqueKey":"oneOf.4.include_time_entries","typeLabel":"boolean"},"send_automated_reminder_email":{"type":"boolean","description":"Whether to send automated reminder emails.","example":true,"uniqueKey":"oneOf.4.send_automated_reminder_email","typeLabel":"boolean"},"include_payment_link":{"type":"boolean","description":"Whether to include payment link in the invoice.","example":true,"uniqueKey":"oneOf.4.include_payment_link","typeLabel":"boolean"},"payment_provider":{"type":"string","description":"Payment provider for the invoice.","enum":["stripe","undefined"],"example":"undefined","uniqueKey":"oneOf.4.payment_provider","typeLabel":"enum\u003cstring>"},"display_task_name":{"type":"boolean","description":"Whether to display task names in the invoice.","example":true,"uniqueKey":"oneOf.4.display_task_name","typeLabel":"boolean"},"display_person_name":{"type":"boolean","description":"Whether to display person names in the invoice.","example":true,"uniqueKey":"oneOf.4.display_person_name","typeLabel":"boolean"},"display_date":{"type":"boolean","description":"Whether to display dates in the invoice.","example":true,"uniqueKey":"oneOf.4.display_date","typeLabel":"boolean"},"display_note":{"type":"boolean","description":"Whether to display notes in the invoice.","example":true,"uniqueKey":"oneOf.4.display_note","typeLabel":"boolean"},"display_project_name":{"type":"boolean","description":"Whether to display project names in the invoice.","example":false,"uniqueKey":"oneOf.4.display_project_name","typeLabel":"boolean"},"time_entry_ids":{"type":"array","description":"IDs of unbilled time entries to bill. Refer to [Getting the Time Entry ID](/api/getting-time-entry-id) section for detailed instructions. An unknown or already billed ID is rejected with a field error on `time_entry_ids`.","items":{"type":"string","format":"uuid","uniqueKey":"oneOf.4.time_entry_ids.items.[INDEX]","typeLabel":"string\u003cuuid>"},"example":["128c1dfc-b29f-4fda-9a05-8a90e197b81b"],"uniqueKey":"oneOf.4.time_entry_ids","typeLabel":"string\u003cuuid>[]"},"project_id":{"type":"array","description":"Fixed price projects to bill. When the request has no `invoice_services`, each project is billed for its remaining flat amount. Refer to [Getting the Project ID](/api/getting-project-id) section for detailed instructions.","items":{"type":"string","uniqueKey":"oneOf.4.project_id.items.[INDEX]","typeLabel":"string"},"example":["89d1b47d9f36af3c9ecf","24e6a2fe31bb686c541a"],"uniqueKey":"oneOf.4.project_id","typeLabel":"string[]"},"send_email":{"type":"boolean","description":"Whether to email the invoice once it is generated. The invoice goes to every current recipient of the client unless `invoice_details.recipient_ids` narrows it. If the client has no current recipients, the request is rejected and no invoice is created.","example":true,"uniqueKey":"oneOf.4.send_email","typeLabel":"boolean"},"invoice_details":{"type":"object","description":"Email details for sending the invoice. Optional; used only when send_email is true.","properties":{"subject":{"type":"string","description":"Email subject for the invoice.","example":"Invoice INV-EXT-001 from Your Company","uniqueKey":"oneOf.4.invoice_details.subject","typeLabel":"string"},"message":{"type":"string","description":"Email message for the invoice.","example":"Please find attached your invoice for the services rendered.","uniqueKey":"oneOf.4.invoice_details.message","typeLabel":"string"},"attach_pdf_invoice":{"type":"string","description":"Whether to attach PDF invoice.","enum":["true","false"],"example":"true","uniqueKey":"oneOf.4.invoice_details.attach_pdf_invoice","typeLabel":"enum\u003cstring>"},"send_me_a_copy":{"type":"string","description":"Whether to send a copy to the sender.","enum":["true","false"],"example":"false","uniqueKey":"oneOf.4.invoice_details.send_me_a_copy","typeLabel":"enum\u003cstring>"},"recipient_ids":{"type":"array","description":"Array of recipient IDs for email delivery. Defaults to every current recipient of the client. Refer to [Getting the Recipient ID](/api/getting-recipient-id) section for detailed instructions.","items":{"type":"string","format":"uuid","uniqueKey":"oneOf.4.invoice_details.recipient_ids.items.[INDEX]","typeLabel":"string\u003cuuid>"},"example":["128c1dfc-b29f-4fda-9a05-8a90e197b81b","6be815a8-9a10-455c-95d9-b0b548664420"],"uniqueKey":"oneOf.4.invoice_details.recipient_ids","typeLabel":"string\u003cuuid>[]"}},"uniqueKey":"oneOf.4.invoice_details","typeLabel":"object"},"tax_details":{"type":"array","description":"Array of tax details for the invoice.","items":{"type":"object","properties":{"name":{"type":"string","description":"Name of the tax.","example":"GST","uniqueKey":"oneOf.4.tax_details.items.[INDEX].name","typeLabel":"string"},"percentage":{"type":"number","description":"Tax percentage.","example":10,"uniqueKey":"oneOf.4.tax_details.items.[INDEX].percentage","typeLabel":"number"},"notes":{"type":"string","description":"Notes for the tax.","example":"Goods and Services Tax","uniqueKey":"oneOf.4.tax_details.items.[INDEX].notes","typeLabel":"string"},"selected":{"type":"boolean","description":"Whether the tax is selected for the invoice.","example":true,"uniqueKey":"oneOf.4.tax_details.items.[INDEX].selected","typeLabel":"boolean"}},"uniqueKey":"oneOf.4.tax_details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.4.tax_details","typeLabel":"object[]"},"invoice_expenses":{"type":"array","description":"Expenses to bill. An invoice may contain only expenses.","items":{"type":"object","required":["notes","unit_amount","recorded_on"],"properties":{"notes":{"type":"string","description":"Expense description.","example":"Flight to client site","isRequired":true,"uniqueKey":"oneOf.4.invoice_expenses.items.[INDEX].notes","typeLabel":"string"},"unit_amount":{"type":"number","format":"float","description":"Amount per unit.","example":320,"isRequired":true,"uniqueKey":"oneOf.4.invoice_expenses.items.[INDEX].unit_amount","typeLabel":"number\u003cfloat>"},"recorded_on":{"type":"string","format":"date","description":"Date of the expense in `YYYY-MM-DD` format.","example":"2026-10-12","isRequired":true,"uniqueKey":"oneOf.4.invoice_expenses.items.[INDEX].recorded_on","typeLabel":"string\u003cdate>"},"quantity":{"type":"number","description":"Quantity. Defaults to 1.","example":1,"uniqueKey":"oneOf.4.invoice_expenses.items.[INDEX].quantity","typeLabel":"number"},"category":{"type":"string","description":"Name of an expense category set up in the workspace, for example Travel. The match is case-insensitive. An unknown name is rejected and the error lists the categories in the workspace.","example":"Travel","uniqueKey":"oneOf.4.invoice_expenses.items.[INDEX].category","typeLabel":"string"},"vendor":{"type":"string","description":"Vendor name.","example":"Airline Co","uniqueKey":"oneOf.4.invoice_expenses.items.[INDEX].vendor","typeLabel":"string"},"project_id":{"type":"string","description":"Project the expense belongs to.","example":"f627c399-379d-4d07-a6f6-90b7c9470ac0","uniqueKey":"oneOf.4.invoice_expenses.items.[INDEX].project_id","typeLabel":"string"}},"uniqueKey":"oneOf.4.invoice_expenses.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.4.invoice_expenses","typeLabel":"object[]"}},"uniqueKey":"oneOf.4","typeLabel":"Services · object"}],"uniqueKey":"","typeLabel":"Time Entry IDs · object | Expenses · object | Fixed Price Projects · object | Time Entries · object | Services · object"},"examples":{"Example":{"title":"Example","value":{"email":"john@example.com","number":"INV-EXT-001","time_entry_ids":["128c1dfc-b29f-4fda-9a05-8a90e197b81b"],"total":500,"issue_date":"2026-10-15","due_date":"2026-10-30","due_date_period":30,"interval":"monthly","notes":"Payment terms: Net 30 days","include_hours_by_person":true,"include_hours_by_task":false,"include_time_entries":true,"send_automated_reminder_email":true,"include_payment_link":true,"payment_provider":"undefined","display_task_name":true,"display_person_name":true,"display_date":true,"display_note":true,"display_project_name":false,"project_id":["89d1b47d9f36af3c9ecf","24e6a2fe31bb686c541a"],"send_email":true,"invoice_details":{"subject":"Invoice INV-EXT-001 from Your Company","message":"Please find attached your invoice for the services rendered.","attach_pdf_invoice":"true","send_me_a_copy":"false","recipient_ids":["128c1dfc-b29f-4fda-9a05-8a90e197b81b","6be815a8-9a10-455c-95d9-b0b548664420"]},"tax_details":[{"name":"GST","percentage":10,"notes":"Goods and Services Tax","selected":true}],"invoice_expenses":[{"notes":"Flight to client site","unit_amount":320,"recorded_on":"2026-10-12","quantity":1,"category":"Travel","vendor":"Airline Co","project_id":"f627c399-379d-4d07-a6f6-90b7c9470ac0"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"91c577a9-ced8-43cf-b395-6ae3a412075c":{"description":"Created - Invoice created successfully","content":{"application/json":{"schema":{"type":"object","properties":{"invoice":{"type":"object","properties":{"id":{"type":"string","format":"uuid","uniqueKey":"invoice.id","typeLabel":"string\u003cuuid>"},"number":{"type":"string","uniqueKey":"invoice.number","typeLabel":"string"},"total":{"type":"number","format":"float","uniqueKey":"invoice.total","typeLabel":"number\u003cfloat>"},"status":{"type":"string","uniqueKey":"invoice.status","typeLabel":"string"},"issue_date":{"type":"string","format":"date","uniqueKey":"invoice.issue_date","typeLabel":"string\u003cdate>"},"due_date":{"type":"string","format":"date","uniqueKey":"invoice.due_date","typeLabel":"string\u003cdate>"},"notes":{"type":"string","uniqueKey":"invoice.notes","typeLabel":"string"},"client_id":{"type":"string","format":"uuid","uniqueKey":"invoice.client_id","typeLabel":"string\u003cuuid>"},"organization_id":{"type":"string","format":"uuid","uniqueKey":"invoice.organization_id","typeLabel":"string\u003cuuid>"},"created_at":{"type":"string","format":"date-time","uniqueKey":"invoice.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","uniqueKey":"invoice.updated_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"invoice","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"invoice":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","number":"\u003cstring>","total":123,"status":"\u003cstring>","issue_date":"2023-12-25","due_date":"2023-12-25","notes":"\u003cstring>","client_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","organization_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","created_at":"2023-11-07T05:31:56Z","updated_at":"2023-11-07T05:31:56Z"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{},"servers":{"e1db59ff-eb84-4ce3-9637-34cb41f307c9":{"description":"NeetoInvoice APIs","url":"https://{your-subdomain}.neetoinvoice.com/api/external/v2","variables":{"your-subdomain":{"default":"spinkart","description":"Replace **spinkart** with your [workspace's subdomain](/api/workspace-subdomain)."}}}}},"originalFileLocation":"bundled/invoices.yaml"},"subdomain":"neetoinvoice-apis","siteName":"NeetoInvoice Docs","title":"Generate invoice - NeetoInvoice Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-16T10:33:48.186Z","originalFileLocation":"api/invoices/create.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"light\";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=\"light\"}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=\"Generate an invoice for a client from unbilled time entries, services, expenses or fixed price projects, with optional taxes. The invoice is generated in the background, so its status is generating when the request returns.\">\u003cmeta data-mint-head name=\"application-name\" content=\"NeetoInvoice Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/neetoinvoice-apis/VEYeTAo__SPZPPoK/_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/neetoinvoice-apis/VEYeTAo__SPZPPoK/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/neetoinvoice-apis/VEYeTAo__SPZPPoK/_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/neetoinvoice-apis/VEYeTAo__SPZPPoK/_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/neetoinvoice-apis/VEYeTAo__SPZPPoK/_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/neetoinvoice-apis/VEYeTAo__SPZPPoK/_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/neetoinvoice-apis/VEYeTAo__SPZPPoK/_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/neetoinvoice-apis/VEYeTAo__SPZPPoK/_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/neetoinvoice-apis/VEYeTAo__SPZPPoK/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Generate invoice - NeetoInvoice Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Generate an invoice for a client from unbilled time entries, services, expenses or fixed price projects, with optional taxes. The invoice is generated in the background, so its status is generating when the request returns.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"NeetoInvoice Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://apidocs.neetoinvoice.com/api/invoices/create\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://neetoinvoice-apis.mintlify.site/_mintlify/api/og/v2?division=Invoices\u0026amp;title=Generate+invoice\u0026amp;description=Generate+an+invoice+for+a+client+from+unbilled+time+entries%2C+services%2C+expenses+or+fixed+price+projects%2C+with+optional+taxes.+The+invoice+is+generated+in+the+ba\u0026amp;theme=6a1853d16a534d81b7e9f75c\u0026amp;signature=13ef5e21e72b67bf06bae9914c759086fc14d89380f1be683936a96139cb6d4e\">\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=\"Generate invoice - NeetoInvoice Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Generate an invoice for a client from unbilled time entries, services, expenses or fixed price projects, with optional taxes. The invoice is generated in the background, so its status is generating when the request returns.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://neetoinvoice-apis.mintlify.site/_mintlify/api/og/v2?division=Invoices\u0026amp;title=Generate+invoice\u0026amp;description=Generate+an+invoice+for+a+client+from+unbilled+time+entries%2C+services%2C+expenses+or+fixed+price+projects%2C+with+optional+taxes.+The+invoice+is+generated+in+the+ba\u0026amp;theme=6a1853d16a534d81b7e9f75c\u0026amp;signature=13ef5e21e72b67bf06bae9914c759086fc14d89380f1be683936a96139cb6d4e\">\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/neetoinvoice-apis/VEYeTAo__SPZPPoK/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"NeetoInvoice Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#10B981\">\u003clink data-mint-head rel=\"canonical\" href=\"https://apidocs.neetoinvoice.com/api/invoices/create\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api/invoices/create.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://apidocs.neetoinvoice.com/#organization\",\"name\":\"NeetoInvoice Docs\",\"url\":\"https://apidocs.neetoinvoice.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/neetoinvoice-apis/9BFQAdCZaf8a8DQr/assets/logo.svg?fit=max\u0026auto=format\u0026n=9BFQAdCZaf8a8DQr\u0026q=85\u0026s=fb44ccefd45809f11aaaaba92100e85a\"}},{\"@type\":\"WebSite\",\"@id\":\"https://apidocs.neetoinvoice.com#website\",\"name\":\"NeetoInvoice Docs\",\"url\":\"https://apidocs.neetoinvoice.com\",\"publisher\":{\"@id\":\"https://apidocs.neetoinvoice.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://apidocs.neetoinvoice.com/api/invoices/create#webpage\",\"url\":\"https://apidocs.neetoinvoice.com/api/invoices/create\",\"name\":\"Generate invoice\",\"description\":\"Generate an invoice for a client from unbilled time entries, services, expenses or fixed price projects, with optional taxes. The invoice is generated in the background, so its status is generating when the request returns.\",\"dateModified\":\"2026-10-16T10:33:48.186Z\",\"isPartOf\":{\"@id\":\"https://apidocs.neetoinvoice.com#website\"},\"breadcrumb\":{\"@id\":\"https://apidocs.neetoinvoice.com/api/invoices/create#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://apidocs.neetoinvoice.com/api/invoices/create#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Invoices\",\"item\":\"https://apidocs.neetoinvoice.com/api/invoices/list\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Generate invoice\",\"item\":\"https://apidocs.neetoinvoice.com/api/invoices/create\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://apidocs.neetoinvoice.com/api/invoices/create#apireference\",\"headline\":\"Generate invoice\",\"name\":\"Generate invoice\",\"description\":\"Generate an invoice for a client from unbilled time entries, services, expenses or fixed price projects, with optional taxes. The invoice is generated in the background, so its status is generating when the request returns.\",\"url\":\"https://apidocs.neetoinvoice.com/api/invoices/create\",\"mainEntityOfPage\":{\"@id\":\"https://apidocs.neetoinvoice.com/api/invoices/create#webpage\"},\"dateModified\":\"2026-10-16T10:33:48.186Z\",\"publisher\":{\"@id\":\"https://apidocs.neetoinvoice.com/#organization\"},\"isPartOf\":{\"@id\":\"https://apidocs.neetoinvoice.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"NeetoInvoice Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"NeetoInvoice Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api/invoices/create.md","siteName":"NeetoInvoice Docs","nav":{"global":null,"tabs":[{"tab":"API","icon":"code","groups":[{"group":"Getting started","icon":"rocket","pages":[{"title":"NeetoInvoice API","href":"/api/introduction"},{"title":"Workspace subdomain","href":"/api/workspace-subdomain"},{"title":"Authentication","href":"/api/authentication"},{"title":"Pagination","href":"/api/pagination"},{"title":"HTTP response codes","href":"/api/response-codes"},{"title":"Getting the user ID","href":"/api/getting-user-id"},{"title":"Getting the client ID","href":"/api/getting-client-id"},{"title":"Getting the project ID","href":"/api/getting-project-id"},{"title":"Getting the task ID","href":"/api/getting-task-id"},{"title":"Getting the time entry ID","href":"/api/getting-time-entry-id"},{"title":"Getting the checklist ID","href":"/api/getting-checklist-id"},{"title":"Getting the recipient ID","href":"/api/getting-recipient-id"},{"title":"Getting the project user ID","href":"/api/getting-project-user-id"}]},{"group":"Clients","icon":"code","pages":[{"title":"List clients","openapi":"bundled/clients.yaml GET /clients","href":"/api/clients/list"},{"title":"Create client","openapi":"bundled/clients.yaml POST /clients","href":"/api/clients/create"},{"title":"Get client","openapi":"bundled/clients.yaml GET /clients/{client_id}","href":"/api/clients/get"},{"title":"Update client","openapi":"bundled/clients.yaml PATCH /clients/{client_id}","href":"/api/clients/update"}]},{"group":"Recipients","icon":"code","pages":[{"title":"Create recipient","openapi":"bundled/recipients.yaml POST /clients/{client_id}/recipients","href":"/api/recipients/create"},{"title":"Update recipient","openapi":"bundled/recipients.yaml PUT /clients/{client_id}/recipients/{recipient_id}","href":"/api/recipients/update"},{"title":"Delete recipient","openapi":"bundled/recipients.yaml DELETE /clients/{client_id}/recipients/{recipient_id}","href":"/api/recipients/delete"}]},{"group":"Projects","icon":"code","pages":[{"title":"List projects","openapi":"bundled/projects.yaml GET /projects","href":"/api/projects/list"},{"title":"Create project","openapi":"bundled/projects.yaml POST /projects","href":"/api/projects/create"},{"title":"Get project","openapi":"bundled/projects.yaml GET /projects/{project_id}","href":"/api/projects/get"},{"title":"Update project","openapi":"bundled/projects.yaml PATCH /projects/{project_id}","href":"/api/projects/update"}]},{"group":"Project users","icon":"code","pages":[{"title":"List project users","openapi":"bundled/project-users.yaml GET /projects/{project_id}/project-users","href":"/api/project-users/list"},{"title":"Add project user","openapi":"bundled/project-users.yaml POST /projects/{project_id}/project-users","href":"/api/project-users/add"},{"title":"Update project user","openapi":"bundled/project-users.yaml PATCH /projects/{project_id}/project-users/{project_user_id}","href":"/api/project-users/update"},{"title":"Remove project user","openapi":"bundled/project-users.yaml DELETE /projects/{project_id}/project-users/{project_user_id}","href":"/api/project-users/remove"}]},{"group":"Team members","icon":"user-group","pages":[{"title":"List team members","openapi":"bundled/team-members.yaml GET /team-members","href":"/api/team-members/list"},{"title":"Add team members","openapi":"bundled/team-members.yaml POST /team-members","href":"/api/team-members/add"},{"title":"Update team member","openapi":"bundled/team-members.yaml PATCH /team-members/{team_member_id}","href":"/api/team-members/update"},{"title":"Remove team members","openapi":"bundled/team-members.yaml DELETE /team-members","href":"/api/team-members/remove"}]},{"group":"Time entries","icon":"code","pages":[{"title":"Create time entry","openapi":"bundled/time-entry.yaml POST /time-entries","href":"/api/time-entry/create"},{"title":"List time entries","openapi":"bundled/time-entry.yaml GET /time-entries","href":"/api/time-entry/list"}]},{"group":"Invoices","icon":"code","pages":[{"title":"List invoices","openapi":"bundled/invoices.yaml GET /invoices","description":"List the workspace's invoices, newest issue date first, 30 per page by default and up to 100. Deleted invoices are left out.","href":"/api/invoices/list"},{"title":"Generate invoice","openapi":"bundled/invoices.yaml POST /clients/{client_id}/invoices","href":"/api/invoices/create"},{"title":"Send an invoice","openapi":"bundled/invoices.yaml POST /clients/{client_id}/invoices/{invoice_id}/send","description":"Email a generated invoice to the client's recipients and mark it as sent. Without `recipient_ids`, every current recipient of the client receives it.","href":"/api/invoices/send"}]},{"group":"Monthly PTO","icon":"code","pages":[{"title":"List monthly PTO","openapi":"bundled/monthly-ptos.yaml GET /monthly-ptos","href":"/api/monthly-ptos/list"},{"title":"Update PTO earned","openapi":"bundled/monthly-ptos.yaml PATCH /monthly-ptos/update-earned","href":"/api/monthly-ptos/update-earned"}]},{"group":"Reports","icon":"code","pages":[{"title":"Payroll summary","openapi":"bundled/reports.yaml GET /reports/payroll-summary","href":"/api/reports/payroll-summary"},{"title":"List missing timesheet days","openapi":"bundled/reports.yaml GET /reports/missing-entries","href":"/api/reports/missing-entries"},{"title":"Timesheet summary","openapi":"bundled/reports.yaml GET /reports/timesheet-summary","href":"/api/reports/timesheet-summary"}]},{"group":"API v1 (deprecated)","icon":"triangle-exclamation","pages":[{"title":"Create client","openapi":"bundled-v1/clients.yaml POST /clients","href":"/api-reference-v1/clients/create"},{"title":"Get client","openapi":"bundled-v1/clients.yaml GET /clients/{client_id}","href":"/api-reference-v1/clients/get"},{"title":"Update client","openapi":"bundled-v1/clients.yaml PUT /clients/{client_id}","href":"/api-reference-v1/clients/update"},{"title":"Update client status","openapi":"bundled-v1/clients.yaml POST /clients/update_status","href":"/api-reference-v1/clients/update-status"},{"title":"Create recipient","openapi":"bundled-v1/recipients.yaml POST /clients/{client_id}/recipients","href":"/api-reference-v1/recipients/create"},{"title":"Update recipient","openapi":"bundled-v1/recipients.yaml PUT /clients/{client_id}/recipients/{recipient_id}","href":"/api-reference-v1/recipients/update"},{"title":"Delete recipient","openapi":"bundled-v1/recipients.yaml DELETE /clients/{client_id}/recipients/{recipient_id}","href":"/api-reference-v1/recipients/delete"},{"title":"Create project","openapi":"bundled-v1/projects.yaml POST /projects","href":"/api-reference-v1/projects/create"},{"title":"Get project","openapi":"bundled-v1/projects.yaml GET /projects/{project_id}","href":"/api-reference-v1/projects/get"},{"title":"Update project","openapi":"bundled-v1/projects.yaml PATCH /projects/{project_id}","href":"/api-reference-v1/projects/update"},{"title":"Update project status","openapi":"bundled-v1/projects.yaml POST /projects/update_status","href":"/api-reference-v1/projects/update-status"},{"title":"List project users","openapi":"bundled-v1/project-users.yaml GET /projects/{project_id}/project_users","href":"/api-reference-v1/project-users/list"},{"title":"Add project user","openapi":"bundled-v1/project-users.yaml POST /projects/{project_id}/project_users","href":"/api-reference-v1/project-users/add"},{"title":"Update project user","openapi":"bundled-v1/project-users.yaml PATCH /projects/{project_id}/project_users/{project_user_id}","href":"/api-reference-v1/project-users/update"},{"title":"Remove project user","openapi":"bundled-v1/project-users.yaml DELETE /projects/{project_id}/project_users/{project_user_id}","href":"/api-reference-v1/project-users/remove"},{"title":"List team members","openapi":"bundled-v1/team-members.yaml GET /team_members","href":"/api-reference-v1/team-members/list"},{"title":"Add team members","openapi":"bundled-v1/team-members.yaml POST /team_members","href":"/api-reference-v1/team-members/add"},{"title":"Update team member","openapi":"bundled-v1/team-members.yaml PATCH /team_members/{team_member_id}","href":"/api-reference-v1/team-members/update"},{"title":"Remove team members","openapi":"bundled-v1/team-members.yaml DELETE /team_members","href":"/api-reference-v1/team-members/remove"},{"title":"Create time entry","openapi":"bundled-v1/time-entry.yaml POST /time_entry","href":"/api-reference-v1/time-entry/create"},{"title":"List time entries","openapi":"bundled-v1/time-entry.yaml GET /time_entries","href":"/api-reference-v1/time-entry/list"},{"title":"Generate invoice","openapi":"bundled-v1/invoices.yaml POST /clients/{client_id}/invoices","href":"/api-reference-v1/invoices/create"}]}]},{"tab":"CLI","icon":"rectangle-terminal","pages":[{"title":"CLI","href":"/cli/introduction"}]}]},"basePath":"","title":"Generate invoice - NeetoInvoice Docs","buildId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","deploymentId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CybtLBIt.js","utils-BMLj2fvV.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-B6In562Y.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dr8Mfhp9.js","snippetPresets-2rmQvMVl.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-WMqJYdZj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CJ-MlPHu.js","shallow-dY3TMRCk.js","getApiPlaygroundDisplay-v-1B2bKm.js","CodeSnippet-BDhiTB7U.js","CodeSnippets-D9hnzQcS.js","Page-C4GwDT3_.js","getPastedJson-Th2V45jI.js","icon-BQXch1W9.js","MethodPill-BCqUneP3.js","DuplicateIcon-Q_-bhurZ.js","createIcon-DUjLHRqp.js","DynamicMarkdown-B-f2cqXQ.js","SectionHeading-Da5NsV4v.js","axios-vUo_bRtp.js","Markdown-D13FWkIM.js","clsx-D3Isdib3.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-C-XZBk9h.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink--qIqmmVG.js"]}