Update Breezing company accounting settings, including cost-basis method, balance sheet setup, and default fee, gain, and loss account mappings via the API.
Organization ID. Use GET /v1/companies to discover available org/company pairs.
Example:
"1"
companyId
string
required
Company ID. Use GET /v1/companies to discover available companies and their access levels.
Example:
"1"
Body
application/json
name
string
Company display name. Shown throughout Breezing and on exported reports/journals.
Required string length: 1 - 256
Example:
"Acme Corp"
accountingMethod
enum<string>
Cost-basis method used to compute realized net gain/loss when crypto is disposed:
• "fifo" = First In, First Out: the earliest-acquired units are treated as sold first.
• "average" = Weighted Average Cost (WAC): cost basis is the running average cost of all units held.
• "lifo" = Last In, First Out: the most recently-acquired units are treated as sold first.
• "hifo" = Highest In, First Out: the highest-cost units are treated as sold first.
Changing the method does NOT retroactively rewrite past figures; run an NGL recompute (POST /ngl/calculate) afterward to apply it.
Available options:
average,
fifo,
lifo,
hifo
Example:
"fifo"
balanceSheetSetup
enum<string>
Determines how crypto holdings are mapped to balance-sheet (asset) GL accounts:
• "token" = Token Based: one GL account per token, aggregated across all wallets (e.g. all ETH rolls into "Crypto Assets - ETH"). Token→account mappings are managed via PATCH /assets/{id}.
• "wallet" = Wallet Based: one GL account per custody location (wallet). Asset accounts are assigned per-transaction, typically automated with Rules.
• "wallet-token" = Wallet-Token Based: one GL account per wallet+token pair (e.g. "Treasury Wallet - ETH"). Assigned per-transaction, typically with multi-condition Rules.
"wallet" and "wallet-token" both require Rules to automate asset-account assignment.
Available options:
token,
wallet,
wallet-token
Example:
"wallet-token"
accountingIsPerWallet
boolean
Per-Wallet cost basis. When true, realized net gain/loss is computed separately per wallet (each wallet keeps its own cost-basis pool). When false, a token's holdings are pooled across all wallets for cost-basis purposes. Affects NGL only; recompute NGL (POST /ngl/calculate) after changing.
isControlAccount
boolean
Use Control Accounts. When true, internal transfers and exchange trades post to the assigned control (clearing) accounts instead of the asset accounts. When false, they post directly to the asset accounts.
isCompact
boolean
TomDeFi Mode. When true, advanced journal entries are generated in a compact, consolidated format (fewer lines). When false, journals use the standard expanded format.
xeroSyncJournalsAsPosted
boolean
Xero journal posting status. When true, manual journals synced to Xero are pushed as POSTED (final). When false (default), they are created as DRAFT for review in Xero before posting. Affects Xero sync (POST /xero/sync) only; has no effect on QuickBooks or Bexio.
feeAccount
string | null
Default GL account for on-chain gas / transaction fees. Provide an account CODE from the chart of accounts (call GET /company to list codes); the server resolves the code to its name and type automatically and stores the full mapping. Pass null to clear the mapping.
Maximum string length: 127
Example:
"33"
netGainAccount
string | null
Default GL account where realized NET GAINS are booked. Provide an account CODE from the chart of accounts; the server resolves it to name and type. Pass null to clear the mapping.
Maximum string length: 127
Example:
"80"
netLossAccount
string | null
Default GL account where realized NET LOSSES are booked. Provide an account CODE from the chart of accounts; the server resolves it to name and type. Often the same account as netGainAccount. Pass null to clear the mapping.
Maximum string length: 127
Example:
"80"
fiatFeeAccount
string | null
GL account for fees paid in a FIAT currency (bank charges, Stripe or exchange fees charged in EUR, USD and so on). Provide an account CODE from the chart of accounts. Null clears it, and fiat fees then post to feeAccount.
Maximum string length: 127
Example:
"6050"
fxGainAccount
string | null
GL account for GAINS on conversions between two fiat currencies (a bank wallet EUR to USD conversion), booked as FX Gain/Loss journal lines. Provide an account CODE. Null clears it, and such gains then post to netGainAccount.
Maximum string length: 127
Example:
"8200"
fxLossAccount
string | null
GL account for LOSSES on conversions between two fiat currencies. Provide an account CODE. Null clears it, and such losses then post to netLossAccount.
Maximum string length: 127
Example:
"8300"
apAccount
string | null
Accounts Payable account: what the company owes suppliers. An approved received invoice books its expense against it. Provide an account CODE. Null clears it, and approved invoices then post no journals. Cannot be cleared while apClearingAccount is set.
Maximum string length: 127
Example:
"2000"
apClearingAccount
string | null
AP Clearing account, needed by the QuickBooks bill payment loop only: transactions that pay an invoice are coded here and the bill payment is recorded from it (a Bank type account in QuickBooks). Provide an account CODE, or null to clear it. Rejected with 400 unless the company also has an apAccount.
Maximum string length: 127
Example:
"1250"
booksLockDate
string | null
Books Lock Date: the last locked day as yyyy-MM-dd (UTC), or null to unlock the books. A manual journal dated on or before it can no longer be posted, edited or voided, and the opening balances can no longer be replaced or removed. Only an Owner or a Manager of the company may move it: a key owned by an Editor gets 403.
Maximum string length: 10
Example:
"2026-09-30"
lockTransactions
boolean
When true, also lock every unlocked transaction dated on or before the books lock date (the one sent in this request, else the stored one) in a background task, whose id comes back as lockTaskId. A locked transaction dated in the locked period cannot be unlocked until the lock date moves back.
Example:
true
financialYearEndMonth
integer
Financial year end: the month the financial year ends in, 1 (January) to 12 (December, the calendar year); the year ends on the last day of that month. It moves the year and quarter period presets of the dashboard (new reports and the VAT Report). Existing reports keep their dates.
Required range: 1 <= x <= 12
Example:
6
fullAccounting
boolean
Full Accounting switch. Display only: true shows the fiat accounting screens in the dashboard (Invoices & Tax, Journals, the financial statement tabs, the fiat settings), false hides them unless the company already uses them. It never changes a figure and never limits this API.
Example:
true
accounts
object[]
Replace the whole chart of accounts with this list (the dashboard CSV upload). Every code the transactions, rules and default account mappings reference must still be present or those references stop resolving at sync time. The previous chart is kept as a version in GET /company/accounts/history, so a mistake can be restored by re-sending that version. On a company connected to Xero, QuickBooks or Bexio, prefer the accounts refresh endpoints, which pull the chart from the platform.
Maximum array length: 5000
Show child attributes
Response
Company updated successfully
success
enum<boolean>
required
Available options:
true
data
object
required
Show child attributes
Last modified on June 4, 2026
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Breezing","description":"Learn how to automate crypto accounting with Breezing. Guides for transaction imports, gain/loss calculations, and syncing to Xero and QuickBooks.","colors":{"primary":"#000000","light":"#404040","dark":"#ffffff"},"logo":{"light":"https://mintcdn.com/breezing/g-RNbnitJVfk_Ubf/logo/light.svg?fit=max\u0026auto=format\u0026n=g-RNbnitJVfk_Ubf\u0026q=85\u0026s=abbb1cfe820465ccf60b3702333db2fc","dark":"https://mintcdn.com/breezing/g-RNbnitJVfk_Ubf/logo/dark.svg?fit=max\u0026auto=format\u0026n=g-RNbnitJVfk_Ubf\u0026q=85\u0026s=0fb0fbca687fe5fefd1b625bf4a6505a","href":"https://learn.breezing.io/introduction"},"favicon":"https://mintcdn.com/breezing/f2Fla4ASx7XYIEmd/favicon.png?fit=max\u0026auto=format\u0026n=f2Fla4ASx7XYIEmd\u0026q=85\u0026s=79d89139ee210cb7334dc10beb17ec55","api":{},"navbar":{"links":[{"href":"https://breezing.io","label":"Website"}]},"footer":{"socials":{"x":"https://x.com/alwaysbreezing","linkedin":"https://www.linkedin.com/company/alwaysbreezing","youtube":"https://www.youtube.com/@alwaysbreezing"}},"seo":{"metatags":{"og:site_name":"Breezing Docs","twitter:card":"summary_large_image","twitter:site":"@alwaysbreezing"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"thumbnails":{"appearance":"dark","background":"https://mintlify.s3.us-west-1.amazonaws.com/breezing/%23000000"},"metadata":{"timestamp":true},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"breezing","hasAudioNarration":false,"actualSubdomain":"breezing","customDomains":["learn.breezing.io"],"gitSource":{"type":"github","owner":"breezing-sa","repo":"learn.breezing.io","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6b10bc6e9ffae5051c40337a"},"entitlements":{},"buildId":"6af79e589969237e62eaa10f","clientVersion":"0.0.4453","searchFilterCounts":[{"language":"default","tag":"API Reference","count":262},{"language":"default","tag":"Guides","count":37},{"language":"default","tag":"Transactions","count":25},{"language":"default","tag":"Invoices","count":16},{"language":"default","tag":"Features","count":16},{"language":"default","tag":"Xero","count":12},{"language":"default","tag":"Advanced Features","count":11},{"language":"default","tag":"Journals","count":10},{"language":"default","tag":"Reports","count":10},{"language":"default","tag":"Wallets","count":9}]},"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":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/company/update-company","slug":"/api-reference/company/update-company","pageMetadata":{"title":"Update Company API","description":"Update Breezing company accounting settings, including cost-basis method, balance sheet setup, and default fee, gain, and loss account mappings via the API.","openapi":"PATCH /company","href":"/api-reference/company/update-company"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Update Breezing company accounting settings, including cost-basis method, balance sheet setup, and default fee, gain, and loss account mappings via the API.\"\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":"Update Company API","description":"Update Breezing company accounting settings, including cost-basis method, balance sheet setup, and default fee, gain, and loss account mappings via the API.","openapi":"PATCH /company","href":"/api-reference/company/update-company"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Company"],"summary":"Update company accounting configuration","description":"Update Breezing company accounting settings, including cost-basis method, balance sheet setup, and default fee, gain, and loss account mappings via the API.","security":["cad1af46-7e30-4d69-8d4a-dfa9d8e0d1f4"],"parameters":["526e71ab-19ba-4c97-abce-30ffcd8535f2","10faf66d-cf40-48be-9f0e-1729afc1e515"],"requestBody":"0c682d83-cc8d-49f7-9578-a68803c4e00a","responses":{"200":"c286fbc4-5c28-4ae9-bd03-11bff1fa8816","400":"9cb2dd05-f3f1-4d12-99d7-9c9c642ff4b6","401":"3921ffc9-4c7f-4172-b2e7-65c2be7ae06b","403":"1cb5ea75-07f2-4532-a2b2-e338d98dd064","404":"4bb20057-74e6-41ec-a26e-c2b5646f8061","500":"3b835b42-322f-4b29-8da5-48131067758f"},"method":"patch","type":"path","servers":["cde9daeb-e347-4a4e-84db-ae690f56d503"],"path":"/company","baseUrlOptions":["https://api.breezing.io/v1"],"title":"Update company accounting configuration","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"526e71ab-19ba-4c97-abce-30ffcd8535f2":{"schema":{"type":"string","description":"Organization ID. Use GET /v1/companies to discover available org/company pairs.","example":"1","isRequired":true,"uniqueKey":"","typeLabel":"string"},"required":true,"description":"Organization ID. Use GET /v1/companies to discover available org/company pairs.","name":"orgId","in":"query"},"10faf66d-cf40-48be-9f0e-1729afc1e515":{"schema":{"type":"string","description":"Company ID. Use GET /v1/companies to discover available companies and their access levels.","example":"1","isRequired":true,"uniqueKey":"","typeLabel":"string"},"required":true,"description":"Company ID. Use GET /v1/companies to discover available companies and their access levels.","name":"companyId","in":"query"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":256,"description":"Company display name. Shown throughout Breezing and on exported reports/journals.","example":"Acme Corp","uniqueKey":"name","typeLabel":"string"},"accountingMethod":{"type":"string","enum":["average","fifo","lifo","hifo"],"description":"Cost-basis method used to compute realized net gain/loss when crypto is disposed:\n• \"fifo\" = First In, First Out: the earliest-acquired units are treated as sold first.\n• \"average\" = Weighted Average Cost (WAC): cost basis is the running average cost of all units held.\n• \"lifo\" = Last In, First Out: the most recently-acquired units are treated as sold first.\n• \"hifo\" = Highest In, First Out: the highest-cost units are treated as sold first.\nChanging the method does NOT retroactively rewrite past figures; run an NGL recompute (POST /ngl/calculate) afterward to apply it.","example":"fifo","uniqueKey":"accountingMethod","typeLabel":"enum\u003cstring>"},"balanceSheetSetup":{"type":"string","enum":["token","wallet","wallet-token"],"description":"Determines how crypto holdings are mapped to balance-sheet (asset) GL accounts:\n• \"token\" = Token Based: one GL account per token, aggregated across all wallets (e.g. all ETH rolls into \"Crypto Assets - ETH\"). Token→account mappings are managed via PATCH /assets/{id}.\n• \"wallet\" = Wallet Based: one GL account per custody location (wallet). Asset accounts are assigned per-transaction, typically automated with Rules.\n• \"wallet-token\" = Wallet-Token Based: one GL account per wallet+token pair (e.g. \"Treasury Wallet - ETH\"). Assigned per-transaction, typically with multi-condition Rules.\n\"wallet\" and \"wallet-token\" both require Rules to automate asset-account assignment.","example":"wallet-token","uniqueKey":"balanceSheetSetup","typeLabel":"enum\u003cstring>"},"accountingIsPerWallet":{"type":"boolean","description":"Per-Wallet cost basis. When true, realized net gain/loss is computed separately per wallet (each wallet keeps its own cost-basis pool). When false, a token's holdings are pooled across all wallets for cost-basis purposes. Affects NGL only; recompute NGL (POST /ngl/calculate) after changing.","uniqueKey":"accountingIsPerWallet","typeLabel":"boolean"},"isControlAccount":{"type":"boolean","description":"Use Control Accounts. When true, internal transfers and exchange trades post to the assigned control (clearing) accounts instead of the asset accounts. When false, they post directly to the asset accounts.","uniqueKey":"isControlAccount","typeLabel":"boolean"},"isCompact":{"type":"boolean","description":"TomDeFi Mode. When true, advanced journal entries are generated in a compact, consolidated format (fewer lines). When false, journals use the standard expanded format.","uniqueKey":"isCompact","typeLabel":"boolean"},"xeroSyncJournalsAsPosted":{"type":"boolean","description":"Xero journal posting status. When true, manual journals synced to Xero are pushed as POSTED (final). When false (default), they are created as DRAFT for review in Xero before posting. Affects Xero sync (POST /xero/sync) only; has no effect on QuickBooks or Bexio.","uniqueKey":"xeroSyncJournalsAsPosted","typeLabel":"boolean"},"feeAccount":{"oneOf":[{"type":"string","maxLength":127,"description":"Default GL account for on-chain gas / transaction fees. Provide an account CODE from the chart of accounts (call GET /company to list codes); the server resolves the code to its name and type automatically and stores the full mapping. Pass null to clear the mapping.","example":"33","uniqueKey":"feeAccount.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":127,"description":"Default GL account for on-chain gas / transaction fees. Provide an account CODE from the chart of accounts (call GET /company to list codes); the server resolves the code to its name and type automatically and stores the full mapping. Pass null to clear the mapping.","example":"33","uniqueKey":"feeAccount.oneOf.1","typeLabel":"null"}],"uniqueKey":"feeAccount","typeLabel":"string | null"},"netGainAccount":{"oneOf":[{"type":"string","maxLength":127,"description":"Default GL account where realized NET GAINS are booked. Provide an account CODE from the chart of accounts; the server resolves it to name and type. Pass null to clear the mapping.","example":"80","uniqueKey":"netGainAccount.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":127,"description":"Default GL account where realized NET GAINS are booked. Provide an account CODE from the chart of accounts; the server resolves it to name and type. Pass null to clear the mapping.","example":"80","uniqueKey":"netGainAccount.oneOf.1","typeLabel":"null"}],"uniqueKey":"netGainAccount","typeLabel":"string | null"},"netLossAccount":{"oneOf":[{"type":"string","maxLength":127,"description":"Default GL account where realized NET LOSSES are booked. Provide an account CODE from the chart of accounts; the server resolves it to name and type. Often the same account as netGainAccount. Pass null to clear the mapping.","example":"80","uniqueKey":"netLossAccount.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":127,"description":"Default GL account where realized NET LOSSES are booked. Provide an account CODE from the chart of accounts; the server resolves it to name and type. Often the same account as netGainAccount. Pass null to clear the mapping.","example":"80","uniqueKey":"netLossAccount.oneOf.1","typeLabel":"null"}],"uniqueKey":"netLossAccount","typeLabel":"string | null"},"fiatFeeAccount":{"oneOf":[{"type":"string","maxLength":127,"description":"GL account for fees paid in a FIAT currency (bank charges, Stripe or exchange fees charged in EUR, USD and so on). Provide an account CODE from the chart of accounts. Null clears it, and fiat fees then post to feeAccount.","example":"6050","uniqueKey":"fiatFeeAccount.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":127,"description":"GL account for fees paid in a FIAT currency (bank charges, Stripe or exchange fees charged in EUR, USD and so on). Provide an account CODE from the chart of accounts. Null clears it, and fiat fees then post to feeAccount.","example":"6050","uniqueKey":"fiatFeeAccount.oneOf.1","typeLabel":"null"}],"uniqueKey":"fiatFeeAccount","typeLabel":"string | null"},"fxGainAccount":{"oneOf":[{"type":"string","maxLength":127,"description":"GL account for GAINS on conversions between two fiat currencies (a bank wallet EUR to USD conversion), booked as FX Gain/Loss journal lines. Provide an account CODE. Null clears it, and such gains then post to netGainAccount.","example":"8200","uniqueKey":"fxGainAccount.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":127,"description":"GL account for GAINS on conversions between two fiat currencies (a bank wallet EUR to USD conversion), booked as FX Gain/Loss journal lines. Provide an account CODE. Null clears it, and such gains then post to netGainAccount.","example":"8200","uniqueKey":"fxGainAccount.oneOf.1","typeLabel":"null"}],"uniqueKey":"fxGainAccount","typeLabel":"string | null"},"fxLossAccount":{"oneOf":[{"type":"string","maxLength":127,"description":"GL account for LOSSES on conversions between two fiat currencies. Provide an account CODE. Null clears it, and such losses then post to netLossAccount.","example":"8300","uniqueKey":"fxLossAccount.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":127,"description":"GL account for LOSSES on conversions between two fiat currencies. Provide an account CODE. Null clears it, and such losses then post to netLossAccount.","example":"8300","uniqueKey":"fxLossAccount.oneOf.1","typeLabel":"null"}],"uniqueKey":"fxLossAccount","typeLabel":"string | null"},"apAccount":{"oneOf":[{"type":"string","maxLength":127,"description":"Accounts Payable account: what the company owes suppliers. An approved received invoice books its expense against it. Provide an account CODE. Null clears it, and approved invoices then post no journals. Cannot be cleared while apClearingAccount is set.","example":"2000","uniqueKey":"apAccount.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":127,"description":"Accounts Payable account: what the company owes suppliers. An approved received invoice books its expense against it. Provide an account CODE. Null clears it, and approved invoices then post no journals. Cannot be cleared while apClearingAccount is set.","example":"2000","uniqueKey":"apAccount.oneOf.1","typeLabel":"null"}],"uniqueKey":"apAccount","typeLabel":"string | null"},"apClearingAccount":{"oneOf":[{"type":"string","maxLength":127,"description":"AP Clearing account, needed by the QuickBooks bill payment loop only: transactions that pay an invoice are coded here and the bill payment is recorded from it (a Bank type account in QuickBooks). Provide an account CODE, or null to clear it. Rejected with 400 unless the company also has an apAccount.","example":"1250","uniqueKey":"apClearingAccount.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":127,"description":"AP Clearing account, needed by the QuickBooks bill payment loop only: transactions that pay an invoice are coded here and the bill payment is recorded from it (a Bank type account in QuickBooks). Provide an account CODE, or null to clear it. Rejected with 400 unless the company also has an apAccount.","example":"1250","uniqueKey":"apClearingAccount.oneOf.1","typeLabel":"null"}],"uniqueKey":"apClearingAccount","typeLabel":"string | null"},"booksLockDate":{"oneOf":[{"type":"string","maxLength":10,"description":"Books Lock Date: the last locked day as yyyy-MM-dd (UTC), or null to unlock the books. A manual journal dated on or before it can no longer be posted, edited or voided, and the opening balances can no longer be replaced or removed. Only an Owner or a Manager of the company may move it: a key owned by an Editor gets 403.","example":"2026-09-30","uniqueKey":"booksLockDate.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":10,"description":"Books Lock Date: the last locked day as yyyy-MM-dd (UTC), or null to unlock the books. A manual journal dated on or before it can no longer be posted, edited or voided, and the opening balances can no longer be replaced or removed. Only an Owner or a Manager of the company may move it: a key owned by an Editor gets 403.","example":"2026-09-30","uniqueKey":"booksLockDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"booksLockDate","typeLabel":"string | null"},"lockTransactions":{"type":"boolean","description":"When true, also lock every unlocked transaction dated on or before the books lock date (the one sent in this request, else the stored one) in a background task, whose id comes back as lockTaskId. A locked transaction dated in the locked period cannot be unlocked until the lock date moves back.","example":true,"uniqueKey":"lockTransactions","typeLabel":"boolean"},"financialYearEndMonth":{"type":"integer","minimum":1,"maximum":12,"description":"Financial year end: the month the financial year ends in, 1 (January) to 12 (December, the calendar year); the year ends on the last day of that month. It moves the year and quarter period presets of the dashboard (new reports and the VAT Report). Existing reports keep their dates.","example":6,"uniqueKey":"financialYearEndMonth","typeLabel":"integer"},"fullAccounting":{"type":"boolean","description":"Full Accounting switch. Display only: true shows the fiat accounting screens in the dashboard (Invoices \u0026 Tax, Journals, the financial statement tabs, the fiat settings), false hides them unless the company already uses them. It never changes a figure and never limits this API.","example":true,"uniqueKey":"fullAccounting","typeLabel":"boolean"},"accounts":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":127,"example":"6600","isRequired":true,"uniqueKey":"accounts.items.[INDEX].code","typeLabel":"string"},"name":{"type":"string","minLength":1,"maxLength":255,"example":"Transaction fees","isRequired":true,"uniqueKey":"accounts.items.[INDEX].name","typeLabel":"string"},"type":{"type":"string","maxLength":127,"default":"","example":"Expense","uniqueKey":"accounts.items.[INDEX].type","typeLabel":"string"}},"required":["code","name"],"uniqueKey":"accounts.items.[INDEX]","typeLabel":"object"},"maxItems":5000,"description":"Replace the whole chart of accounts with this list (the dashboard CSV upload). Every code the transactions, rules and default account mappings reference must still be present or those references stop resolving at sync time. The previous chart is kept as a version in GET /company/accounts/history, so a mistake can be restored by re-sending that version. On a company connected to Xero, QuickBooks or Bexio, prefer the accounts refresh endpoints, which pull the chart from the platform.","uniqueKey":"accounts","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"name":"Acme Corp","accountingMethod":"fifo","balanceSheetSetup":"wallet-token","accountingIsPerWallet":true,"isControlAccount":true,"isCompact":true,"xeroSyncJournalsAsPosted":true,"feeAccount":"33","netGainAccount":"80","netLossAccount":"80","fiatFeeAccount":"6050","fxGainAccount":"8200","fxLossAccount":"8300","apAccount":"2000","apClearingAccount":"1250","booksLockDate":"2026-09-30","lockTransactions":true,"financialYearEndMonth":6,"fullAccounting":true,"accounts":[{"code":"6600","name":"Transaction fees","type":"Expense"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"c286fbc4-5c28-4ae9-bd03-11bff1fa8816":{"description":"Company updated successfully","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true],"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"data":{"type":"object","properties":{"updated":{"type":"integer","isRequired":true,"uniqueKey":"data.updated","typeLabel":"integer"},"lockTaskId":{"oneOf":[{"type":"integer","description":"With lockTransactions: the task locking the transactions (GET /tasks), null when no unlocked transaction is dated in the locked period","uniqueKey":"data.lockTaskId.oneOf.0","typeLabel":"integer"},{"type":"null","description":"With lockTransactions: the task locking the transactions (GET /tasks), null when no unlocked transaction is dated in the locked period","uniqueKey":"data.lockTaskId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lockTaskId","typeLabel":"integer | null"}},"required":["updated"],"isRequired":true,"uniqueKey":"data","typeLabel":"object"}},"required":["success","data"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":true,"data":{"updated":123,"lockTaskId":123}}}},"exampleType":"generated"}},"exampleType":"generated"},"9cb2dd05-f3f1-4d12-99d7-9c9c642ff4b6":{"description":"Bad request: no fields supplied, an account code was not found in the chart of accounts, the company has no chart of accounts yet, the patch would leave an AP Clearing account without an Accounts Payable account, booksLockDate is not a real day, or financialYearEndMonth is not a whole number from 1 to 12","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"error":{"type":"object","properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["success","error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"error":{"code":"\u003cstring>","message":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"3921ffc9-4c7f-4172-b2e7-65c2be7ae06b":{"description":"Invalid or missing API key","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"error":{"type":"object","properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["success","error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"error":{"code":"\u003cstring>","message":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"1cb5ea75-07f2-4532-a2b2-e338d98dd064":{"description":"API key has no access to this company, has read-only access where write was required, or the company subscription is inactive","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"error":{"type":"object","properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["success","error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"error":{"code":"\u003cstring>","message":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"4bb20057-74e6-41ec-a26e-c2b5646f8061":{"description":"Company not found","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"error":{"type":"object","properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["success","error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"error":{"code":"\u003cstring>","message":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"3b835b42-322f-4b29-8da5-48131067758f":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"error":{"type":"object","properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["success","error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"error":{"code":"\u003cstring>","message":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"cad1af46-7e30-4d69-8d4a-dfa9d8e0d1f4":{"BearerAuth":{"$ref":"8d891313-3c8c-4363-8067-122dd5991f72","scopes":[]}}},"servers":{"cde9daeb-e347-4a4e-84db-ae690f56d503":{"url":"https://api.breezing.io/v1"}}},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"breezing","siteName":"Breezing","title":"Update Company API - Breezing","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-06-04T11:42:22.316Z","gitLastModified":"2026-06-04T11:42:01.000Z","originalFileLocation":"api-reference/company/update-company.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Update Breezing company accounting settings, including cost-basis method, balance sheet setup, and default fee, gain, and loss account mappings via the API.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Breezing\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/breezing/4mf9DXuhDCEkJCNt/_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/breezing/4mf9DXuhDCEkJCNt/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/breezing/4mf9DXuhDCEkJCNt/_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/breezing/4mf9DXuhDCEkJCNt/_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/breezing/4mf9DXuhDCEkJCNt/_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/breezing/4mf9DXuhDCEkJCNt/_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/breezing/4mf9DXuhDCEkJCNt/_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/breezing/4mf9DXuhDCEkJCNt/_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/breezing/4mf9DXuhDCEkJCNt/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update Company API - Breezing\">\u003cmeta data-mint-head property=\"og:description\" content=\"Update Breezing company accounting settings, including cost-basis method, balance sheet setup, and default fee, gain, and loss account mappings via the API.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Breezing Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://learn.breezing.io/api-reference/company/update-company\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://breezing.mintlify.site/_mintlify/api/og/v2?division=Company\u0026amp;title=Update+Company+API\u0026amp;description=Update+Breezing+company+accounting+settings%2C+including+cost-basis+method%2C+balance+sheet+setup%2C+and+default+fee%2C+gain%2C+and+loss+account+mappings+via+the+API.\u0026amp;theme=53793823bbbc091cd744f241\u0026amp;signature=2f5808e49fe987da959d7574564e6c197a19307e8be9e78eae69ae56af8b33d3\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Update Company API - Breezing\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Update Breezing company accounting settings, including cost-basis method, balance sheet setup, and default fee, gain, and loss account mappings via the API.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://breezing.mintlify.site/_mintlify/api/og/v2?division=Company\u0026amp;title=Update+Company+API\u0026amp;description=Update+Breezing+company+accounting+settings%2C+including+cost-basis+method%2C+balance+sheet+setup%2C+and+default+fee%2C+gain%2C+and+loss+account+mappings+via+the+API.\u0026amp;theme=53793823bbbc091cd744f241\u0026amp;signature=2f5808e49fe987da959d7574564e6c197a19307e8be9e78eae69ae56af8b33d3\">\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/breezing/4mf9DXuhDCEkJCNt/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Breezing\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#000000\">\u003clink data-mint-head rel=\"canonical\" href=\"https://learn.breezing.io/api-reference/company/update-company\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/company/update-company.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://learn.breezing.io/#organization\",\"name\":\"Breezing\",\"url\":\"https://learn.breezing.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/breezing/g-RNbnitJVfk_Ubf/logo/light.svg?fit=max\u0026auto=format\u0026n=g-RNbnitJVfk_Ubf\u0026q=85\u0026s=abbb1cfe820465ccf60b3702333db2fc\"}},{\"@type\":\"WebSite\",\"@id\":\"https://learn.breezing.io#website\",\"name\":\"Breezing\",\"url\":\"https://learn.breezing.io\",\"publisher\":{\"@id\":\"https://learn.breezing.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://learn.breezing.io/api-reference/company/update-company#webpage\",\"url\":\"https://learn.breezing.io/api-reference/company/update-company\",\"name\":\"Update Company API\",\"description\":\"Update Breezing company accounting settings, including cost-basis method, balance sheet setup, and default fee, gain, and loss account mappings via the API.\",\"dateModified\":\"2026-06-04T11:42:01.000Z\",\"isPartOf\":{\"@id\":\"https://learn.breezing.io#website\"},\"breadcrumb\":{\"@id\":\"https://learn.breezing.io/api-reference/company/update-company#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://learn.breezing.io/api-reference/company/update-company#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://learn.breezing.io/api-reference/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Company\",\"item\":\"https://learn.breezing.io/api-reference/company/get-company\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Update Company API\",\"item\":\"https://learn.breezing.io/api-reference/company/update-company\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://learn.breezing.io/api-reference/company/update-company#apireference\",\"headline\":\"Update Company API\",\"name\":\"Update Company API\",\"description\":\"Update Breezing company accounting settings, including cost-basis method, balance sheet setup, and default fee, gain, and loss account mappings via the API.\",\"url\":\"https://learn.breezing.io/api-reference/company/update-company\",\"mainEntityOfPage\":{\"@id\":\"https://learn.breezing.io/api-reference/company/update-company#webpage\"},\"dateModified\":\"2026-06-04T11:42:01.000Z\",\"publisher\":{\"@id\":\"https://learn.breezing.io/#organization\"},\"isPartOf\":{\"@id\":\"https://learn.breezing.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Breezing\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Breezing\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/company/update-company.md","siteName":"Breezing","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"API Reference","pages":[{"title":"Breezing API Reference","href":"/api-reference/introduction"},{"group":"Companies","pages":[{"title":"List Companies API","openapi":"GET /companies","href":"/api-reference/companies/list-companies"}]},{"group":"Company","pages":[{"title":"Get Company API","description":"Retrieve Breezing company accounting settings, chart of accounts, currency, and integration status for crypto accounting workflows.","openapi":"GET /company","href":"/api-reference/company/get-company"},{"title":"Update Company API","openapi":"PATCH /company","href":"/api-reference/company/update-company"},{"title":"Get Chart of Accounts History API","description":"Retrieve every version of a Breezing company's chart of accounts, with the chart before and after each change, to audit edits or restore one.","openapi":"GET /company/accounts/history","href":"/api-reference/company/get-chart-of-accounts-history"}]},{"group":"Chart of Accounts","pages":[{"title":"List Chart of Accounts API","openapi":"GET /accounts","href":"/api-reference/accounts/list-accounts"},{"title":"Add Chart Accounts API","openapi":"POST /accounts","href":"/api-reference/accounts/create-accounts"},{"title":"Update Chart Account API","openapi":"PATCH /accounts/{code}","href":"/api-reference/accounts/update-account"}]},{"group":"Transactions","pages":[{"title":"Count Transactions API","openapi":"GET /transactions/count","href":"/api-reference/transactions/count-transactions"},{"title":"List Transactions API","openapi":"GET /transactions","href":"/api-reference/transactions/list-transactions"},{"title":"Get Transaction API","openapi":"GET /transactions/{id}","href":"/api-reference/transactions/get-transaction"},{"title":"Get Transaction History API","openapi":"GET /transactions/{id}/history","href":"/api-reference/transactions/get-transaction-history"},{"title":"Create Transactions API","openapi":"POST /transactions","href":"/api-reference/transactions/create-transactions"},{"title":"Update Transaction API","openapi":"PATCH /transactions/{id}","href":"/api-reference/transactions/update-transaction"},{"title":"Batch Update Transactions API","openapi":"PATCH /transactions","href":"/api-reference/transactions/batch-update-transactions"},{"title":"Bulk Update Transactions API","openapi":"POST /transactions/bulk-update","href":"/api-reference/transactions/bulk-update-transactions"},{"title":"Group Internal Transactions API","openapi":"POST /transactions/group-internals","href":"/api-reference/transactions/group-internals"},{"title":"Detect Internal Transfers API","openapi":"POST /transactions/detect-internals","href":"/api-reference/transactions/detect-internals"},{"title":"Group Transactions Into Trades API","openapi":"POST /transactions/group-trades","href":"/api-reference/transactions/group-trades"},{"title":"Ungroup Trades API","openapi":"POST /transactions/ungroup-trades","href":"/api-reference/transactions/ungroup-trades"},{"title":"Consolidate Transactions API","openapi":"POST /transactions/roll-up","href":"/api-reference/transactions/roll-up"},{"title":"Update Token Prices API","openapi":"POST /transactions/update-price-auto","href":"/api-reference/transactions/update-price-auto"},{"title":"Bulk Update Price Auto API","openapi":"POST /transactions/bulk-update-price-auto","href":"/api-reference/transactions/bulk-update-price-auto"},{"title":"Update Price Manual API","openapi":"POST /transactions/update-price-manual","href":"/api-reference/transactions/update-price-manual"},{"title":"Lock Transactions API","openapi":"POST /transactions/lock","href":"/api-reference/transactions/lock-transactions"},{"title":"Unlock Transactions API","openapi":"POST /transactions/unlock","href":"/api-reference/transactions/unlock-transactions"},{"title":"Bulk Lock Transactions API","openapi":"POST /transactions/bulk-lock","href":"/api-reference/transactions/bulk-lock-transactions"},{"title":"Bulk Unlock Transactions API","openapi":"POST /transactions/bulk-unlock","href":"/api-reference/transactions/bulk-unlock-transactions"},{"title":"Export Journals API","openapi":"POST /transactions/export-journals","href":"/api-reference/transactions/export-journals"},{"title":"List Transaction Attachments API","openapi":"GET /transactions/{id}/attachments","href":"/api-reference/transactions/list-transaction-attachments"},{"title":"Get Attachment Download Link API","openapi":"GET /transactions/{id}/attachments/{attachmentId}/download","href":"/api-reference/transactions/get-attachment-download-link"},{"title":"Create Attachment Upload Link API","openapi":"POST /transactions/{id}/attachments/upload-link","href":"/api-reference/transactions/create-attachment-upload-link"},{"title":"Register Transaction Attachment API","openapi":"POST /transactions/{id}/attachments","href":"/api-reference/transactions/register-transaction-attachment"}]},{"group":"Wallets","pages":[{"title":"List Wallets API","openapi":"GET /wallets","href":"/api-reference/wallets/list-wallets"},{"title":"Get Wallet API","openapi":"GET /wallets/{id}","href":"/api-reference/wallets/get-wallet"},{"title":"Create Wallet API","openapi":"POST /wallets","href":"/api-reference/wallets/create-wallet"},{"title":"Update Wallet API","openapi":"PATCH /wallets/{id}","href":"/api-reference/wallets/update-wallet"},{"title":"Sync Wallet API","openapi":"POST /wallets/{id}/sync","href":"/api-reference/wallets/sync-wallet"},{"title":"Wallet Integrity Check API","openapi":"POST /wallets/{id}/integrity-check","href":"/api-reference/wallets/start-integrity-check"},{"title":"List Wallet Verification API","openapi":"GET /wallets/verification","href":"/api-reference/wallets/list-wallet-verification"},{"title":"Get Wallet Verification History API","openapi":"GET /wallets/{id}/verification-history","href":"/api-reference/wallets/get-wallet-verification-history"},{"title":"Attest Wallet Balances API","openapi":"POST /wallets/{id}/attest","href":"/api-reference/wallets/attest-wallet"}]},{"group":"Assets","pages":[{"title":"List Assets API","openapi":"GET /assets","href":"/api-reference/assets/list-assets"},{"title":"Update Asset API","openapi":"PATCH /assets/{id}","href":"/api-reference/assets/update-asset"}]},{"group":"Balances","pages":[{"title":"Get Balances API","openapi":"GET /balances","href":"/api-reference/balances/get-balances"},{"title":"Calculate Balances API","openapi":"POST /balances/calculate","href":"/api-reference/balances/calculate-balances"}]},{"group":"Contacts","pages":[{"title":"List Contacts API","openapi":"GET /contacts","href":"/api-reference/contacts/list-contacts"},{"title":"Get Contact API","openapi":"GET /contacts/{id}","href":"/api-reference/contacts/get-contact"},{"title":"Create Contact API","openapi":"POST /contacts","href":"/api-reference/contacts/create-contact"},{"title":"Update Contact API","openapi":"PATCH /contacts/{id}","href":"/api-reference/contacts/update-contact"}]},{"group":"Active Issues","pages":[{"title":"Get Active Issues API","openapi":"GET /active-issues","href":"/api-reference/active-issues/get-active-issues"},{"title":"Refresh Active Issues API","openapi":"POST /active-issues/refresh","href":"/api-reference/active-issues/refresh-active-issues"}]},{"group":"Reports","pages":[{"title":"List Reports API","openapi":"GET /reports","href":"/api-reference/reports/list-reports"},{"title":"Get Report API","openapi":"GET /reports/{id}","href":"/api-reference/reports/get-report"},{"title":"Get Report Details API","openapi":"GET /reports/{id}/details","href":"/api-reference/reports/get-report-details"},{"title":"Get Report Ledger API","openapi":"GET /reports/{id}/ledger","href":"/api-reference/reports/get-report-ledger"},{"title":"Get Aged Payables API","openapi":"GET /reports/{id}/aged-payables","href":"/api-reference/reports/get-aged-payables"},{"title":"Get Aged Receivables API","openapi":"GET /reports/{id}/aged-receivables","href":"/api-reference/reports/get-aged-receivables"},{"title":"Create Token Report API","openapi":"POST /reports/token","href":"/api-reference/reports/create-token-report"},{"title":"Create Account Report API","openapi":"POST /reports/account","href":"/api-reference/reports/create-account-report"},{"title":"Create Explorer Balances Report API","openapi":"POST /reports/explorer-balances","href":"/api-reference/reports/create-explorer-balances-report"},{"title":"Regenerate Report API","openapi":"POST /reports/{id}/regenerate","href":"/api-reference/reports/regenerate-report"}]},{"group":"Rules","pages":[{"title":"List Rules API","openapi":"GET /rules","href":"/api-reference/rules/list-rules"},{"title":"Get Rule API","openapi":"GET /rules/{id}","href":"/api-reference/rules/get-rule"},{"title":"Create Rule API","openapi":"POST /rules","href":"/api-reference/rules/create-rule"},{"title":"Update Rule API","openapi":"PATCH /rules/{id}","href":"/api-reference/rules/update-rule"},{"title":"Apply Rules API","openapi":"POST /rules/apply","href":"/api-reference/rules/apply-rules"}]},{"group":"Tasks","pages":[{"title":"List Tasks API","openapi":"GET /tasks","href":"/api-reference/tasks/list-tasks"}]},{"group":"Gain/Loss","pages":[{"title":"Calculate Net Gain/Loss API","openapi":"POST /ngl/calculate","href":"/api-reference/ngl/calculate-ngl"}]},{"group":"Invoices","pages":[{"title":"List Invoices API","openapi":"GET /invoices","href":"/api-reference/invoices/list-invoices"},{"title":"Get Invoice API","openapi":"GET /invoices/{id}","href":"/api-reference/invoices/get-invoice"},{"title":"Update Invoice API","openapi":"PATCH /invoices/{id}","href":"/api-reference/invoices/update-invoice"},{"title":"Create Invoice Upload Links API","openapi":"POST /invoices/upload-links","href":"/api-reference/invoices/create-invoice-upload-links"},{"title":"Register Invoices API","openapi":"POST /invoices","href":"/api-reference/invoices/register-invoices"},{"title":"Rescan Invoice API","openapi":"POST /invoices/{id}/rescan","href":"/api-reference/invoices/rescan-invoice"},{"title":"Approve Invoices API","openapi":"POST /invoices/approve","href":"/api-reference/invoices/approve-invoices"},{"title":"Unapprove Invoice API","openapi":"POST /invoices/{id}/unapprove","href":"/api-reference/invoices/unapprove-invoice"},{"title":"Suggest Invoice Matches API","openapi":"GET /invoices/{id}/suggested-matches","href":"/api-reference/invoices/suggest-invoice-matches"},{"title":"List Transaction Invoices API","openapi":"GET /transactions/{id}/invoices","href":"/api-reference/invoices/list-transaction-invoices"},{"title":"Match Invoice Payment API","openapi":"POST /invoices/{id}/match","href":"/api-reference/invoices/match-invoice-payment"},{"title":"Unmatch Invoice Payment API","openapi":"POST /invoices/{id}/unmatch","href":"/api-reference/invoices/unmatch-invoice-payment"},{"title":"Apply Invoice Coding API","openapi":"POST /invoices/{id}/apply-coding","href":"/api-reference/invoices/apply-invoice-coding"},{"title":"Publish Invoice API","openapi":"POST /invoices/{id}/publish","href":"/api-reference/invoices/publish-invoice"},{"title":"Unpublish Invoice API","openapi":"POST /invoices/{id}/unpublish","href":"/api-reference/invoices/unpublish-invoice"},{"title":"Record Invoice Payment API","openapi":"POST /invoices/{id}/record-payment","href":"/api-reference/invoices/record-invoice-payment"}]},{"group":"Issued Invoices","pages":[{"title":"List Issued Invoices API","openapi":"GET /sales-invoices","href":"/api-reference/sales-invoices/list-issued-invoices"},{"title":"Get Issued Invoice API","openapi":"GET /sales-invoices/{id}","href":"/api-reference/sales-invoices/get-issued-invoice"},{"title":"Create Issued Invoice API","openapi":"POST /sales-invoices","href":"/api-reference/sales-invoices/create-issued-invoice"},{"title":"Update Issued Invoice API","openapi":"PATCH /sales-invoices/{id}","href":"/api-reference/sales-invoices/update-issued-invoice"},{"title":"Match Issued Invoice Payment API","openapi":"POST /sales-invoices/{id}/match","href":"/api-reference/sales-invoices/match-issued-invoice-payment"},{"title":"Unmatch Issued Invoice Payment API","openapi":"POST /sales-invoices/{id}/unmatch","href":"/api-reference/sales-invoices/unmatch-issued-invoice-payment"}]},{"group":"Journals","pages":[{"title":"List Journals API","openapi":"GET /journals","href":"/api-reference/journals/list-journals"},{"title":"Get Journal API","openapi":"GET /journals/{id}","href":"/api-reference/journals/get-journal"},{"title":"Create Journal API","openapi":"POST /journals","href":"/api-reference/journals/create-journal"},{"title":"Update Journal API","openapi":"PATCH /journals/{id}","href":"/api-reference/journals/update-journal"},{"title":"Post Journal API","openapi":"POST /journals/{id}/post","href":"/api-reference/journals/post-journal"},{"title":"Void Journal API","openapi":"POST /journals/{id}/void","href":"/api-reference/journals/void-journal"},{"title":"Discard Journal API","openapi":"POST /journals/{id}/discard","href":"/api-reference/journals/discard-journal"},{"title":"Create Journal Attachment Links API","openapi":"POST /journals/{id}/attachment-links","href":"/api-reference/journals/create-journal-attachment-links"},{"title":"Attach Journal Files API","openapi":"POST /journals/{id}/attachments","href":"/api-reference/journals/attach-journal-files"},{"title":"List Journal Attachments API","openapi":"GET /journals/{id}/attachments","href":"/api-reference/journals/list-journal-attachments"}]},{"group":"Tax Rates","pages":[{"title":"List Tax Rates API","openapi":"GET /taxes","href":"/api-reference/taxes/list-tax-rates"},{"title":"Get Tax Rate API","openapi":"GET /taxes/{id}","href":"/api-reference/taxes/get-tax-rate"},{"title":"Create Tax Rate API","openapi":"POST /taxes","href":"/api-reference/taxes/create-tax-rate"},{"title":"Update Tax Rate API","openapi":"PATCH /taxes/{id}","href":"/api-reference/taxes/update-tax-rate"}]},{"group":"VAT Report","pages":[{"title":"Get VAT Report API","openapi":"GET /vat-report","href":"/api-reference/vat-report/get-vat-report"},{"title":"List VAT Report Transactions API","openapi":"GET /vat-report/transactions","href":"/api-reference/vat-report/list-vat-report-transactions"},{"title":"List VAT Report Documents API","openapi":"GET /vat-report/documents","href":"/api-reference/vat-report/list-vat-report-documents"}]},{"group":"Record History","pages":[{"title":"Get Record History API","openapi":"GET /record-history","href":"/api-reference/record-history/get-record-history"}]},{"group":"Xero","pages":[{"title":"Refresh Xero Accounts API","openapi":"POST /xero/accounts/refresh","href":"/api-reference/xero/refresh-xero-accounts"},{"title":"Refresh Xero Tracking Categories API","openapi":"POST /xero/categories/refresh","href":"/api-reference/xero/refresh-xero-categories"},{"title":"Refresh Xero Invoices API","openapi":"POST /xero/invoices/refresh","href":"/api-reference/xero/refresh-xero-invoices"},{"title":"Create Xero Account API","openapi":"POST /xero/accounts","href":"/api-reference/xero/create-xero-account"},{"title":"Update Xero Account API","openapi":"PATCH /xero/accounts/{code}","href":"/api-reference/xero/update-xero-account"},{"title":"List Xero Payments API","openapi":"GET /xero/payments","href":"/api-reference/xero/list-xero-payments"},{"title":"Submit Xero Payment API","openapi":"POST /xero/payments","href":"/api-reference/xero/submit-xero-payment"},{"title":"Submit Xero Gain/Loss Journal API","openapi":"POST /xero/ngl","href":"/api-reference/xero/submit-xero-ngl"},{"title":"Sync to Xero API","openapi":"POST /xero/sync","href":"/api-reference/xero/sync-xero"},{"title":"Unsync Xero API","openapi":"POST /xero/unsync","href":"/api-reference/xero/unsync-xero"},{"title":"Find Xero Duplicates API","openapi":"POST /xero/find-duplicates","href":"/api-reference/xero/find-xero-duplicates"},{"title":"Add Xero Journal Attachment API","openapi":"POST /xero/journal-attachments","href":"/api-reference/xero/add-xero-journal-attachment"}]},{"group":"QuickBooks","pages":[{"title":"Refresh QuickBooks Accounts API","openapi":"POST /qbo/accounts/refresh","href":"/api-reference/qbo/refresh-qbo-accounts"},{"title":"Refresh QuickBooks Classes API","openapi":"POST /qbo/classes/refresh","href":"/api-reference/qbo/refresh-qbo-classes"},{"title":"Refresh QuickBooks Entities API","openapi":"POST /qbo/entities/refresh","href":"/api-reference/qbo/refresh-qbo-entities"},{"title":"Create QuickBooks Account API","openapi":"POST /qbo/accounts","href":"/api-reference/qbo/create-qbo-account"},{"title":"Update QuickBooks Account API","openapi":"PATCH /qbo/accounts/{code}","href":"/api-reference/qbo/update-qbo-account"},{"title":"Sync to QuickBooks API","openapi":"POST /qbo/sync","href":"/api-reference/qbo/sync-qbo"},{"title":"Unsync QuickBooks API","openapi":"POST /qbo/unsync","href":"/api-reference/qbo/unsync-qbo"},{"title":"Find QuickBooks Duplicates API","openapi":"POST /qbo/find-duplicates","href":"/api-reference/qbo/find-qbo-duplicates"}]},{"group":"Bexio","pages":[{"title":"Refresh Bexio Accounts API","openapi":"POST /bexio/accounts/refresh","href":"/api-reference/bexio/refresh-bexio-accounts"},{"title":"Sync to Bexio API","openapi":"POST /bexio/sync","href":"/api-reference/bexio/sync-bexio"}]}]}]},{"tab":"MCP","pages":[{"title":"MCP","href":"/mcp/introduction"}]}]},"basePath":"","title":"Update Company API - Breezing","deploymentId":"dpl_BLZw3QngerHodH9E8mGgC4v752y3","buildId":"dpl_BLZw3QngerHodH9E8mGgC4v752y3","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CaRkHcld.js","snippetPresets-CbOVSLWB.js","utils-cjri0g4r.js","style-to-object-BY3JEAdk.js","utils-DINdUa17.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-B6z-PJGf.js","conditional-requirements-CFM0id0Q.js","cloneDeep-BldndzCM.js","_Uint8Array-BFUkDgJK.js","isObject-FP1Yky1u.js","ApiExamples-gah5G0c1.js","usePlaygroundInputsStore-DMbftGRK.js","shallow-BPuQ-dV8.js","isEqual-Du6c450V.js","CodeSnippets-BSVM0Ibi.js","CodeSnippet-BtGQRZnK.js","use-playground-group-access-98JyaSW7.js","Page-DuvGhd6e.js","api-description-markdown-ja0XM5Ae.js","DynamicMarkdown-DgKZ4_wp.js","SectionHeading-S4Jc_qPe.js","MethodPill-HIsDH_bI.js","getPastedJson-BKEmMYEO.js","Check2Icon-CRFAnWm9.js","axios-CsQoIw0U.js","Markdown-CexXCNoj.js","AssistantPageLink-C2AZnMAs.js","dist-CjxLTLs9.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}