Update an existing expense report. Can only update reports with status pending_review. Set status to cancelled to cancel the report. The acting user is derived from your credentials. Bearer tokens and user-scoped API keys may update reports submitted by that user, or any report in the legal entity if that user holds the reimbursements.approve permission. Legal-entity API keys must hold reimbursements.approve.
Legal-entity-scoped keys are pinned to a single legal entity.
Minted via the dashboard under a specific entity; every request
acts on that entity.
User-scoped keys are pinned to a user and span every legal
entity that user has access to. Every request made with a
user-scoped key (except GET /legal-entity, which lists the
legal entities the user can access) must include an
x-legal-entity header naming the legal entity the request is
operating on. Requests without the header are rejected with
400. The authenticated user must have an active permission
role on the supplied legal entity, otherwise the request is
rejected with 403.
{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"Slash","colors":{"primary":"#8a6f08","light":"#e5a90a","dark":"#ad8c0c"},"logo":{"light":"https://mintcdn.com/slash-9da6c7e7/fQTvKgvPM9Xc8XFC/favicon.png?fit=max\u0026auto=format\u0026n=fQTvKgvPM9Xc8XFC\u0026q=85\u0026s=6670ecb53c5fa3879ea6f632793b7d24","dark":"https://mintcdn.com/slash-9da6c7e7/fQTvKgvPM9Xc8XFC/favicon.png?fit=max\u0026auto=format\u0026n=fQTvKgvPM9Xc8XFC\u0026q=85\u0026s=6670ecb53c5fa3879ea6f632793b7d24"},"favicon":"https://mintcdn.com/slash-9da6c7e7/fQTvKgvPM9Xc8XFC/favicon.png?fit=max\u0026auto=format\u0026n=fQTvKgvPM9Xc8XFC\u0026q=85\u0026s=6670ecb53c5fa3879ea6f632793b7d24","api":{"openapi":["https://api.slash.com/openapi","openapi-v2.json"],"params":{"expanded":"all"},"examples":{"defaults":"all","languages":["curl","javascript","python","go"],"prefill":true,"autogenerate":true}},"navbar":{"links":[{"href":"mailto:support@joinslash.com","label":"Support"},{"href":"https://www.slash.com/sales-inquiry?utm_source=docs\u0026utm_medium=navbar\u0026utm_campaign=docs_cta","label":"Get Started"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.slash.com"}},"fonts":{"family":"Inter"},"contextual":{"options":["copy","view","chatgpt","claude","cursor","mcp"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"slash-9da6c7e7","hasAudioNarration":false,"actualSubdomain":"slash-9da6c7e7","customDomains":["docs.slash.com"],"gitSource":{"type":"github","owner":"slashfi","repo":"slash","deployBranch":"main","contentDirectory":"packages/api-specs/server-api-v2/src/publicApi","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af512276f62a40900694c4f","clientVersion":"0.0.4111","searchFilterCounts":[{"language":"default","tag":"API Reference","count":270},{"language":"default","tag":"Money movement","count":52},{"language":"default","tag":"Guides","count":50},{"language":"default","tag":"Cards","count":45},{"language":"default","tag":"Invoicing","count":34},{"language":"default","tag":"Accounting","count":28},{"language":"default","tag":"Transfers","count":23},{"language":"default","tag":"Entities","count":22},{"language":"default","tag":"Payment Processing","count":19},{"language":"default","tag":"Bill pay","count":17}]},"assistantConfig":{},"basePath":"","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":"/* cyrillic-ext */\n@font-face {\n font-family: 'IBM Plex Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/ibmplexmono/v20/-F63fjptAgt5VM-kVkqdyU8n1iIq129k.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'IBM Plex Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/ibmplexmono/v20/-F63fjptAgt5VM-kVkqdyU8n1isq129k.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* vietnamese */\n@font-face {\n font-family: 'IBM Plex Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/ibmplexmono/v20/-F63fjptAgt5VM-kVkqdyU8n1iAq129k.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'IBM Plex Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/ibmplexmono/v20/-F63fjptAgt5VM-kVkqdyU8n1iEq129k.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'IBM Plex Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/ibmplexmono/v20/-F63fjptAgt5VM-kVkqdyU8n1i8q1w.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'IBM Plex Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/ibmplexmono/v20/-F6qfjptAgt5VM-kVkqdyU8n3twJwl1FgtIU.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'IBM Plex Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/ibmplexmono/v20/-F6qfjptAgt5VM-kVkqdyU8n3twJwlRFgtIU.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* vietnamese */\n@font-face {\n font-family: 'IBM Plex Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/ibmplexmono/v20/-F6qfjptAgt5VM-kVkqdyU8n3twJwl9FgtIU.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'IBM Plex Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/ibmplexmono/v20/-F6qfjptAgt5VM-kVkqdyU8n3twJwl5FgtIU.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'IBM Plex Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/ibmplexmono/v20/-F6qfjptAgt5VM-kVkqdyU8n3twJwlBFgg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'IBM Plex Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/ibmplexmono/v20/-F6qfjptAgt5VM-kVkqdyU8n3vAOwl1FgtIU.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'IBM Plex Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/ibmplexmono/v20/-F6qfjptAgt5VM-kVkqdyU8n3vAOwlRFgtIU.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* vietnamese */\n@font-face {\n font-family: 'IBM Plex Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/ibmplexmono/v20/-F6qfjptAgt5VM-kVkqdyU8n3vAOwl9FgtIU.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'IBM Plex Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/ibmplexmono/v20/-F6qfjptAgt5VM-kVkqdyU8n3vAOwl5FgtIU.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'IBM Plex Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/ibmplexmono/v20/-F6qfjptAgt5VM-kVkqdyU8n3vAOwlBFgg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n:root{--slash-text: #24231f;--slash-muted: #716f67;--slash-gold: #8a6f08;--slash-sheet: #ffffff;--slash-chrome: #f7f7f4;--slash-surface: rgba(255, 255, 255, 0.86);--slash-control: #ffffff;--slash-hover: rgba(28, 28, 24, 0.04);--slash-hairline: rgba(28, 28, 24, 0.07);--slash-hairline-strong: rgba(28, 28, 24, 0.11);--slash-inline-code-border: rgba(28, 28, 24, 0.16);--slash-inline-code-bg: rgba(28, 28, 24, 0.045);--slash-hook-tint: rgba(139, 92, 246, 0.2);--slash-hook-ink: #6d28d9;--slash-hook-solid: #7c3aed;--slash-radius-inline: 4px;--slash-radius-chip: 6px;--slash-radius-control: 8px;--slash-radius-surface: 12px;--slash-radius-dialog: 16px;--slash-inset-surface: calc(\n var(--slash-radius-surface) -\n var(--slash-radius-control)\n );--slash-inset-dialog: calc(\n var(--slash-radius-dialog) -\n var(--slash-radius-control)\n );--slash-type-caps: 0.72rem;--slash-type-caption: 0.78rem;--slash-type-small: 0.8125rem;--slash-type-label: 0.875rem;--slash-weight-medium: 550;--slash-weight-strong: 600;--slash-weight-heading: 650;--slash-ease-fast: 120ms ease;--slash-ease: 150ms ease;--slash-lift:\n 0 1px 1px rgba(20, 18, 10, 0.03), 0 1px 3px rgba(20, 18, 10, 0.05);--slash-raise:\n 0 1px 2px rgba(20, 18, 10, 0.04), 0 10px 28px -14px rgba(20, 18, 10, 0.16);--slash-control-shadow:\n 0 0 0 1px rgba(28, 28, 24, 0.08), 0 1px 2px rgba(20, 18, 10, 0.06),\n 0 4px 10px -4px rgba(20, 18, 10, 0.12);--slash-control-shadow-active:\n 0 0 0 1px rgba(28, 28, 24, 0.1), 0 1px 2px rgba(20, 18, 10, 0.07),\n 0 6px 14px -6px rgba(20, 18, 10, 0.16);--slash-popover-shadow:\n 0 0 0 1px rgba(28, 28, 24, 0.08), 0 2px 4px rgba(20, 18, 10, 0.04),\n 0 12px 28px -8px rgba(20, 18, 10, 0.16);--slash-dialog-shadow:\n 0 0 0 1px rgba(28, 28, 24, 0.08), 0 4px 8px rgba(20, 18, 10, 0.04),\n 0 24px 56px -12px rgba(20, 18, 10, 0.22)}.dark{--slash-text: #f1efe8;--slash-muted: #aaa69a;--slash-gold: #dfb725;--slash-sheet: #1a1a17;--slash-chrome: #131311;--slash-surface: rgba(27, 27, 24, 0.86);--slash-control: #23231f;--slash-hover: rgba(255, 255, 255, 0.05);--slash-hairline: rgba(255, 255, 255, 0.07);--slash-hairline-strong: rgba(255, 255, 255, 0.12);--slash-inline-code-border: rgba(255, 255, 255, 0.18);--slash-inline-code-bg: rgba(255, 255, 255, 0.075);--slash-hook-ink: #c4b5fd;--slash-lift: 0 1px 2px rgba(0, 0, 0, 0.35);--slash-raise:\n 0 1px 2px rgba(0, 0, 0, 0.4), 0 10px 28px -14px rgba(0, 0, 0, 0.7);--slash-control-shadow:\n inset 0 1px 0 rgba(255, 255, 255, 0.05),\n 0 0 0 1px rgba(255, 255, 255, 0.07), 0 1px 2px rgba(0, 0, 0, 0.5),\n 0 4px 12px -4px rgba(0, 0, 0, 0.6);--slash-control-shadow-active:\n inset 0 1px 0 rgba(255, 255, 255, 0.06),\n 0 0 0 1px rgba(255, 255, 255, 0.09), 0 1px 2px rgba(0, 0, 0, 0.5),\n 0 6px 16px -6px rgba(0, 0, 0, 0.7);--slash-popover-shadow:\n inset 0 1px 0 rgba(255, 255, 255, 0.05),\n 0 0 0 1px rgba(255, 255, 255, 0.08), 0 2px 4px rgba(0, 0, 0, 0.4),\n 0 12px 28px -8px rgba(0, 0, 0, 0.7);--slash-dialog-shadow:\n inset 0 1px 0 rgba(255, 255, 255, 0.06),\n 0 0 0 1px rgba(255, 255, 255, 0.08), 0 4px 8px rgba(0, 0, 0, 0.4),\n 0 24px 56px -12px rgba(0, 0, 0, 0.8)}code,pre,pre *,kbd,samp,.font-mono{font-family:\"IBM Plex Mono\", ui-monospace, SFMono-Regular, Menlo, monospace}:is(#content-area,[data-testid=\"api-playground-modal\"]) code:not(pre code){padding:0.08em 0.28em;border:1px solid var(--slash-inline-code-border);border-radius:var(--slash-radius-inline);background:var(--slash-inline-code-bg);box-decoration-break:clone;-webkit-box-decoration-break:clone;font-size:0.86em;font-weight:500;letter-spacing:-0.015em;box-shadow:none}#content-area :is(h1,h2,h3){letter-spacing:-0.025em}#content-area h1{font-weight:var(--slash-weight-heading)}#content-area table th{color:var(--slash-muted);font-size:var(--slash-type-caps);font-weight:var(--slash-weight-strong);letter-spacing:0.04em;text-transform:uppercase}#sidebar{background-color:var(--slash-chrome);border-right-color:var(--slash-hairline)}#header{padding-bottom:1.75rem;border-bottom:1px solid var(--slash-hairline)}#navbar{background-color:color-mix(in srgb, var(--slash-sheet) 82%, transparent);border-bottom:1px solid var(--slash-hairline);backdrop-filter:saturate(1.4) blur(12px)}#table-of-contents a{border-left-color:transparent}.code-block,.code-group,[data-testid=\"code-group-select\"],.card,.callout,.accordion-group,#content-area table,.mermaid{border:1px solid var(--slash-hairline-strong);border-radius:var(--slash-radius-surface);box-shadow:var(--slash-lift)}.card:hover{box-shadow:var(--slash-raise)}#sidebar-content .sidebar-group a.border-primary,:is(#search-bar-entry,#assistant-entry),#page-context-menu,html[data-theme-preference] [data-theme-preference-switch]>.theme-preference-switch-option[data-theme-preference-value][aria-pressed=\"true\"]{background-color:var(--slash-control)}#sidebar-content .sidebar-group a.border-primary,:is(#search-bar-entry,#assistant-entry),#page-context-menu,#sidebar>ul button[aria-haspopup=\"menu\"],html[data-theme-preference] [data-theme-preference-switch]>.theme-preference-switch-option[data-theme-preference-value][aria-pressed=\"true\"]{box-shadow:var(--slash-control-shadow)}#sidebar>ul button[aria-haspopup=\"menu\"]:is(:hover,[aria-expanded=\"true\"]),#page-context-menu:has([aria-expanded=\"true\"]){box-shadow:var(--slash-control-shadow-active)}#sidebar-content .sidebar-group :is(a,button):not(.border-primary):hover,#sidebar>ul a:hover,#page-context-menu>button:is(:hover,[aria-expanded=\"true\"]){background-color:var(--slash-hover)}#sidebar-content .sidebar-group :is(a,button),#sidebar>ul a,#page-context-menu>button{transition:background-color var(--slash-ease-fast),\n color var(--slash-ease-fast)}#sidebar>ul button[aria-haspopup=\"menu\"],#page-context-menu{transition:box-shadow var(--slash-ease)}.sidebar-group-header{color:var(--slash-text);font-size:var(--slash-type-small);font-weight:var(--slash-weight-strong);letter-spacing:-0.01em}.sidebar-group-header svg{color:var(--slash-muted)}#sidebar-content .sidebar-group :is(a,button){width:100%;margin-left:0;border-left-width:0;border-radius:var(--slash-radius-control)}#sidebar-content .sidebar-group :is(li+li,li>ul){margin-top:2px}#sidebar-content .sidebar-group a.border-primary{color:var(--slash-text);font-weight:var(--slash-weight-medium);text-shadow:none}#sidebar>ul{background-color:transparent;border-top-color:var(--slash-hairline)}#sidebar>ul a{border-radius:var(--slash-radius-control);color:var(--slash-muted)}#sidebar>ul a:hover{color:var(--slash-text)}#sidebar>ul button[aria-haspopup=\"menu\"]{margin-top:0.5rem;padding-left:1rem;background-image:linear-gradient(var(--slash-control), var(--slash-control));color:var(--slash-text)}:is(#search-bar-entry,#assistant-entry){border-radius:var(--slash-radius-control)}:is(div[data-radix-menu-content],[data-base-ui-portal] [role=\"menu\"]){padding:var(--slash-inset-surface);border:0;border-radius:var(--slash-radius-surface);background-color:var(--slash-control);box-shadow:var(--slash-popover-shadow)}:is(div[data-radix-menu-content],[data-base-ui-portal] [role=\"menu\"]) [role^=\"menuitem\"]{border-radius:var(--slash-radius-control);outline-color:transparent!important}:is(div[data-radix-menu-content],[data-base-ui-portal] [role=\"menu\"]) [role^=\"menuitem\"][data-highlighted]{background-color:var(--slash-hover)}:is(div[data-radix-menu-content],[data-base-ui-portal] [role=\"menu\"])[data-align=\"start\"] [role^=\"menuitem\"]{padding-left:calc(1rem - var(--slash-inset-surface))}[data-component-part=\"search-modal\"]{border-radius:var(--slash-radius-dialog);background-color:var(--slash-control);box-shadow:var(--slash-dialog-shadow)}[data-component-part=\"search-modal\"] [data-component-part=\"search-header\"]{padding:var(--slash-inset-dialog) var(--slash-inset-dialog) 0}[data-component-part=\"search-modal\"]:has([data-component-part=\"search-footer\"]) [data-component-part=\"search-header\"]{border-bottom:1px solid var(--slash-hairline)}[data-component-part=\"search-modal\"] [data-component-part=\"search-input-container\"]{padding-left:0;border:0;border-radius:var(--slash-radius-control);background-color:transparent}[data-component-part=\"search-modal\"] [data-component-part=\"search-input-container\"]>svg{left:0.5rem}[data-component-part=\"search-modal\"] [data-component-part=\"search-input\"]{padding-left:2rem}[data-component-part=\"search-modal\"] [data-component-part=\"search-list\"]{padding:var(--slash-inset-dialog);padding-bottom:0}[data-component-part=\"search-modal\"] :is([data-component-part=\"search-ask-ai-button\"],[data-component-part=\"search-item\"],[data-component-part=\"search-ask-ai-item\"]){border-radius:var(--slash-radius-control)}[data-component-part=\"search-modal\"] :is([data-component-part=\"search-item\"],[data-component-part=\"search-ask-ai-item\"])[data-highlighted]{background-color:var(--slash-hover)}[data-component-part=\"search-modal\"] [data-component-part=\"search-item\"]>div{border-radius:var(--slash-radius-chip)}[data-component-part=\"search-modal\"] [data-component-part=\"search-group-label\"]{padding-inline:0.5rem}[data-component-part=\"search-modal\"] [data-component-part=\"search-footer\"]{margin-inline:var(--slash-inset-dialog);padding-left:0.5rem;border-top-color:var(--slash-hairline)}[data-testid=\"api-playground-modal\"]{border-radius:var(--slash-radius-dialog)}#content-area table{overflow:hidden}[data-component-part=\"code-block-root\"]{border-radius:calc(var(--slash-radius-surface) - 3px)}.code-block>[data-component-part=\"code-block-root\"]{border-radius:calc(var(--slash-radius-surface) - 1px)}.callout:is([data-callout-type=\"note\"],[data-callout-type=\"info\"]){background-color:var(--slash-chrome);border-color:var(--slash-hairline-strong)}#content-area .field{border-bottom-color:var(--slash-hairline)}#content-area [data-component-part=\"field-name\"]{color:var(--slash-text)}.mermaid{overflow-x:auto;scrollbar-gutter:stable;margin:1.5rem 0 2rem;padding:1.25rem;background:var(--slash-surface)}.mermaid svg[aria-roledescription=\"sequence\"]{min-width:860px}.mermaid svg[aria-roledescription=\"flowchart-v2\"]{min-width:0;max-width:100%;height:auto}details>[data-component-part=\"accordion-button\"]:hover{background-color:transparent}#content-area details>[data-component-part=\"accordion-button\"]{gap:0.5rem;padding:0.625rem 0.875rem}#content-area [data-component-part=\"accordion-caret-right\"]{align-self:flex-start;width:0.75rem;height:0.75rem;margin:0.25rem 0 0;color:var(--slash-muted)}#content-area [data-component-part=\"accordion-caret-right\"]>svg{display:none}#content-area [data-component-part=\"accordion-caret-right\"]::before{content:\"\";display:block;width:100%;height:100%;background-color:currentColor;mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.75 3.75 12 9l-5.25 5.25'/%3E%3C/svg%3E\")\n center / contain no-repeat;transition:transform var(--slash-ease)}#content-area [aria-expanded=\"true\"]>[data-component-part=\"accordion-caret-right\"]::before{transform:rotate(90deg)}#content-area [data-component-part=\"accordion-title\"]{color:var(--slash-text);font-size:var(--slash-type-label);font-weight:var(--slash-weight-medium);line-height:1.25rem;letter-spacing:-0.01em}#content-area [data-component-part=\"accordion-description\"]{color:var(--slash-muted);font-size:var(--slash-type-caption);line-height:1.15rem}#content-area details>[data-component-part=\"accordion-content\"]{margin-inline:0;padding:0 0.875rem 0.75rem;font-size:var(--slash-type-small);line-height:1.25rem}#content-area .webhook-event-catalog [data-component-part=\"accordion-content\"]{padding-block:0.875rem}.webhook-event-details{align-items:start;gap:1.25rem}.webhook-event-details>*{min-width:0}.method-pill{border-radius:var(--slash-radius-chip)}#page-context-menu{width:fit-content;border-radius:var(--slash-radius-control)}#page-context-menu>button{border-color:transparent;background-color:transparent;color:var(--slash-text)}#page-context-menu-button{border-radius:var(--slash-radius-control) 0 0 var(--slash-radius-control)}#page-context-menu>[aria-haspopup=\"menu\"]{border-radius:0 var(--slash-radius-control) var(--slash-radius-control) 0;box-shadow:inset 1px 0 0 var(--slash-hairline-strong);color:var(--slash-muted)}#page-context-menu>button:is(:hover,[aria-expanded=\"true\"]){color:var(--slash-text)}[data-theme-preference-switch]{width:auto;gap:2px;padding:2px;border:0;border-radius:var(--slash-radius-control);background-color:var(--slash-hover);box-shadow:inset 0 0 0 1px var(--slash-hairline)}[data-theme-preference-switch]>.theme-preference-switch-option{height:100%;width:auto;aspect-ratio:1;border-radius:calc(var(--slash-radius-control) - 2px);color:var(--slash-muted);transition:background-color var(--slash-ease),\n box-shadow var(--slash-ease),\n color var(--slash-ease)}[data-theme-preference-switch]>.theme-preference-switch-option:hover{color:var(--slash-text)}html[data-theme-preference] [data-theme-preference-switch]>.theme-preference-switch-option[data-theme-preference-value][aria-pressed=\"true\"]{color:var(--slash-text)}#pagination,#footer,.chat-assistant-floating-input{display:none}[role=\"menu\"] [role=\"menuitem\"]:has(>.rounded-md.border){align-items:center;gap:0.5rem}[role=\"menu\"] [role=\"menuitem\"]>.rounded-md.border{margin-top:0;border-color:transparent;border-radius:var(--slash-radius-chip);background-color:var(--slash-chrome);box-shadow:inset 0 0 0 1px var(--slash-hairline);color:var(--slash-muted)}[role=\"menu\"] [role=\"menuitem\"]:has(>.rounded-md.border)>div:last-child>:first-child{color:var(--slash-text)}[role=\"menu\"] [role=\"menuitem\"]:has(>.rounded-md.border)>div:last-child>:last-child{color:var(--slash-muted)}div:has(>div>#chat-assistant-textarea){border-color:var(--slash-hairline-strong);border-radius:var(--slash-radius-surface);background-color:var(--slash-control);box-shadow:var(--slash-lift)}div:has(>div>#chat-assistant-textarea):focus-within{border-color:var(--slash-gold)}#headlessui-portal-root .shadow-search{border-radius:var(--slash-radius-dialog)}[data-testid=\"api-playground-modal\"] .rounded-2xl{border-radius:var(--slash-radius-surface)}[data-testid=\"api-playground-modal\"] .rounded-t-2xl{border-top-left-radius:var(--slash-radius-surface);border-top-right-radius:var(--slash-radius-surface)}.frame,.frame>.border{border-radius:var(--slash-radius-surface)}.frame>.relative{border-radius:calc(var(--slash-radius-surface) - 8px)}#api-playground-2-operation-page div:has(>div>.tryit-button){padding:calc(var(--slash-inset-surface) - 1px);border-radius:var(--slash-radius-surface)}.tryit-button,div:has(>.method-pill),.code-group [class*=\"rounded-[10px]\"]{border-radius:var(--slash-radius-control)}#api-playground-2-operation-page div:has(>div>.tryit-button) div:has(>.method-pill){border-color:transparent}#sidebar-content a[href*=\"/webhooks/\"] .method-nav-pill>span,[data-method=\"hook\"][class*=\"bg-blue-400/20\"]{background-color:var(--slash-hook-tint);color:var(--slash-hook-ink)}#sidebar-content a[href*=\"/webhooks/\"].border-primary .method-nav-pill>span,[data-method=\"hook\"][class*=\"text-[#FFFFFF]\"]{background-color:var(--slash-hook-solid);color:#ffffff}"}],"page":{"pagePath":"api-reference/expense-report-patch","slug":"/api-reference/expense-report-patch","pageMetadata":{"title":"Update expense report","openapi":"patch /expense-report/{expenseReportId}","description":"Update an existing expense report. Can only update reports with status `pending_review`. Set `status` to `cancelled` to cancel the report. The acting user is derived from your credentials. Bearer tokens and user-scoped API keys may update reports submitted by that user, or any report in the legal entity if that user holds the `reimbursements.approve` permission. Legal-entity API keys must hold `reimbursements.approve`.","href":"/api-reference/expense-report-patch"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Update an existing expense report. Can only update reports with status \", _jsx(_components.code, {\n children: \"pending_review\"\n }), \". Set \", _jsx(_components.code, {\n children: \"status\"\n }), \" to \", _jsx(_components.code, {\n children: \"cancelled\"\n }), \" to cancel the report. The acting user is derived from your credentials. Bearer tokens and user-scoped API keys may update reports submitted by that user, or any report in the legal entity if that user holds the \", _jsx(_components.code, {\n children: \"reimbursements.approve\"\n }), \" permission. Legal-entity API keys must hold \", _jsx(_components.code, {\n children: \"reimbursements.approve\"\n }), \".\"]\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 expense report","openapi":"patch /expense-report/{expenseReportId}","description":"Update an existing expense report. Can only update reports with status `pending_review`. Set `status` to `cancelled` to cancel the report. The acting user is derived from your credentials. Bearer tokens and user-scoped API keys may update reports submitted by that user, or any report in the legal entity if that user holds the `reimbursements.approve` permission. Legal-entity API keys must hold `reimbursements.approve`.","href":"/api-reference/expense-report-patch"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/slash-9da6c7e7/83b6eff69ed8220d/scripts/build.js","/_mintlify/custom/slash-9da6c7e7/ea21b70a7b3e1be7/scripts/check.js","/_mintlify/custom/slash-9da6c7e7/378d9c63be22bfe7/scripts/generate-webhook-event-schema.js","/_mintlify/custom/slash-9da6c7e7/6ed240c9ac8b3e96/webhook-event-switcher.js","/_mintlify/custom/slash-9da6c7e7/198eb44fb20c3d16/hook-badge.js","/_mintlify/custom/slash-9da6c7e7/6dcb3de6dc61dda5/scripts/generate-purpose-code-docs.js","/_mintlify/custom/slash-9da6c7e7/147acb3a34b80dca/sidebar-collapsed-groups.js"],"openApiReferenceData":{"operation":{"description":"Update an existing expense report. Can only update reports with status `pending_review`. Set `status` to `cancelled` to cancel the report. The acting user is derived from your credentials. Bearer tokens and user-scoped API keys may update reports submitted by that user, or any report in the legal entity if that user holds the `reimbursements.approve` permission. Legal-entity API keys must hold `reimbursements.approve`.","parameters":["36ca90b2-51fc-423a-a494-d20051be9b42"],"requestBody":"c90f91e0-eec0-4ea6-a5b8-aabc42b15906","responses":{"200":"b07d482a-428c-4999-bb2a-0a58507e1213","401":"91315898-2545-4fe1-9014-a1675dbeba83","403":"8e442e1b-ede0-4e3b-9f7c-bccda10e37fe","429":"36ac1bc0-70c8-4bad-9b0c-35c2d875c2d5","500":"ac7becd5-a5be-4b56-bc6b-def7ceae5867"},"security":["54201955-82dd-45a1-a9da-3eb19ed057ce","41229654-36d5-4866-8f0e-741e1516e42a"],"method":"patch","type":"path","servers":["ebf982de-a82b-415d-9bb1-99db2608f617"],"path":"/expense-report/{expenseReportId}","baseUrlOptions":["https://api.slash.com"],"title":"","codeSamples":[],"requestExampleLanguages":["bash","javascript","python","go"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[{"body.updatedByUserId":"\u003cstring>","body.amountCents":123,"body.currency":"\u003cstring>","body.transactionDate":"2023-11-07T05:31:56Z","body.memo.oneOf.0":"\u003cstring>","body.destinationId":"\u003cstring>","body.documentIds.items.0":"\u003cstring>","body.status":"cancelled"}]},"dependencies":{"parameters":{"36ca90b2-51fc-423a-a494-d20051be9b42":{"name":"expenseReportId","in":"path","required":true,"schema":{"type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"updatedByUserId":{"type":"string","deprecated":true,"description":"Deprecated and ignored. The acting user is derived from your credentials. Retained for backwards compatibility with existing integrations.","uniqueKey":"updatedByUserId","typeLabel":"string"},"amountCents":{"type":"integer","description":"The expense amount in cents.","uniqueKey":"amountCents","typeLabel":"integer"},"currency":{"type":"string","description":"ISO currency code (e.g., 'USD').","uniqueKey":"currency","typeLabel":"string"},"transactionDate":{"type":"string","format":"date-time","description":"The date of the transaction being reimbursed.","uniqueKey":"transactionDate","typeLabel":"string\u003cdate-time>"},"memo":{"oneOf":[{"type":"string","description":"Description or notes for the expense.","uniqueKey":"memo.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description or notes for the expense.","uniqueKey":"memo.oneOf.1","typeLabel":"null"}],"uniqueKey":"memo","typeLabel":"string | null"},"destinationId":{"type":"string","description":"The user's bank account ID for payout.","uniqueKey":"destinationId","typeLabel":"string"},"documentIds":{"type":"array","items":{"type":"string","uniqueKey":"documentIds.items.[INDEX]","typeLabel":"string"},"description":"IDs of uploaded receipt documents to attach.","uniqueKey":"documentIds","typeLabel":"string[]"},"merchant":{"type":"object","description":"Merchant reference for the expense.","properties":{"type":{"type":"string","enum":["merchantV2","customMerchant"],"description":"Type of merchant reference.","isRequired":true,"uniqueKey":"merchant.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"ID of the merchant.","isRequired":true,"uniqueKey":"merchant.id","typeLabel":"string"}},"required":["type","id"],"uniqueKey":"merchant","typeLabel":"object"},"status":{"type":"string","enum":["cancelled"],"description":"Set to `cancelled` to cancel the expense report.","uniqueKey":"status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"updatedByUserId":"\u003cstring>","amountCents":123,"currency":"\u003cstring>","transactionDate":"2023-11-07T05:31:56Z","memo":"\u003cstring>","destinationId":"\u003cstring>","documentIds":["\u003cstring>"],"status":"cancelled"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"b07d482a-428c-4999-bb2a-0a58507e1213":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"expenseReport":{"type":"object","title":"PublicExpenseReportWithMetadata","description":"An expense report with enriched metadata, stripped for public API consumption","required":["id","legalEntityId","submittedByUserId","amountCents","currency","transactionDate","destinationId","submittedAt","status","timestamp"],"x-entrypoint":{"virtualPath":"entity/ExpenseReport/PublicExpenseReportWithMetadata","sourcePath":"entity/ExpenseReport/PublicExpenseReportWithMetadata.yaml","title":"PublicExpenseReportWithMetadata","origin":"/home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas","globalImport":true,"typescript":{"importPath":"import * as models from '@slashfi/models';","symbolValue":"models.entity.ExpenseReport.PublicExpenseReportWithMetadata","typeValue":"models.entity.ExpenseReport.PublicExpenseReportWithMetadata"}},"properties":{"id":{"type":"string","pattern":"^expense_report_[a-z0-9]*","x-typescript":{"typeLiteral":"expense_report_${string}"},"description":"The unique ID of the expense report","x-entrypoint":{"virtualPath":"id/ExpenseReport/ExpenseReportId","sourcePath":"id/ExpenseReport/ExpenseReportId.yaml","title":"ExpenseReportId","origin":"/home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas","globalImport":true},"title":"ExpenseReportId","isRequired":true,"uniqueKey":"expenseReport.id","typeLabel":"string"},"legalEntityId":{"type":"string","pattern":"^le_[a-z0-9]*","x-typescript":{"typeLiteral":"le_${string}"},"description":"The ID of the legal entity this expense report belongs to","x-entrypoint":{"virtualPath":"id/LegalEntityId","sourcePath":"id/LegalEntityId.yaml","title":"LegalEntityId","origin":"/home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas","globalImport":true},"title":"LegalEntityId","isRequired":true,"uniqueKey":"expenseReport.legalEntityId","typeLabel":"string"},"submittedByUserId":{"type":"string","pattern":"^u_[a-z0-9]*","x-typescript":{"typeLiteral":"u_${string}"},"description":"The ID of the user who submitted this expense report","x-entrypoint":{"virtualPath":"id/User","sourcePath":"id/User.yaml","title":"User","origin":"/home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas","globalImport":true},"title":"User","isRequired":true,"uniqueKey":"expenseReport.submittedByUserId","typeLabel":"string"},"amountCents":{"type":"integer","description":"The expense amount in cents","isRequired":true,"uniqueKey":"expenseReport.amountCents","typeLabel":"integer"},"currency":{"type":"string","description":"ISO currency code (e.g., 'USD')","isRequired":true,"uniqueKey":"expenseReport.currency","typeLabel":"string"},"transactionDate":{"type":"string","format":"date-time","description":"The date of the transaction being reimbursed","isRequired":true,"uniqueKey":"expenseReport.transactionDate","typeLabel":"string\u003cdate-time>"},"destinationId":{"type":"string","pattern":"^ub_[a-z0-9]*","x-typescript":{"typeLiteral":"ub_${string}"},"description":"The user's bank account ID for payout","x-entrypoint":{"virtualPath":"id/UserBankAccount","sourcePath":"id/UserBankAccount.yaml","title":"UserBankAccount","origin":"/home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas","globalImport":true},"title":"UserBankAccount","isRequired":true,"uniqueKey":"expenseReport.destinationId","typeLabel":"string"},"submittedAt":{"type":"string","format":"date-time","description":"When the expense report was submitted","isRequired":true,"uniqueKey":"expenseReport.submittedAt","typeLabel":"string\u003cdate-time>"},"status":{"type":"string","description":"Current status of the expense report","enum":["pending_review","cancelled","rejected","payment_processing","payment_completed","payment_failed"],"x-entrypoint":{"virtualPath":"entity/ExpenseReport/ExpenseReportStatus","sourcePath":"entity/ExpenseReport/ExpenseReportStatus.yaml","title":"ExpenseReportStatus","origin":"/home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas","globalImport":true},"title":"ExpenseReportStatus","isRequired":true,"uniqueKey":"expenseReport.status","typeLabel":"enum\u003cstring>"},"timestamp":{"type":"string","format":"date-time","description":"Metadata timestamp","isRequired":true,"uniqueKey":"expenseReport.timestamp","typeLabel":"string\u003cdate-time>"},"merchantV2Id":{"oneOf":[{"type":"string","x-typescript":{"typeLiteral":"merchant_v2_${string}"},"description":"Reference to MerchantV2 registry (mutually exclusive with customMerchantId)","x-entrypoint":{"virtualPath":"id/MerchantV2Id","sourcePath":"id/MerchantV2Id.yaml","title":"MerchantV2Id","origin":"/home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas","globalImport":true},"title":"MerchantV2Id","uniqueKey":"expenseReport.merchantV2Id.oneOf.0","typeLabel":"string"},{"type":"null","x-typescript":{"typeLiteral":"merchant_v2_${string}"},"description":"Reference to MerchantV2 registry (mutually exclusive with customMerchantId)","x-entrypoint":{"virtualPath":"id/MerchantV2Id","sourcePath":"id/MerchantV2Id.yaml","title":"MerchantV2Id","origin":"/home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas","globalImport":true},"title":"MerchantV2Id","uniqueKey":"expenseReport.merchantV2Id.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenseReport.merchantV2Id","typeLabel":"string | null"},"customMerchantId":{"oneOf":[{"type":"string","pattern":"^custom_merchant_[a-z0-9]*","x-typescript":{"typeLiteral":"custom_merchant_${string}"},"description":"Reference to custom merchant (mutually exclusive with merchantV2Id)","x-entrypoint":{"virtualPath":"id/CustomMerchant/CustomMerchantId","sourcePath":"id/CustomMerchant/CustomMerchantId.yaml","title":"CustomMerchantId","origin":"/home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas","globalImport":true},"title":"CustomMerchantId","uniqueKey":"expenseReport.customMerchantId.oneOf.0","typeLabel":"string"},{"type":"null","pattern":"^custom_merchant_[a-z0-9]*","x-typescript":{"typeLiteral":"custom_merchant_${string}"},"description":"Reference to custom merchant (mutually exclusive with merchantV2Id)","x-entrypoint":{"virtualPath":"id/CustomMerchant/CustomMerchantId","sourcePath":"id/CustomMerchant/CustomMerchantId.yaml","title":"CustomMerchantId","origin":"/home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas","globalImport":true},"title":"CustomMerchantId","uniqueKey":"expenseReport.customMerchantId.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenseReport.customMerchantId","typeLabel":"string | null"},"memo":{"oneOf":[{"type":"string","description":"Description or notes for the expense","uniqueKey":"expenseReport.memo.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description or notes for the expense","uniqueKey":"expenseReport.memo.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenseReport.memo","typeLabel":"string | null"},"fxRateToUsd":{"oneOf":[{"type":"string","description":"FX rate at submission time in format \"1 USD = X foreign\" (e.g., \"7.0286\" for CNY means 100 CNY / 7.0286 = $14.23 USD)","uniqueKey":"expenseReport.fxRateToUsd.oneOf.0","typeLabel":"string"},{"type":"null","description":"FX rate at submission time in format \"1 USD = X foreign\" (e.g., \"7.0286\" for CNY means 100 CNY / 7.0286 = $14.23 USD)","uniqueKey":"expenseReport.fxRateToUsd.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenseReport.fxRateToUsd","typeLabel":"string | null"},"fxRateUpdatedAt":{"oneOf":[{"type":"string","format":"date-time","description":"When the FX rate was captured","uniqueKey":"expenseReport.fxRateUpdatedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the FX rate was captured","uniqueKey":"expenseReport.fxRateUpdatedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenseReport.fxRateUpdatedAt","typeLabel":"string\u003cdate-time> | null"},"noReceiptReason":{"type":"string","description":"Reason for not having a receipt. Should only be set when this report has no receipt (expense report documents) associated with it.","uniqueKey":"expenseReport.noReceiptReason","typeLabel":"string"},"merchant":{"oneOf":[{"type":"object","title":"ExpenseReportMerchant","description":"The merchant associated with this expense (enriched from merchantV2Id or customMerchantId)","required":["type","merchantV2"],"x-entrypoint":{"virtualPath":"entity/ExpenseReport/ExpenseReportMerchant","sourcePath":"entity/ExpenseReport/ExpenseReportMerchant.yaml","title":"ExpenseReportMerchant","origin":"/home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas","globalImport":true},"properties":{"type":{"type":"string","enum":["merchantV2"],"isRequired":true,"uniqueKey":"expenseReport.merchant.oneOf.0.type","typeLabel":"enum\u003cstring>"},"merchantV2":{"title":"MerchantV2","type":"object","required":["$entity","id","name","metadata","isLive","isInstantCashback"],"properties":{"$entity":{"type":"string","enum":["merchant_v2"],"isRequired":true,"uniqueKey":"expenseReport.merchant.oneOf.0.merchantV2.$entity","typeLabel":"enum\u003cstring>"},"id":{"type":"string","isRequired":true,"uniqueKey":"expenseReport.merchant.oneOf.0.merchantV2.id","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"expenseReport.merchant.oneOf.0.merchantV2.name","typeLabel":"string"},"isLive":{"type":"boolean","isRequired":true,"uniqueKey":"expenseReport.merchant.oneOf.0.merchantV2.isLive","typeLabel":"boolean"},"isInstantCashback":{"type":"boolean","isRequired":true,"uniqueKey":"expenseReport.merchant.oneOf.0.merchantV2.isInstantCashback","typeLabel":"boolean"},"metadata":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"expenseReport.merchant.oneOf.0.merchantV2.metadata.timestamp","typeLabel":"string\u003cdate-time>"}},"required":["timestamp"],"x-entrypoint":{"virtualPath":"entity/IMetadataModel","sourcePath":"entity/IMetadataModel.yaml","title":"IMetadataModel","origin":"/home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas","globalImport":true},"title":"IMetadataModel","isRequired":true,"uniqueKey":"expenseReport.merchant.oneOf.0.merchantV2.metadata","typeLabel":"IMetadataModel · object"},"heronId":{"type":"string","uniqueKey":"expenseReport.merchant.oneOf.0.merchantV2.heronId","typeLabel":"string"},"iconUrl":{"type":"string","uniqueKey":"expenseReport.merchant.oneOf.0.merchantV2.iconUrl","typeLabel":"string"},"logoUrl":{"type":"string","uniqueKey":"expenseReport.merchant.oneOf.0.merchantV2.logoUrl","typeLabel":"string"},"url":{"type":"string","uniqueKey":"expenseReport.merchant.oneOf.0.merchantV2.url","typeLabel":"string"},"merchantCategoryId":{"type":"string","uniqueKey":"expenseReport.merchant.oneOf.0.merchantV2.merchantCategoryId","typeLabel":"string"}},"x-entrypoint":{"virtualPath":"entity/Merchant/MerchantV2","sourcePath":"entity/Merchant/MerchantV2.yaml","title":"MerchantV2","origin":"/home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas","globalImport":true},"isRequired":true,"uniqueKey":"expenseReport.merchant.oneOf.0.merchantV2","typeLabel":"MerchantV2 · object"}},"uniqueKey":"expenseReport.merchant.oneOf.0","typeLabel":"ExpenseReportMerchant · object"},{"type":"object","title":"ExpenseReportMerchant","description":"The merchant associated with this expense (enriched from merchantV2Id or customMerchantId)","required":["type","customMerchant"],"x-entrypoint":{"virtualPath":"entity/ExpenseReport/ExpenseReportMerchant","sourcePath":"entity/ExpenseReport/ExpenseReportMerchant.yaml","title":"ExpenseReportMerchant","origin":"/home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas","globalImport":true},"properties":{"type":{"type":"string","enum":["customMerchant"],"isRequired":true,"uniqueKey":"expenseReport.merchant.oneOf.1.type","typeLabel":"enum\u003cstring>"},"customMerchant":{"type":"object","description":"Custom merchant schema","properties":{"id":{"type":"string","pattern":"^custom_merchant_[a-z0-9]*","x-typescript":{"typeLiteral":"custom_merchant_${string}"},"description":"The ID of the custom merchant","x-entrypoint":{"virtualPath":"id/CustomMerchant/CustomMerchantId","sourcePath":"id/CustomMerchant/CustomMerchantId.yaml","title":"CustomMerchantId","origin":"/home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas","globalImport":true},"title":"CustomMerchantId","isRequired":true,"uniqueKey":"expenseReport.merchant.oneOf.1.customMerchant.id","typeLabel":"string"},"legalEntityId":{"type":"string","pattern":"^le_[a-z0-9]*","x-typescript":{"typeLiteral":"le_${string}"},"description":"The ID of the legal entity this custom merchant belongs to","x-entrypoint":{"virtualPath":"id/LegalEntityId","sourcePath":"id/LegalEntityId.yaml","title":"LegalEntityId","origin":"/home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas","globalImport":true},"title":"LegalEntityId","isRequired":true,"uniqueKey":"expenseReport.merchant.oneOf.1.customMerchant.legalEntityId","typeLabel":"string"},"addedByUserId":{"type":"string","pattern":"^u_[a-z0-9]*","x-typescript":{"typeLiteral":"u_${string}"},"description":"The ID of the user who added this custom merchant","x-entrypoint":{"virtualPath":"id/User","sourcePath":"id/User.yaml","title":"User","origin":"/home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas","globalImport":true},"title":"User","isRequired":true,"uniqueKey":"expenseReport.merchant.oneOf.1.customMerchant.addedByUserId","typeLabel":"string"},"merchantName":{"type":"string","description":"The name of the custom merchant","isRequired":true,"uniqueKey":"expenseReport.merchant.oneOf.1.customMerchant.merchantName","typeLabel":"string"},"timestamp":{"type":"string","format":"date-time","description":"Metadata timestamp","isRequired":true,"uniqueKey":"expenseReport.merchant.oneOf.1.customMerchant.timestamp","typeLabel":"string\u003cdate-time>"}},"required":["id","legalEntityId","addedByUserId","merchantName","timestamp"],"x-entrypoint":{"virtualPath":"entity/CustomMerchant/CustomMerchant","sourcePath":"entity/CustomMerchant/CustomMerchant.yaml","title":"CustomMerchant","origin":"/home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas","globalImport":true},"title":"CustomMerchant","isRequired":true,"uniqueKey":"expenseReport.merchant.oneOf.1.customMerchant","typeLabel":"CustomMerchant · object"}},"uniqueKey":"expenseReport.merchant.oneOf.1","typeLabel":"ExpenseReportMerchant · object"}],"uniqueKey":"expenseReport.merchant","typeLabel":"ExpenseReportMerchant · object"},"documents":{"type":"array","description":"Documents/receipts attached to this expense report with presigned URLs","items":{"type":"object","properties":{"document":{"type":"object","properties":{"$entity":{"type":"string","enum":["document"],"isRequired":true,"uniqueKey":"expenseReport.documents.items.[INDEX].document.$entity","typeLabel":"enum\u003cstring>"},"id":{"type":"string","isRequired":true,"uniqueKey":"expenseReport.documents.items.[INDEX].document.id","typeLabel":"string"},"accountType":{"type":"string","enum":["legalEntity","slashAccount","slashAccountGroup","loan","card","dispute","productApplication","ach","wire","rtp","adminNote","businessIdentity","subaccount","atomicInvestSleeve","atomicInvestAccount","accountingEntry","slashWalletAccount","slashWallet","affiliatePayoutProfile","user","resendEmail","notification","expenseReport","globalUsdAch","globalUsdWire","globalUsdSwift","globalUsdCrypto","featureAnnouncement","smsMessage","underwritingCase"],"isRequired":true,"uniqueKey":"expenseReport.documents.items.[INDEX].document.accountType","typeLabel":"enum\u003cstring>"},"accountId":{"type":"string","isRequired":true,"uniqueKey":"expenseReport.documents.items.[INDEX].document.accountId","typeLabel":"string"},"startDate":{"type":"string","isRequired":true,"uniqueKey":"expenseReport.documents.items.[INDEX].document.startDate","typeLabel":"string"},"endDate":{"type":"string","isRequired":true,"uniqueKey":"expenseReport.documents.items.[INDEX].document.endDate","typeLabel":"string"},"status":{"type":"string","enum":["uploaded","uploading","not_generated","generating","generated","error","deleted"],"x-entrypoint":{"virtualPath":"entity/Document/DocumentStatus","sourcePath":"entity/Document/DocumentStatus.yaml","title":"DocumentStatus","origin":"/home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas","globalImport":true},"title":"DocumentStatus","isRequired":true,"uniqueKey":"expenseReport.documents.items.[INDEX].document.status","typeLabel":"enum\u003cstring>"},"accessLevel":{"type":"string","isRequired":true,"uniqueKey":"expenseReport.documents.items.[INDEX].document.accessLevel","typeLabel":"string"},"documentType":{"type":"string","enum":["business_entity","user_identity","admin","affiliate_tax_document","transaction_monitoring_incident","document_translation","slash_statement","wire_ach","wire_ach_instruction","wire_ach_receipt","international_wire_receipt","sepa_instruction","fps_instruction","spei_instruction","bre_b_instruction","pay_by_slash_avatar","transaction_receipt","acquiring_dispute_policy","acquiring_dispute_evidence","bank_letter","transactions_export","dispute_form","accounting_receipt","reimbursement_receipt","bill_invoice","carrier_payment_confirmation","approval_policy_document","legal_entity_contact_tax_document","underwriting_case_file","atomic_invest_document","custom_question","personal_bank_or_brokerage_statement","balance_sheet","cash_flow_statement","ar_ap_aging","tax_return","debt_schedule","other_supporting_document","beneficial_ownership_certificate","invoice","invoice_logo","brand_logo","column_customer_file","feature_announcement_image","proof_of_tax_residence","sms_attachment","venezuela_mercantile_registry","venezuela_rif_certificate","compliance_review","rfi_response","articles_of_incorporation","certificate_of_incorporation","bank_statement","certificate_of_good_standing","commercial_contract","domain_ownership_proof","ein_letter_proof","ein_pending_proof","entity_formation","financial_statements","invoice","licensing_information","operating_agreement","profit_loss_statement","receipt","ubo_involvement_proof","utility_bill","check_deposit_front","check_deposit_back","dba_proof","business_plan","pitch_deck","prospectus","marketing_materials","government_id_front","government_id_back","selfie","address_proof","admin_note"],"x-entrypoint":{"virtualPath":"enums/Document/DocumentType","sourcePath":"enums/Document/DocumentType.yaml","title":"DocumentType","origin":"/home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas","globalImport":true},"title":"DocumentType","isRequired":true,"uniqueKey":"expenseReport.documents.items.[INDEX].document.documentType","typeLabel":"enum\u003cstring>"},"category":{"type":"string","enum":["document","statement"],"isRequired":true,"uniqueKey":"expenseReport.documents.items.[INDEX].document.category","typeLabel":"enum\u003cstring>"},"timestamp":{"type":"string","isRequired":true,"uniqueKey":"expenseReport.documents.items.[INDEX].document.timestamp","typeLabel":"string"},"filename":{"type":"string","uniqueKey":"expenseReport.documents.items.[INDEX].document.filename","typeLabel":"string"},"error":{"type":"string","uniqueKey":"expenseReport.documents.items.[INDEX].document.error","typeLabel":"string"},"checksum":{"type":"string","uniqueKey":"expenseReport.documents.items.[INDEX].document.checksum","typeLabel":"string"},"tags":{"type":"array","items":{"type":"string","uniqueKey":"expenseReport.documents.items.[INDEX].document.tags.items.[INDEX]","typeLabel":"string"},"uniqueKey":"expenseReport.documents.items.[INDEX].document.tags","typeLabel":"string[]"},"documentSource":{"type":"string","enum":["uploaded","generated"],"x-entrypoint":{"virtualPath":"enums/Document/DocumentSource","sourcePath":"enums/Document/DocumentSource.yaml","title":"DocumentSource","origin":"/home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas","globalImport":true},"title":"DocumentSource","uniqueKey":"expenseReport.documents.items.[INDEX].document.documentSource","typeLabel":"enum\u003cstring>"},"fileMetadata":{"type":"object","properties":{"size":{"type":"number","uniqueKey":"expenseReport.documents.items.[INDEX].document.fileMetadata.size","typeLabel":"number"},"type":{"type":"string","uniqueKey":"expenseReport.documents.items.[INDEX].document.fileMetadata.type","typeLabel":"string"}},"uniqueKey":"expenseReport.documents.items.[INDEX].document.fileMetadata","typeLabel":"object"}},"required":["$entity","id","accountType","accountId","startDate","endDate","status","category","documentType","accessLevel","timestamp"],"x-entrypoint":{"virtualPath":"entity/Document/IDocumentModel","sourcePath":"entity/Document/IDocumentModel.yaml","title":"IDocumentModel","origin":"/home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas","globalImport":true},"title":"IDocumentModel","description":"The document metadata","isRequired":true,"uniqueKey":"expenseReport.documents.items.[INDEX].document","typeLabel":"IDocumentModel · object"},"url":{"type":"string","description":"Presigned S3 URL for accessing the document","isRequired":true,"uniqueKey":"expenseReport.documents.items.[INDEX].url","typeLabel":"string"}},"required":["document","url"],"uniqueKey":"expenseReport.documents.items.[INDEX]","typeLabel":"object"},"uniqueKey":"expenseReport.documents","typeLabel":"object[]"},"aggregatedTransaction":{"type":"object","description":"Minimal transaction summary for the payout","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"expenseReport.aggregatedTransaction.id","typeLabel":"string"},"date":{"type":"string","isRequired":true,"uniqueKey":"expenseReport.aggregatedTransaction.date","typeLabel":"string"},"amount":{"title":"IMoneyModel","type":"object","properties":{"amount_cents":{"type":"number","isRequired":true,"uniqueKey":"expenseReport.aggregatedTransaction.amount.amount_cents","typeLabel":"number"},"currency":{"type":"string","enum":["USD","EUR"],"isRequired":true,"uniqueKey":"expenseReport.aggregatedTransaction.amount.currency","typeLabel":"enum\u003cstring>"}},"required":["amount_cents","currency"],"x-entrypoint":{"virtualPath":"entity/IMoneyModel","sourcePath":"entity/IMoneyModel.yaml","title":"IMoneyModel","origin":"/home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas","globalImport":true},"isRequired":true,"uniqueKey":"expenseReport.aggregatedTransaction.amount","typeLabel":"IMoneyModel · object"},"status":{"type":"string","enum":["pending","pending_approval","pending_destination","settled","failed","refund","declined","dispute","canceled","returned","reversed","scheduled","in_review"],"isRequired":true,"uniqueKey":"expenseReport.aggregatedTransaction.status","typeLabel":"enum\u003cstring>"}},"required":["id","date","amount","status"],"x-entrypoint":{"virtualPath":"entity/ExpenseReport/PublicTransactionSummary","sourcePath":"entity/ExpenseReport/PublicTransactionSummary.yaml","title":"PublicTransactionSummary","origin":"/home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas","globalImport":true},"title":"PublicTransactionSummary","uniqueKey":"expenseReport.aggregatedTransaction","typeLabel":"PublicTransactionSummary · object"},"destination":{"type":"object","description":"Minimal bank account info for the reimbursement destination","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"expenseReport.destination.id","typeLabel":"string"},"accountName":{"type":"string","isRequired":true,"uniqueKey":"expenseReport.destination.accountName","typeLabel":"string"},"institution":{"type":"object","required":["id","name"],"properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"expenseReport.destination.institution.id","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"expenseReport.destination.institution.name","typeLabel":"string"}},"isRequired":true,"uniqueKey":"expenseReport.destination.institution","typeLabel":"object"},"mask":{"type":"string","uniqueKey":"expenseReport.destination.mask","typeLabel":"string"},"institutionLogo":{"type":"string","description":"Base64 encoded institution logo","uniqueKey":"expenseReport.destination.institutionLogo","typeLabel":"string"}},"required":["id","accountName","institution"],"x-entrypoint":{"virtualPath":"entity/ExpenseReport/PublicReimbursementSource","sourcePath":"entity/ExpenseReport/PublicReimbursementSource.yaml","title":"PublicReimbursementSource","origin":"/home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas","globalImport":true},"title":"PublicReimbursementSource","uniqueKey":"expenseReport.destination","typeLabel":"PublicReimbursementSource · object"},"submittedByUser":{"type":"object","description":"The user who submitted the expense report","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"expenseReport.submittedByUser.id","typeLabel":"string"},"name":{"type":"object","required":["first","last","full"],"properties":{"first":{"type":"string","isRequired":true,"uniqueKey":"expenseReport.submittedByUser.name.first","typeLabel":"string"},"last":{"type":"string","isRequired":true,"uniqueKey":"expenseReport.submittedByUser.name.last","typeLabel":"string"},"full":{"type":"string","isRequired":true,"uniqueKey":"expenseReport.submittedByUser.name.full","typeLabel":"string"}},"isRequired":true,"uniqueKey":"expenseReport.submittedByUser.name","typeLabel":"object"}},"required":["id","name"],"x-entrypoint":{"virtualPath":"entity/ExpenseReport/PublicUserSummary","sourcePath":"entity/ExpenseReport/PublicUserSummary.yaml","title":"PublicUserSummary","origin":"/home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas","globalImport":true},"title":"PublicUserSummary","uniqueKey":"expenseReport.submittedByUser","typeLabel":"PublicUserSummary · object"},"reviewedByUser":{"type":"object","description":"The admin who reviewed the expense report","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"expenseReport.reviewedByUser.id","typeLabel":"string"},"name":{"type":"object","required":["first","last","full"],"properties":{"first":{"type":"string","isRequired":true,"uniqueKey":"expenseReport.reviewedByUser.name.first","typeLabel":"string"},"last":{"type":"string","isRequired":true,"uniqueKey":"expenseReport.reviewedByUser.name.last","typeLabel":"string"},"full":{"type":"string","isRequired":true,"uniqueKey":"expenseReport.reviewedByUser.name.full","typeLabel":"string"}},"isRequired":true,"uniqueKey":"expenseReport.reviewedByUser.name","typeLabel":"object"}},"required":["id","name"],"x-entrypoint":{"virtualPath":"entity/ExpenseReport/PublicUserSummary","sourcePath":"entity/ExpenseReport/PublicUserSummary.yaml","title":"PublicUserSummary","origin":"/home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas","globalImport":true},"title":"PublicUserSummary","uniqueKey":"expenseReport.reviewedByUser","typeLabel":"PublicUserSummary · object"},"review":{"type":"object","description":"The review decision for this expense report (if reviewed)","properties":{"id":{"type":"string","pattern":"^expense_report_review_[a-z0-9]*","x-typescript":{"typeLiteral":"expense_report_review_${string}"},"description":"The unique ID of the expense report review","x-entrypoint":{"virtualPath":"id/ExpenseReport/ExpenseReportReviewId","sourcePath":"id/ExpenseReport/ExpenseReportReviewId.yaml","title":"ExpenseReportReviewId","origin":"/home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas","globalImport":true},"title":"ExpenseReportReviewId","isRequired":true,"uniqueKey":"expenseReport.review.id","typeLabel":"string"},"expenseReportId":{"type":"string","pattern":"^expense_report_[a-z0-9]*","x-typescript":{"typeLiteral":"expense_report_${string}"},"description":"The ID of the expense report being reviewed","x-entrypoint":{"virtualPath":"id/ExpenseReport/ExpenseReportId","sourcePath":"id/ExpenseReport/ExpenseReportId.yaml","title":"ExpenseReportId","origin":"/home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas","globalImport":true},"title":"ExpenseReportId","isRequired":true,"uniqueKey":"expenseReport.review.expenseReportId","typeLabel":"string"},"decision":{"type":"string","enum":["approved","rejected"],"description":"The admin's decision on the expense report","isRequired":true,"uniqueKey":"expenseReport.review.decision","typeLabel":"enum\u003cstring>"},"reviewedByUserId":{"type":"string","pattern":"^u_[a-z0-9]*","x-typescript":{"typeLiteral":"u_${string}"},"description":"The ID of the user who reviewed the expense report","x-entrypoint":{"virtualPath":"id/User","sourcePath":"id/User.yaml","title":"User","origin":"/home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas","globalImport":true},"title":"User","isRequired":true,"uniqueKey":"expenseReport.review.reviewedByUserId","typeLabel":"string"},"reviewedAt":{"type":"string","format":"date-time","description":"When the review was made","isRequired":true,"uniqueKey":"expenseReport.review.reviewedAt","typeLabel":"string\u003cdate-time>"},"timestamp":{"type":"string","format":"date-time","description":"Metadata timestamp","isRequired":true,"uniqueKey":"expenseReport.review.timestamp","typeLabel":"string\u003cdate-time>"},"rejectionReason":{"oneOf":[{"type":"string","description":"Reason for rejection (only set when decision is 'rejected')","uniqueKey":"expenseReport.review.rejectionReason.oneOf.0","typeLabel":"string"},{"type":"null","description":"Reason for rejection (only set when decision is 'rejected')","uniqueKey":"expenseReport.review.rejectionReason.oneOf.1","typeLabel":"null"}],"uniqueKey":"expenseReport.review.rejectionReason","typeLabel":"string | null"}},"required":["id","expenseReportId","decision","reviewedByUserId","reviewedAt","timestamp"],"x-entrypoint":{"virtualPath":"entity/ExpenseReport/ExpenseReportReview","sourcePath":"entity/ExpenseReport/ExpenseReportReview.yaml","title":"ExpenseReportReview","origin":"/home/packages/api-specs/server-api-v2/node_modules/@slashfi/models/schemas","globalImport":true},"title":"ExpenseReportReview","uniqueKey":"expenseReport.review","typeLabel":"ExpenseReportReview · object"}},"isRequired":true,"uniqueKey":"expenseReport","typeLabel":"PublicExpenseReportWithMetadata · object"}},"required":["expenseReport"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"expenseReport":{"id":"\u003cstring>","legalEntityId":"\u003cstring>","submittedByUserId":"\u003cstring>","amountCents":123,"currency":"\u003cstring>","transactionDate":"2023-11-07T05:31:56Z","destinationId":"\u003cstring>","submittedAt":"2023-11-07T05:31:56Z","status":"pending_review","timestamp":"2023-11-07T05:31:56Z","merchantV2Id":"\u003cstring>","customMerchantId":"\u003cstring>","memo":"\u003cstring>","fxRateToUsd":"\u003cstring>","fxRateUpdatedAt":"2023-11-07T05:31:56Z","noReceiptReason":"\u003cstring>","merchant":{"type":"merchantV2","merchantV2":{"$entity":"merchant_v2","id":"\u003cstring>","name":"\u003cstring>","isLive":true,"isInstantCashback":true,"metadata":{"timestamp":"2023-11-07T05:31:56Z"},"heronId":"\u003cstring>","iconUrl":"\u003cstring>","logoUrl":"\u003cstring>","url":"\u003cstring>","merchantCategoryId":"\u003cstring>"}},"documents":[{"document":{"$entity":"document","id":"\u003cstring>","accountType":"legalEntity","accountId":"\u003cstring>","startDate":"\u003cstring>","endDate":"\u003cstring>","status":"uploaded","accessLevel":"\u003cstring>","documentType":"business_entity","category":"document","timestamp":"\u003cstring>","filename":"\u003cstring>","error":"\u003cstring>","checksum":"\u003cstring>","tags":["\u003cstring>"],"documentSource":"uploaded","fileMetadata":{"size":123,"type":"\u003cstring>"}},"url":"\u003cstring>"}],"aggregatedTransaction":{"id":"\u003cstring>","date":"\u003cstring>","amount":{"amount_cents":123,"currency":"USD"},"status":"pending"},"destination":{"id":"\u003cstring>","accountName":"\u003cstring>","institution":{"id":"\u003cstring>","name":"\u003cstring>"},"mask":"\u003cstring>","institutionLogo":"\u003cstring>"},"submittedByUser":{"id":"\u003cstring>","name":{"first":"\u003cstring>","last":"\u003cstring>","full":"\u003cstring>"}},"reviewedByUser":{"id":"\u003cstring>","name":{"first":"\u003cstring>","last":"\u003cstring>","full":"\u003cstring>"}},"review":{"id":"\u003cstring>","expenseReportId":"\u003cstring>","decision":"approved","reviewedByUserId":"\u003cstring>","reviewedAt":"2023-11-07T05:31:56Z","timestamp":"2023-11-07T05:31:56Z","rejectionReason":"\u003cstring>"}}}}},"exampleType":"generated"}},"exampleType":"generated"},"91315898-2545-4fe1-9014-a1675dbeba83":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"identifier":{"type":"string","isRequired":true,"uniqueKey":"identifier","typeLabel":"string"},"rawStatus":{"type":"number","isRequired":true,"uniqueKey":"rawStatus","typeLabel":"number"},"meta":{"type":"object","additionalProperties":true,"uniqueKey":"meta","typeLabel":"object"}},"required":["message","name","identifier","rawStatus"],"x-entrypoint":{"origin":"./src/publicApi","sourcePath":"./src/publicApi/main.yaml","title":"Error","virtualPath":"components/Error"},"title":"Error","uniqueKey":"","typeLabel":"Error · object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","name":"\u003cstring>","identifier":"\u003cstring>","rawStatus":123,"meta":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"8e442e1b-ede0-4e3b-9f7c-bccda10e37fe":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"identifier":{"type":"string","isRequired":true,"uniqueKey":"identifier","typeLabel":"string"},"rawStatus":{"type":"number","isRequired":true,"uniqueKey":"rawStatus","typeLabel":"number"},"meta":{"type":"object","additionalProperties":true,"uniqueKey":"meta","typeLabel":"object"}},"required":["message","name","identifier","rawStatus"],"x-entrypoint":{"origin":"./src/publicApi","sourcePath":"./src/publicApi/main.yaml","title":"Error","virtualPath":"components/Error"},"title":"Error","uniqueKey":"","typeLabel":"Error · object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","name":"\u003cstring>","identifier":"\u003cstring>","rawStatus":123,"meta":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"36ac1bc0-70c8-4bad-9b0c-35c2d875c2d5":{"description":"TooManyRequests","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"identifier":{"type":"string","isRequired":true,"uniqueKey":"identifier","typeLabel":"string"},"rawStatus":{"type":"number","isRequired":true,"uniqueKey":"rawStatus","typeLabel":"number"},"meta":{"type":"object","additionalProperties":true,"uniqueKey":"meta","typeLabel":"object"}},"required":["message","name","identifier","rawStatus"],"x-entrypoint":{"origin":"./src/publicApi","sourcePath":"./src/publicApi/main.yaml","title":"Error","virtualPath":"components/Error"},"title":"Error","uniqueKey":"","typeLabel":"Error · object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","name":"\u003cstring>","identifier":"\u003cstring>","rawStatus":123,"meta":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"ac7becd5-a5be-4b56-bc6b-def7ceae5867":{"description":"Internal Error","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"identifier":{"type":"string","isRequired":true,"uniqueKey":"identifier","typeLabel":"string"},"rawStatus":{"type":"number","isRequired":true,"uniqueKey":"rawStatus","typeLabel":"number"},"meta":{"type":"object","additionalProperties":true,"uniqueKey":"meta","typeLabel":"object"}},"required":["message","name","identifier","rawStatus"],"x-entrypoint":{"origin":"./src/publicApi","sourcePath":"./src/publicApi/main.yaml","title":"Error","virtualPath":"components/Error"},"title":"Error","uniqueKey":"","typeLabel":"Error · object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","name":"\u003cstring>","identifier":"\u003cstring>","rawStatus":123,"meta":{}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"54201955-82dd-45a1-a9da-3eb19ed057ce":{"api_key":{"type":"apiKey","description":"API key authentication for public API requests.\n\nKeys come in two flavors:\n\n- *Legal-entity-scoped keys* are pinned to a single legal entity.\n Minted via the dashboard under a specific entity; every request\n acts on that entity.\n- *User-scoped keys* are pinned to a user and span every legal\n entity that user has access to. Every request made with a\n user-scoped key (except `GET /legal-entity`, which lists the\n legal entities the user can access) must include an\n `x-legal-entity` header naming the legal entity the request is\n operating on. Requests without the header are rejected with\n `400`. The authenticated user must have an active permission\n role on the supplied legal entity, otherwise the request is\n rejected with `403`.\n","name":"X-API-Key","in":"header","scopes":[],"schemeName":"api_key"}},"41229654-36d5-4866-8f0e-741e1516e42a":{"bearer":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"bearer"}}},"servers":{"ebf982de-a82b-415d-9bb1-99db2608f617":{"url":"https://api.slash.com","description":"production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","description":"API key authentication for public API requests.\n\nKeys come in two flavors:\n\n- *Legal-entity-scoped keys* are pinned to a single legal entity.\n Minted via the dashboard under a specific entity; every request\n acts on that entity.\n- *User-scoped keys* are pinned to a user and span every legal\n entity that user has access to. Every request made with a\n user-scoped key (except `GET /legal-entity`, which lists the\n legal entities the user can access) must include an\n `x-legal-entity` header naming the legal entity the request is\n operating on. Requests without the header are rejected with\n `400`. The authenticated user must have an active permission\n role on the supplied legal entity, otherwise the request is\n rejected with `403`.\n","name":"X-API-Key","in":"header","scopes":[],"schemeName":"api_key"},"schema":{"title":"X-API-Key","type":"string","description":"API key authentication for public API requests.\n\nKeys come in two flavors:\n\n- *Legal-entity-scoped keys* are pinned to a single legal entity.\n Minted via the dashboard under a specific entity; every request\n acts on that entity.\n- *User-scoped keys* are pinned to a user and span every legal\n entity that user has access to. Every request made with a\n user-scoped key (except `GET /legal-entity`, which lists the\n legal entities the user can access) must include an\n `x-legal-entity` header naming the legal entity the request is\n operating on. Requests without the header are rejected with\n `400`. The authenticated user must have an active permission\n role on the supplied legal entity, otherwise the request is\n rejected with `403`.\n","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"api_key","name":"X-API-Key"}],"title":"api_key"},{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"bearer"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearer","name":"Authorization"}],"title":"bearer"}]},"originalFileLocation":"https://api.slash.com/openapi"},"subdomain":"slash-9da6c7e7","siteName":"Slash","title":"Update expense report - Slash","navMaps":{"firstHrefInVersion":{"v1":{"href":"/api-reference/expense-report-patch","matchLevel":0},"v2":{"href":"/api-reference/list-accounts","matchLevel":4}},"firstHrefInLanguage":{}},"lastModified":"2026-10-01T01:27:06.852Z","originalFileLocation":"api-reference/expense-report-patch.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Update an existing expense report. Can only update reports with status pending_review. Set status to cancelled to cancel the report. The acting user is derived from your credentials. Bearer tokens and user-scoped API keys may update reports submitted by that user, or any report in the legal entity if that user holds the reimbursements.approve permission. Legal-entity API keys must hold reimbursements.approve.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Slash\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/slash-9da6c7e7/-R_wQfBZwJFsLHel/_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/slash-9da6c7e7/-R_wQfBZwJFsLHel/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/slash-9da6c7e7/-R_wQfBZwJFsLHel/_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/slash-9da6c7e7/-R_wQfBZwJFsLHel/_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/slash-9da6c7e7/-R_wQfBZwJFsLHel/_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/slash-9da6c7e7/-R_wQfBZwJFsLHel/_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/slash-9da6c7e7/-R_wQfBZwJFsLHel/_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/slash-9da6c7e7/-R_wQfBZwJFsLHel/_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/slash-9da6c7e7/-R_wQfBZwJFsLHel/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update expense report - Slash\">\u003cmeta data-mint-head property=\"og:description\" content=\"Update an existing expense report. Can only update reports with status pending_review. Set status to cancelled to cancel the report. The acting user is derived from your credentials. Bearer tokens and user-scoped API keys may update reports submitted by that user, or any report in the legal entity if that user holds the reimbursements.approve permission. Legal-entity API keys must hold reimbursements.approve.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Slash\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.slash.com/api-reference/expense-report-patch\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://slash-9da6c7e7.mintlify.site/_mintlify/api/og/v2?division=Expense+Report\u0026amp;title=Update+expense+report\u0026amp;description=Update+an+existing+expense+report.+Can+only+update+reports+with+status+%60pending_review%60.+Set+%60status%60+to+%60cancelled%60+to+cancel+the+report.+The+acting+user+is+de\u0026amp;theme=3a89b37ab968bff34948531e\u0026amp;signature=dc8a05b5a42ac3ab71390319dae8525316971453e380f4f547b5e699ab10929b\">\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 expense report - Slash\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Update an existing expense report. Can only update reports with status pending_review. Set status to cancelled to cancel the report. The acting user is derived from your credentials. Bearer tokens and user-scoped API keys may update reports submitted by that user, or any report in the legal entity if that user holds the reimbursements.approve permission. Legal-entity API keys must hold reimbursements.approve.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://slash-9da6c7e7.mintlify.site/_mintlify/api/og/v2?division=Expense+Report\u0026amp;title=Update+expense+report\u0026amp;description=Update+an+existing+expense+report.+Can+only+update+reports+with+status+%60pending_review%60.+Set+%60status%60+to+%60cancelled%60+to+cancel+the+report.+The+acting+user+is+de\u0026amp;theme=3a89b37ab968bff34948531e\u0026amp;signature=dc8a05b5a42ac3ab71390319dae8525316971453e380f4f547b5e699ab10929b\">\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/slash-9da6c7e7/-R_wQfBZwJFsLHel/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Slash\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#8a6f08\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.slash.com/api-reference/expense-report-patch\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/expense-report-patch.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.slash.com/#organization\",\"name\":\"Slash\",\"url\":\"https://docs.slash.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/slash-9da6c7e7/fQTvKgvPM9Xc8XFC/favicon.png?fit=max\u0026auto=format\u0026n=fQTvKgvPM9Xc8XFC\u0026q=85\u0026s=6670ecb53c5fa3879ea6f632793b7d24\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.slash.com#website\",\"name\":\"Slash\",\"url\":\"https://docs.slash.com\",\"publisher\":{\"@id\":\"https://docs.slash.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.slash.com/api-reference/expense-report-patch#webpage\",\"url\":\"https://docs.slash.com/api-reference/expense-report-patch\",\"name\":\"Update expense report\",\"description\":\"Update an existing expense report. Can only update reports with status pending_review. Set status to cancelled to cancel the report. The acting user is derived from your credentials. Bearer tokens and user-scoped API keys may update reports submitted by that user, or any report in the legal entity if that user holds the reimbursements.approve permission. Legal-entity API keys must hold reimbursements.approve.\",\"dateModified\":\"2026-10-01T01:27:06.852Z\",\"isPartOf\":{\"@id\":\"https://docs.slash.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.slash.com/api-reference/expense-report-patch#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.slash.com/api-reference/expense-report-patch#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Expense Report\",\"item\":\"https://docs.slash.com/api-reference/expense-report-get\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Update expense report\",\"item\":\"https://docs.slash.com/api-reference/expense-report-patch\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.slash.com/api-reference/expense-report-patch#apireference\",\"headline\":\"Update expense report\",\"name\":\"Update expense report\",\"description\":\"Update an existing expense report. Can only update reports with status pending_review. Set status to cancelled to cancel the report. The acting user is derived from your credentials. Bearer tokens and user-scoped API keys may update reports submitted by that user, or any report in the legal entity if that user holds the reimbursements.approve permission. Legal-entity API keys must hold reimbursements.approve.\",\"url\":\"https://docs.slash.com/api-reference/expense-report-patch\",\"mainEntityOfPage\":{\"@id\":\"https://docs.slash.com/api-reference/expense-report-patch#webpage\"},\"dateModified\":\"2026-10-01T01:27:06.852Z\",\"publisher\":{\"@id\":\"https://docs.slash.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.slash.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Slash\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Slash\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/expense-report-patch.md","siteName":"Slash","nav":{"global":null,"versions":[{"version":"v1","anchors":[{"anchor":"API Reference","icon":{"style":"regular","name":"square-terminal"},"groups":[{"group":"Overview","pages":[{"title":"Getting Started","href":"/introduction"},{"title":"SDKs","href":"/docs/sdks"},{"title":"MCP Server","href":"/docs/mcp"},{"title":"Message Level Encryption (MLE)","href":"/docs/message-level-encryption"},{"title":"Changelog","href":"/changelog"}]},{"group":"Entities","pages":[{"title":"Legal Entity","href":"/api-reference/schema-legalEntity"},{"title":"Account","href":"/api-reference/schema-account"},{"title":"Virtual Account","href":"/api-reference/schema-virtualAccount"},{"title":"Balance","href":"/api-reference/schema-balance"},{"title":"Card","href":"/api-reference/schema-card"},{"title":"Cardholder","href":"/api-reference/schema-cardholder"},{"title":"Card Modifier","href":"/api-reference/schema-card-modifier"},{"title":"Transaction","href":"/api-reference/schema-transaction"},{"title":"Spending Constraint","href":"/api-reference/schema-spendingConstraint"},{"title":"Card Group","href":"/api-reference/schema-card-group"},{"title":"Webhook","href":"/api-reference/schema-webhook"},{"title":"Webhook Event","href":"/api-reference/schema-webhook-event"},{"title":"Card Group Utilization","href":"/api-reference/schema-card-group-utilization"},{"title":"Authorization Webhook","href":"/api-reference/schema-authorization-webhook"},{"title":"Authorization Request Event","href":"/api-reference/schema-authorization-request-event"},{"title":"Authorization Webhook Response","href":"/api-reference/schema-authorization-webhook-response"},{"title":"Invoice","href":"/api-reference/schema-invoice"},{"title":"Invoice Series","href":"/api-reference/schema-invoice-series"},{"title":"Contact","href":"/api-reference/schema-contact"},{"title":"Customer","href":"/api-reference/schema-customer"}]},{"group":"Legal Entity","pages":[{"title":"List legal entities","openapi":"get /legal-entity","href":"/api-reference/legal-entity-get"}]},{"group":"Account","pages":[{"title":"List accounts","openapi":"get /account","href":"/api-reference/account-get"},{"title":"Get account","openapi":"get /account/{accountId}","href":"/api-reference/account-get-by-id"},{"title":"List account balances","openapi":"get /account/{accountId}/balance","href":"/api-reference/account-balance-get"}]},{"group":"Account Authorization Webhooks","pages":[{"title":"Authorization Webhook Overview","href":"/api-reference/authorization-webhook-overview"},{"title":"Get account authorization webhook","openapi":"get /account/{accountId}/authorization-webhook","href":"/api-reference/account-authorization-webhook-get"},{"title":"Set account authorization webhook","openapi":"put /account/{accountId}/authorization-webhook","href":"/api-reference/account-authorization-webhook-put"},{"title":"Partially update account authorization webhook","openapi":"patch /account/{accountId}/authorization-webhook","href":"/api-reference/account-authorization-webhook-patch"}]},{"group":"Virtual Account","pages":[{"title":"List virtual accounts","openapi":"get /virtual-account","href":"/api-reference/virtual-account-get"},{"title":"Create virtual account","openapi":"post /virtual-account","href":"/api-reference/virtual-account-post"},{"title":"Get virtual account","openapi":"get /virtual-account/{virtualAccountId}","href":"/api-reference/virtual-account-get-by-id"},{"title":"Update virtual account","openapi":"patch /virtual-account/{virtualAccountId}","href":"/api-reference/virtual-account-update"}]},{"group":"Transaction","pages":[{"title":"List transactions","openapi":"get /transaction","href":"/api-reference/transaction-get"},{"title":"Get transaction aggregations","openapi":"get /transaction/aggregation","href":"/api-reference/transaction-aggregation-get"},{"title":"Get transaction","openapi":"get /transaction/{transactionId}","href":"/api-reference/transaction-get-by-id"},{"title":"Get transaction fee details","openapi":"get /transaction/{transactionId}/fee-details","href":"/api-reference/transaction-get-fee-details"},{"title":"Add or update a note for a transaction","openapi":"patch /transaction/{transactionId}/note","href":"/api-reference/transaction-note-patch"}]},{"group":"Transfer Money","pages":[{"title":"Create virtual account transfer","openapi":"post /transfer/virtual-account","href":"/api-reference/transfer-virtual-account-post"},{"title":"Create book transfer","openapi":"post /transfers/book-transfer","href":"/api-reference/book-transfer-post"},{"title":"Get Crypto offramp addresses","openapi":"post /crypto/offramp","href":"/api-reference/transfer-crypto-offramp"}]},{"group":"Card","pages":[{"title":"List cards","openapi":"get /card","href":"/api-reference/card-get"},{"title":"Retrieve card","openapi":"get /card/{cardId}","href":"/api-reference/card-get-by-id"},{"title":"Create card","openapi":"post /card","href":"/api-reference/card-post"},{"title":"Update card","openapi":"patch /card/{cardId}","href":"/api-reference/card-patch"},{"title":"Get card utilization","openapi":"get /card/{cardId}/utilization","href":"/api-reference/card-utilization-get"},{"title":"Apply a partial update to a card's spending constraint","openapi":"patch /card/{cardId}/spending-constraint","href":"/api-reference/card-spending-constraint-patch"},{"title":"Replace a card's spending constraint","openapi":"put /card/{cardId}/spending-constraint","href":"/api-reference/card-spending-constraint-put"},{"title":"Get card modifiers","openapi":"get /card/{cardId}/modifier","href":"/api-reference/card-modifier-get"},{"title":"Set card modifier","openapi":"put /card/{cardId}/modifier","href":"/api-reference/card-modifier-put"},{"title":"List all card products","openapi":"get /card-product","href":"/api-reference/card-product-get"},{"title":"List cardholders","openapi":"get /cardholder","href":"/api-reference/cardholder-get"}]},{"group":"Card Group","pages":[{"title":"List card groups","openapi":"get /card-group","href":"/api-reference/card-group-get"},{"title":"Create card group","openapi":"post /card-group","href":"/api-reference/card-group-post"},{"title":"Get card group","openapi":"get /card-group/{cardGroupId}","href":"/api-reference/card-group-get-by-id"},{"title":"Update card group","openapi":"patch /card-group/{cardGroupId}","href":"/api-reference/card-group-patch"},{"title":"Apply a partial update to a card group's spending constraint","openapi":"patch /card-group/{cardGroupId}/spending-constraint","href":"/api-reference/card-group-spending-constraint-patch"},{"title":"Replace a card group's spending constraint","openapi":"put /card-group/{cardGroupId}/spending-constraint","href":"/api-reference/card-group-spending-constraint-put"},{"title":"Get card group utilization","openapi":"get /card-group/{cardGroupId}/utilization","href":"/api-reference/card-group-utilization-get"}]},{"group":"Invoice","pages":[{"title":"List invoices","openapi":"get /invoice","href":"/api-reference/invoice-get"},{"title":"Create invoice","openapi":"post /invoice","href":"/api-reference/invoice-post"},{"title":"Get invoice","openapi":"get /invoice/{invoiceId}","href":"/api-reference/invoice-get-by-id"},{"title":"Get invoice payment details","openapi":"get /invoice/{invoiceId}/payment-details","href":"/api-reference/invoice-payment-details-get"},{"title":"Update invoice","openapi":"patch /invoice/{invoiceId}","href":"/api-reference/invoice-patch"},{"title":"Void invoice","openapi":"post /invoice/{invoiceId}/void","href":"/api-reference/invoice-void-post"},{"title":"Reconcile invoice","openapi":"post /invoice/{invoiceId}/reconcile","href":"/api-reference/invoice-reconcile-post"},{"title":"Unreconcile invoice","openapi":"post /invoice/{invoiceId}/unreconcile","href":"/api-reference/invoice-unreconcile-post"},{"title":"Get invoice settings","openapi":"get /invoice/settings","href":"/api-reference/invoice-settings-get"},{"title":"Update invoice settings","openapi":"put /invoice/settings","href":"/api-reference/invoice-settings-put"},{"title":"Upload invoice logo","openapi":"post /invoice/settings/logo","href":"/api-reference/invoice-settings-logo-post"},{"title":"Validate invoice number","openapi":"get /invoice/validate-number","href":"/api-reference/invoice-validate-number-get"}]},{"group":"Invoice Series","pages":[{"title":"List invoice series","openapi":"get /invoice/series","href":"/api-reference/invoice-series-get"},{"title":"Create invoice series","openapi":"post /invoice/series","href":"/api-reference/invoice-series-post"},{"title":"Get invoice series","openapi":"get /invoice/series/{invoiceSeriesId}","href":"/api-reference/invoice-series-get-by-id"},{"title":"Update invoice series","openapi":"patch /invoice/series/{invoiceSeriesId}","href":"/api-reference/invoice-series-patch"},{"title":"Cancel invoice series","openapi":"post /invoice/series/{invoiceSeriesId}/cancel","href":"/api-reference/invoice-series-cancel-post"},{"title":"Skip next in series","openapi":"post /invoice/series/{invoiceSeriesId}/skip-next","href":"/api-reference/invoice-series-skip-next-post"}]},{"group":"Expense Report","pages":[{"title":"List expense reports","openapi":"get /expense-report","href":"/api-reference/expense-report-get"},{"title":"Create expense report","openapi":"post /expense-report","href":"/api-reference/expense-report-post"},{"title":"Get expense report","openapi":"get /expense-report/{expenseReportId}","description":"Get a single expense report by ID.","href":"/api-reference/expense-report-get-by-id"},{"title":"Update expense report","openapi":"patch /expense-report/{expenseReportId}","href":"/api-reference/expense-report-patch"},{"title":"Approve expense report","openapi":"post /expense-report/{expenseReportId}/approve","description":"Approve an expense report and initiate payout.","href":"/api-reference/expense-report-approve-post"},{"title":"Reject expense report","openapi":"post /expense-report/{expenseReportId}/reject","href":"/api-reference/expense-report-reject-post"},{"title":"Upload receipt","openapi":"post /expense-report/receipt","href":"/api-reference/expense-report-receipt-post"},{"title":"Bulk action expense reports","openapi":"patch /expense-report/bulk-action","href":"/api-reference/expense-report-bulk-action-patch"},{"title":"Get reimbursement sources","openapi":"get /expense-report/reimbursement-sources","href":"/api-reference/expense-report-reimbursement-sources-get"}]},{"group":"Customer","pages":[{"title":"List customers","openapi":"get /customer","href":"/api-reference/customer-get"},{"title":"Create customer","openapi":"post /customer","href":"/api-reference/customer-post"},{"title":"Get customer","openapi":"get /customer/{customerId}","href":"/api-reference/customer-get-by-id"},{"title":"Update customer","openapi":"patch /customer/{customerId}","href":"/api-reference/customer-patch"},{"title":"Check ACH debit recurring status","openapi":"get /customer/{customerId}/ach-debit-recurring","href":"/api-reference/customer-ach-debit-recurring-get"}]},{"group":"Contact","pages":[{"title":"List contacts","openapi":"get /contact","href":"/api-reference/contact-get"},{"title":"Create contact","openapi":"post /contact","href":"/api-reference/contact-post"},{"title":"Get contact","openapi":"get /contact/{contactId}","href":"/api-reference/contact-get-by-id"},{"title":"Update contact","openapi":"patch /contact/{contactId}","href":"/api-reference/contact-patch"},{"title":"Check ACH debit recurring status","openapi":"get /contact/{contactId}/ach-debit-recurring","href":"/api-reference/contact-ach-debit-recurring-get"}]},{"group":"Merchant","pages":[{"title":"List merchants","openapi":"get /merchant","href":"/api-reference/merchant-get"},{"title":"Get merchant","openapi":"get /merchant/{merchantId}","href":"/api-reference/merchant-get-by-id"},{"title":"List merchant categories","openapi":"get /merchant-category","href":"/api-reference/merchant-category-get"}]},{"group":"Webhooks","pages":[{"title":"Overview","href":"/api-reference/webhook-overview"},{"title":"List webhooks","openapi":"get /webhook","href":"/api-reference/webhook-get"},{"title":"Get webhook","openapi":"get /webhook/{webhookId}","href":"/api-reference/webhook-get-by-id"},{"title":"Create webhook","openapi":"post /webhook","href":"/api-reference/webhook-post"},{"title":"Update webhook","openapi":"patch /webhook/{webhookId}","href":"/api-reference/webhook-patch"}]},{"group":"Agent Requests","pages":[{"title":"Agent Requests","href":"/docs/agent-requests"},{"title":"List agent requests","openapi":"get /agent-request","href":"/api-reference/agent-request-get"},{"title":"Get agent request","openapi":"get /agent-request/{agentRequestId}","href":"/api-reference/agent-request-get-by-id"}]},{"group":"Tokens","pages":[{"title":"Get Token Prices","openapi":"get /tokens/prices","href":"/api-reference/tokens-prices-get"}]}]},{"anchor":"Payment Processing","icon":{"style":"regular","name":"credit-card"},"pages":[{"title":"Payment Processing","href":"/docs/payments/quickstart"}]},{"anchor":"Partner Program","icon":"handshake","hidden":true,"pages":[{"title":"Partner Program","href":"/docs/partner-program/overview"}]}]},{"version":"v2","default":true,"tag":"Beta","pages":[{"title":"v2","href":"/api-reference/list-accounts"}]}]},"basePath":"","title":"Update expense report - Slash","buildId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","deploymentId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-CybtLBIt.js","utils-BMLj2fvV.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-B6In562Y.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dr8Mfhp9.js","snippetPresets-2rmQvMVl.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","Page-C4GwDT3_.js","ApiExamples-WMqJYdZj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CJ-MlPHu.js","shallow-dY3TMRCk.js","getApiPlaygroundDisplay-v-1B2bKm.js","CodeSnippet-BDhiTB7U.js","CodeSnippets-D9hnzQcS.js","getPastedJson-Th2V45jI.js","icon-BQXch1W9.js","MethodPill-BCqUneP3.js","DuplicateIcon-Q_-bhurZ.js","createIcon-DUjLHRqp.js","DynamicMarkdown-B-f2cqXQ.js","SectionHeading-Da5NsV4v.js","axios-vUo_bRtp.js","Markdown-D13FWkIM.js","clsx-D3Isdib3.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-C-XZBk9h.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink--qIqmmVG.js"]}