Only the fields provided in the request body are updated. Any field that is omitted is left unchanged. Unlike invoices, modifying an estimate never affects accounting transactions.
The id of the invoice template to render the document with. When omitted while creating an invoice or estimate, the organisation's default template is used. Use the invoice templates endpoint to list the available templates.
The ordered list of positions on the document. At least one position is required, and discount positions must specify exactly one of percentage or amount.
A standard billable line item with a quantity, single amount, and contra account. Most invoice and estimate positions are of this type.
For foreign-currency documents: the 3-character ISO 4217 currency code the document is denominated in. Must be a currency code that is enabled in the organisation. When set without exchangeRate, the organisation's stored exchange rate for that currency is used.
For foreign-currency documents: the conversion rate from the original currency to the primary accounting currency, expressed as 1 originalCurrency = X primaryCurrency. Optional when originalCurrency is set; if omitted, defaults to the organisation's stored exchange rate for that currency. Cannot be set without originalCurrency.
{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"infinity.swiss Dokumentation","colors":{"primary":"#0D9373","light":"#07C983","dark":"#0D9373"},"logo":{"light":"https://mintcdn.com/nextbusiness/_uvxx-EX-DydCyun/logo/logo-b.svg?fit=max\u0026auto=format\u0026n=_uvxx-EX-DydCyun\u0026q=85\u0026s=d0f6544cce7c61da0bf7681ea0bdc48e","dark":"https://mintcdn.com/nextbusiness/_uvxx-EX-DydCyun/logo/logo-w.svg?fit=max\u0026auto=format\u0026n=_uvxx-EX-DydCyun\u0026q=85\u0026s=107e490939b14f1bdd38213edd8c66f4"},"favicon":"https://mintcdn.com/nextbusiness/MALrEwDR5qSS5n5h/favicon.png?fit=max\u0026auto=format\u0026n=MALrEwDR5qSS5n5h\u0026q=85\u0026s=a886ed2df852e514addd33a4551e32e5","api":{},"navbar":{"links":[{"icon":"envelope","href":"mailto:help@infinity.swiss","label":"Kontakt"},{"icon":"globe","href":"https://www.infinity.swiss","label":"Webseite"}]},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/nextbusiness"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"nextbusiness","hasAudioNarration":false,"actualSubdomain":"nextbusiness","customDomains":["docs.infinity.swiss"],"gitSource":{"type":"github","owner":"nextbusiness","repo":"infinity","deployBranch":"main","contentDirectory":"apps/infinity-product-manual","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6adb6f2d25425974785d477e","collectionId":"853898f3-b5b1-4f2b-a0d3-37154f8f1096","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6adb6f2d25425974785d477e"},"feedback":{"thumbs":false},"entitlements":{},"buildId":"6adb6f2d25425974785d477e","clientVersion":"0.0.3965","searchFilterCounts":[{"language":"de","tag":"Benutzerhandbuch","count":92},{"language":"default","tag":"Infinity API","count":56},{"language":"de","tag":"Buchhaltung führen","count":41},{"language":"de","tag":"Lohnbuchhaltung","count":18},{"language":"de","tag":"Verkauf","count":16},{"language":"default","tag":"Invoices","count":14},{"language":"de","tag":"Live Accounting","count":14},{"language":"default","tag":"Estimates","count":12},{"language":"de","tag":"Forderungen \u0026 Offerten","count":10},{"language":"de","tag":"Mehr","count":9},{"language":"default","tag":"Accounting","count":8},{"language":"de","tag":"Buchhaltung","count":8},{"language":"de","tag":"Löhne abrechnen","count":7},{"language":"de","tag":"Mehrwertsteuer","count":6},{"language":"default","tag":"Chart of accounts","count":5},{"language":"default","tag":"Contacts","count":5},{"language":"default","tag":"Work entries","count":4},{"language":"default","tag":"MCP server","count":3},{"language":"default","tag":"Projects","count":2},{"language":"default","tag":"Receipts","count":2}]},"assistantConfig":{},"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":"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}],"isAtlas":false,"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"#localization-select-trigger{display:none}#localization-select-content div[role=menuitem] div:has(img),#localization-select-trigger div:has(img){display:none}@media screen and (min-width:1024px){#localization-select-trigger{margin:.4rem .6rem}}#navbar img.nav-logo,#sidebar-content img.nav-logo{height:1.3rem}"}],"page":{"pagePath":"api/estimates/modify","slug":"/api/estimates/modify","pageMetadata":{"title":"Modify estimate","openapi":"PATCH /v1/estimates/{estimateId}","description":"Edits the provided fields for the estimate with the given id. Any fields that are not provided are left unchanged.","href":"/api/estimates/modify"},"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: \"Edits the provided fields for the estimate with the given id. Any fields that are not provided are left unchanged.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={p:`p`,..._provideComponents(),...props.components};return _jsx(_components.p,{children:`Only the fields provided in the request body are updated. Any field that is omitted is left unchanged. Unlike invoices, modifying an estimate never affects accounting transactions.`})}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":"Modify estimate","openapi":"PATCH /v1/estimates/{estimateId}","description":"Edits the provided fields for the estimate with the given id. Any fields that are not provided are left unchanged.","href":"/api/estimates/modify"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Modify estimate","tags":[],"operationId":"modify-estimate-by-id-v1","description":"Edits the provided fields for the estimate with the given id. Any fields that are not provided are left unchanged.","requestBody":"18fdcbe1-ce0e-4ec0-81be-8c877cc24f05","responses":{"200":"20c5c75f-ba90-4ce9-b240-a3276b8d4390","400":"30814387-fd5e-4a6d-b806-14224c421bef","401":"1601dcdf-e695-4d7e-8b21-2c04cd75479c","404":"740ce8de-8253-422d-98c4-fcf5f4a6d5dd"},"method":"patch","type":"path","servers":["947b1917-c8ba-4b36-b10e-d86bb1675414"],"security":["11b85fb9-a5f0-4688-b598-979407fae43d"],"path":"/v1/estimates/{estimateId}","baseUrlOptions":["https://api.infinity.swiss"],"title":"Modify estimate","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"dd9e45d4-825e-4a8c-b51b-1d5d958e4cc5":{"schema":{"type":"string","isRequired":true,"description":"The id of the specific estimate.","uniqueKey":"","typeLabel":"string"},"name":"estimateId","in":"path","description":"The id of the specific estimate.","required":true}},"requestBody":{"description":"The fields to update.","content":{"application/json":{"schema":{"type":"object","title":"EstimateModificationInput","description":"Request body for modifying an estimate. All fields are optional; omitted fields are left unchanged.","properties":{"template":{"type":"string","description":"The id of the invoice template to render the document with. When omitted while creating an invoice or estimate, the organisation's default template is used. Use the invoice templates endpoint to list the available templates.","uniqueKey":"template","typeLabel":"string"},"openingDate":{"type":"string","format":"date","description":"The opening date (issue date) of the document in YYYY-MM-DD format. For invoices, this is also the date used for the posted accounting transactions.","uniqueKey":"openingDate","typeLabel":"string\u003cdate>"},"positions":{"type":"array","description":"The ordered list of positions on the document. At least one position is required, and discount positions must specify exactly one of `percentage` or `amount`.","items":{"oneOf":[{"type":"object","title":"ProductPosition","description":"A standard billable line item with a quantity, single amount, and contra account. Most invoice and estimate positions are of this type.","required":["type","name","singleAmount","quantity","contraAccount"],"properties":{"type":{"type":"string","enum":["product"],"description":"Discriminator for the position type.","isRequired":true,"uniqueKey":"positions.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","maxLength":256,"description":"The name of the product or service for this position.","isRequired":true,"uniqueKey":"positions.items.[INDEX].oneOf.0.name","typeLabel":"string"},"singleAmount":{"type":"integer","description":"The unit amount in cents. May be expressed gross or net depending on the document's `amountMode`.","example":12000,"isRequired":true,"uniqueKey":"positions.items.[INDEX].oneOf.0.singleAmount","typeLabel":"integer"},"quantity":{"type":"number","description":"The number of units billed for this position.","example":2,"isRequired":true,"uniqueKey":"positions.items.[INDEX].oneOf.0.quantity","typeLabel":"number"},"contraAccount":{"type":"integer","minimum":1000,"maximum":9999,"description":"The contra account number this position books against (typically a revenue account).","isRequired":true,"uniqueKey":"positions.items.[INDEX].oneOf.0.contraAccount","typeLabel":"integer"},"unit":{"type":"string","maxLength":4,"description":"Optional unit, e.g. `h`, `kg`, `pcs`.","uniqueKey":"positions.items.[INDEX].oneOf.0.unit","typeLabel":"string"},"taxCode":{"oneOf":[{"type":"string","title":"TaxCode","description":"A VAT tax code. See [Liste der MWST-Codes](https://docs.infinity.swiss/de/docs/accounting/vat/tax-codes) for details. The empty string indicates no VAT.","enum":[""],"uniqueKey":"positions.items.[INDEX].oneOf.0.taxCode.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"TaxCode","description":"A VAT tax code. See [Liste der MWST-Codes](https://docs.infinity.swiss/de/docs/accounting/vat/tax-codes) for details. The empty string indicates no VAT.","enum":["UN81","UN77","UR26","UR25","US38","US37","UO81","UO77","BZB81","BZB77","BZM81","BZM77","VM81","VM38","VM26","VB81","VB38","VB26","VM77","VM37","VM25","VB77","VB37","VB25","ES81","ES26","ES77","ES25","UNO","UEX","ULA","ZOLLM","ZOLLB"],"uniqueKey":"positions.items.[INDEX].oneOf.0.taxCode.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"positions.items.[INDEX].oneOf.0.taxCode","typeLabel":"enum\u003cstring>"},"articleNumber":{"type":"string","maxLength":48,"description":"Optional article or SKU number to display alongside the position.","uniqueKey":"positions.items.[INDEX].oneOf.0.articleNumber","typeLabel":"string"},"description":{"type":"string","maxLength":2000,"description":"Optional multi-line description of the position.","uniqueKey":"positions.items.[INDEX].oneOf.0.description","typeLabel":"string"},"date":{"type":"string","maxLength":12,"description":"Optional free-text date column for the position, e.g. service date.","uniqueKey":"positions.items.[INDEX].oneOf.0.date","typeLabel":"string"},"discountRate":{"type":"number","minimum":0,"maximum":100,"description":"Optional per-position discount rate in percent.","uniqueKey":"positions.items.[INDEX].oneOf.0.discountRate","typeLabel":"number"},"customTextColumns":{"title":"CustomTextColumns","type":"object","description":"Optional values for the three custom text columns on a product position.","properties":{"customTextColumn1":{"type":"string","maxLength":64,"uniqueKey":"positions.items.[INDEX].oneOf.0.customTextColumns.customTextColumn1","typeLabel":"string"},"customTextColumn2":{"type":"string","maxLength":64,"uniqueKey":"positions.items.[INDEX].oneOf.0.customTextColumns.customTextColumn2","typeLabel":"string"},"customTextColumn3":{"type":"string","maxLength":64,"uniqueKey":"positions.items.[INDEX].oneOf.0.customTextColumns.customTextColumn3","typeLabel":"string"}},"uniqueKey":"positions.items.[INDEX].oneOf.0.customTextColumns","typeLabel":"CustomTextColumns · object"}},"uniqueKey":"positions.items.[INDEX].oneOf.0","typeLabel":"ProductPosition · object"},{"type":"object","title":"DiscountPosition","description":"A discount line that reduces the sum of the preceding positions either by a percentage or by an absolute amount.","required":["type"],"properties":{"type":{"type":"string","enum":["discount"],"isRequired":true,"uniqueKey":"positions.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"percentage":{"type":"number","minimum":0,"maximum":100,"description":"A percentage discount applied to the preceding positions. Exactly one of `percentage` or `amount` must be set.","uniqueKey":"positions.items.[INDEX].oneOf.1.percentage","typeLabel":"number"},"amount":{"type":"integer","minimum":0,"description":"An absolute discount amount in cents. Exactly one of `percentage` or `amount` must be set.","uniqueKey":"positions.items.[INDEX].oneOf.1.amount","typeLabel":"integer"},"discountText":{"type":"string","maxLength":256,"description":"Optional display text for the discount, e.g. \"Rabatt\".","uniqueKey":"positions.items.[INDEX].oneOf.1.discountText","typeLabel":"string"}},"uniqueKey":"positions.items.[INDEX].oneOf.1","typeLabel":"DiscountPosition · object"},{"type":"object","title":"TextPosition","description":"A non-billable text line that is rendered between positions for organisation or commentary.","required":["type","content"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"positions.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"content":{"type":"string","maxLength":2000,"description":"The text content to render.","isRequired":true,"uniqueKey":"positions.items.[INDEX].oneOf.2.content","typeLabel":"string"},"style":{"type":"string","enum":["normal","headline","fine-print"],"description":"The visual style of the text line.","uniqueKey":"positions.items.[INDEX].oneOf.2.style","typeLabel":"enum\u003cstring>"}},"uniqueKey":"positions.items.[INDEX].oneOf.2","typeLabel":"TextPosition · object"},{"type":"object","title":"SubtotalPosition","description":"A line that renders the running subtotal of all preceding positions, optionally with a custom label.","required":["type"],"properties":{"type":{"type":"string","enum":["subtotal"],"isRequired":true,"uniqueKey":"positions.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","maxLength":128,"description":"Optional label for the subtotal line.","uniqueKey":"positions.items.[INDEX].oneOf.3.label","typeLabel":"string"}},"uniqueKey":"positions.items.[INDEX].oneOf.3","typeLabel":"SubtotalPosition · object"}],"uniqueKey":"positions.items.[INDEX]","typeLabel":"ProductPosition · object | DiscountPosition · object | TextPosition · object | SubtotalPosition · object"},"uniqueKey":"positions","typeLabel":"(ProductPosition · object | DiscountPosition · object | TextPosition · object | SubtotalPosition · object)[]"},"recipient":{"type":"string","description":"The id of the contact this document is addressed to. Required unless `customRecipientText` is provided.","uniqueKey":"recipient","typeLabel":"string"},"customRecipientText":{"type":"string","maxLength":2000,"description":"An ad-hoc recipient text used when no contact is associated with the document.","uniqueKey":"customRecipientText","typeLabel":"string"},"externalReference":{"type":"string","maxLength":128,"description":"An optional reference for this document in an external system.","uniqueKey":"externalReference","typeLabel":"string"},"title":{"type":"string","maxLength":128,"description":"Optional document title displayed on the rendered output.","uniqueKey":"title","typeLabel":"string"},"payableInDays":{"type":"integer","minimum":0,"maximum":365,"description":"Payment terms for this document in days from the opening date. Defaults to 30 on create.","uniqueKey":"payableInDays","typeLabel":"integer"},"introductoryText":{"type":"string","maxLength":2000,"description":"Text rendered above the positions.","uniqueKey":"introductoryText","typeLabel":"string"},"closingText":{"type":"string","maxLength":2000,"description":"Text rendered below the positions.","uniqueKey":"closingText","typeLabel":"string"},"amountMode":{"title":"AmountMode","type":"string","description":"Whether position amounts are entered gross (including VAT) or net (excluding VAT).","enum":["gross","net"],"uniqueKey":"amountMode","typeLabel":"enum\u003cstring>"},"language":{"title":"InvoiceLanguage","type":"string","description":"The language used to render the document.","enum":["de","en","fr","it"],"uniqueKey":"language","typeLabel":"enum\u003cstring>"},"columns":{"type":"array","description":"The columns to render in the positions table. If not provided the template default is used.","items":{"title":"InvoiceColumn","description":"A column that can be shown on the rendered invoice or estimate.","type":"string","enum":["quantity","unit","articleNumber","name","date","vatDebt","vatRate","singleAmount","totalAmount","discountRate","positionNumber","customTextColumn1","customTextColumn2","customTextColumn3"],"uniqueKey":"columns.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"columns","typeLabel":"enum\u003cstring>[]"},"originalCurrency":{"type":"string","minLength":3,"maxLength":3,"description":"For foreign-currency documents: the 3-character ISO 4217 currency code the document is denominated in. Must be a currency code that is enabled in the organisation. When set without `exchangeRate`, the organisation's stored exchange rate for that currency is used.","uniqueKey":"originalCurrency","typeLabel":"string"},"exchangeRate":{"type":"number","exclusiveMinimum":0,"description":"For foreign-currency documents: the conversion rate from the original currency to the primary accounting currency, expressed as `1 originalCurrency = X primaryCurrency`. Optional when `originalCurrency` is set; if omitted, defaults to the organisation's stored exchange rate for that currency. Cannot be set without `originalCurrency`.","uniqueKey":"exchangeRate","typeLabel":"number"},"isDraft":{"type":"boolean","uniqueKey":"isDraft","typeLabel":"boolean"}},"uniqueKey":"","typeLabel":"EstimateModificationInput · object"},"examples":{"Example":{"title":"Example","value":{"template":"\u003cstring>","openingDate":"2023-12-25","positions":[{"type":"product","name":"\u003cstring>","singleAmount":12000,"quantity":2,"contraAccount":5499,"unit":"\u003cstring>","taxCode":"","articleNumber":"\u003cstring>","description":"\u003cstring>","date":"\u003cstring>","discountRate":50,"customTextColumns":{"customTextColumn1":"\u003cstring>","customTextColumn2":"\u003cstring>","customTextColumn3":"\u003cstring>"}}],"recipient":"\u003cstring>","customRecipientText":"\u003cstring>","externalReference":"\u003cstring>","title":"\u003cstring>","payableInDays":182,"introductoryText":"\u003cstring>","closingText":"\u003cstring>","columns":[],"originalCurrency":"\u003cstring>","exchangeRate":123,"isDraft":true}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"20c5c75f-ba90-4ce9-b240-a3276b8d4390":{"description":"Changes saved successfully.","content":{"application/json":{"schema":{"type":"object","properties":{"estimate":{"type":"object","title":"Estimate","description":"The full representation of an estimate (quote).","required":["status","id","isDraft","number","organisation","template","openingDate","dueDate","positions","totalAmount","totalNetAmount","totalVatDebt"],"properties":{"id":{"type":"string","description":"A unique hex identifier for the document.","readOnly":true,"isRequired":true,"uniqueKey":"estimate.id","typeLabel":"string"},"isDraft":{"type":"boolean","isRequired":true,"uniqueKey":"estimate.isDraft","typeLabel":"boolean"},"number":{"type":"string","description":"The formatted document number. May be empty for drafts that have not yet been issued.","isRequired":true,"uniqueKey":"estimate.number","typeLabel":"string"},"organisation":{"type":"string","description":"The id of the owning organisation.","readOnly":true,"isRequired":true,"uniqueKey":"estimate.organisation","typeLabel":"string"},"template":{"type":"string","description":"The id of the template used to render the document.","isRequired":true,"uniqueKey":"estimate.template","typeLabel":"string"},"openingDate":{"type":"string","format":"date","isRequired":true,"uniqueKey":"estimate.openingDate","typeLabel":"string\u003cdate>"},"dueDate":{"type":"string","format":"date","isRequired":true,"uniqueKey":"estimate.dueDate","typeLabel":"string\u003cdate>"},"positions":{"type":"array","items":{"oneOf":[{"type":"object","title":"ProductPosition","description":"A standard billable line item with a quantity, single amount, and contra account. Most invoice and estimate positions are of this type.","required":["type","name","singleAmount","quantity","contraAccount"],"properties":{"type":{"type":"string","enum":["product"],"description":"Discriminator for the position type.","isRequired":true,"uniqueKey":"estimate.positions.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","maxLength":256,"description":"The name of the product or service for this position.","isRequired":true,"uniqueKey":"estimate.positions.items.[INDEX].oneOf.0.name","typeLabel":"string"},"singleAmount":{"type":"integer","description":"The unit amount in cents. May be expressed gross or net depending on the document's `amountMode`.","example":12000,"isRequired":true,"uniqueKey":"estimate.positions.items.[INDEX].oneOf.0.singleAmount","typeLabel":"integer"},"quantity":{"type":"number","description":"The number of units billed for this position.","example":2,"isRequired":true,"uniqueKey":"estimate.positions.items.[INDEX].oneOf.0.quantity","typeLabel":"number"},"contraAccount":{"type":"integer","minimum":1000,"maximum":9999,"description":"The contra account number this position books against (typically a revenue account).","isRequired":true,"uniqueKey":"estimate.positions.items.[INDEX].oneOf.0.contraAccount","typeLabel":"integer"},"id":{"type":"string","description":"Server-assigned identifier for the position. Present on responses; omit when creating.","readOnly":true,"uniqueKey":"estimate.positions.items.[INDEX].oneOf.0.id","typeLabel":"string"},"unit":{"type":"string","maxLength":4,"description":"Optional unit, e.g. `h`, `kg`, `pcs`.","uniqueKey":"estimate.positions.items.[INDEX].oneOf.0.unit","typeLabel":"string"},"taxCode":{"oneOf":[{"type":"string","title":"TaxCode","description":"A VAT tax code. See [Liste der MWST-Codes](https://docs.infinity.swiss/de/docs/accounting/vat/tax-codes) for details. The empty string indicates no VAT.","enum":[""],"uniqueKey":"estimate.positions.items.[INDEX].oneOf.0.taxCode.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"TaxCode","description":"A VAT tax code. See [Liste der MWST-Codes](https://docs.infinity.swiss/de/docs/accounting/vat/tax-codes) for details. The empty string indicates no VAT.","enum":["UN81","UN77","UR26","UR25","US38","US37","UO81","UO77","BZB81","BZB77","BZM81","BZM77","VM81","VM38","VM26","VB81","VB38","VB26","VM77","VM37","VM25","VB77","VB37","VB25","ES81","ES26","ES77","ES25","UNO","UEX","ULA","ZOLLM","ZOLLB"],"uniqueKey":"estimate.positions.items.[INDEX].oneOf.0.taxCode.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"estimate.positions.items.[INDEX].oneOf.0.taxCode","typeLabel":"enum\u003cstring>"},"articleNumber":{"type":"string","maxLength":48,"description":"Optional article or SKU number to display alongside the position.","uniqueKey":"estimate.positions.items.[INDEX].oneOf.0.articleNumber","typeLabel":"string"},"description":{"type":"string","maxLength":2000,"description":"Optional multi-line description of the position.","uniqueKey":"estimate.positions.items.[INDEX].oneOf.0.description","typeLabel":"string"},"date":{"type":"string","maxLength":12,"description":"Optional free-text date column for the position, e.g. service date.","uniqueKey":"estimate.positions.items.[INDEX].oneOf.0.date","typeLabel":"string"},"discountRate":{"type":"number","minimum":0,"maximum":100,"description":"Optional per-position discount rate in percent.","uniqueKey":"estimate.positions.items.[INDEX].oneOf.0.discountRate","typeLabel":"number"},"customTextColumns":{"title":"CustomTextColumns","type":"object","description":"Optional values for the three custom text columns on a product position.","properties":{"customTextColumn1":{"type":"string","maxLength":64,"uniqueKey":"estimate.positions.items.[INDEX].oneOf.0.customTextColumns.customTextColumn1","typeLabel":"string"},"customTextColumn2":{"type":"string","maxLength":64,"uniqueKey":"estimate.positions.items.[INDEX].oneOf.0.customTextColumns.customTextColumn2","typeLabel":"string"},"customTextColumn3":{"type":"string","maxLength":64,"uniqueKey":"estimate.positions.items.[INDEX].oneOf.0.customTextColumns.customTextColumn3","typeLabel":"string"}},"uniqueKey":"estimate.positions.items.[INDEX].oneOf.0.customTextColumns","typeLabel":"CustomTextColumns · object"},"totalAmount":{"type":"integer","readOnly":true,"description":"The total amount of this position (gross), in cents. Computed by the server.","uniqueKey":"estimate.positions.items.[INDEX].oneOf.0.totalAmount","typeLabel":"integer"},"vatDebt":{"type":"integer","readOnly":true,"description":"The VAT debt for this position, in cents. Computed by the server.","uniqueKey":"estimate.positions.items.[INDEX].oneOf.0.vatDebt","typeLabel":"integer"},"originalCurrency":{"type":"string","minLength":3,"maxLength":3,"readOnly":true,"description":"The 3-character ISO 4217 currency code in which this position was originally entered, if different from the primary accounting currency.","uniqueKey":"estimate.positions.items.[INDEX].oneOf.0.originalCurrency","typeLabel":"string"},"exchangeRate":{"type":"number","readOnly":true,"description":"The exchange rate used to convert the original currency amount.","uniqueKey":"estimate.positions.items.[INDEX].oneOf.0.exchangeRate","typeLabel":"number"}},"uniqueKey":"estimate.positions.items.[INDEX].oneOf.0","typeLabel":"ProductPosition · object"},{"type":"object","title":"DiscountPosition","description":"A discount line that reduces the sum of the preceding positions either by a percentage or by an absolute amount.","required":["type"],"properties":{"type":{"type":"string","enum":["discount"],"isRequired":true,"uniqueKey":"estimate.positions.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","readOnly":true,"uniqueKey":"estimate.positions.items.[INDEX].oneOf.1.id","typeLabel":"string"},"percentage":{"type":"number","minimum":0,"maximum":100,"description":"A percentage discount applied to the preceding positions. Exactly one of `percentage` or `amount` must be set.","uniqueKey":"estimate.positions.items.[INDEX].oneOf.1.percentage","typeLabel":"number"},"amount":{"type":"integer","minimum":0,"description":"An absolute discount amount in cents. Exactly one of `percentage` or `amount` must be set.","uniqueKey":"estimate.positions.items.[INDEX].oneOf.1.amount","typeLabel":"integer"},"discountText":{"type":"string","maxLength":256,"description":"Optional display text for the discount, e.g. \"Rabatt\".","uniqueKey":"estimate.positions.items.[INDEX].oneOf.1.discountText","typeLabel":"string"}},"uniqueKey":"estimate.positions.items.[INDEX].oneOf.1","typeLabel":"DiscountPosition · object"},{"type":"object","title":"TextPosition","description":"A non-billable text line that is rendered between positions for organisation or commentary.","required":["type","content"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"estimate.positions.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"content":{"type":"string","maxLength":2000,"description":"The text content to render.","isRequired":true,"uniqueKey":"estimate.positions.items.[INDEX].oneOf.2.content","typeLabel":"string"},"id":{"type":"string","readOnly":true,"uniqueKey":"estimate.positions.items.[INDEX].oneOf.2.id","typeLabel":"string"},"style":{"type":"string","enum":["normal","headline","fine-print"],"description":"The visual style of the text line.","uniqueKey":"estimate.positions.items.[INDEX].oneOf.2.style","typeLabel":"enum\u003cstring>"}},"uniqueKey":"estimate.positions.items.[INDEX].oneOf.2","typeLabel":"TextPosition · object"},{"type":"object","title":"SubtotalPosition","description":"A line that renders the running subtotal of all preceding positions, optionally with a custom label.","required":["type"],"properties":{"type":{"type":"string","enum":["subtotal"],"isRequired":true,"uniqueKey":"estimate.positions.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","readOnly":true,"uniqueKey":"estimate.positions.items.[INDEX].oneOf.3.id","typeLabel":"string"},"label":{"type":"string","maxLength":128,"description":"Optional label for the subtotal line.","uniqueKey":"estimate.positions.items.[INDEX].oneOf.3.label","typeLabel":"string"}},"uniqueKey":"estimate.positions.items.[INDEX].oneOf.3","typeLabel":"SubtotalPosition · object"}],"uniqueKey":"estimate.positions.items.[INDEX]","typeLabel":"ProductPosition · object | DiscountPosition · object | TextPosition · object | SubtotalPosition · object"},"isRequired":true,"uniqueKey":"estimate.positions","typeLabel":"(ProductPosition · object | DiscountPosition · object | TextPosition · object | SubtotalPosition · object)[]"},"totalAmount":{"type":"integer","description":"Total gross amount in cents (e.g. 12030 = 120.30).","isRequired":true,"uniqueKey":"estimate.totalAmount","typeLabel":"integer"},"totalNetAmount":{"type":"integer","description":"Total net amount in cents.","isRequired":true,"uniqueKey":"estimate.totalNetAmount","typeLabel":"integer"},"totalVatDebt":{"type":"integer","description":"Total VAT debt in cents.","isRequired":true,"uniqueKey":"estimate.totalVatDebt","typeLabel":"integer"},"status":{"title":"QuoteStatus","type":"string","description":"The lifecycle status of an estimate.","enum":["open","accepted","rejected"],"isRequired":true,"uniqueKey":"estimate.status","typeLabel":"enum\u003cstring>"},"recipient":{"type":"string","description":"The id of the contact this document is addressed to.","uniqueKey":"estimate.recipient","typeLabel":"string"},"customRecipientText":{"type":"string","uniqueKey":"estimate.customRecipientText","typeLabel":"string"},"externalReference":{"type":"string","maxLength":128,"description":"An optional reference for this document in an external system.","uniqueKey":"estimate.externalReference","typeLabel":"string"},"title":{"type":"string","uniqueKey":"estimate.title","typeLabel":"string"},"payableInDays":{"type":"integer","uniqueKey":"estimate.payableInDays","typeLabel":"integer"},"introductoryText":{"type":"string","uniqueKey":"estimate.introductoryText","typeLabel":"string"},"closingText":{"type":"string","uniqueKey":"estimate.closingText","typeLabel":"string"},"amountMode":{"title":"AmountMode","type":"string","description":"Whether position amounts are entered gross (including VAT) or net (excluding VAT).","enum":["gross","net"],"uniqueKey":"estimate.amountMode","typeLabel":"enum\u003cstring>"},"language":{"title":"InvoiceLanguage","type":"string","description":"The language used to render the document.","enum":["de","en","fr","it"],"uniqueKey":"estimate.language","typeLabel":"enum\u003cstring>"},"originalCurrency":{"type":"string","minLength":3,"maxLength":3,"description":"ISO 4217 currency code for the original document currency. Omitted for documents in the primary accounting currency.","uniqueKey":"estimate.originalCurrency","typeLabel":"string"},"exchangeRate":{"type":"number","description":"Exchange rate from the original currency to the primary accounting currency, if applicable.","uniqueKey":"estimate.exchangeRate","typeLabel":"number"},"columns":{"type":"array","items":{"title":"InvoiceColumn","description":"A column that can be shown on the rendered invoice or estimate.","type":"string","enum":["quantity","unit","articleNumber","name","date","vatDebt","vatRate","singleAmount","totalAmount","discountRate","positionNumber","customTextColumn1","customTextColumn2","customTextColumn3"],"uniqueKey":"estimate.columns.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"estimate.columns","typeLabel":"enum\u003cstring>[]"},"emailDeliveries":{"type":"array","description":"Log of any email delivery attempts for this document.","items":{"title":"EmailDelivery","type":"object","description":"A record of an attempt to send the document by email.","required":["recipientEmail","status","timestamp"],"properties":{"recipientEmail":{"type":"string","format":"email","description":"The address the document was sent to.","isRequired":true,"uniqueKey":"estimate.emailDeliveries.items.[INDEX].recipientEmail","typeLabel":"string\u003cemail>"},"status":{"type":"string","description":"The delivery status reported by the email provider.","isRequired":true,"uniqueKey":"estimate.emailDeliveries.items.[INDEX].status","typeLabel":"string"},"timestamp":{"type":"string","format":"date-time","description":"ISO 8601 timestamp when the delivery was recorded.","isRequired":true,"uniqueKey":"estimate.emailDeliveries.items.[INDEX].timestamp","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"estimate.emailDeliveries.items.[INDEX]","typeLabel":"EmailDelivery · object"},"uniqueKey":"estimate.emailDeliveries","typeLabel":"EmailDelivery · object[]"},"publicPdfUrl":{"type":"string","description":"A public URL for downloading the rendered PDF without authentication. May be omitted while the URL is being generated.","uniqueKey":"estimate.publicPdfUrl","typeLabel":"string"},"signingPerson":{"type":"string","description":"Name of the person who signed the accepted estimate.","uniqueKey":"estimate.signingPerson","typeLabel":"string"},"signedAt":{"type":"string","format":"date-time","description":"ISO 8601 timestamp when the estimate was signed.","uniqueKey":"estimate.signedAt","typeLabel":"string\u003cdate-time>"},"invoicesFromQuote":{"type":"array","description":"Ids of any invoices that were created by converting this estimate.","items":{"type":"string","uniqueKey":"estimate.invoicesFromQuote.items.[INDEX]","typeLabel":"string"},"uniqueKey":"estimate.invoicesFromQuote","typeLabel":"string[]"}},"uniqueKey":"estimate","typeLabel":"Estimate · object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"estimate":{"id":"\u003cstring>","isDraft":true,"number":"\u003cstring>","organisation":"\u003cstring>","template":"\u003cstring>","openingDate":"2023-12-25","dueDate":"2023-12-25","positions":[{"type":"product","name":"\u003cstring>","singleAmount":12000,"quantity":2,"contraAccount":5499,"id":"\u003cstring>","unit":"\u003cstring>","taxCode":"","articleNumber":"\u003cstring>","description":"\u003cstring>","date":"\u003cstring>","discountRate":50,"customTextColumns":{"customTextColumn1":"\u003cstring>","customTextColumn2":"\u003cstring>","customTextColumn3":"\u003cstring>"},"totalAmount":123,"vatDebt":123,"originalCurrency":"\u003cstring>","exchangeRate":123}],"totalAmount":123,"totalNetAmount":123,"totalVatDebt":123,"status":"open","recipient":"\u003cstring>","customRecipientText":"\u003cstring>","externalReference":"\u003cstring>","title":"\u003cstring>","payableInDays":123,"introductoryText":"\u003cstring>","closingText":"\u003cstring>","amountMode":"gross","language":"de","originalCurrency":"\u003cstring>","exchangeRate":123,"columns":["quantity"],"emailDeliveries":[{"recipientEmail":"jsmith@example.com","status":"\u003cstring>","timestamp":"2023-11-07T05:31:56Z"}],"publicPdfUrl":"\u003cstring>","signingPerson":"\u003cstring>","signedAt":"2023-11-07T05:31:56Z","invoicesFromQuote":["\u003cstring>"]}}}},"exampleType":"generated"}},"exampleType":"generated"},"30814387-fd5e-4a6d-b806-14224c421bef":{"description":"A bad request is thrown if the request payload is malformed or fails validation.","content":{"application/json":{"schema":{"type":"object","required":["code"],"properties":{"code":{"type":"string","description":"The specific error code for this request. May be:\n- `general/missing-fields`\n- `general/malformed-request`\n- `general/invalid-date`\n- `general/input-too-long`\n- `general/zero-or-negative-amount-not-allowed`","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"invalidFields":{"type":"array","description":"A list of the fields which were invalid, if applicable.","items":{"type":"string","uniqueKey":"invalidFields.items.[INDEX]","typeLabel":"string"},"uniqueKey":"invalidFields","typeLabel":"string[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","invalidFields":["\u003cstring>"]}}},"exampleType":"generated"}},"exampleType":"generated"},"1601dcdf-e695-4d7e-8b21-2c04cd75479c":{"description":"An unauthorised request was submitted. You may be using an incorrect or expired API token, or are attempting to access a document outside of the scope of the token.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","x-stoplight":{"id":"08hkw8ukmi2lp"},"description":"Specific error code","uniqueKey":"code","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Unauthorised request":{"title":"Unauthorised request","value":{"code":"general/unauthorised"}}},"exampleType":"examples"}},"exampleType":"examples"},"740ce8de-8253-422d-98c4-fcf5f4a6d5dd":{"description":"No invoice or estimate with the given id could be found in this organisation. Also returned when the id refers to the other kind of document, e.g. an estimate id on an invoice endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"Specific error code.","uniqueKey":"code","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Not found":{"title":"Not found","value":{"code":"customer-invoices/not-found"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"11b85fb9-a5f0-4688-b598-979407fae43d":{"apiKey":{"name":"x-api-token","type":"apiKey","in":"header","description":"API token for authentication. Obtain from your Infinity account settings.","scopes":[],"schemeName":"apiKey"}}},"servers":{"947b1917-c8ba-4b36-b10e-d86bb1675414":{"url":"https://api.infinity.swiss"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"name":"x-api-token","type":"apiKey","in":"header","description":"API token for authentication. Obtain from your Infinity account settings.","scopes":[],"schemeName":"apiKey"},"schema":{"title":"x-api-token","type":"string","description":"API token for authentication. Obtain from your Infinity account settings.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKey","name":"x-api-token"}],"title":"apiKey"}]},"originalFileLocation":"api/openapi.json"},"subdomain":"nextbusiness","siteName":"infinity.swiss Dokumentation","title":"Modify estimate - infinity.swiss Dokumentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-05-22T12:53:08.958Z","originalFileLocation":"api/estimates/modify.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=\"Edits the provided fields for the estimate with the given id. Any fields that are not provided are left unchanged.\">\u003cmeta data-mint-head name=\"application-name\" content=\"infinity.swiss Dokumentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/nextbusiness/PAri2jzuPcm6byUj/_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/nextbusiness/PAri2jzuPcm6byUj/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/nextbusiness/PAri2jzuPcm6byUj/_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/nextbusiness/PAri2jzuPcm6byUj/_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/nextbusiness/PAri2jzuPcm6byUj/_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/nextbusiness/PAri2jzuPcm6byUj/_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/nextbusiness/PAri2jzuPcm6byUj/_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/nextbusiness/PAri2jzuPcm6byUj/_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/nextbusiness/PAri2jzuPcm6byUj/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Modify estimate - infinity.swiss Dokumentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Edits the provided fields for the estimate with the given id. Any fields that are not provided are left unchanged.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"infinity.swiss Dokumentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.infinity.swiss/api/estimates/modify\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://nextbusiness.mintlify.app/_mintlify/api/og/v2?division=Estimates\u0026amp;title=Modify+estimate\u0026amp;description=Edits+the+provided+fields+for+the+estimate+with+the+given+id.+Any+fields+that+are+not+provided+are+left+unchanged.\u0026amp;theme=56d81c116af6b46de0c9557c\u0026amp;signature=947ccb5bd8dd74b2ce7b8a5fae4dfec739b35c9a2017db95806fa549fa2e0c02\">\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=\"Modify estimate - infinity.swiss Dokumentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Edits the provided fields for the estimate with the given id. Any fields that are not provided are left unchanged.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://nextbusiness.mintlify.app/_mintlify/api/og/v2?division=Estimates\u0026amp;title=Modify+estimate\u0026amp;description=Edits+the+provided+fields+for+the+estimate+with+the+given+id.+Any+fields+that+are+not+provided+are+left+unchanged.\u0026amp;theme=56d81c116af6b46de0c9557c\u0026amp;signature=947ccb5bd8dd74b2ce7b8a5fae4dfec739b35c9a2017db95806fa549fa2e0c02\">\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/nextbusiness/PAri2jzuPcm6byUj/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"infinity.swiss Dokumentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0D9373\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.infinity.swiss/api/estimates/modify\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api/estimates/modify.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.infinity.swiss/#organization\",\"name\":\"infinity.swiss Dokumentation\",\"url\":\"https://docs.infinity.swiss\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/nextbusiness/_uvxx-EX-DydCyun/logo/logo-b.svg?fit=max\u0026auto=format\u0026n=_uvxx-EX-DydCyun\u0026q=85\u0026s=d0f6544cce7c61da0bf7681ea0bdc48e\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.infinity.swiss#website\",\"name\":\"infinity.swiss Dokumentation\",\"url\":\"https://docs.infinity.swiss\",\"publisher\":{\"@id\":\"https://docs.infinity.swiss/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.infinity.swiss/api/estimates/modify#webpage\",\"url\":\"https://docs.infinity.swiss/api/estimates/modify\",\"name\":\"Modify estimate\",\"description\":\"Edits the provided fields for the estimate with the given id. Any fields that are not provided are left unchanged.\",\"dateModified\":\"2026-05-22T12:53:08.958Z\",\"isPartOf\":{\"@id\":\"https://docs.infinity.swiss#website\"},\"breadcrumb\":{\"@id\":\"https://docs.infinity.swiss/api/estimates/modify#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.infinity.swiss/api/estimates/modify#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Estimates\",\"item\":\"https://docs.infinity.swiss/api/estimates/find\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Modify estimate\",\"item\":\"https://docs.infinity.swiss/api/estimates/modify\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.infinity.swiss/api/estimates/modify#apireference\",\"headline\":\"Modify estimate\",\"name\":\"Modify estimate\",\"description\":\"Edits the provided fields for the estimate with the given id. Any fields that are not provided are left unchanged.\",\"url\":\"https://docs.infinity.swiss/api/estimates/modify\",\"mainEntityOfPage\":{\"@id\":\"https://docs.infinity.swiss/api/estimates/modify#webpage\"},\"dateModified\":\"2026-05-22T12:53:08.958Z\",\"publisher\":{\"@id\":\"https://docs.infinity.swiss/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.infinity.swiss#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"infinity.swiss Dokumentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"infinity.swiss Dokumentation","nav":{"global":null,"products":[{"product":"Benutzerhandbuch","description":"So verwendest du infinity.swiss","pages":[{"title":"Benutzerhandbuch","href":"/de/introduction"}]},{"product":"Infinity API","description":"Dokumentation für Entwickler","groups":[{"group":"For developers","pages":[{"title":"Introduction to the Infinity API","icon":"globe","href":"/api/introduction"}]},{"group":"MCP server","pages":[{"title":"MCP server","icon":"plug","href":"/api/mcp/overview"},{"title":"Connect a client","icon":"link","href":"/api/mcp/connect"},{"title":"Tools","icon":"wrench","href":"/api/mcp/tools"}]},{"group":"Accounting","pages":[{"title":"Post a ledger entry","openapi":"POST /v1/ledger-entries","href":"/api/accounting/create"},{"title":"Modify a ledger entry","openapi":"PATCH /v1/ledger-entries/{ledgerEntryId}","href":"/api/accounting/modify"},{"title":"Find ledger entries","openapi":"GET /v1/ledger-entries","href":"/api/accounting/find"},{"title":"Get specific ledger entry","openapi":"GET /v1/ledger-entries/{ledgerEntryId}","href":"/api/accounting/get"},{"title":"Delete a ledger entry","openapi":"DELETE /v1/ledger-entries/{ledgerEntryId}","href":"/api/accounting/delete"},{"title":"Ledger entry sources","href":"/api/accounting/sources"},{"title":"List fiscal years","openapi":"GET /v1/fiscal-years","href":"/api/accounting/fiscal-years"},{"title":"List available tax codes","openapi":"GET /v1/tax-codes","href":"/api/accounting/tax-codes"}]},{"group":"Chart of accounts","pages":[{"title":"List the chart of accounts","openapi":"GET /v1/accounts","href":"/api/accounting/accounts/find"},{"title":"List account balances","openapi":"GET /v1/accounts/balances","href":"/api/accounting/accounts/balances"},{"title":"Create an account","openapi":"POST /v1/accounts","href":"/api/accounting/accounts/create"},{"title":"Modify an account","openapi":"PATCH /v1/accounts/{accountNumber}","href":"/api/accounting/accounts/modify"},{"title":"Delete an account","openapi":"DELETE /v1/accounts/{accountNumber}","href":"/api/accounting/accounts/delete"}]},{"group":"Receipts","pages":[{"title":"Upload a receipt","openapi":"POST /v1/receipts","href":"/api/receipts/upload"},{"title":"Attach a receipt to a ledger entry","openapi":"POST /v1/receipts/{receiptId}/attach","href":"/api/receipts/attach"}]},{"group":"Contacts","pages":[{"title":"Find contacts","openapi":"GET /v1/contacts","href":"/api/contacts/find"},{"title":"Get specific contact","openapi":"GET /v1/contacts/{contactId}","href":"/api/contacts/get-specific"},{"title":"Create contact","openapi":"POST /v1/contacts","href":"/api/contacts/create"},{"title":"Modify contact","openapi":"PATCH /v1/contacts/{contactId}","href":"/api/contacts/modify"},{"title":"Delete contact","openapi":"DELETE /v1/contacts/{contactId}","href":"/api/contacts/delete"}]},{"group":"Invoices","pages":[{"title":"Find invoices","openapi":"GET /v1/invoices","href":"/api/invoices/find"},{"title":"Get specific invoice","openapi":"GET /v1/invoices/{invoiceId}","href":"/api/invoices/get-specific"},{"title":"Create invoice","openapi":"POST /v1/invoices","href":"/api/invoices/create"},{"title":"Modify invoice","openapi":"PATCH /v1/invoices/{invoiceId}","href":"/api/invoices/modify"},{"title":"Delete invoice","openapi":"DELETE /v1/invoices/{invoiceId}","href":"/api/invoices/delete"},{"title":"Download invoice PDF","openapi":"GET /v1/invoices/{invoiceId}/pdf","href":"/api/invoices/pdf"},{"title":"List invoice PDF attachments","openapi":"GET /v1/invoices/{invoiceId}/pdf-attachments","href":"/api/invoices/pdf-attachments-list"},{"title":"Add an invoice PDF attachment","openapi":"POST /v1/invoices/{invoiceId}/pdf-attachments","href":"/api/invoices/pdf-attachments-add"},{"title":"Remove an invoice PDF attachment","openapi":"DELETE /v1/invoices/{invoiceId}/pdf-attachments/{attachmentId}","href":"/api/invoices/pdf-attachments-remove"},{"title":"Record a payment","openapi":"POST /v1/invoices/{invoiceId}/payments","href":"/api/invoices/record-payment"},{"title":"Send invoice by email","openapi":"POST /v1/invoices/{invoiceId}/send","href":"/api/invoices/send"},{"title":"Annul invoice","openapi":"POST /v1/invoices/{invoiceId}/annulment","href":"/api/invoices/annul"},{"title":"Undo annulment","openapi":"DELETE /v1/invoices/{invoiceId}/annulment","href":"/api/invoices/undo-annulment"},{"title":"List invoice templates","openapi":"GET /v1/invoice-templates","href":"/api/invoices/templates"}]},{"group":"Estimates","pages":[{"title":"Find estimates","openapi":"GET /v1/estimates","href":"/api/estimates/find"},{"title":"Get specific estimate","openapi":"GET /v1/estimates/{estimateId}","href":"/api/estimates/get-specific"},{"title":"Create estimate","openapi":"POST /v1/estimates","description":"Creates a new estimate (quote) in the organisation. Estimates never post accounting transactions and are only converted to invoices by calling the convert endpoint.","href":"/api/estimates/create"},{"title":"Modify estimate","openapi":"PATCH /v1/estimates/{estimateId}","href":"/api/estimates/modify"},{"title":"Delete estimate","openapi":"DELETE /v1/estimates/{estimateId}","description":"Deletes the estimate with the given id.","href":"/api/estimates/delete"},{"title":"Download estimate PDF","openapi":"GET /v1/estimates/{estimateId}/pdf","href":"/api/estimates/pdf"},{"title":"List estimate PDF attachments","openapi":"GET /v1/estimates/{estimateId}/pdf-attachments","href":"/api/estimates/pdf-attachments-list"},{"title":"Add an estimate PDF attachment","openapi":"POST /v1/estimates/{estimateId}/pdf-attachments","href":"/api/estimates/pdf-attachments-add"},{"title":"Remove an estimate PDF attachment","openapi":"DELETE /v1/estimates/{estimateId}/pdf-attachments/{attachmentId}","href":"/api/estimates/pdf-attachments-remove"},{"title":"Send estimate by email","openapi":"POST /v1/estimates/{estimateId}/send","href":"/api/estimates/send"},{"title":"Set estimate status","openapi":"PUT /v1/estimates/{estimateId}/status","href":"/api/estimates/set-status"},{"title":"Convert estimate to invoice","openapi":"POST /v1/estimates/{estimateId}/convert-to-invoice","href":"/api/estimates/convert-to-invoice"}]},{"group":"Projects","pages":[{"title":"Find projects","openapi":"GET /v1/projects","href":"/api/projects/find"},{"title":"Get specific project","openapi":"GET /v1/projects/{projectId}","href":"/api/projects/get-specific"}]},{"group":"Work entries","pages":[{"title":"Find work entries","openapi":"GET /v1/projects/{projectId}/work-entries","href":"/api/projects/work-entries/find"},{"title":"Record a work entry","openapi":"POST /v1/projects/{projectId}/work-entries","href":"/api/projects/work-entries/create"},{"title":"Modify work entry","openapi":"PATCH /v1/projects/{projectId}/work-entries/{workEntryId}","href":"/api/projects/work-entries/modify"},{"title":"Delete work entry","openapi":"DELETE /v1/projects/{projectId}/work-entries/{workEntryId}","href":"/api/projects/work-entries/delete"}]}]}]},"title":"Modify estimate - infinity.swiss Dokumentation","buildId":"dpl_849ArpqvBiCczQiT1Y1stNGpbqHT","deploymentId":"dpl_849ArpqvBiCczQiT1Y1stNGpbqHT","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-Bbp7I60D.js","utils-C3RIvJha.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DqD-vLt8.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-B31Loprg.js","snippetPresets-DKpk-b8t.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","Page-n7I5XbKb.js","ApiExamples-Cj65AhOR.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BXtn5gcC.js","shallow-RY2b03Cp.js","getApiPlaygroundDisplay-B0jeiPk3.js","CodeSnippet-CYgBjjwn.js","CodeSnippets-DOngDrYB.js","getPastedJson-DRQbJx-T.js","icon-CQiQCicY.js","MethodPill-BKTLdNtu.js","DuplicateIcon-B9jpAdat.js","createIcon-DCddRrXv.js","DynamicMarkdown-a8hUKrw6.js","SectionHeading-eECVV2eH.js","axios-vUo_bRtp.js","Markdown--GF7ZIpf.js","clsx-DZLdJUrt.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-2LoAhjKH.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-Zwc0ZncM.js"]}