Beta. The PracticeHub API is in Beta: the contract is additive within a version, but details may still be refined, and any change that affects an existing integration is announced in the changelog first.
API key from Developers → API Keys, sent as Authorization: Bearer .
Path Parameters
id
integer
required
Body
application/json
Without line_items.*.id
With line_items.*.id
practitioner_id
integer | null
The practitioner the invoice is billed under. Optional; new lines default their provider to it.
invoice_date
string<date>
The invoice's ledger date, YYYY-MM-DD in the account's timezone. Defaults to today on create; backdate freely for migrated history.
note
string | null
Free-text note on the invoice, up to 1000 characters.
Maximum string length: 1000
line_items
object[]
Show child attributes
metadata
object
Integrator-owned key/value metadata (max 50 keys). Values are strings (≤500 chars), numbers or booleans and read back with the type they were written with. On write, a null value removes the key. Filter with metadata[key]=op:value; number operands compare numerically.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/schema.json","name":"PracticeHub API","colors":{"primary":"#0A0A0A","light":"#FAFAFA","dark":"#0A0A0A"},"logo":{"light":"https://mintcdn.com/practicehub/MpQUZFwSGC0fLbvu/logo/light.svg?fit=max\u0026auto=format\u0026n=MpQUZFwSGC0fLbvu\u0026q=85\u0026s=78b2f118e53c15b719c31b4d00d2366b","dark":"https://mintcdn.com/practicehub/MpQUZFwSGC0fLbvu/logo/dark.svg?fit=max\u0026auto=format\u0026n=MpQUZFwSGC0fLbvu\u0026q=85\u0026s=cb3f16c686d7f7f75fd5dea17a7e04a3","href":"https://practicehub.io"},"favicon":"https://mintcdn.com/practicehub/MpQUZFwSGC0fLbvu/favicon.png?fit=max\u0026auto=format\u0026n=MpQUZFwSGC0fLbvu\u0026q=85\u0026s=d31ed1c4146bc58e148f34fda98fb4f9","api":{"openapi":["openapi.json"],"playground":{"display":"simple"},"url":"full","mdx":{"auth":{"method":"bearer"},"server":"https://{clinic}.{region}.practicehub.io/v3/api"}},"background":{"decoration":"gradient"},"navbar":{"links":[{"href":"mailto:help@practicehub.io","label":"Support"}],"primary":{"type":"button","label":"PracticeHub","href":"https://practicehub.io"}},"footer":{"socials":{"website":"https://practicehub.io"}},"seo":{"indexing":"all"},"icons":{"library":"lucide"},"banner":{"content":"**Beta.** The PracticeHub API is in Beta: the contract is additive within a version, but details may still be refined, and any change that affects an existing integration is announced in the [changelog](/changelog) first.","dismissible":true},"contextual":{"options":["copy","view","chatgpt","claude","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"practicehub","hasAudioNarration":false,"actualSubdomain":"practicehub","customDomains":["build.practicehub.io"],"gitSource":{"type":"github","owner":"odin-platform","repo":"api-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{},"buildId":"6ab300da36ba2601a207fc59","clientVersion":"0.0.4347","searchFilterCounts":[{"language":"default","tag":"API Reference","count":97},{"language":"default","tag":"Patients","count":35},{"language":"default","tag":"Guides","count":32},{"language":"default","tag":"Billing","count":30},{"language":"default","tag":"Getting started","count":14},{"language":"default","tag":"MCP Server","count":14},{"language":"default","tag":"Scheduling","count":14},{"language":"default","tag":"Admin \u0026 reference","count":14},{"language":"default","tag":"Working with the API","count":8},{"language":"default","tag":"Resource guides","count":5}]},"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":"custom-rbac-roles","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":"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":"site-roles","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":"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":"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":"turbopuffer-dual-write","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":"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":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/invoices/update-invoices","slug":"/api-reference/invoices/update-invoices","pageMetadata":{"title":"Update invoices","description":null,"deprecated":null,"version":null,"openapi":"/openapi.json patch /invoices/{id}","href":"/api-reference/invoices/update-invoices","autogeneratedByOpenApi":true},"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":"Update invoices","description":null,"deprecated":null,"version":null,"openapi":"/openapi.json patch /invoices/{id}","href":"/api-reference/invoices/update-invoices","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"update_invoices","tags":["Invoices"],"summary":"Update invoices","parameters":["21c46eb4-a580-4146-80b6-f84cd3bc811c"],"requestBody":"c497c2da-01e8-491c-bfdb-b2cdb29eeee8","responses":{"200":"fae12e86-498b-46b5-975e-438eb11137d8","401":"01e2ae65-0220-4d2e-aa01-8e0525f7b1df","403":"0544f93c-6e58-45ed-8aea-55cba6984257","404":"0278bf19-340e-4fe4-8080-e1aca8487cf1","409":"491d44b2-2c18-4500-a738-8d204dea5767","422":"1aaf3c2c-9d7e-4140-a73f-a1aef803dc12"},"method":"patch","type":"path","servers":["ac3ece27-d0f4-4c91-9451-abf026054118"],"security":["3e149afc-4020-4703-9136-cc2e72a9bd5f"],"path":"/invoices/{id}","baseUrlOptions":["https://{clinic}.{region}.practicehub.io/v3/api"],"title":"Update invoices","description":"","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated","urlDisplay":"full"},"dependencies":{"parameters":{"21c46eb4-a580-4146-80b6-f84cd3bc811c":{"name":"id","in":"path","required":true,"schema":{"type":"integer","isRequired":true,"uniqueKey":"","typeLabel":"integer"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"type":"object","title":"Without line_items.*.id","properties":{"practitioner_id":{"oneOf":[{"type":"integer","description":"The practitioner the invoice is billed under. Optional; new lines default their provider to it.","uniqueKey":"oneOf.0.practitioner_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The practitioner the invoice is billed under. Optional; new lines default their provider to it.","uniqueKey":"oneOf.0.practitioner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.practitioner_id","typeLabel":"integer | null"},"invoice_date":{"type":"string","format":"date","description":"The invoice's ledger date, YYYY-MM-DD in the account's timezone. Defaults to today on create; backdate freely for migrated history.","uniqueKey":"oneOf.0.invoice_date","typeLabel":"string\u003cdate>"},"note":{"oneOf":[{"type":"string","maxLength":1000,"description":"Free-text note on the invoice, up to 1000 characters.","uniqueKey":"oneOf.0.note.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":1000,"description":"Free-text note on the invoice, up to 1000 characters.","uniqueKey":"oneOf.0.note.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.note","typeLabel":"string | null"},"line_items":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","maxLength":255,"isRequired":true,"uniqueKey":"oneOf.0.line_items.items.[INDEX].description","typeLabel":"string"},"quantity":{"type":"integer","minimum":1,"maximum":2147483647,"isRequired":true,"uniqueKey":"oneOf.0.line_items.items.[INDEX].quantity","typeLabel":"integer"},"price":{"type":"string","pattern":"^-?\\d+(\\.\\d{1,2})?$","example":"45.00","isRequired":true,"uniqueKey":"oneOf.0.line_items.items.[INDEX].price","typeLabel":"string"},"billable_item_id":{"type":"integer","minimum":1,"isRequired":true,"uniqueKey":"oneOf.0.line_items.items.[INDEX].billable_item_id","typeLabel":"integer"},"provider_id":{"oneOf":[{"type":"integer","uniqueKey":"oneOf.0.line_items.items.[INDEX].provider_id.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"oneOf.0.line_items.items.[INDEX].provider_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.line_items.items.[INDEX].provider_id","typeLabel":"integer | null"}},"required":["description","quantity","price","billable_item_id"],"uniqueKey":"oneOf.0.line_items.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.0.line_items","typeLabel":"object[]"},"metadata":{"type":"object","description":"Integrator-owned key/value metadata (max 50 keys). Values are strings (≤500 chars), numbers or booleans and read back with the type they were written with. On write, a null value removes the key. Filter with metadata[key]=op:value; number operands compare numerically.","additionalProperties":{"oneOf":[{"type":"string","maxLength":500,"uniqueKey":"oneOf.0.metadata.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"oneOf.0.metadata.additionalProperties.oneOf.1","typeLabel":"number"},{"type":"boolean","uniqueKey":"oneOf.0.metadata.additionalProperties.oneOf.2","typeLabel":"boolean"},{"type":"null","uniqueKey":"oneOf.0.metadata.additionalProperties.oneOf.3","typeLabel":"null"}],"uniqueKey":"oneOf.0.metadata.additionalProperties","typeLabel":"string | number | boolean | null"},"uniqueKey":"oneOf.0.metadata","typeLabel":"object"}},"uniqueKey":"oneOf.0","typeLabel":"Without line_items.*.id · object"},{"type":"object","title":"With line_items.*.id","properties":{"practitioner_id":{"oneOf":[{"type":"integer","description":"The practitioner the invoice is billed under. Optional; new lines default their provider to it.","uniqueKey":"oneOf.1.practitioner_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The practitioner the invoice is billed under. Optional; new lines default their provider to it.","uniqueKey":"oneOf.1.practitioner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.practitioner_id","typeLabel":"integer | null"},"invoice_date":{"type":"string","format":"date","description":"The invoice's ledger date, YYYY-MM-DD in the account's timezone. Defaults to today on create; backdate freely for migrated history.","uniqueKey":"oneOf.1.invoice_date","typeLabel":"string\u003cdate>"},"note":{"oneOf":[{"type":"string","maxLength":1000,"description":"Free-text note on the invoice, up to 1000 characters.","uniqueKey":"oneOf.1.note.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":1000,"description":"Free-text note on the invoice, up to 1000 characters.","uniqueKey":"oneOf.1.note.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.note","typeLabel":"string | null"},"line_items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","minimum":1,"isRequired":true,"uniqueKey":"oneOf.1.line_items.items.[INDEX].id","typeLabel":"integer"},"description":{"type":"string","maxLength":255,"isRequired":true,"uniqueKey":"oneOf.1.line_items.items.[INDEX].description","typeLabel":"string"},"quantity":{"type":"integer","minimum":1,"maximum":2147483647,"isRequired":true,"uniqueKey":"oneOf.1.line_items.items.[INDEX].quantity","typeLabel":"integer"},"price":{"type":"string","pattern":"^-?\\d+(\\.\\d{1,2})?$","example":"45.00","isRequired":true,"uniqueKey":"oneOf.1.line_items.items.[INDEX].price","typeLabel":"string"},"provider_id":{"oneOf":[{"type":"integer","uniqueKey":"oneOf.1.line_items.items.[INDEX].provider_id.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"oneOf.1.line_items.items.[INDEX].provider_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.line_items.items.[INDEX].provider_id","typeLabel":"integer | null"}},"required":["id","description","quantity","price"],"uniqueKey":"oneOf.1.line_items.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.1.line_items","typeLabel":"object[]"},"metadata":{"type":"object","description":"Integrator-owned key/value metadata (max 50 keys). Values are strings (≤500 chars), numbers or booleans and read back with the type they were written with. On write, a null value removes the key. Filter with metadata[key]=op:value; number operands compare numerically.","additionalProperties":{"oneOf":[{"type":"string","maxLength":500,"uniqueKey":"oneOf.1.metadata.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"oneOf.1.metadata.additionalProperties.oneOf.1","typeLabel":"number"},{"type":"boolean","uniqueKey":"oneOf.1.metadata.additionalProperties.oneOf.2","typeLabel":"boolean"},{"type":"null","uniqueKey":"oneOf.1.metadata.additionalProperties.oneOf.3","typeLabel":"null"}],"uniqueKey":"oneOf.1.metadata.additionalProperties","typeLabel":"string | number | boolean | null"},"uniqueKey":"oneOf.1.metadata","typeLabel":"object"}},"uniqueKey":"oneOf.1","typeLabel":"With line_items.*.id · object"}],"uniqueKey":"","typeLabel":"Without line_items.*.id · object | With line_items.*.id · object"},"examples":{"Example":{"title":"Example","value":{"practitioner_id":123,"invoice_date":"2023-12-25","note":"\u003cstring>","line_items":[{"description":"\u003cstring>","quantity":1073741824,"price":"45.00","billable_item_id":2,"provider_id":123}],"metadata":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"fae12e86-498b-46b5-975e-438eb11137d8":{"description":"The resource","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"integer","description":"Unique invoice id.","uniqueKey":"data.id","typeLabel":"integer"},"appointment_id":{"oneOf":[{"type":"integer","description":"The appointment the invoice was raised from, if any. Voiding the invoice resets that visit to unprocessed, exactly as un-completing it in the app.","uniqueKey":"data.appointment_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The appointment the invoice was raised from, if any. Voiding the invoice resets that visit to unprocessed, exactly as un-completing it in the app.","uniqueKey":"data.appointment_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.appointment_id","typeLabel":"integer | null"},"practitioner_id":{"oneOf":[{"type":"integer","description":"The practitioner the invoice is billed under. Optional; new lines default their provider to it.","uniqueKey":"data.practitioner_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The practitioner the invoice is billed under. Optional; new lines default their provider to it.","uniqueKey":"data.practitioner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.practitioner_id","typeLabel":"integer | null"},"location_id":{"oneOf":[{"type":"integer","minimum":1,"description":"The location the invoice was raised at. Optional: an invoice dated today joins the open shift at this location, so its lines appear on that shift's report; without one the invoice is on no shift report. Fixed once raised.","uniqueKey":"data.location_id.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":1,"description":"The location the invoice was raised at. Optional: an invoice dated today joins the open shift at this location, so its lines appear on that shift's report; without one the invoice is on no shift report. Fixed once raised.","uniqueKey":"data.location_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.location_id","typeLabel":"integer | null"},"patient_id":{"type":"integer","minimum":1,"description":"The patient who owes the invoice. Allocations against the invoice must name this patient, even when another patient's payment settles it.","uniqueKey":"data.patient_id","typeLabel":"integer"},"total":{"oneOf":[{"type":"string","pattern":"^-?\\d+(\\.\\d{1,2})?$","example":"45.00","description":"Sum of the invoice's active lines, 2 dp. Derived — recomputed on every line change, never written directly.","uniqueKey":"data.total.oneOf.0","typeLabel":"string"},{"type":"null","pattern":"^-?\\d+(\\.\\d{1,2})?$","example":"45.00","description":"Sum of the invoice's active lines, 2 dp. Derived — recomputed on every line change, never written directly.","uniqueKey":"data.total.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.total","typeLabel":"string | null"},"third_party":{"oneOf":[{"type":"boolean","description":"True when the invoice is billed to a third party such as an insurer; the balance then splits into patient and third-party shares.","uniqueKey":"data.third_party.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"True when the invoice is billed to a third party such as an insurer; the balance then splits into patient and third-party shares.","uniqueKey":"data.third_party.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.third_party","typeLabel":"boolean | null"},"updated_at":{"type":"string","description":"When the invoice last changed, UTC. Server-managed.","uniqueKey":"data.updated_at","typeLabel":"string"},"created_at":{"type":"string","description":"When the invoice was raised, UTC. An audit stamp: the day an invoice belongs to is invoice_date, the client's calendar day. Server-managed.","uniqueKey":"data.created_at","typeLabel":"string"},"number":{"oneOf":[{"type":"integer","description":"The invoice's sequential number in the account's own series, as printed on the invoice.","uniqueKey":"data.number.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The invoice's sequential number in the account's own series, as printed on the invoice.","uniqueKey":"data.number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.number","typeLabel":"integer | null"},"state":{"oneOf":[{"type":"string","maxLength":255,"description":"unpaid, paid or void. Flips to paid when allocations cover the total and back if they're released; void only via DELETE — and a void invoice stays void.","uniqueKey":"data.state.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":255,"description":"unpaid, paid or void. Flips to paid when allocations cover the total and back if they're released; void only via DELETE — and a void invoice stays void.","uniqueKey":"data.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.state","typeLabel":"string | null"},"type":{"oneOf":[{"type":"string","maxLength":255,"description":"How the visit was billed when processed — private (the default) or insurance for a third-party-billed visit.","uniqueKey":"data.type.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":255,"description":"How the visit was billed when processed — private (the default) or insurance for a third-party-billed visit.","uniqueKey":"data.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.type","typeLabel":"string | null"},"invoice_date":{"oneOf":[{"type":"string","format":"date","description":"The invoice's ledger date, YYYY-MM-DD in the account's timezone. Defaults to today on create; backdate freely for migrated history.","uniqueKey":"data.invoice_date.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","format":"date","description":"The invoice's ledger date, YYYY-MM-DD in the account's timezone. Defaults to today on create; backdate freely for migrated history.","uniqueKey":"data.invoice_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.invoice_date","typeLabel":"string\u003cdate> | null"},"note":{"oneOf":[{"type":"string","maxLength":1000,"description":"Free-text note on the invoice, up to 1000 characters.","uniqueKey":"data.note.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":1000,"description":"Free-text note on the invoice, up to 1000 characters.","uniqueKey":"data.note.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.note","typeLabel":"string | null"},"subtotal":{"oneOf":[{"type":"string","pattern":"^-?\\d+(\\.\\d{1,2})?$","example":"45.00","description":"Sum of the invoice's active lines, kept equal to total. Derived, never written directly.","uniqueKey":"data.subtotal.oneOf.0","typeLabel":"string"},{"type":"null","pattern":"^-?\\d+(\\.\\d{1,2})?$","example":"45.00","description":"Sum of the invoice's active lines, kept equal to total. Derived, never written directly.","uniqueKey":"data.subtotal.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.subtotal","typeLabel":"string | null"},"balance":{"oneOf":[{"type":"string","pattern":"^-?\\d+(\\.\\d{1,2})?$","example":"45.00","description":"What's still owed: total minus active allocations, floored at 0. Derived — read it, never set it. Reaching 0 flips state to paid.","uniqueKey":"data.balance.oneOf.0","typeLabel":"string"},{"type":"null","pattern":"^-?\\d+(\\.\\d{1,2})?$","example":"45.00","description":"What's still owed: total minus active allocations, floored at 0. Derived — read it, never set it. Reaching 0 flips state to paid.","uniqueKey":"data.balance.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.balance","typeLabel":"string | null"},"patient_balance":{"oneOf":[{"type":"string","pattern":"^-?\\d+(\\.\\d{1,2})?$","example":"45.00","description":"The patient's own outstanding share, floored at 0. On a third-party invoice this is the excess left to the patient. Derived, never written directly.","uniqueKey":"data.patient_balance.oneOf.0","typeLabel":"string"},{"type":"null","pattern":"^-?\\d+(\\.\\d{1,2})?$","example":"45.00","description":"The patient's own outstanding share, floored at 0. On a third-party invoice this is the excess left to the patient. Derived, never written directly.","uniqueKey":"data.patient_balance.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.patient_balance","typeLabel":"string | null"},"third_party_balance":{"oneOf":[{"type":"string","pattern":"^-?\\d+(\\.\\d{1,2})?$","example":"45.00","description":"The third party's outstanding share — third-party lines minus excess minus their payments. Always 0 on a private invoice. Derived, never written directly.","uniqueKey":"data.third_party_balance.oneOf.0","typeLabel":"string"},{"type":"null","pattern":"^-?\\d+(\\.\\d{1,2})?$","example":"45.00","description":"The third party's outstanding share — third-party lines minus excess minus their payments. Always 0 on a private invoice. Derived, never written directly.","uniqueKey":"data.third_party_balance.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.third_party_balance","typeLabel":"string | null"},"metadata":{"type":"object","description":"Integrator-owned key/value metadata (max 50 keys). Values are strings (≤500 chars), numbers or booleans and read back with the type they were written with. On write, a null value removes the key. Filter with metadata[key]=op:value; number operands compare numerically.","additionalProperties":{"oneOf":[{"type":"string","maxLength":500,"uniqueKey":"data.metadata.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"data.metadata.additionalProperties.oneOf.1","typeLabel":"number"},{"type":"boolean","uniqueKey":"data.metadata.additionalProperties.oneOf.2","typeLabel":"boolean"},{"type":"null","uniqueKey":"data.metadata.additionalProperties.oneOf.3","typeLabel":"null"}],"uniqueKey":"data.metadata.additionalProperties","typeLabel":"string | number | boolean | null"},"uniqueKey":"data.metadata","typeLabel":"object"}},"example":{"id":98,"appointment_id":4521,"practitioner_id":12,"location_id":1,"patient_id":340,"total":"65.00","third_party":false,"updated_at":"2026-09-01T14:30:00Z","created_at":"2026-09-01T09:15:00Z","number":1042,"state":"unpaid","type":"private","invoice_date":"2026-09-01","note":"Initial consultation and exercise plan","subtotal":"65.00","balance":"35.00","patient_balance":"35.00","third_party_balance":"0.00"},"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"id":98,"appointment_id":4521,"practitioner_id":12,"location_id":1,"patient_id":340,"total":"65.00","third_party":false,"updated_at":"2026-09-01T14:30:00Z","created_at":"2026-09-01T09:15:00Z","number":1042,"state":"unpaid","type":"private","invoice_date":"2026-09-01","note":"Initial consultation and exercise plan","subtotal":"65.00","balance":"35.00","patient_balance":"35.00","third_party_balance":"0.00"}}}},"exampleType":"generated"}},"exampleType":"generated"},"01e2ae65-0220-4d2e-aa01-8e0525f7b1df":{"description":"Missing or invalid credentials","content":{"application/json":{"schema":{"type":"object","required":["message","code"],"properties":{"message":{"type":"string","description":"Human-readable; may change — do not parse","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","description":"Stable machine-readable code (snake_case), e.g. validation_failed, not_found, key_read_only, not_online_bookable, group_full, appointment_rule, billing_rule, idempotency_key_reused, rate_limited","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string","uniqueKey":"errors.additionalProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"errors.additionalProperties","typeLabel":"string[]"},"description":"Present on validation failures, keyed by attribute","uniqueKey":"errors","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","code":"\u003cstring>","errors":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"0544f93c-6e58-45ed-8aea-55cba6984257":{"description":"The API key is read-only","content":{"application/json":{"schema":{"type":"object","required":["message","code"],"properties":{"message":{"type":"string","description":"Human-readable; may change — do not parse","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","description":"Stable machine-readable code (snake_case), e.g. validation_failed, not_found, key_read_only, not_online_bookable, group_full, appointment_rule, billing_rule, idempotency_key_reused, rate_limited","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string","uniqueKey":"errors.additionalProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"errors.additionalProperties","typeLabel":"string[]"},"description":"Present on validation failures, keyed by attribute","uniqueKey":"errors","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","code":"\u003cstring>","errors":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"0278bf19-340e-4fe4-8080-e1aca8487cf1":{"description":"No such resource for this account","content":{"application/json":{"schema":{"type":"object","required":["message","code"],"properties":{"message":{"type":"string","description":"Human-readable; may change — do not parse","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","description":"Stable machine-readable code (snake_case), e.g. validation_failed, not_found, key_read_only, not_online_bookable, group_full, appointment_rule, billing_rule, idempotency_key_reused, rate_limited","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string","uniqueKey":"errors.additionalProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"errors.additionalProperties","typeLabel":"string[]"},"description":"Present on validation failures, keyed by attribute","uniqueKey":"errors","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","code":"\u003cstring>","errors":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"491d44b2-2c18-4500-a738-8d204dea5767":{"description":"A domain rule rejected the change (e.g. group_full, already processed, void)","content":{"application/json":{"schema":{"type":"object","required":["message","code"],"properties":{"message":{"type":"string","description":"Human-readable; may change — do not parse","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","description":"Stable machine-readable code (snake_case), e.g. validation_failed, not_found, key_read_only, not_online_bookable, group_full, appointment_rule, billing_rule, idempotency_key_reused, rate_limited","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string","uniqueKey":"errors.additionalProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"errors.additionalProperties","typeLabel":"string[]"},"description":"Present on validation failures, keyed by attribute","uniqueKey":"errors","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","code":"\u003cstring>","errors":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"1aaf3c2c-9d7e-4140-a73f-a1aef803dc12":{"description":"Invalid input; `errors` is keyed by attribute","content":{"application/json":{"schema":{"type":"object","required":["message","code"],"properties":{"message":{"type":"string","description":"Human-readable; may change — do not parse","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","description":"Stable machine-readable code (snake_case), e.g. validation_failed, not_found, key_read_only, not_online_bookable, group_full, appointment_rule, billing_rule, idempotency_key_reused, rate_limited","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string","uniqueKey":"errors.additionalProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"errors.additionalProperties","typeLabel":"string[]"},"description":"Present on validation failures, keyed by attribute","uniqueKey":"errors","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","code":"\u003cstring>","errors":{}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"3e149afc-4020-4703-9136-cc2e72a9bd5f":{"bearerAuth":{"type":"http","scheme":"bearer","description":"API key from Developers → API Keys, sent as Authorization: Bearer \u003ckey>.","scopes":[]}}},"servers":{"ac3ece27-d0f4-4c91-9451-abf026054118":{"url":"https://{clinic}.{region}.practicehub.io/v3/api","description":"PracticeHub API — the host the practice signs in on","variables":{"clinic":{"default":"your-clinic","description":"The clinic subdomain"},"region":{"default":"neptune","enum":["neptune","mercury","vulcan","jupiter","apollo"],"description":"The region host from the practice login URL: neptune (London), mercury (Frankfurt), vulcan (Ohio), jupiter (Singapore), apollo (Sydney)"}}}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"API key from Developers → API Keys, sent as Authorization: Bearer \u003ckey>.","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"API key from Developers → API Keys, sent as Authorization: Bearer \u003ckey>.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"openapi.json"},"subdomain":"practicehub","siteName":"PracticeHub API","title":"Update invoices - PracticeHub API","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-22T22:27:46.158Z","originalFileLocation":"api-reference/invoices/update-invoices.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=\"application-name\" content=\"PracticeHub API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/practicehub/tWea_gTXnCMo_QSS/_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/practicehub/tWea_gTXnCMo_QSS/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/practicehub/tWea_gTXnCMo_QSS/_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/practicehub/tWea_gTXnCMo_QSS/_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/practicehub/tWea_gTXnCMo_QSS/_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/practicehub/tWea_gTXnCMo_QSS/_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/practicehub/tWea_gTXnCMo_QSS/_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/practicehub/tWea_gTXnCMo_QSS/_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/practicehub/tWea_gTXnCMo_QSS/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update invoices - PracticeHub API\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"PracticeHub API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://build.practicehub.io/api-reference/invoices/update-invoices\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://practicehub.mintlify.site/_mintlify/api/og/v2?division=Invoices\u0026amp;title=Update+invoices\u0026amp;theme=28d8abad6d6dc7c82fd4bf6c\u0026amp;signature=8b64450bd16fa1ebfe7efdf9078768fe77f2dc2dbda411517da248b6a5f05680\">\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=\"Update invoices - PracticeHub API\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://practicehub.mintlify.site/_mintlify/api/og/v2?division=Invoices\u0026amp;title=Update+invoices\u0026amp;theme=28d8abad6d6dc7c82fd4bf6c\u0026amp;signature=8b64450bd16fa1ebfe7efdf9078768fe77f2dc2dbda411517da248b6a5f05680\">\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/practicehub/tWea_gTXnCMo_QSS/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"PracticeHub API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0A0A0A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://build.practicehub.io/api-reference/invoices/update-invoices\">\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/update-invoices.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://build.practicehub.io/#organization\",\"name\":\"PracticeHub API\",\"url\":\"https://build.practicehub.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/practicehub/MpQUZFwSGC0fLbvu/logo/light.svg?fit=max\u0026auto=format\u0026n=MpQUZFwSGC0fLbvu\u0026q=85\u0026s=78b2f118e53c15b719c31b4d00d2366b\"}},{\"@type\":\"WebSite\",\"@id\":\"https://build.practicehub.io#website\",\"name\":\"PracticeHub API\",\"url\":\"https://build.practicehub.io\",\"publisher\":{\"@id\":\"https://build.practicehub.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://build.practicehub.io/api-reference/invoices/update-invoices#webpage\",\"url\":\"https://build.practicehub.io/api-reference/invoices/update-invoices\",\"name\":\"Update invoices\",\"dateModified\":\"2026-09-22T22:27:46.158Z\",\"isPartOf\":{\"@id\":\"https://build.practicehub.io#website\"},\"breadcrumb\":{\"@id\":\"https://build.practicehub.io/api-reference/invoices/update-invoices#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://build.practicehub.io/api-reference/invoices/update-invoices#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Billing\",\"item\":\"https://build.practicehub.io/api-reference/invoices/list-invoices\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Invoices\",\"item\":\"https://build.practicehub.io/api-reference/invoices/list-invoices\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Update invoices\",\"item\":\"https://build.practicehub.io/api-reference/invoices/update-invoices\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://build.practicehub.io/api-reference/invoices/update-invoices#apireference\",\"headline\":\"Update invoices\",\"name\":\"Update invoices\",\"url\":\"https://build.practicehub.io/api-reference/invoices/update-invoices\",\"mainEntityOfPage\":{\"@id\":\"https://build.practicehub.io/api-reference/invoices/update-invoices#webpage\"},\"dateModified\":\"2026-09-22T22:27:46.158Z\",\"publisher\":{\"@id\":\"https://build.practicehub.io/#organization\"},\"isPartOf\":{\"@id\":\"https://build.practicehub.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"PracticeHub API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"PracticeHub API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/invoices/update-invoices.md","siteName":"PracticeHub API","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"Getting started","pages":[{"group":"Utility","pages":[{"title":"Liveness check","deprecated":null,"version":null,"openapi":"/openapi.json get /ping","href":"/api-reference/utility/liveness-check"},{"title":"Identify the authenticated credential and the account it reaches","deprecated":null,"version":null,"openapi":"/openapi.json get /me","href":"/api-reference/utility/identify-the-authenticated-credential-and-the-account-it-reaches"},{"title":"Describe every resource (attributes, filters, write operations, input)","deprecated":null,"version":null,"openapi":"/openapi.json get /schema","href":"/api-reference/utility/describe-every-resource-attributes-filters-write-operations-input"},{"title":"Describe one resource","deprecated":null,"version":null,"openapi":"/openapi.json get /schema/{entity}","href":"/api-reference/utility/describe-one-resource"}]}]},{"group":"Scheduling","pages":[{"group":"Availability","pages":[{"title":"List free, bookable slots for a location and appointment type","deprecated":null,"version":null,"openapi":"/openapi.json get /availability","href":"/api-reference/availability/list-free-bookable-slots-for-a-location-and-appointment-type"}]},{"group":"Appointments","pages":[{"title":"List appointments","deprecated":null,"version":null,"openapi":"/openapi.json get /appointments","href":"/api-reference/appointments/list-appointments"},{"title":"Create appointments","deprecated":null,"version":null,"openapi":"/openapi.json post /appointments","href":"/api-reference/appointments/create-appointments"},{"title":"Get one of appointments","deprecated":null,"version":null,"openapi":"/openapi.json get /appointments/{id}","href":"/api-reference/appointments/get-one-of-appointments"},{"title":"Update appointments","deprecated":null,"version":null,"openapi":"/openapi.json patch /appointments/{id}","href":"/api-reference/appointments/update-appointments"},{"title":"Delete appointments","deprecated":null,"version":null,"openapi":"/openapi.json delete /appointments/{id}","href":"/api-reference/appointments/delete-appointments"}]},{"group":"Appointment Types","pages":[{"title":"List appointment_types","deprecated":null,"version":null,"openapi":"/openapi.json get /appointment_types","href":"/api-reference/appointment-types/list-appointment_types"},{"title":"Create appointment_types","deprecated":null,"version":null,"openapi":"/openapi.json post /appointment_types","href":"/api-reference/appointment-types/create-appointment_types"},{"title":"Get one of appointment_types","deprecated":null,"version":null,"openapi":"/openapi.json get /appointment_types/{id}","href":"/api-reference/appointment-types/get-one-of-appointment_types"},{"title":"Update appointment_types","deprecated":null,"version":null,"openapi":"/openapi.json patch /appointment_types/{id}","href":"/api-reference/appointment-types/update-appointment_types"}]},{"group":"Practitioner Availabilities","pages":[{"title":"List practitioner_availabilities","deprecated":null,"version":null,"openapi":"/openapi.json get /practitioner_availabilities","href":"/api-reference/practitioner-availabilities/list-practitioner_availabilities"},{"title":"Get one of practitioner_availabilities","deprecated":null,"version":null,"openapi":"/openapi.json get /practitioner_availabilities/{id}","href":"/api-reference/practitioner-availabilities/get-one-of-practitioner_availabilities"}]},{"group":"Resources","pages":[{"title":"List resources","deprecated":null,"version":null,"openapi":"/openapi.json get /resources","href":"/api-reference/resources/list-resources"},{"title":"Get one of resources","deprecated":null,"version":null,"openapi":"/openapi.json get /resources/{id}","href":"/api-reference/resources/get-one-of-resources"}]}]},{"group":"Patients","pages":[{"group":"Patients","pages":[{"title":"List patients","deprecated":null,"version":null,"openapi":"/openapi.json get /patients","href":"/api-reference/patients/list-patients"},{"title":"Create patients","deprecated":null,"version":null,"openapi":"/openapi.json post /patients","href":"/api-reference/patients/create-patients"},{"title":"Get one of patients","deprecated":null,"version":null,"openapi":"/openapi.json get /patients/{id}","href":"/api-reference/patients/get-one-of-patients"},{"title":"Update patients","deprecated":null,"version":null,"openapi":"/openapi.json patch /patients/{id}","href":"/api-reference/patients/update-patients"},{"title":"Delete patients","deprecated":null,"version":null,"openapi":"/openapi.json delete /patients/{id}","href":"/api-reference/patients/delete-patients"}]},{"group":"Tags","pages":[{"title":"List tags","deprecated":null,"version":null,"openapi":"/openapi.json get /tags","href":"/api-reference/tags/list-tags"},{"title":"Get one of tags","deprecated":null,"version":null,"openapi":"/openapi.json get /tags/{id}","href":"/api-reference/tags/get-one-of-tags"}]},{"group":"Patient Tags","pages":[{"title":"Create patient_tags","deprecated":null,"version":null,"openapi":"/openapi.json post /patient_tags","href":"/api-reference/patient-tags/create-patient_tags"},{"title":"Delete patient_tags","deprecated":null,"version":null,"openapi":"/openapi.json delete /patient_tags/{id}","href":"/api-reference/patient-tags/delete-patient_tags"}]},{"group":"Numbers","pages":[{"title":"List numbers","deprecated":null,"version":null,"openapi":"/openapi.json get /numbers","href":"/api-reference/numbers/list-numbers"},{"title":"Get one of numbers","deprecated":null,"version":null,"openapi":"/openapi.json get /numbers/{id}","href":"/api-reference/numbers/get-one-of-numbers"}]},{"group":"Addresses","pages":[{"title":"List addresses","deprecated":null,"version":null,"openapi":"/openapi.json get /addresses","href":"/api-reference/addresses/list-addresses"},{"title":"Get one of addresses","deprecated":null,"version":null,"openapi":"/openapi.json get /addresses/{id}","href":"/api-reference/addresses/get-one-of-addresses"}]},{"group":"Patient Logs","pages":[{"title":"List patient_logs","deprecated":null,"version":null,"openapi":"/openapi.json get /patient_logs","href":"/api-reference/patient-logs/list-patient_logs"},{"title":"Create patient_logs","deprecated":null,"version":null,"openapi":"/openapi.json post /patient_logs","href":"/api-reference/patient-logs/create-patient_logs"},{"title":"Get one of patient_logs","deprecated":null,"version":null,"openapi":"/openapi.json get /patient_logs/{id}","href":"/api-reference/patient-logs/get-one-of-patient_logs"},{"title":"Update patient_logs","deprecated":null,"version":null,"openapi":"/openapi.json patch /patient_logs/{id}","href":"/api-reference/patient-logs/update-patient_logs"},{"title":"Delete patient_logs","deprecated":null,"version":null,"openapi":"/openapi.json delete /patient_logs/{id}","href":"/api-reference/patient-logs/delete-patient_logs"}]},{"group":"Patient Log Tags","pages":[{"title":"List patient_log_tags","deprecated":null,"version":null,"openapi":"/openapi.json get /patient_log_tags","href":"/api-reference/patient-log-tags/list-patient_log_tags"},{"title":"Create patient_log_tags","deprecated":null,"version":null,"openapi":"/openapi.json post /patient_log_tags","href":"/api-reference/patient-log-tags/create-patient_log_tags"},{"title":"Get one of patient_log_tags","deprecated":null,"version":null,"openapi":"/openapi.json get /patient_log_tags/{id}","href":"/api-reference/patient-log-tags/get-one-of-patient_log_tags"},{"title":"Update patient_log_tags","deprecated":null,"version":null,"openapi":"/openapi.json patch /patient_log_tags/{id}","href":"/api-reference/patient-log-tags/update-patient_log_tags"},{"title":"Delete patient_log_tags","deprecated":null,"version":null,"openapi":"/openapi.json delete /patient_log_tags/{id}","href":"/api-reference/patient-log-tags/delete-patient_log_tags"}]},{"group":"Files","pages":[{"title":"List files","deprecated":null,"version":null,"openapi":"/openapi.json get /files","href":"/api-reference/files/list-files"},{"title":"Create files","deprecated":null,"version":null,"openapi":"/openapi.json post /files","href":"/api-reference/files/create-files"},{"title":"Get one of files","deprecated":null,"version":null,"openapi":"/openapi.json get /files/{id}","href":"/api-reference/files/get-one-of-files"},{"title":"Update files","deprecated":null,"version":null,"openapi":"/openapi.json patch /files/{id}","href":"/api-reference/files/update-files"},{"title":"Delete files","deprecated":null,"version":null,"openapi":"/openapi.json delete /files/{id}","href":"/api-reference/files/delete-files"}]},{"group":"Care Plans","pages":[{"title":"List care_plans","deprecated":null,"version":null,"openapi":"/openapi.json get /care_plans","href":"/api-reference/care-plans/list-care_plans"},{"title":"Get one of care_plans","deprecated":null,"version":null,"openapi":"/openapi.json get /care_plans/{id}","href":"/api-reference/care-plans/get-one-of-care_plans"}]}]},{"group":"Clinical","pages":[{"group":"Clinical Notes","pages":[{"title":"List clinical notes","deprecated":null,"version":null,"openapi":"/openapi.json get /clinical_notes","href":"/api-reference/clinical-notes/list-clinical-notes"},{"title":"Create a clinical note","deprecated":null,"version":null,"openapi":"/openapi.json post /clinical_notes","href":"/api-reference/clinical-notes/create-a-clinical-note"},{"title":"Get one clinical note","deprecated":null,"version":null,"openapi":"/openapi.json get /clinical_notes/{id}","href":"/api-reference/clinical-notes/get-one-clinical-note"}]},{"group":"Form Templates","pages":[{"title":"List form_templates","deprecated":null,"version":null,"openapi":"/openapi.json get /form_templates","href":"/api-reference/form-templates/list-form_templates"},{"title":"Get one of form_templates","deprecated":null,"version":null,"openapi":"/openapi.json get /form_templates/{id}","href":"/api-reference/form-templates/get-one-of-form_templates"}]}]},{"group":"Billing","pages":[{"group":"Invoices","pages":[{"title":"List invoices","deprecated":null,"version":null,"openapi":"/openapi.json get /invoices","href":"/api-reference/invoices/list-invoices"},{"title":"Create invoices","deprecated":null,"version":null,"openapi":"/openapi.json post /invoices","href":"/api-reference/invoices/create-invoices"},{"title":"Get one of invoices","description":null,"deprecated":null,"version":null,"openapi":"/openapi.json get /invoices/{id}","href":"/api-reference/invoices/get-one-of-invoices"},{"title":"Update invoices","deprecated":null,"version":null,"openapi":"/openapi.json patch /invoices/{id}","href":"/api-reference/invoices/update-invoices"},{"title":"Delete invoices","description":null,"deprecated":null,"version":null,"openapi":"/openapi.json delete /invoices/{id}","href":"/api-reference/invoices/delete-invoices"}]},{"group":"Line Items","pages":[{"title":"List line_items","deprecated":null,"version":null,"openapi":"/openapi.json get /line_items","href":"/api-reference/line-items/list-line_items"},{"title":"Create line_items","deprecated":null,"version":null,"openapi":"/openapi.json post /line_items","href":"/api-reference/line-items/create-line_items"},{"title":"Get one of line_items","deprecated":null,"version":null,"openapi":"/openapi.json get /line_items/{id}","href":"/api-reference/line-items/get-one-of-line_items"},{"title":"Update line_items","deprecated":null,"version":null,"openapi":"/openapi.json patch /line_items/{id}","href":"/api-reference/line-items/update-line_items"},{"title":"Delete line_items","deprecated":null,"version":null,"openapi":"/openapi.json delete /line_items/{id}","href":"/api-reference/line-items/delete-line_items"}]},{"group":"Payments","pages":[{"title":"List payments","deprecated":null,"version":null,"openapi":"/openapi.json get /payments","href":"/api-reference/payments/list-payments"},{"title":"Create payments","deprecated":null,"version":null,"openapi":"/openapi.json post /payments","href":"/api-reference/payments/create-payments"},{"title":"Get one of payments","deprecated":null,"version":null,"openapi":"/openapi.json get /payments/{id}","href":"/api-reference/payments/get-one-of-payments"},{"title":"Update payments","deprecated":null,"version":null,"openapi":"/openapi.json patch /payments/{id}","href":"/api-reference/payments/update-payments"},{"title":"Delete payments","deprecated":null,"version":null,"openapi":"/openapi.json delete /payments/{id}","href":"/api-reference/payments/delete-payments"}]},{"group":"Refunds","pages":[{"title":"List refunds","deprecated":null,"version":null,"openapi":"/openapi.json get /refunds","href":"/api-reference/refunds/list-refunds"},{"title":"Create refunds","deprecated":null,"version":null,"openapi":"/openapi.json post /refunds","href":"/api-reference/refunds/create-refunds"},{"title":"Get one of refunds","deprecated":null,"version":null,"openapi":"/openapi.json get /refunds/{id}","href":"/api-reference/refunds/get-one-of-refunds"}]},{"group":"Payment Allocations","pages":[{"title":"List payment_allocations","deprecated":null,"version":null,"openapi":"/openapi.json get /payment_allocations","href":"/api-reference/payment-allocations/list-payment_allocations"},{"title":"Create payment_allocations","deprecated":null,"version":null,"openapi":"/openapi.json post /payment_allocations","href":"/api-reference/payment-allocations/create-payment_allocations"},{"title":"Get one of payment_allocations","deprecated":null,"version":null,"openapi":"/openapi.json get /payment_allocations/{id}","href":"/api-reference/payment-allocations/get-one-of-payment_allocations"},{"title":"Delete payment_allocations","deprecated":null,"version":null,"openapi":"/openapi.json delete /payment_allocations/{id}","href":"/api-reference/payment-allocations/delete-payment_allocations"}]},{"group":"Payment Methods","pages":[{"title":"List payment_methods","deprecated":null,"version":null,"openapi":"/openapi.json get /payment_methods","href":"/api-reference/payment-methods/list-payment_methods"},{"title":"Create payment_methods","deprecated":null,"version":null,"openapi":"/openapi.json post /payment_methods","href":"/api-reference/payment-methods/create-payment_methods"},{"title":"Get one of payment_methods","deprecated":null,"version":null,"openapi":"/openapi.json get /payment_methods/{id}","href":"/api-reference/payment-methods/get-one-of-payment_methods"},{"title":"Update payment_methods","deprecated":null,"version":null,"openapi":"/openapi.json patch /payment_methods/{id}","href":"/api-reference/payment-methods/update-payment_methods"}]},{"group":"Billable Items","pages":[{"title":"List billable_items","deprecated":null,"version":null,"openapi":"/openapi.json get /billable_items","href":"/api-reference/billable-items/list-billable_items"},{"title":"Create billable_items","deprecated":null,"version":null,"openapi":"/openapi.json post /billable_items","href":"/api-reference/billable-items/create-billable_items"},{"title":"Get one of billable_items","deprecated":null,"version":null,"openapi":"/openapi.json get /billable_items/{id}","href":"/api-reference/billable-items/get-one-of-billable_items"},{"title":"Update billable_items","deprecated":null,"version":null,"openapi":"/openapi.json patch /billable_items/{id}","href":"/api-reference/billable-items/update-billable_items"}]}]},{"group":"Admin \u0026 reference","pages":[{"group":"Locations","pages":[{"title":"List locations","deprecated":null,"version":null,"openapi":"/openapi.json get /locations","href":"/api-reference/locations/list-locations"},{"title":"Create locations","deprecated":null,"version":null,"openapi":"/openapi.json post /locations","href":"/api-reference/locations/create-locations"},{"title":"Get one of locations","deprecated":null,"version":null,"openapi":"/openapi.json get /locations/{id}","href":"/api-reference/locations/get-one-of-locations"},{"title":"Update locations","deprecated":null,"version":null,"openapi":"/openapi.json patch /locations/{id}","href":"/api-reference/locations/update-locations"}]},{"group":"Practitioners","pages":[{"title":"List practitioners","deprecated":null,"version":null,"openapi":"/openapi.json get /practitioners","href":"/api-reference/practitioners/list-practitioners"},{"title":"Get one of practitioners","deprecated":null,"version":null,"openapi":"/openapi.json get /practitioners/{id}","href":"/api-reference/practitioners/get-one-of-practitioners"}]},{"group":"Modalities","pages":[{"title":"List modalities","deprecated":null,"version":null,"openapi":"/openapi.json get /modalities","href":"/api-reference/modalities/list-modalities"},{"title":"Get one of modalities","deprecated":null,"version":null,"openapi":"/openapi.json get /modalities/{id}","href":"/api-reference/modalities/get-one-of-modalities"}]},{"group":"Referral Sources","pages":[{"title":"List referral_sources","deprecated":null,"version":null,"openapi":"/openapi.json get /referral_sources","href":"/api-reference/referral-sources/list-referral_sources"},{"title":"Create referral_sources","deprecated":null,"version":null,"openapi":"/openapi.json post /referral_sources","href":"/api-reference/referral-sources/create-referral_sources"},{"title":"Get one of referral_sources","deprecated":null,"version":null,"openapi":"/openapi.json get /referral_sources/{id}","href":"/api-reference/referral-sources/get-one-of-referral_sources"},{"title":"Update referral_sources","deprecated":null,"version":null,"openapi":"/openapi.json patch /referral_sources/{id}","href":"/api-reference/referral-sources/update-referral_sources"}]},{"group":"Deleted Entities","pages":[{"title":"List deleted_entities","deprecated":null,"version":null,"openapi":"/openapi.json get /deleted_entities","href":"/api-reference/deleted-entities/list-deleted_entities"},{"title":"Get one of deleted_entities","deprecated":null,"version":null,"openapi":"/openapi.json get /deleted_entities/{id}","href":"/api-reference/deleted-entities/get-one-of-deleted_entities"}]}]}]},{"tab":"MCP Server","pages":[{"title":"MCP Server","href":"/mcp/overview"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"Update invoices - PracticeHub API","deploymentId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","buildId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","dynamics":["10e4515597","c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["BannerMarkdown-DMIpkWQi.js","dist-Bg48sGSz.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js","OpenApiReferenceProvider-BMn8tSe3.js","snippetPresets-Dl5ZrD9W.js","utils-CddEzDcs.js","style-to-object-BY3JEAdk.js","utils-Dym31Pnf.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-ZiqR8hPK.js","conditional-requirements-CFM0id0Q.js","cloneDeep-D3fPbylz.js","_Uint8Array-BcNtDki0.js","isObject-FP1Yky1u.js","ApiExamples-4Sf3CFhl.js","usePlaygroundInputsStore-Ck91l6q0.js","shallow-DapBSR9G.js","isEqual-Clu_sGzx.js","CodeSnippets-DAVHdSX2.js","CodeSnippet-Be6AcO_D.js","use-playground-group-access-CteWws2O.js","Page-_aL_PM_2.js","api-description-markdown-BPoPkVJQ.js","DynamicMarkdown-QJ7LkRm3.js","SectionHeading-DyxPTJti.js","MethodPill-CGjK-dNY.js","getPastedJson-C4YIGTOJ.js","Check2Icon-B7COpIZE.js","axios-CsQoIw0U.js","Markdown-Bquzb4Gw.js","AssistantPageLink-wSgGy_i5.js"]}