Custom invoice attributes by name. Same as other entities: string value upserts, omit value is a no-op, null or "" unsets that attribute only. Unlisted attributes are left unchanged.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"WizCommerce","description":"WizCommerce API Documentation","colors":{"primary":"#FD691F","light":"#FD691F","dark":"#FD691F"},"logo":{"light":"https://mintcdn.com/wiz-3b1b07ce/83h4wzuLqryi0-3b/logo/logo1-light.svg?fit=max\u0026auto=format\u0026n=83h4wzuLqryi0-3b\u0026q=85\u0026s=896242c42d257168efd90e301f4e2075","dark":"https://mintcdn.com/wiz-3b1b07ce/83h4wzuLqryi0-3b/logo/logo1-dark.svg?fit=max\u0026auto=format\u0026n=83h4wzuLqryi0-3b\u0026q=85\u0026s=ec78b100be1c29314e25a789c0e526f9","href":"https://wizcommerce.com"},"favicon":"https://mintcdn.com/wiz-3b1b07ce/83h4wzuLqryi0-3b/logo/favico.png?fit=max\u0026auto=format\u0026n=83h4wzuLqryi0-3b\u0026q=85\u0026s=19f45e506a2d51d0eaca25a5262a3afc","api":{"playground":{"display":"interactive"}},"navbar":{"links":[{"href":"mailto:help@wizcommerce.com","label":"Support"}],"primary":{"type":"button","label":"Sign Up","href":"https://wizcommerce.com/book-a-demo/"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/wizcommerce","instagram":"https://www.instagram.com/wizcommerce_"}},"fonts":{"heading":{"family":"DM Sans"},"body":{"family":"Inter"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"wiz-3b1b07ce","hasAudioNarration":false,"actualSubdomain":"wiz-3b1b07ce","customDomains":["docs.wizcommerce.com"],"gitSource":{"type":"github","owner":"sourcewiz","repo":"wizbridge","deployBranch":"main","contentDirectory":"api-docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6acf287af69ce708bc03c6b4","collectionId":"9abdefd2-be82-4eff-bc5a-6e6039def255","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6acf287af69ce708bc03c6b4"},"feedback":{"thumbs":true,"edits":true,"issues":true},"entitlements":{},"buildId":"6acf287af69ce708bc03c6b4","clientVersion":"0.0.3971","searchFilterCounts":[{"language":"default","tag":"API Reference","count":112},{"language":"default","tag":"Core APIs","count":108},{"language":"default","tag":"Customer","count":15},{"language":"default","tag":"Customer (v2)","count":15},{"language":"default","tag":"Price List","count":10},{"language":"default","tag":"Shipments","count":10},{"language":"default","tag":"Guides","count":9},{"language":"default","tag":"Payment Method","count":8},{"language":"default","tag":"Orders (v2)","count":6},{"language":"default","tag":"Invoices","count":5}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","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":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","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":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":true},"customCss":[],"page":{"pagePath":"api-reference/2026-09-11/invoice/update-invoice","slug":"/api-reference/2026-09-11/invoice/update-invoice","pageMetadata":{"openapi":"put /v2/invoices/{id}","title":"Update Invoice","description":"Update an invoice; order_ids is the full desired set of linked orders","href":"/api-reference/2026-09-11/invoice/update-invoice"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Update an invoice; order_ids is the full desired set of linked orders\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"openapi":"put /v2/invoices/{id}","title":"Update Invoice","description":"Update an invoice; order_ids is the full desired set of linked orders","href":"/api-reference/2026-09-11/invoice/update-invoice"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"security":["5a083261-2d4d-4468-9b9c-41e98973c09a"],"description":"Update an invoice; order_ids is the full desired set of linked orders","tags":["Invoice V2"],"summary":"Update Invoice","parameters":["22f23718-60aa-44fa-87bc-32de46474b1e"],"requestBody":"91953942-a058-41d7-b349-61f4b6244ce4","responses":{"200":"bff63830-2db6-4794-8f88-4235baf30f4a","400":"b9ce168e-48f0-475a-a876-764fbe638603","401":"794f8e5a-881d-4e84-b4fb-5c5ba8c5546f","403":"72f2b38b-465e-4311-8385-4c1b5c5b66f1","404":"1344032e-0f7c-471d-a5ca-3722854d1cfe","500":"254b3572-fe65-43b5-826f-c657fae349a7"},"method":"put","type":"path","servers":["3dfc58e3-56be-4a28-af9d-c04d1f7c3dc6","887541fe-0caa-492c-ade4-30db936ca155"],"path":"/v2/invoices/{id}","baseUrlOptions":["https://api.wizcommerce.com","https://api-staging.sourcerer.tech"],"title":"Update Invoice","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"22f23718-60aa-44fa-87bc-32de46474b1e":{"description":"Invoice ID","name":"id","in":"path","required":true,"schema":{"type":"string","isRequired":true,"description":"Invoice ID","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["due_date","invoice_number","items","order_ids","paid_amount","reference_id"],"properties":{"reference_id":{"type":"string","maxLength":255,"x-order":"1","example":"INV-20250101","isRequired":true,"uniqueKey":"reference_id","typeLabel":"string"},"order_ids":{"description":"All orders covered by this invoice; the first entry is treated as the primary order.","type":"array","minItems":1,"items":{"type":"string","uniqueKey":"order_ids.items.[INDEX]","typeLabel":"string"},"x-order":"2","example":["01f5d171-d3e3-4b2b-bd57-0727194b5bed"],"isRequired":true,"uniqueKey":"order_ids","typeLabel":"string[]"},"invoice_number":{"type":"string","maxLength":255,"x-order":"3","example":"INV-20250101","isRequired":true,"uniqueKey":"invoice_number","typeLabel":"string"},"paid_amount":{"type":"number","maximum":21474836.47,"minimum":0,"x-order":"6","example":0,"isRequired":true,"uniqueKey":"paid_amount","typeLabel":"number"},"due_date":{"type":"string","x-order":"9","example":"2025-01-01T00:00:00Z","isRequired":true,"uniqueKey":"due_date","typeLabel":"string"},"items":{"type":"array","minItems":1,"items":{"type":"object","required":["amount","name","quantity","reference_id","sku"],"properties":{"reference_id":{"type":"string","maxLength":255,"x-order":"1","example":"ITEM-20250101","isRequired":true,"uniqueKey":"\\items.items.[INDEX].reference_id","typeLabel":"string"},"sku":{"type":"string","maxLength":255,"x-order":"2","example":"SKU-20250101","isRequired":true,"uniqueKey":"\\items.items.[INDEX].sku","typeLabel":"string"},"quantity":{"type":"integer","x-order":"3","example":1000000,"isRequired":true,"uniqueKey":"\\items.items.[INDEX].quantity","typeLabel":"integer"},"amount":{"description":"Amount per unit","type":"number","maximum":21474836.47,"x-order":"4","example":1000000,"isRequired":true,"uniqueKey":"\\items.items.[INDEX].amount","typeLabel":"number"},"name":{"type":"string","maxLength":255,"x-order":"5","example":"Item Name","isRequired":true,"uniqueKey":"\\items.items.[INDEX].name","typeLabel":"string"},"tax_charges":{"type":"object","description":"PUT: omit to clear; send object as full desired set per item","x-order":"6","properties":{"tax_value":{"type":"number","minimum":0,"x-order":"1","example":10,"uniqueKey":"\\items.items.[INDEX].tax_charges.tax_value","typeLabel":"number"},"tax_type":{"type":"string","enum":["value","percentage"],"x-order":"2","example":"percentage","uniqueKey":"\\items.items.[INDEX].tax_charges.tax_type","typeLabel":"enum\u003cstring>"},"discount_value":{"type":"number","minimum":0,"x-order":"3","example":5,"uniqueKey":"\\items.items.[INDEX].tax_charges.discount_value","typeLabel":"number"},"discount_type":{"type":"string","enum":["value","percentage"],"x-order":"4","example":"value","uniqueKey":"\\items.items.[INDEX].tax_charges.discount_type","typeLabel":"enum\u003cstring>"},"shipping_charge_value":{"type":"number","minimum":0,"x-order":"5","example":15,"uniqueKey":"\\items.items.[INDEX].tax_charges.shipping_charge_value","typeLabel":"number"},"shipping_charge_type":{"type":"string","enum":["value","percentage"],"x-order":"6","example":"value","uniqueKey":"\\items.items.[INDEX].tax_charges.shipping_charge_type","typeLabel":"enum\u003cstring>"},"additional_charge_name":{"type":"string","maxLength":255,"x-order":"7","example":"Handling Fee","uniqueKey":"\\items.items.[INDEX].tax_charges.additional_charge_name","typeLabel":"string"},"additional_charge_value":{"type":"number","minimum":0,"x-order":"8","example":2.5,"uniqueKey":"\\items.items.[INDEX].tax_charges.additional_charge_value","typeLabel":"number"},"additional_charge_type":{"type":"string","enum":["value","percentage"],"x-order":"9","example":"value","uniqueKey":"\\items.items.[INDEX].tax_charges.additional_charge_type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"\\items.items.[INDEX].tax_charges","typeLabel":"object"},"item_status":{"type":"object","description":"Omit on update to leave the stored status unchanged","x-order":"7","properties":{"ordered_quantity":{"type":"number","minimum":0,"x-order":"1","example":10,"uniqueKey":"\\items.items.[INDEX].item_status.ordered_quantity","typeLabel":"number"},"shipped_quantity":{"type":"number","minimum":0,"x-order":"2","example":4,"uniqueKey":"\\items.items.[INDEX].item_status.shipped_quantity","typeLabel":"number"},"open_quantity":{"type":"number","minimum":0,"x-order":"3","example":6,"uniqueKey":"\\items.items.[INDEX].item_status.open_quantity","typeLabel":"number"},"ship_date":{"type":"string","x-order":"4","example":"2026-07-15T00:00:00Z","uniqueKey":"\\items.items.[INDEX].item_status.ship_date","typeLabel":"string"},"delivered_date":{"type":"string","x-order":"5","example":"2026-07-20T00:00:00Z","uniqueKey":"\\items.items.[INDEX].item_status.delivered_date","typeLabel":"string"},"requested_ship_date":{"type":"string","x-order":"6","example":"2026-07-14T00:00:00Z","uniqueKey":"\\items.items.[INDEX].item_status.requested_ship_date","typeLabel":"string"},"requested_delivery_date":{"type":"string","x-order":"7","example":"2026-07-21T00:00:00Z","uniqueKey":"\\items.items.[INDEX].item_status.requested_delivery_date","typeLabel":"string"}},"uniqueKey":"\\items.items.[INDEX].item_status","typeLabel":"object"}},"uniqueKey":"\\items.items.[INDEX]","typeLabel":"object"},"x-order":"14","isRequired":true,"uniqueKey":"\\items","typeLabel":"object[]"},"status":{"type":"string","enum":["PAID","PENDING","PARTIALLY_PAID","OVERPAID"],"x-order":"8","example":"PAID","uniqueKey":"status","typeLabel":"enum\u003cstring>"},"invoice_date":{"type":"string","x-order":"9","example":"2025-01-01T00:00:00Z","uniqueKey":"invoice_date","typeLabel":"string"},"invoice_status":{"description":"Lifecycle status of the invoice. Omit on update to leave the stored value unchanged.","type":"string","enum":["DRAFT","OPEN","SENT","PARTIALLY_PAID","CLOSED","OVERDUE","CANCELLED","CREDIT_NOTE_ISSUED"],"x-order":"9","example":"SENT","uniqueKey":"invoice_status","typeLabel":"enum\u003cstring>"},"payment_method":{"description":"Omit on update to leave unchanged.","type":"string","maxLength":64,"x-order":"9","example":"card","uniqueKey":"payment_method","typeLabel":"string"},"payment_terms":{"description":"Omit on update to leave unchanged.","type":"string","maxLength":255,"x-order":"9","example":"Net 30","uniqueKey":"payment_terms","typeLabel":"string"},"po_number":{"description":"Customer PO number. Omit on update to leave unchanged.","type":"string","maxLength":255,"x-order":"9","example":"PO-2026-001","uniqueKey":"po_number","typeLabel":"string"},"sales_rep_id":{"description":"User id the invoice was created for. Omit on update to leave unchanged.","type":"string","x-order":"9","example":"01f5d171-d3e3-4b2b-bd57-0727194b5bed","uniqueKey":"sales_rep_id","typeLabel":"string"},"shipped_date":{"description":"Date the invoice shipped (stored as a date). Omit on update to leave unchanged.","type":"string","x-order":"9","example":"2026-07-15T00:00:00Z","uniqueKey":"shipped_date","typeLabel":"string"},"shipping_method":{"description":"Omit on update to leave unchanged.","type":"string","maxLength":255,"x-order":"9","example":"FedEx Ground","uniqueKey":"shipping_method","typeLabel":"string"},"remarks":{"type":"string","maxLength":255,"x-order":"10","example":"Remarks","uniqueKey":"remarks","typeLabel":"string"},"url":{"type":"string","x-order":"11","example":"https://example.com/invoice/INV-20250101","uniqueKey":"url","typeLabel":"string"},"created_at":{"type":"string","x-order":"12","example":"2025-01-01T00:00:00Z","uniqueKey":"created_at","typeLabel":"string"},"updated_at":{"description":"Updated at must be later than the order creation date","type":"string","x-order":"13","example":"2025-01-01T00:00:00Z","uniqueKey":"updated_at","typeLabel":"string"},"charges":{"description":"On update the array is the full desired set: charges missing from it are removed. Omit the key to leave charges untouched.","type":"array","items":{"type":"object","required":["name","type"],"properties":{"name":{"type":"string","maxLength":255,"x-order":"1","example":"Tax","isRequired":true,"uniqueKey":"charges.items.[INDEX].name","typeLabel":"string"},"type":{"description":"What the charge is; stored in charge_type.","type":"string","enum":["discount","tax","shipping"],"x-order":"2","example":"tax","isRequired":true,"uniqueKey":"charges.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"value_type":{"description":"How amount is interpreted: \"value\" = fixed currency amount (default), \"percentage\" = percent.","type":"string","enum":["value","percentage"],"x-order":"3","example":"value","uniqueKey":"charges.items.[INDEX].value_type","typeLabel":"enum\u003cstring>"},"amount":{"type":"number","x-order":"4","example":100,"uniqueKey":"charges.items.[INDEX].amount","typeLabel":"number"}},"uniqueKey":"charges.items.[INDEX]","typeLabel":"object"},"x-order":"15","uniqueKey":"charges","typeLabel":"object[]"},"attributes":{"description":"Custom invoice attributes by name. Same as other entities: string value upserts, omit value is a no-op, null or \"\" unsets that attribute only. Unlisted attributes are left unchanged.","type":"array","items":{"type":"object","required":["name"],"properties":{"name":{"type":"string","maxLength":255,"x-order":"1","example":"Spec Sheet","isRequired":true,"uniqueKey":"attributes.items.[INDEX].name","typeLabel":"string"},"value":{"type":"string","x-nullable":"true","x-order":"2","example":"https://example.com/spec.pdf","uniqueKey":"attributes.items.[INDEX].value","typeLabel":"string"},"label":{"description":"Display label for url/file/tag attributes; ignored for plain types","type":"string","maxLength":255,"x-order":"3","example":"Spec Sheet PDF","uniqueKey":"attributes.items.[INDEX].label","typeLabel":"string"}},"uniqueKey":"attributes.items.[INDEX]","typeLabel":"object"},"x-order":"16","uniqueKey":"attributes","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"reference_id":"INV-20250101","order_ids":["01f5d171-d3e3-4b2b-bd57-0727194b5bed"],"invoice_number":"INV-20250101","paid_amount":0,"due_date":"2025-01-01T00:00:00Z","items":[{"reference_id":"ITEM-20250101","sku":"SKU-20250101","quantity":1000000,"amount":1000000,"name":"Item Name","tax_charges":{"tax_value":10,"tax_type":"percentage","discount_value":5,"discount_type":"value","shipping_charge_value":15,"shipping_charge_type":"value","additional_charge_name":"Handling Fee","additional_charge_value":2.5,"additional_charge_type":"value"},"item_status":{"ordered_quantity":10,"shipped_quantity":4,"open_quantity":6,"ship_date":"2026-07-15T00:00:00Z","delivered_date":"2026-07-20T00:00:00Z","requested_ship_date":"2026-07-14T00:00:00Z","requested_delivery_date":"2026-07-21T00:00:00Z"}}],"status":"PAID","invoice_date":"2025-01-01T00:00:00Z","invoice_status":"SENT","payment_method":"card","payment_terms":"Net 30","po_number":"PO-2026-001","sales_rep_id":"01f5d171-d3e3-4b2b-bd57-0727194b5bed","shipped_date":"2026-07-15T00:00:00Z","shipping_method":"FedEx Ground","remarks":"Remarks","url":"https://example.com/invoice/INV-20250101","created_at":"2025-01-01T00:00:00Z","updated_at":"2025-01-01T00:00:00Z","charges":[{"name":"Tax","type":"tax","value_type":"value","amount":100}],"attributes":[{"name":"Spec Sheet","value":"https://example.com/spec.pdf","label":"Spec Sheet PDF"}]}}},"exampleType":"generated"}},"description":"Invoice","required":true,"exampleType":"generated"},"responses":{"bff63830-2db6-4794-8f88-4235baf30f4a":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","x-order":"1","properties":{"id":{"description":"UUID","type":"string","x-order":"1","example":"01f5d171-d3e3-4b2b-bd57-0727194b5bed","uniqueKey":"data.id","typeLabel":"string"},"reference_id":{"type":"string","x-order":"2","example":"INV-20250101","uniqueKey":"data.reference_id","typeLabel":"string"},"order_ids":{"description":"All orders linked to this invoice, latest first","type":"array","items":{"type":"string","uniqueKey":"data.order_ids.items.[INDEX]","typeLabel":"string"},"x-order":"3","example":["01f5d171-d3e3-4b2b-bd57-0727194b5bed"],"uniqueKey":"data.order_ids","typeLabel":"string[]"},"invoice_number":{"type":"string","x-order":"4","example":"INV-20250101","uniqueKey":"data.invoice_number","typeLabel":"string"},"total_amount":{"description":"Derived invoice total (items + invoice-level charges); read-only","type":"number","x-order":"5","example":269.96,"uniqueKey":"data.total_amount","typeLabel":"number"},"paid_amount":{"type":"number","x-order":"6","example":100,"uniqueKey":"data.paid_amount","typeLabel":"number"},"invoice_date":{"description":"null when not set","type":"string","x-order":"7","example":"2025-01-01T00:00:00Z","uniqueKey":"data.invoice_date","typeLabel":"string"},"invoice_status":{"description":"Lifecycle status (DRAFT/OPEN/SENT/PARTIALLY_PAID/CLOSED/OVERDUE/CANCELLED/CREDIT_NOTE_ISSUED); empty when not set","type":"string","x-order":"7","example":"SENT","uniqueKey":"data.invoice_status","typeLabel":"string"},"payment_method":{"type":"string","x-order":"7","example":"card","uniqueKey":"data.payment_method","typeLabel":"string"},"payment_terms":{"type":"string","x-order":"7","example":"Net 30","uniqueKey":"data.payment_terms","typeLabel":"string"},"po_number":{"type":"string","x-order":"7","example":"PO-2026-001","uniqueKey":"data.po_number","typeLabel":"string"},"sales_rep_id":{"type":"string","x-order":"7","example":"01f5d171-d3e3-4b2b-bd57-0727194b5bed","uniqueKey":"data.sales_rep_id","typeLabel":"string"},"shipped_date":{"description":"null when not set","type":"string","x-order":"7","example":"2026-07-15T00:00:00Z","uniqueKey":"data.shipped_date","typeLabel":"string"},"shipping_method":{"type":"string","x-order":"7","example":"FedEx Ground","uniqueKey":"data.shipping_method","typeLabel":"string"},"status":{"type":"string","x-order":"7","example":"PAID","uniqueKey":"data.status","typeLabel":"string"},"due_date":{"type":"string","x-order":"8","example":"2025-01-01T00:00:00Z","uniqueKey":"data.due_date","typeLabel":"string"},"remarks":{"type":"string","x-order":"9","example":"Remarks","uniqueKey":"data.remarks","typeLabel":"string"},"url":{"type":"string","x-order":"10","example":"https://example.com/invoice/INV-20250101","uniqueKey":"data.url","typeLabel":"string"},"created_at":{"type":"string","x-order":"11","example":"2025-01-01T00:00:00Z","uniqueKey":"data.created_at","typeLabel":"string"},"updated_at":{"type":"string","x-order":"12","example":"2025-01-01T00:00:00Z","uniqueKey":"data.updated_at","typeLabel":"string"},"items":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","x-order":"4","example":"Item Name","uniqueKey":"data.\\items.items.[INDEX].name","typeLabel":"string"},"sku":{"description":"SKU as sent on create/update; empty for items created before sku storage","type":"string","x-order":"5","example":"SKU-20250101","uniqueKey":"data.\\items.items.[INDEX].sku","typeLabel":"string"},"product_id":{"type":"string","maxLength":255,"x-order":"6","example":"1234567890","uniqueKey":"data.\\items.items.[INDEX].product_id","typeLabel":"string"},"amount":{"description":"Pre-charge unit price (rate); use on create/update","type":"number","x-order":"7","example":1000000,"uniqueKey":"data.\\items.items.[INDEX].amount","typeLabel":"number"},"final_unit_price":{"description":"Post-charge unit price; read-only","type":"number","x-order":"8","example":1100000,"uniqueKey":"data.\\items.items.[INDEX].final_unit_price","typeLabel":"number"},"item_total":{"type":"number","x-order":"9","example":1000000,"uniqueKey":"data.\\items.items.[INDEX].item_total","typeLabel":"number"},"tax_charges":{"type":"object","x-order":"10","properties":{"tax_value":{"type":"number","x-order":"1","example":10,"uniqueKey":"data.\\items.items.[INDEX].tax_charges.tax_value","typeLabel":"number"},"tax_type":{"type":"string","x-order":"2","example":"percentage","uniqueKey":"data.\\items.items.[INDEX].tax_charges.tax_type","typeLabel":"string"},"discount_value":{"type":"number","x-order":"3","example":5,"uniqueKey":"data.\\items.items.[INDEX].tax_charges.discount_value","typeLabel":"number"},"discount_type":{"type":"string","x-order":"4","example":"value","uniqueKey":"data.\\items.items.[INDEX].tax_charges.discount_type","typeLabel":"string"},"shipping_charge_value":{"type":"number","x-order":"5","example":15,"uniqueKey":"data.\\items.items.[INDEX].tax_charges.shipping_charge_value","typeLabel":"number"},"shipping_charge_type":{"type":"string","x-order":"6","example":"value","uniqueKey":"data.\\items.items.[INDEX].tax_charges.shipping_charge_type","typeLabel":"string"},"additional_charge_name":{"type":"string","x-order":"7","example":"Handling Fee","uniqueKey":"data.\\items.items.[INDEX].tax_charges.additional_charge_name","typeLabel":"string"},"additional_charge_value":{"type":"number","x-order":"8","example":2.5,"uniqueKey":"data.\\items.items.[INDEX].tax_charges.additional_charge_value","typeLabel":"number"},"additional_charge_type":{"type":"string","x-order":"9","example":"value","uniqueKey":"data.\\items.items.[INDEX].tax_charges.additional_charge_type","typeLabel":"string"}},"uniqueKey":"data.\\items.items.[INDEX].tax_charges","typeLabel":"object"},"item_status":{"type":"object","x-order":"11","properties":{"ordered_quantity":{"type":"number","x-order":"1","example":10,"uniqueKey":"data.\\items.items.[INDEX].item_status.ordered_quantity","typeLabel":"number"},"shipped_quantity":{"type":"number","x-order":"2","example":4,"uniqueKey":"data.\\items.items.[INDEX].item_status.shipped_quantity","typeLabel":"number"},"open_quantity":{"type":"number","x-order":"3","example":6,"uniqueKey":"data.\\items.items.[INDEX].item_status.open_quantity","typeLabel":"number"},"ship_date":{"type":"string","x-order":"4","example":"2026-07-15T00:00:00Z","uniqueKey":"data.\\items.items.[INDEX].item_status.ship_date","typeLabel":"string"},"delivered_date":{"type":"string","x-order":"5","example":"2026-07-20T00:00:00Z","uniqueKey":"data.\\items.items.[INDEX].item_status.delivered_date","typeLabel":"string"},"requested_ship_date":{"type":"string","x-order":"6","example":"2026-07-14T00:00:00Z","uniqueKey":"data.\\items.items.[INDEX].item_status.requested_ship_date","typeLabel":"string"},"requested_delivery_date":{"type":"string","x-order":"7","example":"2026-07-21T00:00:00Z","uniqueKey":"data.\\items.items.[INDEX].item_status.requested_delivery_date","typeLabel":"string"}},"uniqueKey":"data.\\items.items.[INDEX].item_status","typeLabel":"object"},"id":{"description":"UUID","type":"string","example":"01f5d171-d3e3-4b2b-bd57-0727194b5bed","uniqueKey":"data.\\items.items.[INDEX].id","typeLabel":"string"},"quantity":{"type":"integer","example":1000000,"uniqueKey":"data.\\items.items.[INDEX].quantity","typeLabel":"integer"},"reference_id":{"type":"string","example":"ITEM-20250101","uniqueKey":"data.\\items.items.[INDEX].reference_id","typeLabel":"string"}},"uniqueKey":"data.\\items.items.[INDEX]","typeLabel":"object"},"x-order":"13","uniqueKey":"data.\\items","typeLabel":"object[]"},"charges":{"description":"Populated on detail/create/update responses (not on list)","type":"array","items":{"type":"object","properties":{"name":{"type":"string","x-order":"1","example":"Tax","uniqueKey":"data.charges.items.[INDEX].name","typeLabel":"string"},"type":{"description":"What the charge is (discount/tax/shipping); legacy charges may carry other stored values","type":"string","x-order":"2","example":"tax","uniqueKey":"data.charges.items.[INDEX].type","typeLabel":"string"},"value_type":{"description":"How amount is interpreted (\"value\" or \"percentage\"); legacy charges may carry other stored values","type":"string","x-order":"3","example":"value","uniqueKey":"data.charges.items.[INDEX].value_type","typeLabel":"string"},"amount":{"type":"number","x-order":"4","example":100,"uniqueKey":"data.charges.items.[INDEX].amount","typeLabel":"number"}},"uniqueKey":"data.charges.items.[INDEX]","typeLabel":"object"},"x-order":"14","uniqueKey":"data.charges","typeLabel":"object[]"},"attributes":{"description":"Populated on detail/create/update responses (not on list)","type":"array","items":{"type":"object","properties":{"id":{"type":"string","x-order":"1","example":"01f5d171-d3e3-4b2b-bd57-0727194b5bed","uniqueKey":"data.attributes.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","x-order":"2","example":"Color","uniqueKey":"data.attributes.items.[INDEX].name","typeLabel":"string"},"value":{"type":"string","x-order":"3","example":"Red","uniqueKey":"data.attributes.items.[INDEX].value","typeLabel":"string"},"created_by":{"type":"string","x-order":"4","example":"01f5d171-d3e3-4b2b-bd57-0727194b5bed","uniqueKey":"data.attributes.items.[INDEX].created_by","typeLabel":"string"},"updated_by":{"type":"string","x-order":"5","example":"01f5d171-d3e3-4b2b-bd57-0727194b5bed","uniqueKey":"data.attributes.items.[INDEX].updated_by","typeLabel":"string"},"created_at":{"type":"string","x-order":"6","example":"2021-01-01T00:00:00Z","uniqueKey":"data.attributes.items.[INDEX].created_at","typeLabel":"string"},"updated_at":{"type":"string","x-order":"7","example":"2021-01-01T00:00:00Z","uniqueKey":"data.attributes.items.[INDEX].updated_at","typeLabel":"string"}},"uniqueKey":"data.attributes.items.[INDEX]","typeLabel":"object"},"x-order":"15","uniqueKey":"data.attributes","typeLabel":"object[]"}},"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"id":"01f5d171-d3e3-4b2b-bd57-0727194b5bed","reference_id":"INV-20250101","order_ids":["01f5d171-d3e3-4b2b-bd57-0727194b5bed"],"invoice_number":"INV-20250101","total_amount":269.96,"paid_amount":100,"invoice_date":"2025-01-01T00:00:00Z","invoice_status":"SENT","payment_method":"card","payment_terms":"Net 30","po_number":"PO-2026-001","sales_rep_id":"01f5d171-d3e3-4b2b-bd57-0727194b5bed","shipped_date":"2026-07-15T00:00:00Z","shipping_method":"FedEx Ground","status":"PAID","due_date":"2025-01-01T00:00:00Z","remarks":"Remarks","url":"https://example.com/invoice/INV-20250101","created_at":"2025-01-01T00:00:00Z","updated_at":"2025-01-01T00:00:00Z","items":[{"name":"Item Name","sku":"SKU-20250101","product_id":"1234567890","amount":1000000,"final_unit_price":1100000,"item_total":1000000,"tax_charges":{"tax_value":10,"tax_type":"percentage","discount_value":5,"discount_type":"value","shipping_charge_value":15,"shipping_charge_type":"value","additional_charge_name":"Handling Fee","additional_charge_value":2.5,"additional_charge_type":"value"},"item_status":{"ordered_quantity":10,"shipped_quantity":4,"open_quantity":6,"ship_date":"2026-07-15T00:00:00Z","delivered_date":"2026-07-20T00:00:00Z","requested_ship_date":"2026-07-14T00:00:00Z","requested_delivery_date":"2026-07-21T00:00:00Z"},"id":"01f5d171-d3e3-4b2b-bd57-0727194b5bed","quantity":1000000,"reference_id":"ITEM-20250101"}],"charges":[{"name":"Tax","type":"tax","value_type":"value","amount":100}],"attributes":[{"id":"01f5d171-d3e3-4b2b-bd57-0727194b5bed","name":"Color","value":"Red","created_by":"01f5d171-d3e3-4b2b-bd57-0727194b5bed","updated_by":"01f5d171-d3e3-4b2b-bd57-0727194b5bed","created_at":"2021-01-01T00:00:00Z","updated_at":"2021-01-01T00:00:00Z"}]}}}},"exampleType":"generated"}},"exampleType":"generated"},"b9ce168e-48f0-475a-a876-764fbe638603":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","x-order":"1","uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","x-order":"2","uniqueKey":"message","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","x-order":"1","uniqueKey":"details.items.[INDEX].field","typeLabel":"string"},"reason":{"type":"string","x-order":"2","uniqueKey":"details.items.[INDEX].reason","typeLabel":"string"}},"uniqueKey":"details.items.[INDEX]","typeLabel":"object"},"x-order":"3","uniqueKey":"details","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","message":"\u003cstring>","details":[{"field":"\u003cstring>","reason":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"794f8e5a-881d-4e84-b4fb-5c5ba8c5546f":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","x-order":"1","uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","x-order":"2","uniqueKey":"message","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","x-order":"1","uniqueKey":"details.items.[INDEX].field","typeLabel":"string"},"reason":{"type":"string","x-order":"2","uniqueKey":"details.items.[INDEX].reason","typeLabel":"string"}},"uniqueKey":"details.items.[INDEX]","typeLabel":"object"},"x-order":"3","uniqueKey":"details","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","message":"\u003cstring>","details":[{"field":"\u003cstring>","reason":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"72f2b38b-465e-4311-8385-4c1b5c5b66f1":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","x-order":"1","uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","x-order":"2","uniqueKey":"message","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","x-order":"1","uniqueKey":"details.items.[INDEX].field","typeLabel":"string"},"reason":{"type":"string","x-order":"2","uniqueKey":"details.items.[INDEX].reason","typeLabel":"string"}},"uniqueKey":"details.items.[INDEX]","typeLabel":"object"},"x-order":"3","uniqueKey":"details","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","message":"\u003cstring>","details":[{"field":"\u003cstring>","reason":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"1344032e-0f7c-471d-a5ca-3722854d1cfe":{"description":"Not Found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","x-order":"1","uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","x-order":"2","uniqueKey":"message","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","x-order":"1","uniqueKey":"details.items.[INDEX].field","typeLabel":"string"},"reason":{"type":"string","x-order":"2","uniqueKey":"details.items.[INDEX].reason","typeLabel":"string"}},"uniqueKey":"details.items.[INDEX]","typeLabel":"object"},"x-order":"3","uniqueKey":"details","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","message":"\u003cstring>","details":[{"field":"\u003cstring>","reason":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"254b3572-fe65-43b5-826f-c657fae349a7":{"description":"Internal Server Error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","x-order":"1","uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","x-order":"2","uniqueKey":"message","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","x-order":"1","uniqueKey":"details.items.[INDEX].field","typeLabel":"string"},"reason":{"type":"string","x-order":"2","uniqueKey":"details.items.[INDEX].reason","typeLabel":"string"}},"uniqueKey":"details.items.[INDEX]","typeLabel":"object"},"x-order":"3","uniqueKey":"details","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","message":"\u003cstring>","details":[{"field":"\u003cstring>","reason":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"5a083261-2d4d-4468-9b9c-41e98973c09a":{"ApiKeyAuth":{"description":"API Key for authentication","type":"apiKey","name":"X-API-Key","in":"header","scopes":[],"schemeName":"ApiKeyAuth"}}},"servers":{"3dfc58e3-56be-4a28-af9d-c04d1f7c3dc6":{"url":"https://api.wizcommerce.com","description":"Production BaseURL"},"887541fe-0caa-492c-ade4-30db936ca155":{"url":"https://api-staging.sourcerer.tech","description":"Staging BaseURL"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"description":"API Key for authentication","type":"apiKey","name":"X-API-Key","in":"header","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"X-API-Key","type":"string","description":"API Key for authentication","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"X-API-Key"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"openapi.json"},"subdomain":"wiz-3b1b07ce","siteName":"WizCommerce","title":"Update Invoice - WizCommerce","navMaps":{"firstHrefInVersion":{"2026-09-11":{"href":"/api-reference/2026-09-11/invoice/update-invoice","matchLevel":0},"2025-05-05":{"href":"/api-reference/2025-05-05/invoice/update-invoice","matchLevel":1}},"firstHrefInLanguage":{}},"lastModified":"2026-09-11T13:01:42.892Z","originalFileLocation":"api-reference/2026-09-11/invoice/update-invoice.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Update an invoice; order_ids is the full desired set of linked orders\">\u003cmeta data-mint-head name=\"application-name\" content=\"WizCommerce\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/wiz-3b1b07ce/8-HXDOM6Oqnl_3C9/_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/wiz-3b1b07ce/8-HXDOM6Oqnl_3C9/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/wiz-3b1b07ce/8-HXDOM6Oqnl_3C9/_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/wiz-3b1b07ce/8-HXDOM6Oqnl_3C9/_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/wiz-3b1b07ce/8-HXDOM6Oqnl_3C9/_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/wiz-3b1b07ce/8-HXDOM6Oqnl_3C9/_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/wiz-3b1b07ce/8-HXDOM6Oqnl_3C9/_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/wiz-3b1b07ce/8-HXDOM6Oqnl_3C9/_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/wiz-3b1b07ce/8-HXDOM6Oqnl_3C9/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update Invoice - WizCommerce\">\u003cmeta data-mint-head property=\"og:description\" content=\"Update an invoice; order_ids is the full desired set of linked orders\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"WizCommerce\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.wizcommerce.com/api-reference/2026-09-11/invoice/update-invoice\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://wiz-3b1b07ce.mintlify.app/_mintlify/api/og/v2?division=Invoices+%28v2%29\u0026amp;title=Update+Invoice\u0026amp;description=Update+an+invoice%3B+order_ids+is+the+full+desired+set+of+linked+orders\u0026amp;theme=dec429440e3ffdc65856fbbe\u0026amp;signature=27d2ef872e132d77b23ecb8a3fdb5aa26212f33252fd405725b7066932e12913\">\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 Invoice - WizCommerce\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Update an invoice; order_ids is the full desired set of linked orders\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://wiz-3b1b07ce.mintlify.app/_mintlify/api/og/v2?division=Invoices+%28v2%29\u0026amp;title=Update+Invoice\u0026amp;description=Update+an+invoice%3B+order_ids+is+the+full+desired+set+of+linked+orders\u0026amp;theme=dec429440e3ffdc65856fbbe\u0026amp;signature=27d2ef872e132d77b23ecb8a3fdb5aa26212f33252fd405725b7066932e12913\">\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/wiz-3b1b07ce/8-HXDOM6Oqnl_3C9/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"WizCommerce\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#FD691F\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.wizcommerce.com/api-reference/2026-09-11/invoice/update-invoice\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/2026-09-11/invoice/update-invoice.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.wizcommerce.com/#organization\",\"name\":\"WizCommerce\",\"url\":\"https://docs.wizcommerce.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/wiz-3b1b07ce/83h4wzuLqryi0-3b/logo/logo1-light.svg?fit=max\u0026auto=format\u0026n=83h4wzuLqryi0-3b\u0026q=85\u0026s=896242c42d257168efd90e301f4e2075\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.wizcommerce.com#website\",\"name\":\"WizCommerce\",\"url\":\"https://docs.wizcommerce.com\",\"publisher\":{\"@id\":\"https://docs.wizcommerce.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.wizcommerce.com/api-reference/2026-09-11/invoice/update-invoice#webpage\",\"url\":\"https://docs.wizcommerce.com/api-reference/2026-09-11/invoice/update-invoice\",\"name\":\"Update Invoice\",\"description\":\"Update an invoice; order_ids is the full desired set of linked orders\",\"dateModified\":\"2026-09-11T13:01:42.892Z\",\"isPartOf\":{\"@id\":\"https://docs.wizcommerce.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.wizcommerce.com/api-reference/2026-09-11/invoice/update-invoice#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.wizcommerce.com/api-reference/2026-09-11/invoice/update-invoice#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Core APIs\",\"item\":\"https://docs.wizcommerce.com/api-reference/2026-09-11/sales-reps/list-sales-reps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Invoices (v2)\",\"item\":\"https://docs.wizcommerce.com/api-reference/2026-09-11/invoice/get-invoices\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Update Invoice\",\"item\":\"https://docs.wizcommerce.com/api-reference/2026-09-11/invoice/update-invoice\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.wizcommerce.com/api-reference/2026-09-11/invoice/update-invoice#apireference\",\"headline\":\"Update Invoice\",\"name\":\"Update Invoice\",\"description\":\"Update an invoice; order_ids is the full desired set of linked orders\",\"url\":\"https://docs.wizcommerce.com/api-reference/2026-09-11/invoice/update-invoice\",\"mainEntityOfPage\":{\"@id\":\"https://docs.wizcommerce.com/api-reference/2026-09-11/invoice/update-invoice#webpage\"},\"dateModified\":\"2026-09-11T13:01:42.892Z\",\"publisher\":{\"@id\":\"https://docs.wizcommerce.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.wizcommerce.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"WizCommerce\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"WizCommerce","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/introduction"}]},{"tab":"API Reference","versions":[{"version":"2026-09-11","default":true,"tag":"Latest","groups":[{"group":"Auth","pages":[{"openapi":"post /auth/token","title":"Create API Token","href":"/api-reference/2026-09-11/auth/create-token"},{"openapi":"delete /auth/token","title":"Revoke API Token","href":"/api-reference/2026-09-11/auth/revoke-token"}]},{"group":"Core APIs","pages":[{"group":"Sales Rep","pages":[{"openapi":"get /v1/sales-reps","title":"Get Sales Rep List","href":"/api-reference/2026-09-11/sales-reps/list-sales-reps"}]},{"group":"Attributes (v2)","pages":[{"openapi":"get /v2/attributes","title":"List Attributes","href":"/api-reference/2026-09-11/attributes/get-attributes"},{"openapi":"post /v2/attributes","title":"Create Attributes","href":"/api-reference/2026-09-11/attributes/create-attributes"},{"openapi":"patch /v2/attributes/{attribute_id}","title":"Update Attribute","href":"/api-reference/2026-09-11/attributes/update-attributes"},{"openapi":"delete /v2/attributes/{attribute_id}","title":"Delete Attribute","href":"/api-reference/2026-09-11/attributes/delete-attributes"}]},{"group":"Customer (v2)","pages":[{"openapi":"get /v2/customers","title":"List Customers","href":"/api-reference/2026-09-11/customer/get-customers"},{"openapi":"post /v2/customers","title":"Create Customer","href":"/api-reference/2026-09-11/customer/create-customer"},{"openapi":"get /v2/customers/{id}","title":"Get Customer By ID","href":"/api-reference/2026-09-11/customer/get-customer"},{"openapi":"patch /v2/customers/{id}","title":"Update Customer","href":"/api-reference/2026-09-11/customer/update-customer"},{"openapi":"delete /v2/customers/{id}","title":"Delete Customer","href":"/api-reference/2026-09-11/customer/delete-customer"},{"group":"Addresses (v2)","pages":[{"openapi":"get /v2/customers/addresses","title":"List Addresses","href":"/api-reference/2026-09-11/customer/get-addresses"},{"openapi":"get /v2/customers/addresses/{address_id}","title":"Get Address By ID","href":"/api-reference/2026-09-11/customer/get-customer-address-by-id"},{"openapi":"post /v2/customers/{customer_id}/addresses","title":"Create Address","href":"/api-reference/2026-09-11/customer/create-address"},{"openapi":"patch /v2/customers/{customer_id}/addresses/{address_id}","title":"Update Address","href":"/api-reference/2026-09-11/customer/update-address"},{"openapi":"delete /v2/customers/{customer_id}/addresses/{address_id}","title":"Delete Address","href":"/api-reference/2026-09-11/customer/delete-address"}]},{"group":"Contacts (v2)","pages":[{"openapi":"get /v2/customers/contacts","title":"List Contacts","href":"/api-reference/2026-09-11/customer/get-contacts"},{"openapi":"get /v2/customers/contacts/{contact_id}","title":"Get Contact By ID","href":"/api-reference/2026-09-11/customer/get-customer-contact-by-id"},{"openapi":"post /v2/customers/{customer_id}/contacts","title":"Create Contact","href":"/api-reference/2026-09-11/customer/create-contact"},{"openapi":"patch /v2/customers/{customer_id}/contacts/{contact_id}","title":"Update Contact","href":"/api-reference/2026-09-11/customer/update-contact"},{"openapi":"delete /v2/customers/{customer_id}/contacts/{contact_id}","title":"Delete Contact","href":"/api-reference/2026-09-11/customer/delete-contact"}]}]},{"group":"Payment Method","pages":[{"openapi":"get /v1/payment-methods","title":"List payment methods","href":"/api-reference/2026-09-11/payment-method/get-payment-methods"},{"openapi":"get /v1/payment-methods/{id}","title":"Get payment method by ID","href":"/api-reference/2026-09-11/payment-method/get-payment-method-by-id"},{"openapi":"post /v1/payment-methods","title":"Create payment method","href":"/api-reference/2026-09-11/payment-method/save-payment-method"},{"openapi":"delete /v1/payment-methods/{id}","title":"Delete payment method","href":"/api-reference/2026-09-11/payment-method/delete-payment-method"}]},{"group":"Price List","pages":[{"openapi":"get /v1/price-lists","title":"List Price Lists","href":"/api-reference/2026-09-11/price-list/list-price-lists"},{"openapi":"post /v1/price-lists","title":"Create Price List","href":"/api-reference/2026-09-11/price-list/create-price-list"},{"openapi":"get /v1/price-lists/{id}","title":"Get Price List By ID","href":"/api-reference/2026-09-11/price-list/get-price-list-by-id"},{"openapi":"delete /v1/price-lists/{id}","title":"Delete Price List","href":"/api-reference/2026-09-11/price-list/delete-price-list"},{"openapi":"patch /v1/price-lists/{id}","title":"Update Price List","href":"/api-reference/2026-09-11/price-list/update-price-list"}]},{"group":"Contract Pricing","pages":[{"openapi":"get /v1/contract-pricing","title":"List Contract Pricing","href":"/api-reference/2026-09-11/contract-pricing/list-contract-pricing"},{"openapi":"post /v1/contract-pricing","title":"Create Contract Pricing","href":"/api-reference/2026-09-11/contract-pricing/create-contract-pricing"},{"openapi":"get /v1/contract-pricing/{id}","title":"Get Contract Pricing","href":"/api-reference/2026-09-11/contract-pricing/get-contract-pricing-by-id"},{"openapi":"patch /v1/contract-pricing/{id}","title":"Update Contract Pricing","href":"/api-reference/2026-09-11/contract-pricing/update-contract-pricing"},{"openapi":"delete /v1/contract-pricing/{id}","title":"Delete Contract Pricing","href":"/api-reference/2026-09-11/contract-pricing/delete-contract-pricing"}]},{"group":"Segment","pages":[{"openapi":"get /v1/segments","title":"List Segments","href":"/api-reference/2026-09-11/segments/list-segments"}]},{"group":"Product (v2)","pages":[{"openapi":"post /v2/products","title":"Create Product","href":"/api-reference/2026-09-11/product/create-product"},{"openapi":"get /v2/products","title":"List Products","href":"/api-reference/2026-09-11/product/list-products"},{"openapi":"get /v2/products/{id}","title":"Get Product By ID","href":"/api-reference/2026-09-11/product/get-product-by-id"},{"openapi":"patch /v2/products/{id}","title":"Update Product","href":"/api-reference/2026-09-11/product/update-product"}]},{"group":"Media","pages":[{"openapi":"post /v1/media/upload","title":"Upload Image","href":"/api-reference/2026-09-11/media/upload-image"}]},{"group":"Inventory","pages":[{"openapi":"get /v1/inventories","title":"List Inventories","href":"/api-reference/2026-09-11/inventory/get-inventories"},{"openapi":"post /v1/inventories","title":"Save Inventory","href":"/api-reference/2026-09-11/inventory/update-inventory"}]},{"group":"Orders (v2)","pages":[{"openapi":"get /v2/orders","title":"List orders","href":"/api-reference/2026-09-11/orders/get-orders"},{"openapi":"post /v2/orders","title":"Create order","href":"/api-reference/2026-09-11/orders/create-order"},{"openapi":"get /v2/orders/{id}","title":"Get order","href":"/api-reference/2026-09-11/orders/get-order"},{"openapi":"put /v2/orders/{id}","title":"Update order","href":"/api-reference/2026-09-11/orders/update-order"},{"openapi":"patch /v2/orders/{id}","title":"Patch order","href":"/api-reference/2026-09-11/orders/patch-order"},{"openapi":"patch /v2/orders/{id}/status","title":"Update order status","href":"/api-reference/2026-09-11/orders/update-order-status"}]},{"group":"Invoices (v2)","pages":[{"openapi":"get /v2/invoices","title":"List Invoices","href":"/api-reference/2026-09-11/invoice/get-invoices"},{"openapi":"post /v2/invoices","title":"Create Invoice","href":"/api-reference/2026-09-11/invoice/create-invoice"},{"openapi":"get /v2/invoices/{id}","title":"Get Invoice","description":"Get Invoice","href":"/api-reference/2026-09-11/invoice/get-invoice"},{"openapi":"put /v2/invoices/{id}","title":"Update Invoice","href":"/api-reference/2026-09-11/invoice/update-invoice"},{"openapi":"delete /v2/invoices/{id}","title":"Delete Invoice","description":"Delete Invoice","href":"/api-reference/2026-09-11/invoice/delete-invoice"}]},{"group":"Shipments","pages":[{"openapi":"get /v1/shipments","title":"List Shipments","href":"/api-reference/2026-09-11/shipment/get-shipments"},{"openapi":"post /v1/shipments","title":"Create Shipment","href":"/api-reference/2026-09-11/shipment/create-shipment"},{"openapi":"get /v1/shipments/{id}","title":"Get Shipment","href":"/api-reference/2026-09-11/shipment/get-shipment"},{"openapi":"patch /v1/shipments/{id}","title":"Update Shipment","href":"/api-reference/2026-09-11/shipment/update-shipment"},{"openapi":"delete /v1/shipments/{id}","title":"Delete Shipment","href":"/api-reference/2026-09-11/shipment/delete-shipment"}]}]}]},{"version":"2025-05-05","tag":"Initial","pages":[{"title":"2025-05-05","href":"/api-reference/2025-05-05/invoice/update-invoice"}]}]},{"tab":"Internal","hidden":true,"pages":[{"title":"Internal","href":"/internal"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog/2026-09-11"}]}]},"title":"Update Invoice - WizCommerce","buildId":"dpl_DFJrtvUi8HS5F9nkooKuDJsuD5BM","deploymentId":"dpl_DFJrtvUi8HS5F9nkooKuDJsuD5BM","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-rfhihCWU.js","utils-BmH1XFxk.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BcNsxPKB.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BAES3tkd.js","snippetPresets-DCMQBKLP.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-D6l_bzE9.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BOktbnNh.js","shallow-BCs8SgM7.js","getApiPlaygroundDisplay-DEmW5bJB.js","CodeSnippet-CpZOpB9C.js","CodeSnippets-BOBDqibl.js","Page-D5fEM6aW.js","getPastedJson-DH2JBvmr.js","icon-BBJH-kKh.js","MethodPill-D2Sd5NLC.js","DuplicateIcon-CGgfL2qN.js","createIcon-BKudBBzi.js","DynamicMarkdown-85clUA0i.js","SectionHeading-D0JiMgDx.js","axios-vUo_bRtp.js","Markdown-Cfiy0xZO.js","clsx-rL8ZCCw4.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-aeztFa9U.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BywkCr5C.js"]}