Create or edit the budget for a category or category group, or assign to a credit card’s payment envelope, in the default plan unless plan names another. scope: "template" changes the amount from the current month forward and creates the budget if it has none. scope: "period" changes one month and needs an existing budget, except for accountId, which takes scope: "period" only and creates the envelope’s budget on the first assignment. In an envelope plan, scope: "period" is the assign action and amount is that month’s total. The first budget creates the default plan.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Finta","description":"Finta syncs financial data from banks and payment processors to productivity tools like Airtable, Notion, Google Sheets, and Coda. Documentation for setup, integrations, and troubleshooting.","colors":{"primary":"#6E56CF","light":"#6E56CF","dark":"#6E56CF"},"logo":{"light":"https://mintcdn.com/finta-10/K_IMUIs0cBRtaWOM/logo/finta-logo-black-text.svg?fit=max\u0026auto=format\u0026n=K_IMUIs0cBRtaWOM\u0026q=85\u0026s=5a36e554ada8ffbb5ce2af670ed6c896","dark":"https://mintcdn.com/finta-10/K_IMUIs0cBRtaWOM/logo/finta-logo-white-text.svg?fit=max\u0026auto=format\u0026n=K_IMUIs0cBRtaWOM\u0026q=85\u0026s=91830ef558aa1cbc384361a0d73fb04b"},"favicon":"https://mintcdn.com/finta-10/jdclNcDGGc_u6oDw/favicon.png?fit=max\u0026auto=format\u0026n=jdclNcDGGc_u6oDw\u0026q=85\u0026s=91745403bceaa562ddca8d64c9a89ff6","background":{"color":{"dark":"#111111"}},"navbar":{"links":[{"href":"mailto:hello@finta.io","label":"Contact Us"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.finta.io"}},"footer":{"socials":{"twitter":"https://twitter.com/FintaApp"}},"contextual":{"options":["assistant","copy","mcp","add-mcp"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Community","icon":"discord","href":"https://link.finta.io/discord"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"finta-10","hasAudioNarration":false,"actualSubdomain":"finta-10","customDomains":["docs.finta.io"],"gitSource":{"type":"github","owner":"fintaapp","repo":"monorepo","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae8097d348e269909a7d3e8","collectionId":"460a1d11-522d-4df8-bd83-ddb9635db695","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae8097d348e269909a7d3e8"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ae8097d348e269909a7d3e8","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"API","count":50},{"language":"default","tag":"Reference","count":40},{"language":"default","tag":"Documentation","count":33},{"language":"default","tag":"Bank Connections","count":11},{"language":"default","tag":"Budgets","count":10},{"language":"default","tag":"MCP","count":9},{"language":"default","tag":"Destinations","count":8},{"language":"default","tag":"Accounts","count":7},{"language":"default","tag":"Getting Started","count":6},{"language":"default","tag":"Charts","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":"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":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"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":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/budgets/set-a-budget","slug":"/api-reference/budgets/set-a-budget","pageMetadata":{"title":"Set a budget","description":"Create or edit the budget for a category or category group, or assign to a credit card's payment envelope, in the default plan unless `plan` names another. `scope: \"template\"` changes the amount from the current month forward and creates the budget if it has none. `scope: \"period\"` changes one month and needs an existing budget, except for `accountId`, which takes `scope: \"period\"` only and creates the envelope's budget on the first assignment. In an envelope plan, `scope: \"period\"` is the assign action and `amount` is that month's total. The first budget creates the default plan.","deprecated":null,"version":null,"openapi":"/api/v2/openapi.json post /budgets","href":"/api-reference/budgets/set-a-budget","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Create or edit the budget for a category or category group, or assign to a credit card’s payment envelope, in the default plan unless \", _jsx(_components.code, {\n children: \"plan\"\n }), \" names another. \", _jsx(_components.code, {\n children: \"scope: \\\"template\\\"\"\n }), \" changes the amount from the current month forward and creates the budget if it has none. \", _jsx(_components.code, {\n children: \"scope: \\\"period\\\"\"\n }), \" changes one month and needs an existing budget, except for \", _jsx(_components.code, {\n children: \"accountId\"\n }), \", which takes \", _jsx(_components.code, {\n children: \"scope: \\\"period\\\"\"\n }), \" only and creates the envelope’s budget on the first assignment. In an envelope plan, \", _jsx(_components.code, {\n children: \"scope: \\\"period\\\"\"\n }), \" is the assign action and \", _jsx(_components.code, {\n children: \"amount\"\n }), \" is that month’s total. The first budget creates the default plan.\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Set a budget","description":"Create or edit the budget for a category or category group, or assign to a credit card's payment envelope, in the default plan unless `plan` names another. `scope: \"template\"` changes the amount from the current month forward and creates the budget if it has none. `scope: \"period\"` changes one month and needs an existing budget, except for `accountId`, which takes `scope: \"period\"` only and creates the envelope's budget on the first assignment. In an envelope plan, `scope: \"period\"` is the assign action and `amount` is that month's total. The first budget creates the default plan.","deprecated":null,"version":null,"openapi":"/api/v2/openapi.json post /budgets","href":"/api-reference/budgets/set-a-budget","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Set a budget","description":"Create or edit the budget for a category or category group, or assign to a credit card's payment envelope, in the default plan unless `plan` names another. `scope: \"template\"` changes the amount from the current month forward and creates the budget if it has none. `scope: \"period\"` changes one month and needs an existing budget, except for `accountId`, which takes `scope: \"period\"` only and creates the envelope's budget on the first assignment. In an envelope plan, `scope: \"period\"` is the assign action and `amount` is that month's total. The first budget creates the default plan.","operationId":"setBudgetV2","tags":["Budgets"],"requestBody":"a21a5d6f-0b38-4460-b7fa-1429c573a8b2","responses":{"200":"c0720596-5ed2-46fd-8228-f71a12bf9c22","201":"b47f7725-d5e5-44fe-bed3-3f4f5950a5f8","400":"97c1212f-85b8-4f18-9570-f2bcf053cfdc","401":"3bf3aa81-7b10-4911-8c02-9fdcbe3225f1","403":"541fc8d0-3d1b-40d6-ae7e-57c03a094dd3","404":"7ad51d8e-4d4a-410f-8312-0959de5f73d9","429":"fea511f1-5be4-4d33-a62e-7ddb8bae7c5f"},"method":"post","type":"path","servers":["a695617d-a24b-4d79-8001-f41ee3fdb0cc"],"security":["46ee374d-16db-4024-a9d8-68134c916743"],"path":"/budgets","baseUrlOptions":["https://api.finta.io/v2"],"title":"Set a budget","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"Send exactly one of `categoryId`, `categoryGroupId` or, with `scope: \"period\"`, `accountId`. Fields from the other scope are rejected.","required":["scope","amount"],"properties":{"scope":{"type":"string","enum":["template"],"isRequired":true,"uniqueKey":"oneOf.0.scope","typeLabel":"enum\u003cstring>"},"amount":{"type":"number","minimum":0,"description":"Dollars, at most 2 decimal places","isRequired":true,"uniqueKey":"oneOf.0.amount","typeLabel":"number"},"categoryId":{"type":"string","format":"uuid","uniqueKey":"oneOf.0.categoryId","typeLabel":"string\u003cuuid>"},"categoryGroupId":{"type":"string","format":"uuid","uniqueKey":"oneOf.0.categoryGroupId","typeLabel":"string\u003cuuid>"},"rolloverEnabled":{"type":"boolean","uniqueKey":"oneOf.0.rolloverEnabled","typeLabel":"boolean"},"targetAmount":{"oneOf":[{"type":"number","minimum":0,"description":"Savings goal in dollars, or null to clear it","uniqueKey":"oneOf.0.targetAmount.oneOf.0","typeLabel":"number"},{"type":"null","minimum":0,"description":"Savings goal in dollars, or null to clear it","uniqueKey":"oneOf.0.targetAmount.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.targetAmount","typeLabel":"number | null"},"targetDate":{"oneOf":[{"type":"string","format":"date","uniqueKey":"oneOf.0.targetDate.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","format":"date","uniqueKey":"oneOf.0.targetDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.targetDate","typeLabel":"string\u003cdate> | null"},"startPeriod":{"type":"string","description":"New budgets only: `current` (default) or YYYY-MM","uniqueKey":"oneOf.0.startPeriod","typeLabel":"string"},"plan":{"type":"string","description":"Plan name or id","uniqueKey":"oneOf.0.plan","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","description":"Send exactly one of `categoryId`, `categoryGroupId` or, with `scope: \"period\"`, `accountId`. Fields from the other scope are rejected.","required":["scope","period","amount"],"properties":{"scope":{"type":"string","enum":["period"],"isRequired":true,"uniqueKey":"oneOf.1.scope","typeLabel":"enum\u003cstring>"},"period":{"type":"string","description":"`current` or YYYY-MM","isRequired":true,"uniqueKey":"oneOf.1.period","typeLabel":"string"},"amount":{"type":"number","minimum":0,"description":"Dollars, at most 2 decimal places","isRequired":true,"uniqueKey":"oneOf.1.amount","typeLabel":"number"},"categoryId":{"type":"string","format":"uuid","uniqueKey":"oneOf.1.categoryId","typeLabel":"string\u003cuuid>"},"categoryGroupId":{"type":"string","format":"uuid","uniqueKey":"oneOf.1.categoryGroupId","typeLabel":"string\u003cuuid>"},"accountId":{"type":"string","format":"uuid","description":"Credit card account, for its payment envelope in an envelope plan","uniqueKey":"oneOf.1.accountId","typeLabel":"string\u003cuuid>"},"note":{"oneOf":[{"type":"string","maxLength":500,"uniqueKey":"oneOf.1.note.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":500,"uniqueKey":"oneOf.1.note.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.note","typeLabel":"string | null"},"plan":{"type":"string","description":"Plan name or id","uniqueKey":"oneOf.1.plan","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"scope":"template","amount":1,"categoryId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","categoryGroupId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","rolloverEnabled":true,"targetAmount":1,"targetDate":"2023-12-25","startPeriod":"\u003cstring>","plan":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"c0720596-5ed2-46fd-8228-f71a12bf9c22":{"description":"Edited an existing budget","content":{"application/json":{"schema":{"type":"object","required":["created","plan","budget","periodOverride","snapshot"],"properties":{"budget":{"type":"object","required":["id","planId","targetType","categoryId","categoryGroupId","accountId","amount","rolloverEnabled","targetAmount","targetDate","startPeriod","isActive"],"properties":{"id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"budget.id","typeLabel":"string\u003cuuid>"},"planId":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"budget.planId","typeLabel":"string\u003cuuid>"},"targetType":{"type":"string","enum":["category","category_group","account"],"isRequired":true,"uniqueKey":"budget.targetType","typeLabel":"enum\u003cstring>"},"categoryId":{"oneOf":[{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"budget.categoryId.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","isRequired":true,"uniqueKey":"budget.categoryId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"budget.categoryId","typeLabel":"string\u003cuuid> | null"},"categoryGroupId":{"oneOf":[{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"budget.categoryGroupId.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","isRequired":true,"uniqueKey":"budget.categoryGroupId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"budget.categoryGroupId","typeLabel":"string\u003cuuid> | null"},"accountId":{"oneOf":[{"type":"string","format":"uuid","description":"The credit card, for a payment envelope","isRequired":true,"uniqueKey":"budget.accountId.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"The credit card, for a payment envelope","isRequired":true,"uniqueKey":"budget.accountId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"budget.accountId","typeLabel":"string\u003cuuid> | null"},"amount":{"type":"number","description":"The template amount in dollars. A one-month amount is in `periodOverride`.","isRequired":true,"uniqueKey":"budget.amount","typeLabel":"number"},"rolloverEnabled":{"type":"boolean","isRequired":true,"uniqueKey":"budget.rolloverEnabled","typeLabel":"boolean"},"targetAmount":{"oneOf":[{"type":"number","isRequired":true,"uniqueKey":"budget.targetAmount.oneOf.0","typeLabel":"number"},{"type":"null","isRequired":true,"uniqueKey":"budget.targetAmount.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"budget.targetAmount","typeLabel":"number | null"},"targetDate":{"oneOf":[{"type":"string","format":"date","isRequired":true,"uniqueKey":"budget.targetDate.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","format":"date","isRequired":true,"uniqueKey":"budget.targetDate.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"budget.targetDate","typeLabel":"string\u003cdate> | null"},"startPeriod":{"type":"string","format":"date","description":"First day of the first month the budget applies to","isRequired":true,"uniqueKey":"budget.startPeriod","typeLabel":"string\u003cdate>"},"isActive":{"type":"boolean","isRequired":true,"uniqueKey":"budget.isActive","typeLabel":"boolean"}},"isRequired":true,"uniqueKey":"budget","typeLabel":"object"},"periodOverride":{"oneOf":[{"type":"object","description":"Set for `scope: \"period\"`","required":["budgetId","period","startDate","endDate","plannedAmount","note","source"],"properties":{"budgetId":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"periodOverride.oneOf.0.budgetId","typeLabel":"string\u003cuuid>"},"period":{"type":"string","isRequired":true,"uniqueKey":"periodOverride.oneOf.0.period","typeLabel":"string"},"startDate":{"type":"string","format":"date","isRequired":true,"uniqueKey":"periodOverride.oneOf.0.startDate","typeLabel":"string\u003cdate>"},"endDate":{"type":"string","format":"date","isRequired":true,"uniqueKey":"periodOverride.oneOf.0.endDate","typeLabel":"string\u003cdate>"},"plannedAmount":{"type":"number","isRequired":true,"uniqueKey":"periodOverride.oneOf.0.plannedAmount","typeLabel":"number"},"note":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"periodOverride.oneOf.0.note.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"periodOverride.oneOf.0.note.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"periodOverride.oneOf.0.note","typeLabel":"string | null"},"source":{"type":"string","enum":["user_edited","snapshot"],"isRequired":true,"uniqueKey":"periodOverride.oneOf.0.source","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"periodOverride.oneOf.0","typeLabel":"object"},{"type":"null","description":"Set for `scope: \"period\"`","required":["budgetId","period","startDate","endDate","plannedAmount","note","source"],"properties":{"budgetId":{"type":"string","format":"uuid"},"period":{"type":"string"},"startDate":{"type":"string","format":"date"},"endDate":{"type":"string","format":"date"},"plannedAmount":{"type":"number"},"note":{"oneOf":[{"type":"string"},{"type":"null"}]},"source":{"type":"string","enum":["user_edited","snapshot"]}},"isRequired":true,"uniqueKey":"periodOverride.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"periodOverride","typeLabel":"object | null"},"snapshot":{"oneOf":[{"type":"object","description":"Set for `scope: \"template\"` when the amount changed: the past months written down at the old amount","required":["budgetId","periodsConsidered","rowsWritten","truncated"],"properties":{"budgetId":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"snapshot.oneOf.0.budgetId","typeLabel":"string\u003cuuid>"},"periodsConsidered":{"type":"integer","isRequired":true,"uniqueKey":"snapshot.oneOf.0.periodsConsidered","typeLabel":"integer"},"rowsWritten":{"type":"integer","isRequired":true,"uniqueKey":"snapshot.oneOf.0.rowsWritten","typeLabel":"integer"},"truncated":{"type":"boolean","isRequired":true,"uniqueKey":"snapshot.oneOf.0.truncated","typeLabel":"boolean"}},"isRequired":true,"uniqueKey":"snapshot.oneOf.0","typeLabel":"object"},{"type":"null","description":"Set for `scope: \"template\"` when the amount changed: the past months written down at the old amount","required":["budgetId","periodsConsidered","rowsWritten","truncated"],"properties":{"budgetId":{"type":"string","format":"uuid"},"periodsConsidered":{"type":"integer"},"rowsWritten":{"type":"integer"},"truncated":{"type":"boolean"}},"isRequired":true,"uniqueKey":"snapshot.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"snapshot","typeLabel":"object | null"},"created":{"type":"boolean","description":"True when this call created the budget","isRequired":true,"uniqueKey":"created","typeLabel":"boolean"},"plan":{"type":"object","required":["id","name","method","accountScope","isDefault"],"properties":{"id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"plan.id","typeLabel":"string\u003cuuid>"},"name":{"type":"string","isRequired":true,"uniqueKey":"plan.name","typeLabel":"string"},"method":{"type":"string","enum":["standard","envelope"],"isRequired":true,"uniqueKey":"plan.method","typeLabel":"enum\u003cstring>"},"accountScope":{"type":"string","enum":["All","Selected"],"isRequired":true,"uniqueKey":"plan.accountScope","typeLabel":"enum\u003cstring>"},"isDefault":{"type":"boolean","isRequired":true,"uniqueKey":"plan.isDefault","typeLabel":"boolean"}},"isRequired":true,"uniqueKey":"plan","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"budget":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","planId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","targetType":"category","categoryId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","categoryGroupId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","accountId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","amount":123,"rolloverEnabled":true,"targetAmount":123,"targetDate":"2023-12-25","startPeriod":"2023-12-25","isActive":true},"periodOverride":{"budgetId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","period":"\u003cstring>","startDate":"2023-12-25","endDate":"2023-12-25","plannedAmount":123,"note":"\u003cstring>","source":"user_edited"},"snapshot":{"budgetId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","periodsConsidered":123,"rowsWritten":123,"truncated":true},"created":true,"plan":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","name":"\u003cstring>","method":"standard","accountScope":"All","isDefault":true}}}},"exampleType":"generated"}},"exampleType":"generated"},"b47f7725-d5e5-44fe-bed3-3f4f5950a5f8":{"description":"Created the budget","content":{"application/json":{"schema":{"type":"object","required":["created","plan","budget","periodOverride","snapshot"],"properties":{"budget":{"type":"object","required":["id","planId","targetType","categoryId","categoryGroupId","accountId","amount","rolloverEnabled","targetAmount","targetDate","startPeriod","isActive"],"properties":{"id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"budget.id","typeLabel":"string\u003cuuid>"},"planId":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"budget.planId","typeLabel":"string\u003cuuid>"},"targetType":{"type":"string","enum":["category","category_group","account"],"isRequired":true,"uniqueKey":"budget.targetType","typeLabel":"enum\u003cstring>"},"categoryId":{"oneOf":[{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"budget.categoryId.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","isRequired":true,"uniqueKey":"budget.categoryId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"budget.categoryId","typeLabel":"string\u003cuuid> | null"},"categoryGroupId":{"oneOf":[{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"budget.categoryGroupId.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","isRequired":true,"uniqueKey":"budget.categoryGroupId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"budget.categoryGroupId","typeLabel":"string\u003cuuid> | null"},"accountId":{"oneOf":[{"type":"string","format":"uuid","description":"The credit card, for a payment envelope","isRequired":true,"uniqueKey":"budget.accountId.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"The credit card, for a payment envelope","isRequired":true,"uniqueKey":"budget.accountId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"budget.accountId","typeLabel":"string\u003cuuid> | null"},"amount":{"type":"number","description":"The template amount in dollars. A one-month amount is in `periodOverride`.","isRequired":true,"uniqueKey":"budget.amount","typeLabel":"number"},"rolloverEnabled":{"type":"boolean","isRequired":true,"uniqueKey":"budget.rolloverEnabled","typeLabel":"boolean"},"targetAmount":{"oneOf":[{"type":"number","isRequired":true,"uniqueKey":"budget.targetAmount.oneOf.0","typeLabel":"number"},{"type":"null","isRequired":true,"uniqueKey":"budget.targetAmount.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"budget.targetAmount","typeLabel":"number | null"},"targetDate":{"oneOf":[{"type":"string","format":"date","isRequired":true,"uniqueKey":"budget.targetDate.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","format":"date","isRequired":true,"uniqueKey":"budget.targetDate.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"budget.targetDate","typeLabel":"string\u003cdate> | null"},"startPeriod":{"type":"string","format":"date","description":"First day of the first month the budget applies to","isRequired":true,"uniqueKey":"budget.startPeriod","typeLabel":"string\u003cdate>"},"isActive":{"type":"boolean","isRequired":true,"uniqueKey":"budget.isActive","typeLabel":"boolean"}},"isRequired":true,"uniqueKey":"budget","typeLabel":"object"},"periodOverride":{"oneOf":[{"type":"object","description":"Set for `scope: \"period\"`","required":["budgetId","period","startDate","endDate","plannedAmount","note","source"],"properties":{"budgetId":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"periodOverride.oneOf.0.budgetId","typeLabel":"string\u003cuuid>"},"period":{"type":"string","isRequired":true,"uniqueKey":"periodOverride.oneOf.0.period","typeLabel":"string"},"startDate":{"type":"string","format":"date","isRequired":true,"uniqueKey":"periodOverride.oneOf.0.startDate","typeLabel":"string\u003cdate>"},"endDate":{"type":"string","format":"date","isRequired":true,"uniqueKey":"periodOverride.oneOf.0.endDate","typeLabel":"string\u003cdate>"},"plannedAmount":{"type":"number","isRequired":true,"uniqueKey":"periodOverride.oneOf.0.plannedAmount","typeLabel":"number"},"note":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"periodOverride.oneOf.0.note.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"periodOverride.oneOf.0.note.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"periodOverride.oneOf.0.note","typeLabel":"string | null"},"source":{"type":"string","enum":["user_edited","snapshot"],"isRequired":true,"uniqueKey":"periodOverride.oneOf.0.source","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"periodOverride.oneOf.0","typeLabel":"object"},{"type":"null","description":"Set for `scope: \"period\"`","required":["budgetId","period","startDate","endDate","plannedAmount","note","source"],"properties":{"budgetId":{"type":"string","format":"uuid"},"period":{"type":"string"},"startDate":{"type":"string","format":"date"},"endDate":{"type":"string","format":"date"},"plannedAmount":{"type":"number"},"note":{"oneOf":[{"type":"string"},{"type":"null"}]},"source":{"type":"string","enum":["user_edited","snapshot"]}},"isRequired":true,"uniqueKey":"periodOverride.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"periodOverride","typeLabel":"object | null"},"snapshot":{"oneOf":[{"type":"object","description":"Set for `scope: \"template\"` when the amount changed: the past months written down at the old amount","required":["budgetId","periodsConsidered","rowsWritten","truncated"],"properties":{"budgetId":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"snapshot.oneOf.0.budgetId","typeLabel":"string\u003cuuid>"},"periodsConsidered":{"type":"integer","isRequired":true,"uniqueKey":"snapshot.oneOf.0.periodsConsidered","typeLabel":"integer"},"rowsWritten":{"type":"integer","isRequired":true,"uniqueKey":"snapshot.oneOf.0.rowsWritten","typeLabel":"integer"},"truncated":{"type":"boolean","isRequired":true,"uniqueKey":"snapshot.oneOf.0.truncated","typeLabel":"boolean"}},"isRequired":true,"uniqueKey":"snapshot.oneOf.0","typeLabel":"object"},{"type":"null","description":"Set for `scope: \"template\"` when the amount changed: the past months written down at the old amount","required":["budgetId","periodsConsidered","rowsWritten","truncated"],"properties":{"budgetId":{"type":"string","format":"uuid"},"periodsConsidered":{"type":"integer"},"rowsWritten":{"type":"integer"},"truncated":{"type":"boolean"}},"isRequired":true,"uniqueKey":"snapshot.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"snapshot","typeLabel":"object | null"},"created":{"type":"boolean","description":"True when this call created the budget","isRequired":true,"uniqueKey":"created","typeLabel":"boolean"},"plan":{"type":"object","required":["id","name","method","accountScope","isDefault"],"properties":{"id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"plan.id","typeLabel":"string\u003cuuid>"},"name":{"type":"string","isRequired":true,"uniqueKey":"plan.name","typeLabel":"string"},"method":{"type":"string","enum":["standard","envelope"],"isRequired":true,"uniqueKey":"plan.method","typeLabel":"enum\u003cstring>"},"accountScope":{"type":"string","enum":["All","Selected"],"isRequired":true,"uniqueKey":"plan.accountScope","typeLabel":"enum\u003cstring>"},"isDefault":{"type":"boolean","isRequired":true,"uniqueKey":"plan.isDefault","typeLabel":"boolean"}},"isRequired":true,"uniqueKey":"plan","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"budget":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","planId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","targetType":"category","categoryId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","categoryGroupId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","accountId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","amount":123,"rolloverEnabled":true,"targetAmount":123,"targetDate":"2023-12-25","startPeriod":"2023-12-25","isActive":true},"periodOverride":{"budgetId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","period":"\u003cstring>","startDate":"2023-12-25","endDate":"2023-12-25","plannedAmount":123,"note":"\u003cstring>","source":"user_edited"},"snapshot":{"budgetId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","periodsConsidered":123,"rowsWritten":123,"truncated":true},"created":true,"plan":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","name":"\u003cstring>","method":"standard","accountScope":"All","isDefault":true}}}},"exampleType":"generated"}},"exampleType":"generated"},"97c1212f-85b8-4f18-9570-f2bcf053cfdc":{"description":"`BAD_REQUEST` for an invalid body, or `INVALID_TARGET`, `INVALID_PERIOD`, `PERIOD_BEFORE_START`, `BUDGET_INACTIVE`, `UNSUPPORTED_CADENCE`, `SNAPSHOT_RANGE_TOO_LONG`, `CATEGORY_NOT_EXPENSE`, or for `accountId`, `ACCOUNT_NOT_CREDIT`, `ACCOUNT_NOT_IN_PLAN`, `METHOD_NOT_ENVELOPE`","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","example":"STORAGE_MODE_REQUIRED","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"STORAGE_MODE_REQUIRED","message":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"3bf3aa81-7b10-4911-8c02-9fdcbe3225f1":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","example":"Missing or invalid Authorization header","isRequired":true,"uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"Missing or invalid Authorization header"}}},"exampleType":"generated"}},"exampleType":"generated"},"541fc8d0-3d1b-40d6-ae7e-57c03a094dd3":{"description":"Storage mode required or subscription inactive","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","example":"STORAGE_MODE_REQUIRED","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"STORAGE_MODE_REQUIRED","message":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"7ad51d8e-4d4a-410f-8312-0959de5f73d9":{"description":"`NOT_FOUND`. The plan, budget, category or account does not exist, or budgets are not enabled for this account yet. A bad plan lists the user's plan names in `message`.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","example":"STORAGE_MODE_REQUIRED","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"STORAGE_MODE_REQUIRED","message":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"fea511f1-5be4-4d33-a62e-7ddb8bae7c5f":{"description":"Rate limit exceeded","headers":{"Retry-After":{"description":"Seconds until the rate-limit window resets","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","example":"STORAGE_MODE_REQUIRED","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"RATE_LIMITED","message":"Per-minute rate limit exceeded (standard plan)"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"RATE_LIMITED","message":"Per-minute rate limit exceeded (standard plan)"}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"46ee374d-16db-4024-a9d8-68134c916743":{"bearerAuth":{"type":"http","scheme":"bearer","description":"A Finta API key from API settings, or an OAuth access token issued to an authorized app. Send either as `Authorization: Bearer \u003ctoken>`.","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"a695617d-a24b-4d79-8001-f41ee3fdb0cc":{"url":"https://api.finta.io/v2","description":"Production server"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"A Finta API key from API settings, or an OAuth access token issued to an authorized app. Send either as `Authorization: Bearer \u003ctoken>`.","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"A Finta API key from API settings, or an OAuth access token issued to an authorized app. Send either as `Authorization: Bearer \u003ctoken>`.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api/v2/openapi.json"},"subdomain":"finta-10","siteName":"Finta","title":"Set a budget - Finta","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-02T03:54:43.032Z","originalFileLocation":"api-reference/budgets/set-a-budget.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=\"Create or edit the budget for a category or category group, or assign to a credit card\u0026#x27;s payment envelope, in the default plan unless plan names another. scope: \u0026quot;template\u0026quot; changes the amount from the current month forward and creates the budget if it has none. scope: \u0026quot;period\u0026quot; changes one month and needs an existing budget, except for accountId, which takes scope: \u0026quot;period\u0026quot; only and creates the envelope\u0026#x27;s budget on the first assignment. In an envelope plan, scope: \u0026quot;period\u0026quot; is the assign action and amount is that month\u0026#x27;s total. The first budget creates the default plan.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Finta\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/finta-10/Jt7kz6C6qwcjCWVy/_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/finta-10/Jt7kz6C6qwcjCWVy/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/finta-10/Jt7kz6C6qwcjCWVy/_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/finta-10/Jt7kz6C6qwcjCWVy/_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/finta-10/Jt7kz6C6qwcjCWVy/_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/finta-10/Jt7kz6C6qwcjCWVy/_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/finta-10/Jt7kz6C6qwcjCWVy/_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/finta-10/Jt7kz6C6qwcjCWVy/_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/finta-10/Jt7kz6C6qwcjCWVy/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Set a budget - Finta\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create or edit the budget for a category or category group, or assign to a credit card\u0026#x27;s payment envelope, in the default plan unless plan names another. scope: \u0026quot;template\u0026quot; changes the amount from the current month forward and creates the budget if it has none. scope: \u0026quot;period\u0026quot; changes one month and needs an existing budget, except for accountId, which takes scope: \u0026quot;period\u0026quot; only and creates the envelope\u0026#x27;s budget on the first assignment. In an envelope plan, scope: \u0026quot;period\u0026quot; is the assign action and amount is that month\u0026#x27;s total. The first budget creates the default plan.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Finta\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.finta.io/api-reference/budgets/set-a-budget\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://finta-10.mintlify.app/_mintlify/api/og/v2?division=Budgets\u0026amp;title=Set+a+budget\u0026amp;description=Create+or+edit+the+budget+for+a+category+or+category+group%2C+or+assign+to+a+credit+card%27s+payment+envelope%2C+in+the+default+plan+unless+%60plan%60+names+another.+%60sco\u0026amp;theme=ce8291f76a2c0db9e1376b0f\u0026amp;signature=5f4d0891f7d21daf1c8cb6c56c0d2c5ec8196e62ba40e7c68e87658dc44177d1\">\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=\"Set a budget - Finta\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create or edit the budget for a category or category group, or assign to a credit card\u0026#x27;s payment envelope, in the default plan unless plan names another. scope: \u0026quot;template\u0026quot; changes the amount from the current month forward and creates the budget if it has none. scope: \u0026quot;period\u0026quot; changes one month and needs an existing budget, except for accountId, which takes scope: \u0026quot;period\u0026quot; only and creates the envelope\u0026#x27;s budget on the first assignment. In an envelope plan, scope: \u0026quot;period\u0026quot; is the assign action and amount is that month\u0026#x27;s total. The first budget creates the default plan.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://finta-10.mintlify.app/_mintlify/api/og/v2?division=Budgets\u0026amp;title=Set+a+budget\u0026amp;description=Create+or+edit+the+budget+for+a+category+or+category+group%2C+or+assign+to+a+credit+card%27s+payment+envelope%2C+in+the+default+plan+unless+%60plan%60+names+another.+%60sco\u0026amp;theme=ce8291f76a2c0db9e1376b0f\u0026amp;signature=5f4d0891f7d21daf1c8cb6c56c0d2c5ec8196e62ba40e7c68e87658dc44177d1\">\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/finta-10/Jt7kz6C6qwcjCWVy/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Finta\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6E56CF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.finta.io/api-reference/budgets/set-a-budget\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/budgets/set-a-budget.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.finta.io/#organization\",\"name\":\"Finta\",\"url\":\"https://docs.finta.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/finta-10/K_IMUIs0cBRtaWOM/logo/finta-logo-black-text.svg?fit=max\u0026auto=format\u0026n=K_IMUIs0cBRtaWOM\u0026q=85\u0026s=5a36e554ada8ffbb5ce2af670ed6c896\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.finta.io#website\",\"name\":\"Finta\",\"url\":\"https://docs.finta.io\",\"publisher\":{\"@id\":\"https://docs.finta.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.finta.io/api-reference/budgets/set-a-budget#webpage\",\"url\":\"https://docs.finta.io/api-reference/budgets/set-a-budget\",\"name\":\"Set a budget\",\"description\":\"Create or edit the budget for a category or category group, or assign to a credit card's payment envelope, in the default plan unless plan names another. scope: \\\"template\\\" changes the amount from the current month forward and creates the budget if it has none. scope: \\\"period\\\" changes one month and needs an existing budget, except for accountId, which takes scope: \\\"period\\\" only and creates the envelope's budget on the first assignment. In an envelope plan, scope: \\\"period\\\" is the assign action and amount is that month's total. The first budget creates the default plan.\",\"dateModified\":\"2026-11-02T03:54:43.032Z\",\"isPartOf\":{\"@id\":\"https://docs.finta.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.finta.io/api-reference/budgets/set-a-budget#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.finta.io/api-reference/budgets/set-a-budget#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Reference\",\"item\":\"https://docs.finta.io/api-reference/health/health-check\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Budgets\",\"item\":\"https://docs.finta.io/api-reference/budgets/list-budget-plans\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Set a budget\",\"item\":\"https://docs.finta.io/api-reference/budgets/set-a-budget\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.finta.io/api-reference/budgets/set-a-budget#apireference\",\"headline\":\"Set a budget\",\"name\":\"Set a budget\",\"description\":\"Create or edit the budget for a category or category group, or assign to a credit card's payment envelope, in the default plan unless plan names another. scope: \\\"template\\\" changes the amount from the current month forward and creates the budget if it has none. scope: \\\"period\\\" changes one month and needs an existing budget, except for accountId, which takes scope: \\\"period\\\" only and creates the envelope's budget on the first assignment. In an envelope plan, scope: \\\"period\\\" is the assign action and amount is that month's total. The first budget creates the default plan.\",\"url\":\"https://docs.finta.io/api-reference/budgets/set-a-budget\",\"mainEntityOfPage\":{\"@id\":\"https://docs.finta.io/api-reference/budgets/set-a-budget#webpage\"},\"dateModified\":\"2026-11-02T03:54:43.032Z\",\"publisher\":{\"@id\":\"https://docs.finta.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.finta.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Finta\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Finta","nav":{"global":{"anchors":[{"anchor":"Community","icon":"discord","href":"https://link.finta.io/discord"}]},"tabs":[{"tab":"Documentation","icon":"book-open","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API","icon":"code","groups":[{"group":"API","pages":[{"title":"Overview","href":"/api/v2/overview"},{"title":"Authentication","href":"/api/v2/authentication"},{"title":"API Keys","href":"/api/v2/api-keys"},{"title":"Data Types","href":"/api/v2/data-types"},{"title":"Budgets","href":"/api/v2/budgets"}]},{"group":"Reference","pages":[{"group":"Health","pages":[{"title":"Health Check","deprecated":null,"version":null,"openapi":"/api/v2/openapi.json get /health","href":"/api-reference/health/health-check"}]},{"group":"Bank Connections","pages":[{"title":"List bank connections","deprecated":null,"version":null,"openapi":"/api/v2/openapi.json get /bank-connections","href":"/api-reference/bank-connections/list-bank-connections"}]},{"group":"Me","pages":[{"title":"Current API user","deprecated":null,"version":null,"openapi":"/api/v2/openapi.json get /me","href":"/api-reference/me/current-api-user"}]},{"group":"Accounts","pages":[{"title":"List accounts","deprecated":null,"version":null,"openapi":"/api/v2/openapi.json get /accounts","href":"/api-reference/accounts/list-accounts"},{"title":"Create a manual account","deprecated":null,"version":null,"openapi":"/api/v2/openapi.json post /accounts","href":"/api-reference/accounts/create-a-manual-account"},{"title":"List balance history","deprecated":null,"version":null,"openapi":"/api/v2/openapi.json get /accounts/balance-history","href":"/api-reference/accounts/list-balance-history"},{"title":"Get account","deprecated":null,"version":null,"openapi":"/api/v2/openapi.json get /accounts/{accountId}","href":"/api-reference/accounts/get-account"},{"title":"Delete a manual account","deprecated":null,"version":null,"openapi":"/api/v2/openapi.json delete /accounts/{accountId}","href":"/api-reference/accounts/delete-a-manual-account"},{"title":"Update a manual account","deprecated":null,"version":null,"openapi":"/api/v2/openapi.json patch /accounts/{accountId}","href":"/api-reference/accounts/update-a-manual-account"},{"title":"List account balance history","deprecated":null,"version":null,"openapi":"/api/v2/openapi.json get /accounts/{accountId}/balance-history","href":"/api-reference/accounts/list-account-balance-history"}]},{"group":"Investments","pages":[{"title":"List securities","deprecated":null,"version":null,"openapi":"/api/v2/openapi.json get /securities","href":"/api-reference/investments/list-securities"},{"title":"List holdings","deprecated":null,"version":null,"openapi":"/api/v2/openapi.json get /holdings","href":"/api-reference/investments/list-holdings"},{"title":"List investment transactions","deprecated":null,"version":null,"openapi":"/api/v2/openapi.json get /investment-transactions","href":"/api-reference/investments/list-investment-transactions"}]},{"group":"Transactions","pages":[{"title":"List transactions","deprecated":null,"version":null,"openapi":"/api/v2/openapi.json get /transactions","href":"/api-reference/transactions/list-transactions"},{"title":"Update a transaction","deprecated":null,"version":null,"openapi":"/api/v2/openapi.json patch /transactions/{id}","href":"/api-reference/transactions/update-a-transaction"},{"title":"Batch update transactions","deprecated":null,"version":null,"openapi":"/api/v2/openapi.json post /transactions/batch","href":"/api-reference/transactions/batch-update-transactions"}]},{"group":"Categories","pages":[{"title":"List categories","deprecated":null,"version":null,"openapi":"/api/v2/openapi.json get /categories","href":"/api-reference/categories/list-categories"},{"title":"Create a category","deprecated":null,"version":null,"openapi":"/api/v2/openapi.json post /categories","href":"/api-reference/categories/create-a-category"},{"title":"Batch update categories","deprecated":null,"version":null,"openapi":"/api/v2/openapi.json post /categories/batch","href":"/api-reference/categories/batch-update-categories"},{"title":"Delete a category","deprecated":null,"version":null,"openapi":"/api/v2/openapi.json delete /categories/{id}","href":"/api-reference/categories/delete-a-category"},{"title":"Update a category","deprecated":null,"version":null,"openapi":"/api/v2/openapi.json patch /categories/{id}","href":"/api-reference/categories/update-a-category"}]},{"group":"Category Groups","pages":[{"title":"List category groups","deprecated":null,"version":null,"openapi":"/api/v2/openapi.json get /category-groups","href":"/api-reference/category-groups/list-category-groups"},{"title":"Create a category group","deprecated":null,"version":null,"openapi":"/api/v2/openapi.json post /category-groups","href":"/api-reference/category-groups/create-a-category-group"},{"title":"Delete a category group","deprecated":null,"version":null,"openapi":"/api/v2/openapi.json delete /category-groups/{id}","href":"/api-reference/category-groups/delete-a-category-group"},{"title":"Update a category group","deprecated":null,"version":null,"openapi":"/api/v2/openapi.json patch /category-groups/{id}","href":"/api-reference/category-groups/update-a-category-group"}]},{"group":"Rules","pages":[{"title":"List transaction rules","deprecated":null,"version":null,"openapi":"/api/v2/openapi.json get /rules","href":"/api-reference/rules/list-transaction-rules"},{"title":"Create a transaction rule","deprecated":null,"version":null,"openapi":"/api/v2/openapi.json post /rules","href":"/api-reference/rules/create-a-transaction-rule"},{"title":"Run transaction rules","deprecated":null,"version":null,"openapi":"/api/v2/openapi.json post /rules/run","href":"/api-reference/rules/run-transaction-rules"},{"title":"Archive a transaction rule","deprecated":null,"version":null,"openapi":"/api/v2/openapi.json delete /rules/{ruleId}","href":"/api-reference/rules/archive-a-transaction-rule"},{"title":"Update a transaction rule","deprecated":null,"version":null,"openapi":"/api/v2/openapi.json patch /rules/{ruleId}","href":"/api-reference/rules/update-a-transaction-rule"}]},{"group":"Budgets","pages":[{"title":"List budget plans","deprecated":null,"version":null,"openapi":"/api/v2/openapi.json get /budget-plans","href":"/api-reference/budgets/list-budget-plans"},{"title":"Create a budget plan","deprecated":null,"version":null,"openapi":"/api/v2/openapi.json post /budget-plans","href":"/api-reference/budgets/create-a-budget-plan"},{"title":"Delete a budget plan","deprecated":null,"version":null,"openapi":"/api/v2/openapi.json delete /budget-plans/{id}","href":"/api-reference/budgets/delete-a-budget-plan"},{"title":"Update a budget plan","deprecated":null,"version":null,"openapi":"/api/v2/openapi.json patch /budget-plans/{id}","href":"/api-reference/budgets/update-a-budget-plan"},{"title":"List budgets","description":"Returns the budgets in one plan with each category or group name and its template amount. For what was planned, spent and is left in a month, call `GET /budgets/status`. `plan` is null until the first budget exists.","deprecated":null,"version":null,"openapi":"/api/v2/openapi.json get /budgets","href":"/api-reference/budgets/list-budgets"},{"title":"Set a budget","deprecated":null,"version":null,"openapi":"/api/v2/openapi.json post /budgets","href":"/api-reference/budgets/set-a-budget"},{"title":"Move money between budgets","description":"Move an amount between two budgets in the same plan for one month. Changes that month's planned amounts and leaves the template amounts alone. Send an `Idempotency-Key` so a retry doesn't move the money twice.","deprecated":null,"version":null,"openapi":"/api/v2/openapi.json post /budgets/reallocate","href":"/api-reference/budgets/move-money-between-budgets"},{"title":"Get budget status","deprecated":null,"version":null,"openapi":"/api/v2/openapi.json get /budgets/status","href":"/api-reference/budgets/get-budget-status"},{"title":"Delete a budget","deprecated":null,"version":null,"openapi":"/api/v2/openapi.json delete /budgets/{id}","href":"/api-reference/budgets/delete-a-budget"},{"title":"Update a budget","deprecated":null,"version":null,"openapi":"/api/v2/openapi.json patch /budgets/{id}","href":"/api-reference/budgets/update-a-budget"}]}]}]},{"tab":"MCP","icon":"plug","pages":[{"title":"MCP","href":"/mcp/overview"}]}]},"basePath":"","title":"Set a budget - Finta","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CS552b7R.js","utils-DDTCYAF2.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-De8ttokP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DrwRDvAh.js","snippetPresets-DtAN0nWx.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-D5rWArI6.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-O2i12wsz.js","shallow-DV8xABTt.js","getApiPlaygroundDisplay-DBZ0B5Jx.js","CodeSnippet-BVi0tPUX.js","CodeSnippets-CqASbIwY.js","Page-m07pfKpT.js","getPastedJson-DG9vsMS8.js","icon-CXzRSCr8.js","MethodPill-BdKVtEuX.js","DuplicateIcon-CZlmBrJI.js","createIcon-biFEUKPL.js","DynamicMarkdown-B54_zNBF.js","SectionHeading-DwwHK3Pt.js","axios-vUo_bRtp.js","Markdown-DfhCTwyA.js","clsx-xpJZXxdP.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BTZUMDnx.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-DqdKa2R4.js"]}