{
"error": {
"code": "UNAUTHORIZED",
"message": "Invalid or expired API Key",
"request_id": "req_example",
"suggested_action": "Send an API key in X-API-Key, or an OAuth access token as Authorization: Bearer. Refresh an expired access token.",
"documentation_url": "https://entendre.ai/docs/get-started/authentication"
}
}
{
"error": {
"code": "CONFLICT",
"message": "The journal is not posted, or its accounting period is closed. No unpost is performed.",
"request_id": "req_example"
}
}
{
"error": {
"code": "EXTERNAL_SERVICE_ERROR",
"message": "The ERP copy could not be removed. The journal remains posted; check its sync state before retrying.",
"request_id": "req_example"
}
}
{
"error": {
"code": "UNAUTHORIZED",
"message": "Invalid or expired API Key",
"request_id": "req_example",
"suggested_action": "Send an API key in X-API-Key, or an OAuth access token as Authorization: Bearer. Refresh an expired access token.",
"documentation_url": "https://entendre.ai/docs/get-started/authentication"
}
}
{
"error": {
"code": "CONFLICT",
"message": "The journal is not posted, or its accounting period is closed. No unpost is performed.",
"request_id": "req_example"
}
}
{
"error": {
"code": "EXTERNAL_SERVICE_ERROR",
"message": "The ERP copy could not be removed. The journal remains posted; check its sync state before retrying.",
"request_id": "req_example"
}
}
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Entendre Docs","description":"Documentation for the Entendre Unified API and MCP server: accounting, treasury and documents for crypto and fiat finance teams.","colors":{"primary":"#6366F1","light":"#818CF8","dark":"#4F46E5"},"logo":{"light":"https://mintcdn.com/entendre/iLG_yPYNFEzW9piO/logo.svg?fit=max\u0026auto=format\u0026n=iLG_yPYNFEzW9piO\u0026q=85\u0026s=e7ab9f91191f7aa74918c227c0675fc6","dark":"https://mintcdn.com/entendre/iLG_yPYNFEzW9piO/logo.svg?fit=max\u0026auto=format\u0026n=iLG_yPYNFEzW9piO\u0026q=85\u0026s=e7ab9f91191f7aa74918c227c0675fc6"},"favicon":"https://mintcdn.com/entendre/4Vx5A6rF_dhHssvv/favicon.ico?fit=max\u0026auto=format\u0026n=4Vx5A6rF_dhHssvv\u0026q=85\u0026s=35f0090147c1f9afbde9638b91c7cd74","api":{"params":{"expanded":"closed"},"playground":{"display":"simple"},"examples":{"defaults":"required","languages":["bash","javascript","python"],"prefill":true}},"navbar":{"primary":{"type":"button","label":"Sign in","href":"https://app.entendre.finance"}},"footer":{"socials":{"x":"https://x.com/entendreai","website":"https://entendre.ai"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"entendre","hasAudioNarration":false,"actualSubdomain":"entendre","customDomains":["entendre.ai"],"gitSource":{"type":"github","owner":"entendrefinance","repo":"monorepo","deployBranch":"master","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af4a1deb7449631187b152a","clientVersion":"0.0.4111","searchFilterCounts":[{"language":"default","tag":"API Reference","count":123},{"language":"default","tag":"Core","count":41},{"language":"default","tag":"Accounting","count":26},{"language":"default","tag":"Agents","count":19},{"language":"default","tag":"Firms","count":17},{"language":"default","tag":"Integrations","count":16},{"language":"default","tag":"Cash Application","count":10},{"language":"default","tag":"GL Mapping","count":10},{"language":"default","tag":"Reporting","count":10},{"language":"default","tag":"Journals","count":9}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"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":"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":"editor-metadata","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},{"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}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".entendre-body-collapsed>:not(.api-section-heading){display:none}.entendre-body-toggle{margin-left:0.75rem;padding:0.25rem 0.5rem;border:1px solid currentColor;border-radius:0.375rem;background:transparent;color:inherit;font:inherit;font-size:0.75rem;cursor:pointer;white-space:nowrap}.entendre-body-toggle:focus-visible{outline:2px solid currentColor;outline-offset:3px}#topbar-cta-button svg{display:none}#topbar-cta-button a{padding-right:0.75rem}"}],"page":{"pagePath":"api-reference/core/journals/unpost-journal","slug":"/api-reference/core/journals/unpost-journal","pageMetadata":{"authority":"canonical","as-of":"2026-10-24T00:00:00.000Z","owner":"amr","title":"Unpost journal","description":"Removes a posted journal from the ledger so that you can correct or reclassify it.","openapi":"openapi-public-preview.json POST /v1/journal-entries/{journal_id}/unpost","href":"/api-reference/core/journals/unpost-journal"},"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: \"Removes a posted journal from the ledger so that you can correct or reclassify it.\"\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,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={p:`p`,..._provideComponents(),...props.components},{Warning}=_components;if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Warning,{children:`For a synced or imported journal, Entendre unposts the journal only after it removes the ERP copy.`}),`\n`,_jsx(_components.p,{children:`The transactions of the journal are detached. The accounting period must be open. Reversed journals cannot be unposted.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"authority":"canonical","as-of":"2026-10-24T00:00:00.000Z","owner":"amr","title":"Unpost journal","description":"Removes a posted journal from the ledger so that you can correct or reclassify it.","openapi":"openapi-public-preview.json POST /v1/journal-entries/{journal_id}/unpost","href":"/api-reference/core/journals/unpost-journal"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/entendre/f23b26253e1cc75d/request-body.js"],"openApiReferenceData":{"operation":{"operationId":"unpost_journal","summary":"Unpost journal","description":"Removes a posted journal from the ledger so that you can correct or reclassify it.","tags":["Journals"],"parameters":["015f4b17-9a2b-497b-94e2-f8e49fd531e5","c7d78d22-b2c4-4b90-8846-13cfea16026f"],"responses":{"200":"6d87ef95-9940-4e20-9719-4abbf1b2f87b","400":"6f37c8b4-2161-4254-b3f8-1511e6c2a56d","401":"40f707c8-e5b9-4739-9d1e-8555c280e15b","403":"63dad550-e4a9-4c74-b82e-6f0d4bdb7ce9","404":"c228862f-7382-40a1-afce-c1566df7e13e","409":"9d5cf084-5332-4378-8bf9-4993e9952afa","429":"a337e29f-c5c3-4861-8e42-b7861d614e61","500":"b181a6fe-7d6d-4866-ba21-033f79d7343d","502":"bd2fa90b-3f41-4226-87e7-37c1befd246f","503":"000e8a81-1bf4-45fb-8b24-632138c1bc5e"},"x-product":"Core","x-access-class":"write","requestBody":"8eb6d820-619e-4e5e-a268-d80dd88b441e","method":"post","type":"path","servers":["9e59403a-73c1-494e-9818-59dd36bdbfad"],"security":["1fe0c3f6-35d9-41d2-ac91-13356ced44bb"],"path":"/v1/journal-entries/{journal_id}/unpost","baseUrlOptions":["https://api.entendre.finance"],"title":"Unpost journal","codeSamples":[],"requestExampleLanguages":["bash","javascript","python"],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[{}]},"dependencies":{"parameters":{"015f4b17-9a2b-497b-94e2-f8e49fd531e5":{"name":"journal_id","in":"path","required":true,"description":"ID of the journal.","schema":{"type":"string","minLength":1,"isRequired":true,"description":"ID of the journal.","uniqueKey":"","typeLabel":"string"},"example":"je_507f1f77bcf86cd799439011"},"c7d78d22-b2c4-4b90-8846-13cfea16026f":{"name":"Idempotency-Key","in":"header","required":true,"description":"Unique key for this operation. Retry with the same key and request body after a timeout. Keys are retained for at least 24 hours.","schema":{"type":"string","minLength":1,"maxLength":255,"isRequired":true,"description":"Unique key for this operation. Retry with the same key and request body after a timeout. Keys are retained for at least 24 hours.","uniqueKey":"","typeLabel":"string"},"example":"example-operation-2026-08-31-001"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"example":{},"examples":{"Example":{"title":"Example","value":{}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"6d87ef95-9940-4e20-9719-4abbf1b2f87b":{"description":"The request succeeded.","headers":{"X-Request-Id":{"description":"Support correlation ID.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","required":["id","status","legal_entity_id","lines","created_at"],"properties":{"id":{"type":"string","examples":["je_abc123"],"description":"Journal ID (`je_…`).","isRequired":true,"uniqueKey":"data.id","typeLabel":"string"},"status":{"type":"string","enum":["draft","posted","reversed","unposted","in_progress","error"],"description":"Journal status.","isRequired":true,"uniqueKey":"data.status","typeLabel":"enum\u003cstring>"},"legal_entity_id":{"type":"string","description":"Legal entity ID (`le_…`).","isRequired":true,"uniqueKey":"data.legal_entity_id","typeLabel":"string"},"lines":{"type":"array","items":{"type":"object","required":["id","ledger_account_id","legal_entity_id","credit_or_debit","amount","currency"],"properties":{"id":{"type":"string","examples":["jel_def456"],"description":"Journal line ID.","isRequired":true,"uniqueKey":"data.lines.items.[INDEX].id","typeLabel":"string"},"ledger_account_id":{"type":"string","description":"Ledger account ID (`lac_…`).","isRequired":true,"uniqueKey":"data.lines.items.[INDEX].ledger_account_id","typeLabel":"string"},"legal_entity_id":{"type":"string","description":"Legal entity this line belongs to. Typically inherited from the parent journal entry or derived from the transaction's source, but can differ in multi-entity scenarios.","isRequired":true,"uniqueKey":"data.lines.items.[INDEX].legal_entity_id","typeLabel":"string"},"credit_or_debit":{"type":"string","enum":["DEBIT","CREDIT"],"description":"`DEBIT` or `CREDIT`.","isRequired":true,"uniqueKey":"data.lines.items.[INDEX].credit_or_debit","typeLabel":"enum\u003cstring>"},"amount":{"type":"string","description":"Decimal string.","isRequired":true,"uniqueKey":"data.lines.items.[INDEX].amount","typeLabel":"string"},"currency":{"type":"string","description":"Currency of the line amount.","isRequired":true,"uniqueKey":"data.lines.items.[INDEX].currency","typeLabel":"string"},"memo":{"oneOf":[{"type":"string","description":"Memo.","uniqueKey":"data.lines.items.[INDEX].memo.oneOf.0","typeLabel":"string"},{"type":"null","description":"Memo.","uniqueKey":"data.lines.items.[INDEX].memo.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lines.items.[INDEX].memo","typeLabel":"string | null"},"tag_ids":{"type":"array","items":{"type":"string","uniqueKey":"data.lines.items.[INDEX].tag_ids.items.[INDEX]","typeLabel":"string"},"description":"Tag IDs (`tag_…`).","uniqueKey":"data.lines.items.[INDEX].tag_ids","typeLabel":"string[]"}},"uniqueKey":"data.lines.items.[INDEX]","typeLabel":"object"},"description":"Journal lines.","isRequired":true,"uniqueKey":"data.lines","typeLabel":"object[]"},"created_at":{"type":"string","format":"date-time","description":"Time the journal was created (ISO 8601).","isRequired":true,"uniqueKey":"data.created_at","typeLabel":"string\u003cdate-time>"},"organization_id":{"oneOf":[{"type":"string","description":"Prefixed organization ID (`org_` prefix).","examples":["org_abc123"],"uniqueKey":"data.organization_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Prefixed organization ID (`org_` prefix).","examples":["org_abc123"],"uniqueKey":"data.organization_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.organization_id","typeLabel":"string | null"},"sequence_number":{"type":"string","description":"Human-readable sequence (such as `JE-42`).","uniqueKey":"data.sequence_number","typeLabel":"string"},"originated_by":{"type":"string","enum":["system","user"],"description":"`system` for a journal that Entendre created, `user` for a manual journal.","uniqueKey":"data.originated_by","typeLabel":"enum\u003cstring>"},"accounting_date":{"type":"string","format":"date-time","description":"Accounting date (ISO 8601).","uniqueKey":"data.accounting_date","typeLabel":"string\u003cdate-time>"},"posted_at":{"oneOf":[{"type":"string","format":"date-time","description":"`null` for DRAFT entries.","uniqueKey":"data.posted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"`null` for DRAFT entries.","uniqueKey":"data.posted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.posted_at","typeLabel":"string\u003cdate-time> | null"},"memo":{"oneOf":[{"type":"string","description":"Memo.","uniqueKey":"data.memo.oneOf.0","typeLabel":"string"},{"type":"null","description":"Memo.","uniqueKey":"data.memo.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.memo","typeLabel":"string | null"},"source_type":{"oneOf":[{"type":"string","enum":["TRANSACTION","ASSETS","REVALUATION","REVERSE_REVALUATION","NIURAL_INVOICE","ACCRUAL","MANUAL","BILL_EXPENSE","QUICKBOOKS","STRIPE_INVOICE","STRIPE_PAYMENT","STRIPE_FEE","STRIPE_DISPUTE","CASH_APPLICATION",null],"description":"What created this entry. `null` if not set.","uniqueKey":"data.source_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["TRANSACTION","ASSETS","REVALUATION","REVERSE_REVALUATION","NIURAL_INVOICE","ACCRUAL","MANUAL","BILL_EXPENSE","QUICKBOOKS","STRIPE_INVOICE","STRIPE_PAYMENT","STRIPE_FEE","STRIPE_DISPUTE","CASH_APPLICATION",null],"description":"What created this entry. `null` if not set.","uniqueKey":"data.source_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.source_type","typeLabel":"enum\u003cstring> | null"},"sync_date":{"oneOf":[{"type":"string","format":"date-time","description":"When this entry was last synced to its external GL; `null` if never synced. Set on list responses; `null` in the response of an operation that changes one entry.","uniqueKey":"data.sync_date.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When this entry was last synced to its external GL; `null` if never synced. Set on list responses; `null` in the response of an operation that changes one entry.","uniqueKey":"data.sync_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.sync_date","typeLabel":"string\u003cdate-time> | null"},"last_synced_at":{"oneOf":[{"type":"string","format":"date-time","description":"When this entry was last sent to the external GL. Unlike `sync_date`, it stays after an unsync and changes only on the next sync. `null` if never synced.","uniqueKey":"data.last_synced_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When this entry was last sent to the external GL. Unlike `sync_date`, it stays after an unsync and changes only on the next sync. `null` if never synced.","uniqueKey":"data.last_synced_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.last_synced_at","typeLabel":"string\u003cdate-time> | null"},"last_unsynced_at":{"oneOf":[{"type":"string","format":"date-time","description":"When this entry was last removed (unsynced) from the external GL. It is never cleared. `last_unsynced_at > last_synced_at` means the entry is currently out of the GL.","uniqueKey":"data.last_unsynced_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When this entry was last removed (unsynced) from the external GL. It is never cleared. `last_unsynced_at > last_synced_at` means the entry is currently out of the GL.","uniqueKey":"data.last_unsynced_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.last_unsynced_at","typeLabel":"string\u003cdate-time> | null"},"transaction_id":{"oneOf":[{"type":"string","description":"Linked transaction (`txn_…`), or `null`.","uniqueKey":"data.transaction_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Linked transaction (`txn_…`), or `null`.","uniqueKey":"data.transaction_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.transaction_id","typeLabel":"string | null"},"transaction_sequence_number":{"oneOf":[{"type":"string","description":"Sequence number (such as `OT-1234`) of the source transaction, when populated. `null` on responses that don't expand the transaction.","uniqueKey":"data.transaction_sequence_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"Sequence number (such as `OT-1234`) of the source transaction, when populated. `null` on responses that don't expand the transaction.","uniqueKey":"data.transaction_sequence_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.transaction_sequence_number","typeLabel":"string | null"},"template_id":{"oneOf":[{"type":"string","description":"Template used to generate this entry, if applicable (`tpl_` prefix). `null` for manual or classification-based entries.","uniqueKey":"data.template_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Template used to generate this entry, if applicable (`tpl_` prefix). `null` for manual or classification-based entries.","uniqueKey":"data.template_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.template_id","typeLabel":"string | null"},"accounting_period_id":{"oneOf":[{"type":"string","description":"Accounting period this entry falls in (`ap_` prefix). `null` if not assigned to a period.","uniqueKey":"data.accounting_period_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Accounting period this entry falls in (`ap_` prefix). `null` if not assigned to a period.","uniqueKey":"data.accounting_period_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.accounting_period_id","typeLabel":"string | null"},"classification":{"oneOf":[{"type":"string","description":"Transaction type used to derive the journal lines.","uniqueKey":"data.classification.oneOf.0","typeLabel":"string"},{"type":"null","description":"Transaction type used to derive the journal lines.","uniqueKey":"data.classification.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.classification","typeLabel":"string | null"},"tag_ids":{"type":"array","items":{"type":"string","uniqueKey":"data.tag_ids.items.[INDEX]","typeLabel":"string"},"description":"Tag IDs (`tag_…`).","uniqueKey":"data.tag_ids","typeLabel":"string[]"},"reversal_chain":{"type":"object","properties":{"previous_entry_id":{"oneOf":[{"type":"string","description":"Journal that this journal reverses, or `null`.","uniqueKey":"data.reversal_chain.previous_entry_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Journal that this journal reverses, or `null`.","uniqueKey":"data.reversal_chain.previous_entry_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.reversal_chain.previous_entry_id","typeLabel":"string | null"},"next_entry_id":{"oneOf":[{"type":"string","description":"Journal that reverses this journal, or `null`.","uniqueKey":"data.reversal_chain.next_entry_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Journal that reverses this journal, or `null`.","uniqueKey":"data.reversal_chain.next_entry_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.reversal_chain.next_entry_id","typeLabel":"string | null"}},"description":"Links to the journals before and after this one in a reversal chain.","uniqueKey":"data.reversal_chain","typeLabel":"object"},"period_auto_reassigned":{"type":"boolean","description":"`true` when the accounting date was in a closed period, so the journal moved to the current open period.","uniqueKey":"data.period_auto_reassigned","typeLabel":"boolean"},"intended_accounting_date":{"oneOf":[{"type":"string","description":"When period_auto_reassigned is true, the entry's own accounting date (whose true period is closed); null otherwise.","uniqueKey":"data.intended_accounting_date.oneOf.0","typeLabel":"string"},{"type":"null","description":"When period_auto_reassigned is true, the entry's own accounting date (whose true period is closed); null otherwise.","uniqueKey":"data.intended_accounting_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.intended_accounting_date","typeLabel":"string | null"},"legal_entity_auto_assigned":{"type":"boolean","description":"`true` when the journal had no legal entity, so Entendre assigned the only active legal entity.","uniqueKey":"data.legal_entity_auto_assigned","typeLabel":"boolean"},"is_sync":{"type":"boolean","description":"Whether this entry has been synced to an external GL (QuickBooks, Xero, NetSuite, DualEntry, Campfire).","uniqueKey":"data.is_sync","typeLabel":"boolean"},"latest_gl_sync_attempt":{"oneOf":[{"type":"object","description":"Most recent GL sync attempt for this entry; `null` if a sync has never been attempted.","properties":{"id":{"oneOf":[{"type":"string","description":"Sync attempt ID (`jesa_…`), or `null` for older attempts.","examples":["jesa_abc123"],"uniqueKey":"data.latest_gl_sync_attempt.oneOf.0.id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Sync attempt ID (`jesa_…`), or `null` for older attempts.","examples":["jesa_abc123"],"uniqueKey":"data.latest_gl_sync_attempt.oneOf.0.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.latest_gl_sync_attempt.oneOf.0.id","typeLabel":"string | null"},"gl_type":{"oneOf":[{"type":"string","enum":["QUICKBOOKS","XERO","NETSUITE","DUALENTRY","CAMPFIRE",null],"description":"Target GL the sync attempt was made against.","uniqueKey":"data.latest_gl_sync_attempt.oneOf.0.gl_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["QUICKBOOKS","XERO","NETSUITE","DUALENTRY","CAMPFIRE",null],"description":"Target GL the sync attempt was made against.","uniqueKey":"data.latest_gl_sync_attempt.oneOf.0.gl_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.latest_gl_sync_attempt.oneOf.0.gl_type","typeLabel":"enum\u003cstring> | null"},"external_type":{"oneOf":[{"type":"string","description":"Provider-specific transaction type used (such as QBO Purchase, Deposit, BillPayment).","uniqueKey":"data.latest_gl_sync_attempt.oneOf.0.external_type.oneOf.0","typeLabel":"string"},{"type":"null","description":"Provider-specific transaction type used (such as QBO Purchase, Deposit, BillPayment).","uniqueKey":"data.latest_gl_sync_attempt.oneOf.0.external_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.latest_gl_sync_attempt.oneOf.0.external_type","typeLabel":"string | null"},"external_id":{"oneOf":[{"type":"string","description":"ID of the posted entry in the GL; `null` for failed or pending attempts.","uniqueKey":"data.latest_gl_sync_attempt.oneOf.0.external_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"ID of the posted entry in the GL; `null` for failed or pending attempts.","uniqueKey":"data.latest_gl_sync_attempt.oneOf.0.external_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.latest_gl_sync_attempt.oneOf.0.external_id","typeLabel":"string | null"},"error_type":{"oneOf":[{"type":"string","enum":["AUTHENTICATION","MAPPING_MISSING","VALIDATION","UNKNOWN","DUPLICATE_DETECTED","DOC_NUMBER_COLLISION",null],"description":"Category of the failure, if the latest attempt errored; `null` when the attempt did not error.","uniqueKey":"data.latest_gl_sync_attempt.oneOf.0.error_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["AUTHENTICATION","MAPPING_MISSING","VALIDATION","UNKNOWN","DUPLICATE_DETECTED","DOC_NUMBER_COLLISION",null],"description":"Category of the failure, if the latest attempt errored; `null` when the attempt did not error.","uniqueKey":"data.latest_gl_sync_attempt.oneOf.0.error_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.latest_gl_sync_attempt.oneOf.0.error_type","typeLabel":"enum\u003cstring> | null"},"error_details":{"oneOf":[{"type":"string","description":"Human-readable detail for the failure, if any.","uniqueKey":"data.latest_gl_sync_attempt.oneOf.0.error_details.oneOf.0","typeLabel":"string"},{"type":"null","description":"Human-readable detail for the failure, if any.","uniqueKey":"data.latest_gl_sync_attempt.oneOf.0.error_details.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.latest_gl_sync_attempt.oneOf.0.error_details","typeLabel":"string | null"}},"uniqueKey":"data.latest_gl_sync_attempt.oneOf.0","typeLabel":"object"},{"type":"null","description":"Most recent GL sync attempt for this entry; `null` if a sync has never been attempted.","properties":{"id":{"oneOf":[{"type":"string","description":"Sync attempt ID (`jesa_…`), or `null` for older attempts.","examples":["jesa_abc123"]},{"type":"null","description":"Sync attempt ID (`jesa_…`), or `null` for older attempts.","examples":["jesa_abc123"]}]},"gl_type":{"oneOf":[{"type":"string","enum":["QUICKBOOKS","XERO","NETSUITE","DUALENTRY","CAMPFIRE",null],"description":"Target GL the sync attempt was made against."},{"type":"null","enum":["QUICKBOOKS","XERO","NETSUITE","DUALENTRY","CAMPFIRE",null],"description":"Target GL the sync attempt was made against."}]},"external_type":{"oneOf":[{"type":"string","description":"Provider-specific transaction type used (such as QBO Purchase, Deposit, BillPayment)."},{"type":"null","description":"Provider-specific transaction type used (such as QBO Purchase, Deposit, BillPayment)."}]},"external_id":{"oneOf":[{"type":"string","description":"ID of the posted entry in the GL; `null` for failed or pending attempts."},{"type":"null","description":"ID of the posted entry in the GL; `null` for failed or pending attempts."}]},"error_type":{"oneOf":[{"type":"string","enum":["AUTHENTICATION","MAPPING_MISSING","VALIDATION","UNKNOWN","DUPLICATE_DETECTED","DOC_NUMBER_COLLISION",null],"description":"Category of the failure, if the latest attempt errored; `null` when the attempt did not error."},{"type":"null","enum":["AUTHENTICATION","MAPPING_MISSING","VALIDATION","UNKNOWN","DUPLICATE_DETECTED","DOC_NUMBER_COLLISION",null],"description":"Category of the failure, if the latest attempt errored; `null` when the attempt did not error."}]},"error_details":{"oneOf":[{"type":"string","description":"Human-readable detail for the failure, if any."},{"type":"null","description":"Human-readable detail for the failure, if any."}]}},"uniqueKey":"data.latest_gl_sync_attempt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.latest_gl_sync_attempt","typeLabel":"object | null"},"updated_at":{"type":"string","format":"date-time","description":"Time the journal was last updated (ISO 8601).","uniqueKey":"data.updated_at","typeLabel":"string\u003cdate-time>"}},"isRequired":true,"uniqueKey":"data","typeLabel":"object"}},"required":["data"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"example":{"data":{"id":"je_507f1f77bcf86cd799439011","organization_id":"org_507f1f77bcf86cd799439011","sequence_number":"JE-42","status":"unposted","originated_by":"user","accounting_date":"2026-08-31T12:00:00Z","posted_at":null,"memo":"Record August opening balance","source_type":"MANUAL","sync_date":null,"last_synced_at":null,"last_unsynced_at":null,"legal_entity_id":"le_507f1f77bcf86cd799439011","transaction_id":null,"transaction_sequence_number":null,"accounting_period_id":null,"classification":null,"tag_ids":[],"reversal_chain":{"previous_entry_id":null,"next_entry_id":null},"period_auto_reassigned":false,"intended_accounting_date":null,"legal_entity_auto_assigned":false,"lines":[{"id":"jel_507f1f77bcf86cd799439011","ledger_account_id":"lac_507f1f77bcf86cd799439011","legal_entity_id":"le_507f1f77bcf86cd799439011","credit_or_debit":"DEBIT","amount":"100.00","currency":"USD","memo":null,"tag_ids":[]},{"id":"jel_507f1f77bcf86cd799439012","ledger_account_id":"lac_507f1f77bcf86cd799439012","legal_entity_id":"le_507f1f77bcf86cd799439011","credit_or_debit":"CREDIT","amount":"100.00","currency":"USD","memo":null,"tag_ids":[]}],"is_sync":false,"latest_gl_sync_attempt":null,"created_at":"2026-08-31T12:00:00Z","updated_at":"2026-08-31T12:00:00Z"}},"examples":{"Example":{"title":"Example","value":{"data":{"id":"je_507f1f77bcf86cd799439011","organization_id":"org_507f1f77bcf86cd799439011","sequence_number":"JE-42","status":"unposted","originated_by":"user","accounting_date":"2026-08-31T12:00:00Z","posted_at":null,"memo":"Record August opening balance","source_type":"MANUAL","sync_date":null,"last_synced_at":null,"last_unsynced_at":null,"legal_entity_id":"le_507f1f77bcf86cd799439011","transaction_id":null,"transaction_sequence_number":null,"accounting_period_id":null,"classification":null,"tag_ids":[],"reversal_chain":{"previous_entry_id":null,"next_entry_id":null},"period_auto_reassigned":false,"intended_accounting_date":null,"legal_entity_auto_assigned":false,"lines":[{"id":"jel_507f1f77bcf86cd799439011","ledger_account_id":"lac_507f1f77bcf86cd799439011","legal_entity_id":"le_507f1f77bcf86cd799439011","credit_or_debit":"DEBIT","amount":"100.00","currency":"USD","memo":null,"tag_ids":[]},{"id":"jel_507f1f77bcf86cd799439012","ledger_account_id":"lac_507f1f77bcf86cd799439012","legal_entity_id":"le_507f1f77bcf86cd799439011","credit_or_debit":"CREDIT","amount":"100.00","currency":"USD","memo":null,"tag_ids":[]}],"is_sync":false,"latest_gl_sync_attempt":null,"created_at":"2026-08-31T12:00:00Z","updated_at":"2026-08-31T12:00:00Z"}}}},"exampleType":"examples"}},"exampleType":"examples"},"6f37c8b4-2161-4254-b3f8-1511e6c2a56d":{"description":"The request is invalid. `error.fields` lists the fields to correct. Nothing was changed.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","request_id"],"properties":{"code":{"type":"string","description":"Machine-readable error code.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Technical description for developers.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"type":"string","description":"Unique request ID for support escalation.","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"fields":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"error.fields.additionalProperties","typeLabel":"string"},"description":"Present only on VALIDATION_ERROR. Maps failing field paths to reason strings.","uniqueKey":"error.fields","typeLabel":"object"},"details":{"type":"object","additionalProperties":true,"description":"Optional redacted diagnostic details. Request validation uses fields or field_errors.","uniqueKey":"error.details","typeLabel":"object"},"suggested_action":{"type":"string","description":"A suggested next step.","uniqueKey":"error.suggested_action","typeLabel":"string"},"documentation_url":{"type":"string","format":"uri","description":"Link to documentation about this error.","uniqueKey":"error.documentation_url","typeLabel":"string\u003curi>"}},"description":"Error details.","isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"VALIDATION_ERROR","message":"Invalid path, query or request body.","request_id":"req_example"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"VALIDATION_ERROR","message":"Invalid path, query or request body.","request_id":"req_example"}}}},"exampleType":"examples"}},"exampleType":"examples"},"40f707c8-e5b9-4739-9d1e-8555c280e15b":{"description":"The API key is missing, invalid or expired.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","request_id"],"properties":{"code":{"type":"string","description":"Machine-readable error code.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Technical description for developers.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"type":"string","description":"Unique request ID for support escalation.","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"fields":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"error.fields.additionalProperties","typeLabel":"string"},"description":"Present only on VALIDATION_ERROR. Maps failing field paths to reason strings.","uniqueKey":"error.fields","typeLabel":"object"},"details":{"type":"object","additionalProperties":true,"description":"Optional redacted diagnostic details. Request validation uses fields or field_errors.","uniqueKey":"error.details","typeLabel":"object"},"suggested_action":{"type":"string","description":"A suggested next step.","uniqueKey":"error.suggested_action","typeLabel":"string"},"documentation_url":{"type":"string","format":"uri","description":"Link to documentation about this error.","uniqueKey":"error.documentation_url","typeLabel":"string\u003curi>"}},"description":"Error details.","isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"UNAUTHORIZED","message":"Invalid or expired API Key","request_id":"req_example","suggested_action":"Send an API key in X-API-Key, or an OAuth access token as Authorization: Bearer. Refresh an expired access token.","documentation_url":"https://entendre.ai/docs/get-started/authentication"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"UNAUTHORIZED","message":"Invalid or expired API Key","request_id":"req_example","suggested_action":"Send an API key in X-API-Key, or an OAuth access token as Authorization: Bearer. Refresh an expired access token.","documentation_url":"https://entendre.ai/docs/get-started/authentication"}}}},"exampleType":"examples"}},"headers":{"WWW-Authenticate":{"description":"Bearer challenge with `realm=\"entendre\"` and `resource_metadata`, the URL of the protected-resource metadata (RFC 9728). `error=\"invalid_token\"` is added when the credential that was sent is invalid or expired.","schema":{"type":"string"}}},"exampleType":"examples"},"63dad550-e4a9-4c74-b82e-6f0d4bdb7ce9":{"description":"The API key does not have the required scope or is not associated with a user, or the action needs a review in the dashboard.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","request_id"],"properties":{"code":{"type":"string","description":"Machine-readable error code.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Technical description for developers.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"type":"string","description":"Unique request ID for support escalation.","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"fields":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"error.fields.additionalProperties","typeLabel":"string"},"description":"Present only on VALIDATION_ERROR. Maps failing field paths to reason strings.","uniqueKey":"error.fields","typeLabel":"object"},"details":{"type":"object","additionalProperties":true,"description":"Optional redacted diagnostic details. Request validation uses fields or field_errors.","uniqueKey":"error.details","typeLabel":"object"},"suggested_action":{"type":"string","description":"A suggested next step.","uniqueKey":"error.suggested_action","typeLabel":"string"},"documentation_url":{"type":"string","format":"uri","description":"Link to documentation about this error.","uniqueKey":"error.documentation_url","typeLabel":"string\u003curi>"}},"description":"Error details.","isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"FORBIDDEN","message":"Insufficient access to organization","request_id":"req_example"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"FORBIDDEN","message":"Insufficient access to organization","request_id":"req_example"}}}},"exampleType":"examples"}},"exampleType":"examples"},"c228862f-7382-40a1-afce-c1566df7e13e":{"description":"The resource does not exist, or your organization cannot access it.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","request_id"],"properties":{"code":{"type":"string","description":"Machine-readable error code.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Technical description for developers.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"type":"string","description":"Unique request ID for support escalation.","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"fields":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"error.fields.additionalProperties","typeLabel":"string"},"description":"Present only on VALIDATION_ERROR. Maps failing field paths to reason strings.","uniqueKey":"error.fields","typeLabel":"object"},"details":{"type":"object","additionalProperties":true,"description":"Optional redacted diagnostic details. Request validation uses fields or field_errors.","uniqueKey":"error.details","typeLabel":"object"},"suggested_action":{"type":"string","description":"A suggested next step.","uniqueKey":"error.suggested_action","typeLabel":"string"},"documentation_url":{"type":"string","format":"uri","description":"Link to documentation about this error.","uniqueKey":"error.documentation_url","typeLabel":"string\u003curi>"}},"description":"Error details.","isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"RESOURCE_NOT_FOUND","message":"Resource not found","request_id":"req_example"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"RESOURCE_NOT_FOUND","message":"Resource not found","request_id":"req_example"}}}},"exampleType":"examples"}},"exampleType":"examples"},"9d5cf084-5332-4378-8bf9-4993e9952afa":{"description":"The journal is not posted, or its accounting period is closed. No unpost is performed.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","request_id"],"properties":{"code":{"type":"string","description":"Machine-readable error code.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Technical description for developers.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"type":"string","description":"Unique request ID for support escalation.","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"fields":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"error.fields.additionalProperties","typeLabel":"string"},"description":"Present only on VALIDATION_ERROR. Maps failing field paths to reason strings.","uniqueKey":"error.fields","typeLabel":"object"},"details":{"type":"object","additionalProperties":true,"description":"Optional redacted diagnostic details. Request validation uses fields or field_errors.","uniqueKey":"error.details","typeLabel":"object"},"suggested_action":{"type":"string","description":"A suggested next step.","uniqueKey":"error.suggested_action","typeLabel":"string"},"documentation_url":{"type":"string","format":"uri","description":"Link to documentation about this error.","uniqueKey":"error.documentation_url","typeLabel":"string\u003curi>"}},"description":"Error details.","isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"CONFLICT","message":"The journal is not posted, or its accounting period is closed. No unpost is performed.","request_id":"req_example"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"CONFLICT","message":"The journal is not posted, or its accounting period is closed. No unpost is performed.","request_id":"req_example"}}}},"exampleType":"examples"}},"exampleType":"examples"},"a337e29f-c5c3-4861-8e42-b7861d614e61":{"description":"Too many requests. If the response has a `Retry-After` header, wait that many seconds before you retry. Otherwise, read `error.message`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer","minimum":1}}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","request_id"],"properties":{"code":{"type":"string","description":"Machine-readable error code.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Technical description for developers.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"type":"string","description":"Unique request ID for support escalation.","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"fields":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"error.fields.additionalProperties","typeLabel":"string"},"description":"Present only on VALIDATION_ERROR. Maps failing field paths to reason strings.","uniqueKey":"error.fields","typeLabel":"object"},"details":{"type":"object","additionalProperties":true,"description":"Optional redacted diagnostic details. Request validation uses fields or field_errors.","uniqueKey":"error.details","typeLabel":"object"},"suggested_action":{"type":"string","description":"A suggested next step.","uniqueKey":"error.suggested_action","typeLabel":"string"},"documentation_url":{"type":"string","format":"uri","description":"Link to documentation about this error.","uniqueKey":"error.documentation_url","typeLabel":"string\u003curi>"}},"description":"Error details.","isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"RATE_LIMITED","message":"Rate limit exceeded. Retry after 30s.","request_id":"req_example"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"RATE_LIMITED","message":"Rate limit exceeded. Retry after 30s.","request_id":"req_example"}}}},"exampleType":"examples"}},"exampleType":"examples"},"b181a6fe-7d6d-4866-ba21-033f79d7343d":{"description":"An unexpected error occurred. A write can still have taken effect; check the resource before you retry. Give the `request_id` to support.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","request_id"],"properties":{"code":{"type":"string","description":"Machine-readable error code.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Technical description for developers.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"type":"string","description":"Unique request ID for support escalation.","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"fields":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"error.fields.additionalProperties","typeLabel":"string"},"description":"Present only on VALIDATION_ERROR. Maps failing field paths to reason strings.","uniqueKey":"error.fields","typeLabel":"object"},"details":{"type":"object","additionalProperties":true,"description":"Optional redacted diagnostic details. Request validation uses fields or field_errors.","uniqueKey":"error.details","typeLabel":"object"},"suggested_action":{"type":"string","description":"A suggested next step.","uniqueKey":"error.suggested_action","typeLabel":"string"},"documentation_url":{"type":"string","format":"uri","description":"Link to documentation about this error.","uniqueKey":"error.documentation_url","typeLabel":"string\u003curi>"}},"description":"Error details.","isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"INTERNAL_ERROR","message":"Internal server error","request_id":"req_example"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"INTERNAL_ERROR","message":"Internal server error","request_id":"req_example"}}}},"exampleType":"examples"}},"exampleType":"examples"},"bd2fa90b-3f41-4226-87e7-37c1befd246f":{"description":"The ERP copy could not be removed. The journal remains posted; check its sync state before retrying.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","request_id"],"properties":{"code":{"type":"string","description":"Machine-readable error code.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Technical description for developers.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"type":"string","description":"Unique request ID for support escalation.","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"fields":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"error.fields.additionalProperties","typeLabel":"string"},"description":"Present only on VALIDATION_ERROR. Maps failing field paths to reason strings.","uniqueKey":"error.fields","typeLabel":"object"},"details":{"type":"object","additionalProperties":true,"description":"Optional redacted diagnostic details. Request validation uses fields or field_errors.","uniqueKey":"error.details","typeLabel":"object"},"suggested_action":{"type":"string","description":"A suggested next step.","uniqueKey":"error.suggested_action","typeLabel":"string"},"documentation_url":{"type":"string","format":"uri","description":"Link to documentation about this error.","uniqueKey":"error.documentation_url","typeLabel":"string\u003curi>"}},"description":"Error details.","isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"EXTERNAL_SERVICE_ERROR","message":"The ERP copy could not be removed. The journal remains posted; check its sync state before retrying.","request_id":"req_example"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"EXTERNAL_SERVICE_ERROR","message":"The ERP copy could not be removed. The journal remains posted; check its sync state before retrying.","request_id":"req_example"}}}},"exampleType":"examples"}},"exampleType":"examples"},"000e8a81-1bf4-45fb-8b24-632138c1bc5e":{"description":"A service that this operation needs is unavailable. If the response has a `Retry-After` header, wait that many seconds. Check for earlier accepted work before you send the request again.","headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer","minimum":1}}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","request_id"],"properties":{"code":{"type":"string","description":"Machine-readable error code.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Technical description for developers.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"type":"string","description":"Unique request ID for support escalation.","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"fields":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"error.fields.additionalProperties","typeLabel":"string"},"description":"Present only on VALIDATION_ERROR. Maps failing field paths to reason strings.","uniqueKey":"error.fields","typeLabel":"object"},"details":{"type":"object","additionalProperties":true,"description":"Optional redacted diagnostic details. Request validation uses fields or field_errors.","uniqueKey":"error.details","typeLabel":"object"},"suggested_action":{"type":"string","description":"A suggested next step.","uniqueKey":"error.suggested_action","typeLabel":"string"},"documentation_url":{"type":"string","format":"uri","description":"Link to documentation about this error.","uniqueKey":"error.documentation_url","typeLabel":"string\u003curi>"}},"description":"Error details.","isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"SERVICE_UNAVAILABLE","message":"Service unavailable.","request_id":"req_example"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"SERVICE_UNAVAILABLE","message":"Service unavailable.","request_id":"req_example"}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"1fe0c3f6-35d9-41d2-ac91-13356ced44bb":{"ApiKey":{"type":"apiKey","in":"header","name":"X-API-Key","description":"Your organization API key. See [Authentication](/get-started/authentication).","scopes":[],"schemeName":"ApiKey"}}},"servers":{"9e59403a-73c1-494e-9818-59dd36bdbfad":{"url":"https://api.entendre.finance","description":"Production API."}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-API-Key","description":"Your organization API key. See [Authentication](/get-started/authentication).","scopes":[],"schemeName":"ApiKey"},"schema":{"title":"X-API-Key","type":"string","description":"Your organization API key. See [Authentication](/get-started/authentication).","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKey","name":"X-API-Key"}],"title":"ApiKey"}]},"originalFileLocation":"openapi-public-preview.json"},"subdomain":"entendre","siteName":"Entendre Docs","title":"Unpost journal - Entendre Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-24T15:37:07.536Z","originalFileLocation":"api-reference/core/journals/unpost-journal.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=\"Removes a posted journal from the ledger so that you can correct or reclassify it.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Entendre Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/entendre/Mf9zE4F1cDdIJzLg/_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=\"/docs/mintlify-assets/_mintlify/favicons/entendre/Mf9zE4F1cDdIJzLg/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/entendre/Mf9zE4F1cDdIJzLg/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/entendre/Mf9zE4F1cDdIJzLg/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/entendre/Mf9zE4F1cDdIJzLg/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/entendre/Mf9zE4F1cDdIJzLg/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/entendre/Mf9zE4F1cDdIJzLg/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/entendre/Mf9zE4F1cDdIJzLg/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/entendre/Mf9zE4F1cDdIJzLg/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Unpost journal - Entendre Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Removes a posted journal from the ledger so that you can correct or reclassify it.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Entendre Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://entendre.ai/docs/api-reference/core/journals/unpost-journal\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://entendre.mintlify.site/docs/_mintlify/api/og/v2?division=Journals\u0026amp;title=Unpost+journal\u0026amp;description=Removes+a+posted+journal+from+the+ledger+so+that+you+can+correct+or+reclassify+it.\u0026amp;theme=455e3eee472c81219447aa36\u0026amp;signature=c38b4ffea9aa3c6a9f2efb71d73a552038dc11c471ec8debe303b67ff5224567\">\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=\"Unpost journal - Entendre Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Removes a posted journal from the ledger so that you can correct or reclassify it.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://entendre.mintlify.site/docs/_mintlify/api/og/v2?division=Journals\u0026amp;title=Unpost+journal\u0026amp;description=Removes+a+posted+journal+from+the+ledger+so+that+you+can+correct+or+reclassify+it.\u0026amp;theme=455e3eee472c81219447aa36\u0026amp;signature=c38b4ffea9aa3c6a9f2efb71d73a552038dc11c471ec8debe303b67ff5224567\">\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=\"/docs/mintlify-assets/_mintlify/favicons/entendre/Mf9zE4F1cDdIJzLg/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Entendre Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6366F1\">\u003clink data-mint-head rel=\"canonical\" href=\"https://entendre.ai/docs/api-reference/core/journals/unpost-journal\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/core/journals/unpost-journal.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://entendre.ai/#organization\",\"name\":\"Entendre Docs\",\"url\":\"https://entendre.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/entendre/iLG_yPYNFEzW9piO/logo.svg?fit=max\u0026auto=format\u0026n=iLG_yPYNFEzW9piO\u0026q=85\u0026s=e7ab9f91191f7aa74918c227c0675fc6\"}},{\"@type\":\"WebSite\",\"@id\":\"https://entendre.ai/docs#website\",\"name\":\"Entendre Docs\",\"url\":\"https://entendre.ai/docs\",\"publisher\":{\"@id\":\"https://entendre.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://entendre.ai/docs/api-reference/core/journals/unpost-journal#webpage\",\"url\":\"https://entendre.ai/docs/api-reference/core/journals/unpost-journal\",\"name\":\"Unpost journal\",\"description\":\"Removes a posted journal from the ledger so that you can correct or reclassify it.\",\"dateModified\":\"2026-10-24T15:37:07.536Z\",\"isPartOf\":{\"@id\":\"https://entendre.ai/docs#website\"},\"breadcrumb\":{\"@id\":\"https://entendre.ai/docs/api-reference/core/journals/unpost-journal#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://entendre.ai/docs/api-reference/core/journals/unpost-journal#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Core\",\"item\":\"https://entendre.ai/docs/api-reference/core/organization/get-organization\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Journals\",\"item\":\"https://entendre.ai/docs/api-reference/core/journals/list-journals\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Unpost journal\",\"item\":\"https://entendre.ai/docs/api-reference/core/journals/unpost-journal\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://entendre.ai/docs/api-reference/core/journals/unpost-journal#apireference\",\"headline\":\"Unpost journal\",\"name\":\"Unpost journal\",\"description\":\"Removes a posted journal from the ledger so that you can correct or reclassify it.\",\"url\":\"https://entendre.ai/docs/api-reference/core/journals/unpost-journal\",\"mainEntityOfPage\":{\"@id\":\"https://entendre.ai/docs/api-reference/core/journals/unpost-journal#webpage\"},\"dateModified\":\"2026-10-24T15:37:07.536Z\",\"publisher\":{\"@id\":\"https://entendre.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://entendre.ai/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Entendre Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Entendre Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/api-reference/core/journals/unpost-journal.md","siteName":"Entendre Docs","nav":{"global":null,"tabs":[{"tab":"Docs","pages":[{"title":"Docs","href":"/get-started/introduction"}]},{"tab":"API Reference","groups":[{"group":"Using the API","pages":[{"title":"Overview","href":"/api-reference/overview"}]},{"group":"Core","pages":[{"group":"Organization","pages":[{"title":"Get organization","openapi":"openapi-public-preview.json GET /v1/organization","href":"/api-reference/core/organization/get-organization"},{"title":"Update organization","openapi":"openapi-public-preview.json PATCH /v1/organization","href":"/api-reference/core/organization/update-organization"},{"title":"List organization members","openapi":"openapi-public-preview.json GET /v1/organization/members","href":"/api-reference/core/organization/list-organization-members"}]},{"group":"Transactions","pages":[{"title":"List transactions","openapi":"openapi-public-preview.json GET /v1/transactions","href":"/api-reference/core/transactions/list-transactions"},{"title":"Create transaction","openapi":"openapi-public-preview.json POST /v1/transactions","href":"/api-reference/core/transactions/create-transaction"},{"title":"Update transaction","openapi":"openapi-public-preview.json PATCH /v1/transactions/{transaction_id}","href":"/api-reference/core/transactions/update-transaction"},{"title":"Delete transaction","openapi":"openapi-public-preview.json DELETE /v1/transactions/{transaction_id}","href":"/api-reference/core/transactions/delete-transaction"}]},{"group":"Sources","pages":[{"title":"List sources","openapi":"openapi-public-preview.json GET /v1/sources","href":"/api-reference/core/sources/list-sources"},{"title":"Create source","openapi":"openapi-public-preview.json POST /v1/sources","href":"/api-reference/core/sources/create-source"},{"title":"Update source","openapi":"openapi-public-preview.json PATCH /v1/sources/{source_id}","href":"/api-reference/core/sources/update-source"},{"title":"Delete source","openapi":"openapi-public-preview.json DELETE /v1/sources/{source_id}","href":"/api-reference/core/sources/delete-source"},{"title":"Import transactions from source","openapi":"openapi-public-preview.json POST /v1/sources/{source_id}/imports","href":"/api-reference/core/sources/import-transactions-from-source"}]},{"group":"Assets","pages":[{"title":"List assets","openapi":"openapi-public-preview.json GET /v1/assets","href":"/api-reference/core/assets/list-assets"},{"title":"Create manual asset","openapi":"openapi-public-preview.json POST /v1/assets","href":"/api-reference/core/assets/create-manual-asset"},{"title":"Update manual asset","openapi":"openapi-public-preview.json PATCH /v1/assets/{asset_id}","href":"/api-reference/core/assets/update-manual-asset"},{"title":"Delete manual asset","openapi":"openapi-public-preview.json DELETE /v1/assets/{asset_id}","href":"/api-reference/core/assets/delete-manual-asset"}]},{"group":"Journals","pages":[{"title":"List journals","openapi":"openapi-public-preview.json GET /v1/journal-entries","href":"/api-reference/core/journals/list-journals"},{"title":"Create journal","openapi":"openapi-public-preview.json POST /v1/journal-entries","href":"/api-reference/core/journals/create-journal"},{"title":"Update journal","openapi":"openapi-public-preview.json PATCH /v1/journal-entries/{journal_id}","href":"/api-reference/core/journals/update-journal"},{"title":"Delete journal","openapi":"openapi-public-preview.json DELETE /v1/journal-entries/{journal_id}","href":"/api-reference/core/journals/delete-journal"},{"title":"Post journal","description":"Posts a draft or unposted journal to the ledger.","openapi":"openapi-public-preview.json POST /v1/journal-entries/{journal_id}/post","href":"/api-reference/core/journals/post-journal"},{"title":"Unpost journal","openapi":"openapi-public-preview.json POST /v1/journal-entries/{journal_id}/unpost","href":"/api-reference/core/journals/unpost-journal"},{"title":"Reverse journal","description":"Creates a linked journal that reverses the original journal.","openapi":"openapi-public-preview.json POST /v1/journal-entries/{journal_id}/reverse","href":"/api-reference/core/journals/reverse-journal"},{"title":"Sync journals","openapi":"openapi-public-preview.json POST /v1/journal-entries/syncs","href":"/api-reference/core/journals/sync-journals"},{"title":"List journal sync jobs","openapi":"openapi-public-preview.json GET /v1/journal-entries/syncs","href":"/api-reference/core/journals/list-journal-sync-jobs"}]},{"group":"Documents","pages":[{"title":"List documents","openapi":"openapi-public-preview.json GET /v1/vault/documents","href":"/api-reference/core/documents/list-documents"},{"title":"Upload document","openapi":"openapi-public-preview.json POST /v1/vault/documents","href":"/api-reference/core/documents/upload-document"},{"title":"Update document","openapi":"openapi-public-preview.json PATCH /v1/vault/documents/{document_id}","href":"/api-reference/core/documents/update-document"},{"title":"Delete document","openapi":"openapi-public-preview.json DELETE /v1/vault/documents/{document_id}","href":"/api-reference/core/documents/delete-document"}]},{"group":"Legal Entities","pages":[{"title":"List legal entities","openapi":"openapi-public-preview.json GET /v1/legal-entities","href":"/api-reference/core/legal-entities/list-legal-entities"},{"title":"Create legal entity","openapi":"openapi-public-preview.json POST /v1/legal-entities","href":"/api-reference/core/legal-entities/create-legal-entity"},{"title":"Update legal entity","openapi":"openapi-public-preview.json PATCH /v1/legal-entities/{legal_entity_id}","href":"/api-reference/core/legal-entities/update-legal-entity"},{"title":"Delete legal entity","openapi":"openapi-public-preview.json DELETE /v1/legal-entities/{legal_entity_id}","href":"/api-reference/core/legal-entities/delete-legal-entity"}]},{"group":"Ledger Accounts","pages":[{"title":"List ledger accounts","openapi":"openapi-public-preview.json GET /v1/ledger-accounts","href":"/api-reference/core/ledger-accounts/list-ledger-accounts"},{"title":"Create ledger account","openapi":"openapi-public-preview.json POST /v1/ledger-accounts","href":"/api-reference/core/ledger-accounts/create-ledger-account"},{"title":"Update ledger account","openapi":"openapi-public-preview.json PATCH /v1/ledger-accounts/{ledger_account_id}","href":"/api-reference/core/ledger-accounts/update-ledger-account"},{"title":"Delete ledger account","openapi":"openapi-public-preview.json DELETE /v1/ledger-accounts/{ledger_account_id}","href":"/api-reference/core/ledger-accounts/delete-ledger-account"}]},{"group":"Tags","pages":[{"title":"List tags","openapi":"openapi-public-preview.json GET /v1/tags","href":"/api-reference/core/tags/list-tags"},{"title":"Create tag","openapi":"openapi-public-preview.json POST /v1/tags","href":"/api-reference/core/tags/create-tag"},{"title":"Update tag","openapi":"openapi-public-preview.json PATCH /v1/tags/{tag_id}","href":"/api-reference/core/tags/update-tag"},{"title":"Delete tag","openapi":"openapi-public-preview.json DELETE /v1/tags/{tag_id}","href":"/api-reference/core/tags/delete-tag"}]}]},{"group":"Accounting","pages":[{"group":"Accruals","pages":[{"title":"Find vendors for accruals","openapi":"openapi-public-preview.json GET /v1/vault/vendors","href":"/api-reference/accounting/accruals/find-vendors-for-accruals"},{"title":"List accruals","openapi":"openapi-public-preview.json GET /v1/accruals","href":"/api-reference/accounting/accruals/list-accruals"},{"title":"Post accrual entries","openapi":"openapi-public-preview.json POST /v1/accruals","href":"/api-reference/accounting/accruals/post-accrual-entries"},{"title":"Reverse accrual","openapi":"openapi-public-preview.json POST /v1/accruals/{accrual_id}/reverse","href":"/api-reference/accounting/accruals/reverse-accrual"}]},{"group":"Cash Application","pages":[{"title":"List eligible invoices","openapi":"openapi-public-preview.json GET /v1/cash-applications/invoices","href":"/api-reference/accounting/cash-application/list-eligible-invoices"},{"title":"Refresh Stripe invoice","openapi":"openapi-public-preview.json POST /v1/cash-applications/invoices/refresh","href":"/api-reference/accounting/cash-application/refresh-stripe-invoice"},{"title":"Preview cash application","openapi":"openapi-public-preview.json POST /v1/cash-applications/preview","href":"/api-reference/accounting/cash-application/preview-cash-application"},{"title":"List cash applications","openapi":"openapi-public-preview.json GET /v1/cash-applications","href":"/api-reference/accounting/cash-application/list-cash-applications"},{"title":"Create and apply cash application","openapi":"openapi-public-preview.json POST /v1/cash-applications","href":"/api-reference/accounting/cash-application/create-and-apply-cash-application"},{"title":"Update cash application","openapi":"openapi-public-preview.json PATCH /v1/cash-applications/{application_id}","href":"/api-reference/accounting/cash-application/update-cash-application"},{"title":"Apply cash application","openapi":"openapi-public-preview.json POST /v1/cash-applications/{application_id}/apply","href":"/api-reference/accounting/cash-application/apply-cash-application"},{"title":"Unapply cash application","openapi":"openapi-public-preview.json POST /v1/cash-applications/{application_id}/unapply","href":"/api-reference/accounting/cash-application/unapply-cash-application"},{"title":"Complete cash application","openapi":"openapi-public-preview.json POST /v1/cash-applications/{application_id}/complete","href":"/api-reference/accounting/cash-application/complete-cash-application"},{"title":"Void cash application","openapi":"openapi-public-preview.json POST /v1/cash-applications/{application_id}/void","href":"/api-reference/accounting/cash-application/void-cash-application"}]},{"group":"Classification","pages":[{"title":"Classify transactions","openapi":"openapi-public-preview.json POST /v1/classifications","href":"/api-reference/accounting/classification/classify-transactions"},{"title":"Get classification status","openapi":"openapi-public-preview.json GET /v1/classifications/{classification_id}","href":"/api-reference/accounting/classification/get-classification"}]},{"group":"Cost Basis","pages":[{"title":"Get cost basis settings","openapi":"openapi-public-preview.json GET /v1/settings/cost-basis","href":"/api-reference/accounting/cost-basis/get-cost-basis-settings"},{"title":"Update cost basis settings","openapi":"openapi-public-preview.json PUT /v1/settings/cost-basis","href":"/api-reference/accounting/cost-basis/update-cost-basis-settings"}]},{"group":"Purpose Accounts","pages":[{"title":"List purpose accounts","openapi":"openapi-public-preview.json GET /v1/organization/purpose-accounts","href":"/api-reference/accounting/purpose-accounts/list-purpose-accounts"},{"title":"Set realized gain or loss account","openapi":"openapi-public-preview.json PUT /v1/organization/purpose-accounts","href":"/api-reference/accounting/purpose-accounts/set-purpose-account"}]},{"group":"Revaluation","pages":[{"title":"List revaluations","openapi":"openapi-public-preview.json GET /v1/revaluations","href":"/api-reference/accounting/revaluation/list-revaluations"},{"title":"Create revaluation","openapi":"openapi-public-preview.json POST /v1/revaluations","href":"/api-reference/accounting/revaluation/create-revaluation"}]},{"group":"Accounting Periods","pages":[{"title":"List accounting periods","openapi":"openapi-public-preview.json GET /v1/accounting-periods","href":"/api-reference/accounting/accounting-periods/list-accounting-periods"},{"title":"Check period readiness","openapi":"openapi-public-preview.json GET /v1/accounting-periods/{period_id}/close-preflight","href":"/api-reference/accounting/accounting-periods/check-period-readiness"},{"title":"Close accounting period","openapi":"openapi-public-preview.json POST /v1/accounting-periods/{period_id}/close","href":"/api-reference/accounting/accounting-periods/close-accounting-period"},{"title":"Reopen accounting period","openapi":"openapi-public-preview.json POST /v1/accounting-periods/{period_id}/reopen","href":"/api-reference/accounting/accounting-periods/reopen-accounting-period"}]}]},{"group":"Reporting","pages":[{"group":"Income Statement","pages":[{"title":"Get income statement","openapi":"openapi-public-preview.json GET /v1/reports/income-statement","href":"/api-reference/reporting/income-statement/get-income-statement"}]},{"group":"Balance Sheet","pages":[{"title":"Get balance sheet","openapi":"openapi-public-preview.json GET /v1/reports/balance-sheet","href":"/api-reference/reporting/balance-sheet/get-balance-sheet"}]},{"group":"Trial Balance","pages":[{"title":"Get trial balance","openapi":"openapi-public-preview.json GET /v1/reports/trial-balance","href":"/api-reference/reporting/trial-balance/get-trial-balance"}]},{"group":"Closing Positions","pages":[{"title":"Get closing positions","openapi":"openapi-public-preview.json GET /v1/reports/closing-positions","href":"/api-reference/reporting/closing-positions/get-closing-positions"}]},{"group":"Treasury Balances","pages":[{"title":"Get treasury balances","openapi":"openapi-public-preview.json GET /v1/reports/treasury-balances","href":"/api-reference/reporting/treasury-balances/get-treasury-balances"},{"title":"Refresh treasury balances","openapi":"openapi-public-preview.json POST /v1/reports/treasury-balances/refresh","href":"/api-reference/reporting/treasury-balances/refresh-treasury-balances"}]},{"group":"Realized Gains \u0026 Losses","pages":[{"title":"Get realized gains \u0026 losses","openapi":"openapi-public-preview.json GET /v1/reports/realized-gains","href":"/api-reference/reporting/realized-gains-and-losses/get-realized-gains-and-losses"}]},{"group":"Asset Tax Lots","pages":[{"title":"Get asset tax lots","openapi":"openapi-public-preview.json GET /v1/reports/asset-tax-lots","href":"/api-reference/reporting/asset-tax-lots/get-asset-tax-lots"}]},{"group":"Schedule of Dispositions","pages":[{"title":"Get schedule of dispositions","openapi":"openapi-public-preview.json GET /v1/reports/schedule-of-dispositions","href":"/api-reference/reporting/schedule-of-dispositions/get-schedule-of-dispositions"}]},{"group":"Financial Insights","pages":[{"title":"Get financial insights","openapi":"openapi-public-preview.json GET /v1/reports/financial-insights","href":"/api-reference/reporting/financial-insights/get-financial-insights"}]}]},{"group":"Agents","pages":[{"group":"Agents","pages":[{"title":"List agents","openapi":"openapi-public-preview.json GET /v1/agents","href":"/api-reference/agents/agents/list-agents"},{"title":"Create agent","openapi":"openapi-public-preview.json POST /v1/agents","href":"/api-reference/agents/agents/create-agent"},{"title":"Update agent","openapi":"openapi-public-preview.json PATCH /v1/agents/{agent_id}","href":"/api-reference/agents/agents/update-agent"},{"title":"Delete agent","openapi":"openapi-public-preview.json DELETE /v1/agents/{agent_id}","href":"/api-reference/agents/agents/delete-agent"},{"title":"Run agent","openapi":"openapi-public-preview.json POST /v1/agents/{agent_id}/runs","href":"/api-reference/agents/agents/run-agent"},{"title":"List agent runs","openapi":"openapi-public-preview.json GET /v1/agents/{agent_id}/runs","href":"/api-reference/agents/agents/list-agent-runs"},{"title":"Cancel agent run","openapi":"openapi-public-preview.json POST /v1/agents/{agent_id}/runs/{run_id}/cancel","href":"/api-reference/agents/agents/cancel-agent-run"}]},{"group":"Memory","pages":[{"title":"List memory","openapi":"openapi-public-preview.json GET /v1/memory","href":"/api-reference/agents/memory/list-memory"},{"title":"Search memory","openapi":"openapi-public-preview.json GET /v1/memory/search","href":"/api-reference/agents/memory/search-memory"},{"title":"Read memory","openapi":"openapi-public-preview.json GET /v1/memory/file","href":"/api-reference/agents/memory/read-memory"},{"title":"Write memory","openapi":"openapi-public-preview.json PUT /v1/memory/file","href":"/api-reference/agents/memory/write-memory"},{"title":"Delete memory","openapi":"openapi-public-preview.json DELETE /v1/memory/file","href":"/api-reference/agents/memory/delete-memory"}]}]},{"group":"Integrations","pages":[{"group":"Connections","pages":[{"title":"List integrations","openapi":"openapi-public-preview.json GET /v1/integrations","href":"/api-reference/integrations/connections/list-integrations"},{"title":"List connections","openapi":"openapi-public-preview.json GET /v1/connections","href":"/api-reference/integrations/connections/list-connections"},{"title":"Connect provider","openapi":"openapi-public-preview.json POST /v1/connections","href":"/api-reference/integrations/connections/connect-provider"},{"title":"Update connection","openapi":"openapi-public-preview.json PATCH /v1/connections/{connection_id}","href":"/api-reference/integrations/connections/update-connection"},{"title":"Reauthorize connection","openapi":"openapi-public-preview.json POST /v1/connections/{connection_id}/reauthorize","href":"/api-reference/integrations/connections/reauthorize-connection"},{"title":"Disconnect connection","openapi":"openapi-public-preview.json DELETE /v1/connections/{connection_id}","href":"/api-reference/integrations/connections/disconnect-provider"}]},{"group":"GL Mapping","pages":[{"title":"List external accounts","openapi":"openapi-public-preview.json GET /v1/connections/{connection_id}/external-accounts","href":"/api-reference/integrations/gl-mapping/list-external-ledger-accounts"},{"title":"List external entities","openapi":"openapi-public-preview.json GET /v1/connections/{connection_id}/external-entities","href":"/api-reference/integrations/gl-mapping/list-external-legal-entities"},{"title":"List account mappings","openapi":"openapi-public-preview.json GET /v1/connections/{connection_id}/account-mappings","href":"/api-reference/integrations/gl-mapping/list-account-mappings"},{"title":"Set account mapping","openapi":"openapi-public-preview.json PUT /v1/connections/{connection_id}/account-mappings/{ledger_account_id}","href":"/api-reference/integrations/gl-mapping/map-ledger-account-to-erp"},{"title":"Remove account mapping","openapi":"openapi-public-preview.json DELETE /v1/connections/{connection_id}/account-mappings/{ledger_account_id}","href":"/api-reference/integrations/gl-mapping/remove-erp-account-mapping"},{"title":"List entity mappings","openapi":"openapi-public-preview.json GET /v1/connections/{connection_id}/entity-mappings","href":"/api-reference/integrations/gl-mapping/list-entity-mappings"},{"title":"Set entity mapping","openapi":"openapi-public-preview.json PUT /v1/connections/{connection_id}/entity-mappings/{legal_entity_id}","href":"/api-reference/integrations/gl-mapping/map-legal-entity-to-erp"},{"title":"Remove entity mapping","openapi":"openapi-public-preview.json DELETE /v1/connections/{connection_id}/entity-mappings/{legal_entity_id}","href":"/api-reference/integrations/gl-mapping/remove-erp-entity-mapping"},{"title":"List accounting imports","openapi":"openapi-public-preview.json GET /v1/connections/{connection_id}/imports","href":"/api-reference/integrations/gl-mapping/list-erp-imports"},{"title":"Import accounting data","openapi":"openapi-public-preview.json POST /v1/connections/{connection_id}/imports","href":"/api-reference/integrations/gl-mapping/import-from-erp"}]}]},{"group":"Firms","pages":[{"group":"Request","pages":[{"title":"List requests","openapi":"openapi-public-preview.json GET /v1/firm/requests","href":"/api-reference/firms/request/list-requests"},{"title":"Create request","openapi":"openapi-public-preview.json POST /v1/firm/requests","href":"/api-reference/firms/request/create-request"},{"title":"Resend request","openapi":"openapi-public-preview.json POST /v1/firm/requests/{request_id}/resend","href":"/api-reference/firms/request/resend-request"},{"title":"Cancel request","openapi":"openapi-public-preview.json POST /v1/firm/requests/{request_id}/cancel","href":"/api-reference/firms/request/cancel-request"}]},{"group":"Client","pages":[{"title":"List clients","openapi":"openapi-public-preview.json GET /v1/firm/clients","href":"/api-reference/firms/client/list-clients"},{"title":"Create client","openapi":"openapi-public-preview.json POST /v1/firm/clients","href":"/api-reference/firms/client/create-client"},{"title":"Update client","openapi":"openapi-public-preview.json PATCH /v1/firm/clients/{client_id}","href":"/api-reference/firms/client/update-client"},{"title":"Unlink client","openapi":"openapi-public-preview.json DELETE /v1/firm/clients/{client_id}","href":"/api-reference/firms/client/unlink-client"}]},{"group":"Team","pages":[{"title":"List team members","openapi":"openapi-public-preview.json GET /v1/firm/members","href":"/api-reference/firms/team/list-team-members"},{"title":"Update team member","openapi":"openapi-public-preview.json PATCH /v1/firm/members/{member_id}","href":"/api-reference/firms/team/update-team-member"},{"title":"Remove team member","openapi":"openapi-public-preview.json DELETE /v1/firm/members/{member_id}","href":"/api-reference/firms/team/remove-team-member"},{"title":"List invitations","openapi":"openapi-public-preview.json GET /v1/firm/invitations","href":"/api-reference/firms/team/list-invitations"},{"title":"Invite team member","openapi":"openapi-public-preview.json POST /v1/firm/invitations","href":"/api-reference/firms/team/invite-team-member"},{"title":"Resend invitation","openapi":"openapi-public-preview.json POST /v1/firm/invitations/{invitation_id}/resend","href":"/api-reference/firms/team/resend-invitation"},{"title":"Revoke invitation","openapi":"openapi-public-preview.json DELETE /v1/firm/invitations/{invitation_id}","href":"/api-reference/firms/team/revoke-invitation"}]},{"group":"Settings","pages":[{"title":"Get firm settings","openapi":"openapi-public-preview.json GET /v1/firm/settings","href":"/api-reference/firms/settings/get-firm-settings"},{"title":"Update firm settings","openapi":"openapi-public-preview.json PATCH /v1/firm/settings","href":"/api-reference/firms/settings/update-firm-settings"}]}]}]}]},"basePath":"","title":"Unpost journal - Entendre Docs","buildId":"dpl_6PxPD4Fj1JDU9BJxEHvfdUmxKThw","deploymentId":"dpl_6PxPD4Fj1JDU9BJxEHvfdUmxKThw","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CASS2Vpq.js","utils-4k9fyWRu.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-UU-UueZb.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BgJ0LOYq.js","snippetPresets-CMgzlMR-.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BzEJegkK.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CZuQIZdk.js","shallow-Bw5arfMA.js","getApiPlaygroundDisplay-Ds834aVN.js","CodeSnippet-CKzmjw9L.js","CodeSnippets-BRpgomdp.js","Page-DvEUoD2H.js","getPastedJson-B0N-Tn76.js","icon-DASMs9nC.js","MethodPill-BA6DBLqx.js","DuplicateIcon-BMT5qfbJ.js","createIcon-CNfwVWPx.js","DynamicMarkdown-JYyBNlrJ.js","SectionHeading-BbZnmz8a.js","axios-vUo_bRtp.js","Markdown-LUU0YLpA.js","clsx-Di4ek5Ae.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-VEVWQCR4.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CPszyu99.js"]}