Confirm your deployment before running this request. This page describes an API contract;
a published reference does not establish hosted availability. Check the dated
host report and obtain your deployment URL and credentials.
Replace the example host if your provisioned service uses a different URL.
Request body
CloseMonthRequest
string,null
Actor recorded as the closer. Defaults to api.
boolean,null
Compute counts/amounts per step without writing anything.
boolean,null
Refuse with 422 when any step reports warnings (strict mode).
string
required
Accounting period to close.
boolean,null
Skip posting scheduled fixed-asset depreciation.
boolean,null
Skip FX revaluation of foreign-currency accounts.
boolean,null
Skip the final period close (closing entries + close period).
boolean,null
Skip recognizing deferred revenue through period end.
Response
CloseMonthResponse
JournalEntryResponse,null
Show JournalEntryResponse
string
required
string
required
string
required
string
required
string
required
string
required
boolean
required
JournalEntryLineResponse[]
required
Show JournalEntryLineResponse
string
required
string,null
string,null
string
required
Decimal credit amount as a string.
string
required
string
required
Decimal debit amount as a string.
string,null
string
required
integer (int32)
required
string
required
string,null
string,null
string,null
string,null
string
required
string
required
string
required
Decimal total credits as a string.
string
required
Decimal total debits as a string.
CloseMonthStepResponse
required
Step 1: scheduled depreciation due through period end.
Show CloseMonthStepResponse
integer (int64)
required
Entries posted (or that would be posted in a dry run). Minimum: 0.
integer (int64)
required
Warnings that record a per-item failure (vs informational skip notes). Minimum: 0.
string
required
One of executed, skipped, dry_run.
string
required
Decimal total amount for the step as a string.
string[]
required
Per-item failures that did not abort the close.
boolean
required
CloseMonthStepResponse
required
Step 3: FX revaluation as of period end.
Show CloseMonthStepResponse
integer (int64)
required
Entries posted (or that would be posted in a dry run). Minimum: 0.
integer (int64)
required
Warnings that record a per-item failure (vs informational skip notes). Minimum: 0.
string
required
One of executed, skipped, dry_run.
string
required
Decimal total amount for the step as a string.
string[]
required
Per-item failures that did not abort the close.
CloseMonthStepResponse
required
Step 4: closing entries + close period.
Show CloseMonthStepResponse
integer (int64)
required
Entries posted (or that would be posted in a dry run). Minimum: 0.
integer (int64)
required
Warnings that record a per-item failure (vs informational skip notes). Minimum: 0.
string
required
One of executed, skipped, dry_run.
string
required
Decimal total amount for the step as a string.
string[]
required
Per-item failures that did not abort the close.
string
required
string
required
string
required
Period status after the run (closed after a real close).
CloseMonthStepResponse
required
Step 2: deferred revenue recognized through period end.
Show CloseMonthStepResponse
integer (int64)
required
Entries posted (or that would be posted in a dry run). Minimum: 0.
integer (int64)
required
Warnings that record a per-item failure (vs informational skip notes). Minimum: 0.
string
required
One of executed, skipped, dry_run.
string
required
Decimal total amount for the step as a string.
string[]
required
Per-item failures that did not abort the close.
Status codes
Code
Meaning
200
—
400
—
404
—
422
—
Using this contract
Read the source OpenAPI document for declared schemas and alternatives.
This page also includes documented corrections from the spec overlays.
Example IDs and values are illustrative; replace them with records from your workspace.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"StateSet","colors":{"primary":"#1854D8","light":"#9ABBFF","dark":"#1854D8"},"logo":{"light":"https://mintcdn.com/stateset/4wTHkssFeA2M0XSV/logo/stateset28.svg?fit=max\u0026auto=format\u0026n=4wTHkssFeA2M0XSV\u0026q=85\u0026s=24804c100796a1bf65ec331da17e6d35","dark":"https://mintcdn.com/stateset/JA8nckTOtvEhuHo_/logo/stateset-dark.svg?fit=max\u0026auto=format\u0026n=JA8nckTOtvEhuHo_\u0026q=85\u0026s=65eb9e8c70dcd90948e7767e33664716","href":"https://docs.stateset.com"},"favicon":"https://mintcdn.com/stateset/-A-d_TFUEdlnuegX/logo/favicon.png?fit=max\u0026auto=format\u0026n=-A-d_TFUEdlnuegX\u0026q=85\u0026s=0104c780f4ff026e880a05450e1156b0","api":{"mdx":{"auth":{"method":"bearer"},"server":"https://api.stateset.com"}},"background":{"color":{"light":"#FFFFFF","dark":"#101827"}},"navbar":{"links":[{"href":"https://stateset.com/contact-us","label":"Talk to us"}],"primary":{"type":"button","label":"Dashboard","href":"https://console.stateset.com"}},"footer":{"socials":{"x":"https://x.com/stateset","github":"https://github.com/stateset","linkedin":"https://www.linkedin.com/company/stateset"},"links":[{"header":"Explore","items":[{"label":"Sandbox","href":"https://sandbox.stateset.com"},{"label":"ResponseCX","href":"https://response.cx"},{"label":"Console","href":"https://console.stateset.com"}]},{"header":"Resources","items":[{"label":"Customers","href":"https://stateset.com/customers"},{"label":"Blog","href":"https://stateset.com/blog"},{"label":"Pricing","href":"https://stateset.com/pricing"},{"label":"Contact support","href":"https://stateset.com/support"},{"label":"Glossary","href":"https://www.stateset.com/glossary/icommerce/glossary"},{"label":"Status","href":"https://stateset.com/status"}]},{"header":"Company","items":[{"label":"Careers","href":"https://stateset.com/careers"},{"label":"FAQs","href":"https://stateset.com/faqs"},{"label":"Community","href":"https://discord.gg/VfcaqgZywq"},{"label":"Newsletter","href":"https://stateofmind.beehiiv.com/"}]},{"header":"Legal","items":[{"label":"Privacy Policy","href":"https://stateset.com/privacy"},{"label":"Terms of Service","href":"https://stateset.com/terms"},{"label":"Trust Center","href":"https://trust.stateset.com"}]}]},"search":{"prompt":"Search guides, APIs, and MCP tools…"},"seo":{"metatags":{"og:type":"website","og:site_name":"StateSet API Docs","og:title":"StateSet API Docs","og:description":"Documentation for the StateSet iCommerce Engine — the execution layer for AI commerce. APIs, SDKs, MCP servers and skills for every service.","twitter:card":"summary_large_image","twitter:site":"@stateset"},"indexing":"all"},"fonts":{"family":"Inter"},"icons":{"library":"lucide"},"styling":{"eyebrows":"breadcrumbs","latex":true},"errors":{"404":{"redirect":false,"title":"This page does not exist","description":"It may have been retired — 376 old URLs redirect automatically, but you found one that doesn't. Try the [API router](/api-reference/introduction) to find the right surface, [host status](/api-reference/hosts) if a service seems missing, or [Getting Help](/support)."}},"contextual":{"options":["copy","chatgpt","claude","cursor"],"display":"header"},"thumbnails":{"appearance":"dark"},"interaction":{"drilldown":false},"metadata":{"timestamp":true},"navigation":{"global":{"anchors":[{"anchor":"GitHub","icon":"github","href":"https://github.com/stateset"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"stateset","hasAudioNarration":false,"actualSubdomain":"stateset","customDomains":["docs.stateset.com"],"gitSource":{"type":"github","owner":"stateset","repo":"api-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6b007b04a22d9093f0bb676c","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"default","tag":"API Reference","count":1570},{"language":"default","tag":"iCommerce","count":482},{"language":"default","tag":"Platform docs","count":317},{"language":"default","tag":"NSR","count":264},{"language":"default","tag":"Learn \u0026 build","count":238},{"language":"default","tag":"EDI","count":204},{"language":"default","tag":"Temporal Engine","count":182},{"language":"default","tag":"Financials","count":97},{"language":"default","tag":"Computer Use","count":92},{"language":"default","tag":"Orders \u0026 Customers","count":88}],"searchSettings":{"maxResults":8}},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"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":"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":"site-roles","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},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":":root{--ss-page: #ffffff;--ss-ink: #15243b;--ss-muted: #4e6078;--ss-line: #dce4ef;--ss-surface: #f5f8fd;--ss-accent: #1854d8}.dark{--ss-page: #101827;--ss-ink: #edf3ff;--ss-muted: #b0bfd4;--ss-line: #304057;--ss-surface: #182337;--ss-accent: #9abbff}html,body{background-color:var(--ss-page)}#navbar{border-bottom-color:var(--ss-line)}#search-bar-entry{border-color:var(--ss-line);border-radius:12px}#sidebar a{transition:background-color 140ms ease, color 140ms ease}#content-area h1{letter-spacing:-0.035em;text-wrap:balance}#content-area h2{letter-spacing:-0.025em}#content-area h3{letter-spacing:-0.015em}#content-area :is(a,button,[role=\"link\"]):focus-visible,#sidebar :is(a,button):focus-visible,#navbar :is(a,button):focus-visible,#footer :is(a,button):focus-visible{outline:3px solid var(--ss-accent);outline-offset:4px}#content-area .card{border-color:var(--ss-line);border-radius:16px;box-shadow:0 2px 5px rgb(15 35 65 / 3%);transition:border-color 160ms ease, box-shadow 160ms ease}#content-area .card:hover{border-color:var(--ss-accent);box-shadow:0 6px 20px rgb(15 35 65 / 7%)}#content-area th{background:var(--ss-surface)}#content-area :is(th,td){border-bottom-color:var(--ss-line)}.ss-home-actions{display:flex;flex-wrap:wrap;align-items:center;gap:0.75rem 1.5rem;margin:0 0 1.75rem}.ss-eyebrow{display:block;font-size:0.75rem;font-weight:700;letter-spacing:0.08em;color:var(--ss-accent)}#content-area .ss-primary-link,#content-area .ss-secondary-link{display:inline-flex;align-items:center;gap:0.75rem;font-size:0.875rem;font-weight:600;text-decoration:none;border-bottom:0}#content-area .ss-primary-link{padding:0.7rem 1rem;border-radius:10px;background:#1854d8;color:#fff}#content-area .ss-primary-link:hover{background:#1244b7}#content-area .ss-secondary-link{color:var(--ss-accent)}#content-area .ss-secondary-link:hover{text-decoration:underline;text-underline-offset:4px}.ss-reference-strip{display:flex;flex-wrap:wrap;gap:0.5rem 1rem;margin:1.25rem 0 2rem;padding:1rem 1.25rem;background:var(--ss-surface);border:1px solid var(--ss-line);border-radius:12px;font-size:0.875rem}.ss-reference-strip>span{flex-basis:100%;font-weight:600;color:var(--ss-muted)}.ss-operation-map{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));margin:1.5rem 0 2.5rem;border:1px solid var(--ss-line);border-radius:16px;background:var(--ss-surface)}.ss-operation-map>div{padding:1.25rem}.ss-operation-map>div+div{border-left:1px solid var(--ss-line)}.ss-operation-map strong{display:block;margin-top:0.65rem;font-size:0.95rem;color:var(--ss-ink)}#content-area .ss-operation-map p{margin:0.5rem 0 0;font-size:0.875rem;line-height:1.6;color:var(--ss-muted)}.ss-guide-summary{display:grid;grid-template-columns:1fr 1.3fr 1.3fr;gap:1.25rem;padding:1.25rem;margin:0 0 1.75rem;border:1px solid var(--ss-line);border-radius:14px;background:var(--ss-surface)}.ss-guide-summary strong{display:block;margin-top:0.5rem;color:var(--ss-ink);font-size:0.9rem}#content-area .ss-guide-summary p{margin:0.5rem 0 0;font-size:0.875rem;line-height:1.6;color:var(--ss-muted)}.ss-checkpoint{border-left:3px solid var(--ss-accent);border-radius:0 10px 10px 0;background:var(--ss-surface);padding:0.85rem 1.1rem;margin:1.5rem 0}#content-area .ss-checkpoint p{margin:0}#content-area th{padding:0.7rem 0.75rem}#content-area td{padding:0.8rem 0.75rem;vertical-align:top;line-height:1.6}#content-area :is(h2,h3){scroll-margin-top:8rem}#content-area :is(a,button,[role=\"tab\"]),#navbar button{-webkit-tap-highlight-color:transparent}#content-area .ss-primary-link,#content-area .ss-secondary-link{min-height:44px}#content-area [data-component-part=\"card-icon\"]{padding:0.5rem;box-sizing:content-box;background:var(--ss-surface);border-radius:10px}@media (max-width: 640px){.ss-home-actions{gap:0.5rem 1rem}.ss-operation-map,.ss-guide-summary{grid-template-columns:1fr}.ss-operation-map>div+div{border-left:0;border-top:1px solid var(--ss-line)}.ss-guide-summary{gap:1rem}.ss-guide-summary>div{display:grid;grid-template-columns:6.5rem 1fr;gap:0.5rem;align-items:baseline}#content-area .ss-guide-summary :is(p,strong){margin-top:0}}@media (prefers-reduced-motion: reduce){#sidebar a,#content-area .card{transition:none}}@media (forced-colors: active){.ss-checkpoint,.ss-guide-summary,.ss-operation-map,.ss-reference-strip{border:1px solid CanvasText}#content-area .ss-primary-link{border:1px solid ButtonText}}@media (max-width: 400px){#footer .nav-logo{max-width:140px}#footer div:has(>a .nav-logo){flex-wrap:wrap;gap:1rem}}#footer :is(a,span){color:var(--ss-muted)}#footer a:hover{color:var(--ss-accent)}.ss-test-sequence{display:grid;gap:1rem;margin:1.5rem 0}.ss-test-sequence .ss-test-case{border:1px solid var(--ss-line);border-radius:14px;padding:1.25rem}#content-area .ss-test-sequence h3{margin:0.5rem 0 0.75rem;font-size:1.1rem}#content-area .ss-test-sequence .ss-test-question{margin:0;padding:0.75rem 1rem;background:var(--ss-surface);border-left:3px solid var(--ss-accent);font-style:normal;color:var(--ss-ink)}#content-area .ss-test-sequence p{margin:0.85rem 0 0;font-size:0.9rem;line-height:1.7}"}]}
{"page":{"pagePath":"api-reference/commerce/general_ledger/gl-close-month-create","slug":"/api-reference/commerce/general_ledger/gl-close-month-create","pageMetadata":{"title":"Close a month","api":"POST https://api.stateset.com/api/v1/gl/close-month","description":"Close a month","href":"/api-reference/commerce/general_ledger/gl-close-month-create"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Close a month\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Expandable,Heading,ParamField,ResponseField,Table,Warning}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Confirm your deployment before running this request.`}),` This page describes an API contract;\na published reference does not establish hosted availability. Check the dated\n`,_jsx(_components.a,{href:`/api-reference/hosts`,children:`host report`}),` and obtain your deployment URL and credentials.\nReplace the example host if your provisioned service uses a different URL.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`request-body`,children:`Request body`}),`\n`,_jsx(_components.p,{children:_jsx(_components.code,{children:`CloseMonthRequest`})}),`\n`,_jsx(ParamField,{body:`closed_by`,type:`string,null`,id:`param-closed-by`,children:_jsxs(_components.p,{children:[`Actor recorded as the closer. Defaults to `,_jsx(_components.code,{children:`api`}),`.`]})}),`\n`,_jsx(ParamField,{body:`dry_run`,type:`boolean,null`,id:`param-dry-run`,children:_jsx(_components.p,{children:`Compute counts/amounts per step without writing anything.`})}),`\n`,_jsx(ParamField,{body:`fail_on_warnings`,type:`boolean,null`,id:`param-fail-on-warnings`,children:_jsx(_components.p,{children:`Refuse with 422 when any step reports warnings (strict mode).`})}),`\n`,_jsx(ParamField,{body:`period_id`,type:`string`,required:true,id:`param-period-id`,children:_jsx(_components.p,{children:`Accounting period to close.`})}),`\n`,_jsx(ParamField,{body:`skip_depreciation`,type:`boolean,null`,id:`param-skip-depreciation`,children:_jsx(_components.p,{children:`Skip posting scheduled fixed-asset depreciation.`})}),`\n`,_jsx(ParamField,{body:`skip_fx_revaluation`,type:`boolean,null`,id:`param-skip-fx-revaluation`,children:_jsx(_components.p,{children:`Skip FX revaluation of foreign-currency accounts.`})}),`\n`,_jsx(ParamField,{body:`skip_period_close`,type:`boolean,null`,id:`param-skip-period-close`,children:_jsx(_components.p,{children:`Skip the final period close (closing entries + close period).`})}),`\n`,_jsx(ParamField,{body:`skip_revenue_recognition`,type:`boolean,null`,id:`param-skip-revenue-recognition`,children:_jsx(_components.p,{children:`Skip recognizing deferred revenue through period end.`})}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsx(_components.p,{children:_jsx(_components.code,{children:`CloseMonthResponse`})}),`\n`,_jsx(ResponseField,{name:`closing_entry`,type:`JournalEntryResponse,null`,id:`param-closing-entry`,children:_jsxs(Expandable,{title:`JournalEntryResponse`,children:[_jsx(ResponseField,{name:`created_at`,type:`string`,required:true,id:`param-created-at`}),_jsx(ResponseField,{name:`description`,type:`string`,required:true,id:`param-description`}),_jsx(ResponseField,{name:`entry_date`,type:`string`,required:true,id:`param-entry-date`}),_jsx(ResponseField,{name:`entry_number`,type:`string`,required:true,id:`param-entry-number`}),_jsx(ResponseField,{name:`entry_type`,type:`string`,required:true,id:`param-entry-type`}),_jsx(ResponseField,{name:`id`,type:`string`,required:true,id:`param-id`}),_jsx(ResponseField,{name:`is_balanced`,type:`boolean`,required:true,id:`param-is-balanced`}),_jsx(ResponseField,{name:`lines`,type:`JournalEntryLineResponse[]`,required:true,id:`param-lines`,children:_jsxs(Expandable,{title:`JournalEntryLineResponse`,children:[_jsx(ResponseField,{name:`account_id`,type:`string`,required:true,id:`param-account-id`}),_jsx(ResponseField,{name:`account_name`,type:`string,null`,id:`param-account-name`}),_jsx(ResponseField,{name:`account_number`,type:`string,null`,id:`param-account-number`}),_jsx(ResponseField,{name:`credit_amount`,type:`string`,required:true,id:`param-credit-amount`,children:_jsx(_components.p,{children:`Decimal credit amount as a string.`})}),_jsx(ResponseField,{name:`currency`,type:`string`,required:true,id:`param-currency`}),_jsx(ResponseField,{name:`debit_amount`,type:`string`,required:true,id:`param-debit-amount`,children:_jsx(_components.p,{children:`Decimal debit amount as a string.`})}),_jsx(ResponseField,{name:`description`,type:`string,null`,id:`param-description-1`}),_jsx(ResponseField,{name:`id`,type:`string`,required:true,id:`param-id-1`}),_jsx(ResponseField,{name:`line_number`,type:`integer (int32)`,required:true,id:`param-line-number`})]})}),_jsx(ResponseField,{name:`period_id`,type:`string`,required:true,id:`param-period-id-1`}),_jsx(ResponseField,{name:`posted_at`,type:`string,null`,id:`param-posted-at`}),_jsx(ResponseField,{name:`posted_by`,type:`string,null`,id:`param-posted-by`}),_jsx(ResponseField,{name:`reversed_entry_id`,type:`string,null`,id:`param-reversed-entry-id`}),_jsx(ResponseField,{name:`reversing_entry_id`,type:`string,null`,id:`param-reversing-entry-id`}),_jsx(ResponseField,{name:`source`,type:`string`,required:true,id:`param-source`}),_jsx(ResponseField,{name:`status`,type:`string`,required:true,id:`param-status`}),_jsx(ResponseField,{name:`total_credits`,type:`string`,required:true,id:`param-total-credits`,children:_jsx(_components.p,{children:`Decimal total credits as a string.`})}),_jsx(ResponseField,{name:`total_debits`,type:`string`,required:true,id:`param-total-debits`,children:_jsx(_components.p,{children:`Decimal total debits as a string.`})})]})}),`\n`,_jsxs(ResponseField,{name:`depreciation`,type:`CloseMonthStepResponse`,required:true,id:`param-depreciation`,children:[_jsx(_components.p,{children:`Step 1: scheduled depreciation due through period end.`}),_jsxs(Expandable,{title:`CloseMonthStepResponse`,children:[_jsx(ResponseField,{name:`entry_count`,type:`integer (int64)`,required:true,id:`param-entry-count`,children:_jsxs(_components.p,{children:[`Entries posted (or that would be posted in a dry run). Minimum: `,_jsx(_components.code,{children:`0`}),`.`]})}),_jsx(ResponseField,{name:`failed_item_count`,type:`integer (int64)`,required:true,id:`param-failed-item-count`,children:_jsxs(_components.p,{children:[`Warnings that record a per-item failure (vs informational skip notes). Minimum: `,_jsx(_components.code,{children:`0`}),`.`]})}),_jsx(ResponseField,{name:`status`,type:`string`,required:true,id:`param-status-1`,children:_jsxs(_components.p,{children:[`One of `,_jsx(_components.code,{children:`executed`}),`, `,_jsx(_components.code,{children:`skipped`}),`, `,_jsx(_components.code,{children:`dry_run`}),`.`]})}),_jsx(ResponseField,{name:`total_amount`,type:`string`,required:true,id:`param-total-amount`,children:_jsx(_components.p,{children:`Decimal total amount for the step as a string.`})}),_jsx(ResponseField,{name:`warnings`,type:`string[]`,required:true,id:`param-warnings`,children:_jsx(_components.p,{children:`Per-item failures that did not abort the close.`})})]})]}),`\n`,_jsx(ResponseField,{name:`dry_run`,type:`boolean`,required:true,id:`param-dry-run-1`}),`\n`,_jsxs(ResponseField,{name:`fx_revaluation`,type:`CloseMonthStepResponse`,required:true,id:`param-fx-revaluation`,children:[_jsx(_components.p,{children:`Step 3: FX revaluation as of period end.`}),_jsxs(Expandable,{title:`CloseMonthStepResponse`,children:[_jsx(ResponseField,{name:`entry_count`,type:`integer (int64)`,required:true,id:`param-entry-count-1`,children:_jsxs(_components.p,{children:[`Entries posted (or that would be posted in a dry run). Minimum: `,_jsx(_components.code,{children:`0`}),`.`]})}),_jsx(ResponseField,{name:`failed_item_count`,type:`integer (int64)`,required:true,id:`param-failed-item-count-1`,children:_jsxs(_components.p,{children:[`Warnings that record a per-item failure (vs informational skip notes). Minimum: `,_jsx(_components.code,{children:`0`}),`.`]})}),_jsx(ResponseField,{name:`status`,type:`string`,required:true,id:`param-status-2`,children:_jsxs(_components.p,{children:[`One of `,_jsx(_components.code,{children:`executed`}),`, `,_jsx(_components.code,{children:`skipped`}),`, `,_jsx(_components.code,{children:`dry_run`}),`.`]})}),_jsx(ResponseField,{name:`total_amount`,type:`string`,required:true,id:`param-total-amount-1`,children:_jsx(_components.p,{children:`Decimal total amount for the step as a string.`})}),_jsx(ResponseField,{name:`warnings`,type:`string[]`,required:true,id:`param-warnings-1`,children:_jsx(_components.p,{children:`Per-item failures that did not abort the close.`})})]})]}),`\n`,_jsxs(ResponseField,{name:`period_close`,type:`CloseMonthStepResponse`,required:true,id:`param-period-close`,children:[_jsx(_components.p,{children:`Step 4: closing entries + close period.`}),_jsxs(Expandable,{title:`CloseMonthStepResponse`,children:[_jsx(ResponseField,{name:`entry_count`,type:`integer (int64)`,required:true,id:`param-entry-count-2`,children:_jsxs(_components.p,{children:[`Entries posted (or that would be posted in a dry run). Minimum: `,_jsx(_components.code,{children:`0`}),`.`]})}),_jsx(ResponseField,{name:`failed_item_count`,type:`integer (int64)`,required:true,id:`param-failed-item-count-2`,children:_jsxs(_components.p,{children:[`Warnings that record a per-item failure (vs informational skip notes). Minimum: `,_jsx(_components.code,{children:`0`}),`.`]})}),_jsx(ResponseField,{name:`status`,type:`string`,required:true,id:`param-status-3`,children:_jsxs(_components.p,{children:[`One of `,_jsx(_components.code,{children:`executed`}),`, `,_jsx(_components.code,{children:`skipped`}),`, `,_jsx(_components.code,{children:`dry_run`}),`.`]})}),_jsx(ResponseField,{name:`total_amount`,type:`string`,required:true,id:`param-total-amount-2`,children:_jsx(_components.p,{children:`Decimal total amount for the step as a string.`})}),_jsx(ResponseField,{name:`warnings`,type:`string[]`,required:true,id:`param-warnings-2`,children:_jsx(_components.p,{children:`Per-item failures that did not abort the close.`})})]})]}),`\n`,_jsx(ResponseField,{name:`period_id`,type:`string`,required:true,id:`param-period-id-2`}),`\n`,_jsx(ResponseField,{name:`period_name`,type:`string`,required:true,id:`param-period-name`}),`\n`,_jsx(ResponseField,{name:`period_status`,type:`string`,required:true,id:`param-period-status`,children:_jsxs(_components.p,{children:[`Period status after the run (`,_jsx(_components.code,{children:`closed`}),` after a real close).`]})}),`\n`,_jsxs(ResponseField,{name:`revenue_recognition`,type:`CloseMonthStepResponse`,required:true,id:`param-revenue-recognition`,children:[_jsx(_components.p,{children:`Step 2: deferred revenue recognized through period end.`}),_jsxs(Expandable,{title:`CloseMonthStepResponse`,children:[_jsx(ResponseField,{name:`entry_count`,type:`integer (int64)`,required:true,id:`param-entry-count-3`,children:_jsxs(_components.p,{children:[`Entries posted (or that would be posted in a dry run). Minimum: `,_jsx(_components.code,{children:`0`}),`.`]})}),_jsx(ResponseField,{name:`failed_item_count`,type:`integer (int64)`,required:true,id:`param-failed-item-count-3`,children:_jsxs(_components.p,{children:[`Warnings that record a per-item failure (vs informational skip notes). Minimum: `,_jsx(_components.code,{children:`0`}),`.`]})}),_jsx(ResponseField,{name:`status`,type:`string`,required:true,id:`param-status-4`,children:_jsxs(_components.p,{children:[`One of `,_jsx(_components.code,{children:`executed`}),`, `,_jsx(_components.code,{children:`skipped`}),`, `,_jsx(_components.code,{children:`dry_run`}),`.`]})}),_jsx(ResponseField,{name:`total_amount`,type:`string`,required:true,id:`param-total-amount-3`,children:_jsx(_components.p,{children:`Decimal total amount for the step as a string.`})}),_jsx(ResponseField,{name:`warnings`,type:`string[]`,required:true,id:`param-warnings-3`,children:_jsx(_components.p,{children:`Per-item failures that did not abort the close.`})})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`status-codes`,children:`Status codes`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`200`})}),_jsx(_components.td,{children:`—`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:`—`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{children:`—`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`—`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`using-this-contract`,children:`Using this contract`}),`\n`,_jsxs(_components.p,{children:[`Read the `,_jsx(_components.a,{href:`/spec/stateset-icommerce.json`,children:`source OpenAPI document`}),` for declared schemas and alternatives.\nThis page also includes documented corrections from the `,_jsx(_components.a,{href:`https://github.com/stateset/docs/tree/main/spec/overlays`,children:`spec overlays`}),`.\nExample IDs and values are illustrative; replace them with records from your workspace.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Close a month","api":"POST https://api.stateset.com/api/v1/gl/close-month","description":"Close a month","href":"/api-reference/commerce/general_ledger/gl-close-month-create"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ParamField,RequestExample,ResponseExample,ResponseField,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Confirm your deployment before running this request.`}),` This page describes an API contract;\na published reference does not establish hosted availability. Check the dated\n`,_jsx(_components.a,{href:`/api-reference/hosts`,children:`host report`}),` and obtain your deployment URL and credentials.\nReplace the example host if your provisioned service uses a different URL.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`request-body`,children:`Request body`}),`\n`,_jsx(_components.p,{children:_jsx(_components.code,{children:`CloseMonthRequest`})}),`\n`,_jsx(ParamField,{body:`closed_by`,type:`string,null`,id:`param-closed-by`,children:_jsxs(_components.p,{children:[`Actor recorded as the closer. Defaults to `,_jsx(_components.code,{children:`api`}),`.`]})}),`\n`,_jsx(ParamField,{body:`dry_run`,type:`boolean,null`,id:`param-dry-run`,children:_jsx(_components.p,{children:`Compute counts/amounts per step without writing anything.`})}),`\n`,_jsx(ParamField,{body:`fail_on_warnings`,type:`boolean,null`,id:`param-fail-on-warnings`,children:_jsx(_components.p,{children:`Refuse with 422 when any step reports warnings (strict mode).`})}),`\n`,_jsx(ParamField,{body:`period_id`,type:`string`,required:true,id:`param-period-id`,children:_jsx(_components.p,{children:`Accounting period to close.`})}),`\n`,_jsx(ParamField,{body:`skip_depreciation`,type:`boolean,null`,id:`param-skip-depreciation`,children:_jsx(_components.p,{children:`Skip posting scheduled fixed-asset depreciation.`})}),`\n`,_jsx(ParamField,{body:`skip_fx_revaluation`,type:`boolean,null`,id:`param-skip-fx-revaluation`,children:_jsx(_components.p,{children:`Skip FX revaluation of foreign-currency accounts.`})}),`\n`,_jsx(ParamField,{body:`skip_period_close`,type:`boolean,null`,id:`param-skip-period-close`,children:_jsx(_components.p,{children:`Skip the final period close (closing entries + close period).`})}),`\n`,_jsx(ParamField,{body:`skip_revenue_recognition`,type:`boolean,null`,id:`param-skip-revenue-recognition`,children:_jsx(_components.p,{children:`Skip recognizing deferred revenue through period end.`})}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsx(_components.p,{children:_jsx(_components.code,{children:`CloseMonthResponse`})}),`\n`,_jsx(ResponseField,{name:`closing_entry`,type:`JournalEntryResponse,null`,id:`param-closing-entry`,children:_jsxs(Expandable,{title:`JournalEntryResponse`,children:[_jsx(ResponseField,{name:`created_at`,type:`string`,required:true,id:`param-created-at`}),_jsx(ResponseField,{name:`description`,type:`string`,required:true,id:`param-description`}),_jsx(ResponseField,{name:`entry_date`,type:`string`,required:true,id:`param-entry-date`}),_jsx(ResponseField,{name:`entry_number`,type:`string`,required:true,id:`param-entry-number`}),_jsx(ResponseField,{name:`entry_type`,type:`string`,required:true,id:`param-entry-type`}),_jsx(ResponseField,{name:`id`,type:`string`,required:true,id:`param-id`}),_jsx(ResponseField,{name:`is_balanced`,type:`boolean`,required:true,id:`param-is-balanced`}),_jsx(ResponseField,{name:`lines`,type:`JournalEntryLineResponse[]`,required:true,id:`param-lines`,children:_jsxs(Expandable,{title:`JournalEntryLineResponse`,children:[_jsx(ResponseField,{name:`account_id`,type:`string`,required:true,id:`param-account-id`}),_jsx(ResponseField,{name:`account_name`,type:`string,null`,id:`param-account-name`}),_jsx(ResponseField,{name:`account_number`,type:`string,null`,id:`param-account-number`}),_jsx(ResponseField,{name:`credit_amount`,type:`string`,required:true,id:`param-credit-amount`,children:_jsx(_components.p,{children:`Decimal credit amount as a string.`})}),_jsx(ResponseField,{name:`currency`,type:`string`,required:true,id:`param-currency`}),_jsx(ResponseField,{name:`debit_amount`,type:`string`,required:true,id:`param-debit-amount`,children:_jsx(_components.p,{children:`Decimal debit amount as a string.`})}),_jsx(ResponseField,{name:`description`,type:`string,null`,id:`param-description-1`}),_jsx(ResponseField,{name:`id`,type:`string`,required:true,id:`param-id-1`}),_jsx(ResponseField,{name:`line_number`,type:`integer (int32)`,required:true,id:`param-line-number`})]})}),_jsx(ResponseField,{name:`period_id`,type:`string`,required:true,id:`param-period-id-1`}),_jsx(ResponseField,{name:`posted_at`,type:`string,null`,id:`param-posted-at`}),_jsx(ResponseField,{name:`posted_by`,type:`string,null`,id:`param-posted-by`}),_jsx(ResponseField,{name:`reversed_entry_id`,type:`string,null`,id:`param-reversed-entry-id`}),_jsx(ResponseField,{name:`reversing_entry_id`,type:`string,null`,id:`param-reversing-entry-id`}),_jsx(ResponseField,{name:`source`,type:`string`,required:true,id:`param-source`}),_jsx(ResponseField,{name:`status`,type:`string`,required:true,id:`param-status`}),_jsx(ResponseField,{name:`total_credits`,type:`string`,required:true,id:`param-total-credits`,children:_jsx(_components.p,{children:`Decimal total credits as a string.`})}),_jsx(ResponseField,{name:`total_debits`,type:`string`,required:true,id:`param-total-debits`,children:_jsx(_components.p,{children:`Decimal total debits as a string.`})})]})}),`\n`,_jsxs(ResponseField,{name:`depreciation`,type:`CloseMonthStepResponse`,required:true,id:`param-depreciation`,children:[_jsx(_components.p,{children:`Step 1: scheduled depreciation due through period end.`}),_jsxs(Expandable,{title:`CloseMonthStepResponse`,children:[_jsx(ResponseField,{name:`entry_count`,type:`integer (int64)`,required:true,id:`param-entry-count`,children:_jsxs(_components.p,{children:[`Entries posted (or that would be posted in a dry run). Minimum: `,_jsx(_components.code,{children:`0`}),`.`]})}),_jsx(ResponseField,{name:`failed_item_count`,type:`integer (int64)`,required:true,id:`param-failed-item-count`,children:_jsxs(_components.p,{children:[`Warnings that record a per-item failure (vs informational skip notes). Minimum: `,_jsx(_components.code,{children:`0`}),`.`]})}),_jsx(ResponseField,{name:`status`,type:`string`,required:true,id:`param-status-1`,children:_jsxs(_components.p,{children:[`One of `,_jsx(_components.code,{children:`executed`}),`, `,_jsx(_components.code,{children:`skipped`}),`, `,_jsx(_components.code,{children:`dry_run`}),`.`]})}),_jsx(ResponseField,{name:`total_amount`,type:`string`,required:true,id:`param-total-amount`,children:_jsx(_components.p,{children:`Decimal total amount for the step as a string.`})}),_jsx(ResponseField,{name:`warnings`,type:`string[]`,required:true,id:`param-warnings`,children:_jsx(_components.p,{children:`Per-item failures that did not abort the close.`})})]})]}),`\n`,_jsx(ResponseField,{name:`dry_run`,type:`boolean`,required:true,id:`param-dry-run-1`}),`\n`,_jsxs(ResponseField,{name:`fx_revaluation`,type:`CloseMonthStepResponse`,required:true,id:`param-fx-revaluation`,children:[_jsx(_components.p,{children:`Step 3: FX revaluation as of period end.`}),_jsxs(Expandable,{title:`CloseMonthStepResponse`,children:[_jsx(ResponseField,{name:`entry_count`,type:`integer (int64)`,required:true,id:`param-entry-count-1`,children:_jsxs(_components.p,{children:[`Entries posted (or that would be posted in a dry run). Minimum: `,_jsx(_components.code,{children:`0`}),`.`]})}),_jsx(ResponseField,{name:`failed_item_count`,type:`integer (int64)`,required:true,id:`param-failed-item-count-1`,children:_jsxs(_components.p,{children:[`Warnings that record a per-item failure (vs informational skip notes). Minimum: `,_jsx(_components.code,{children:`0`}),`.`]})}),_jsx(ResponseField,{name:`status`,type:`string`,required:true,id:`param-status-2`,children:_jsxs(_components.p,{children:[`One of `,_jsx(_components.code,{children:`executed`}),`, `,_jsx(_components.code,{children:`skipped`}),`, `,_jsx(_components.code,{children:`dry_run`}),`.`]})}),_jsx(ResponseField,{name:`total_amount`,type:`string`,required:true,id:`param-total-amount-1`,children:_jsx(_components.p,{children:`Decimal total amount for the step as a string.`})}),_jsx(ResponseField,{name:`warnings`,type:`string[]`,required:true,id:`param-warnings-1`,children:_jsx(_components.p,{children:`Per-item failures that did not abort the close.`})})]})]}),`\n`,_jsxs(ResponseField,{name:`period_close`,type:`CloseMonthStepResponse`,required:true,id:`param-period-close`,children:[_jsx(_components.p,{children:`Step 4: closing entries + close period.`}),_jsxs(Expandable,{title:`CloseMonthStepResponse`,children:[_jsx(ResponseField,{name:`entry_count`,type:`integer (int64)`,required:true,id:`param-entry-count-2`,children:_jsxs(_components.p,{children:[`Entries posted (or that would be posted in a dry run). Minimum: `,_jsx(_components.code,{children:`0`}),`.`]})}),_jsx(ResponseField,{name:`failed_item_count`,type:`integer (int64)`,required:true,id:`param-failed-item-count-2`,children:_jsxs(_components.p,{children:[`Warnings that record a per-item failure (vs informational skip notes). Minimum: `,_jsx(_components.code,{children:`0`}),`.`]})}),_jsx(ResponseField,{name:`status`,type:`string`,required:true,id:`param-status-3`,children:_jsxs(_components.p,{children:[`One of `,_jsx(_components.code,{children:`executed`}),`, `,_jsx(_components.code,{children:`skipped`}),`, `,_jsx(_components.code,{children:`dry_run`}),`.`]})}),_jsx(ResponseField,{name:`total_amount`,type:`string`,required:true,id:`param-total-amount-2`,children:_jsx(_components.p,{children:`Decimal total amount for the step as a string.`})}),_jsx(ResponseField,{name:`warnings`,type:`string[]`,required:true,id:`param-warnings-2`,children:_jsx(_components.p,{children:`Per-item failures that did not abort the close.`})})]})]}),`\n`,_jsx(ResponseField,{name:`period_id`,type:`string`,required:true,id:`param-period-id-2`}),`\n`,_jsx(ResponseField,{name:`period_name`,type:`string`,required:true,id:`param-period-name`}),`\n`,_jsx(ResponseField,{name:`period_status`,type:`string`,required:true,id:`param-period-status`,children:_jsxs(_components.p,{children:[`Period status after the run (`,_jsx(_components.code,{children:`closed`}),` after a real close).`]})}),`\n`,_jsxs(ResponseField,{name:`revenue_recognition`,type:`CloseMonthStepResponse`,required:true,id:`param-revenue-recognition`,children:[_jsx(_components.p,{children:`Step 2: deferred revenue recognized through period end.`}),_jsxs(Expandable,{title:`CloseMonthStepResponse`,children:[_jsx(ResponseField,{name:`entry_count`,type:`integer (int64)`,required:true,id:`param-entry-count-3`,children:_jsxs(_components.p,{children:[`Entries posted (or that would be posted in a dry run). Minimum: `,_jsx(_components.code,{children:`0`}),`.`]})}),_jsx(ResponseField,{name:`failed_item_count`,type:`integer (int64)`,required:true,id:`param-failed-item-count-3`,children:_jsxs(_components.p,{children:[`Warnings that record a per-item failure (vs informational skip notes). Minimum: `,_jsx(_components.code,{children:`0`}),`.`]})}),_jsx(ResponseField,{name:`status`,type:`string`,required:true,id:`param-status-4`,children:_jsxs(_components.p,{children:[`One of `,_jsx(_components.code,{children:`executed`}),`, `,_jsx(_components.code,{children:`skipped`}),`, `,_jsx(_components.code,{children:`dry_run`}),`.`]})}),_jsx(ResponseField,{name:`total_amount`,type:`string`,required:true,id:`param-total-amount-3`,children:_jsx(_components.p,{children:`Decimal total amount for the step as a string.`})}),_jsx(ResponseField,{name:`warnings`,type:`string[]`,required:true,id:`param-warnings-3`,children:_jsx(_components.p,{children:`Per-item failures that did not abort the close.`})})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`status-codes`,children:`Status codes`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`200`})}),_jsx(_components.td,{children:`—`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:`—`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{children:`—`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`—`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`using-this-contract`,children:`Using this contract`}),`\n`,_jsxs(_components.p,{children:[`Read the `,_jsx(_components.a,{href:`/spec/stateset-icommerce.json`,children:`source OpenAPI document`}),` for declared schemas and alternatives.\nThis page also includes documented corrections from the `,_jsx(_components.a,{href:`https://github.com/stateset/docs/tree/main/spec/overlays`,children:`spec overlays`}),`.\nExample IDs and values are illustrative; replace them with records from your workspace.`]}),`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`14`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`14`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --silent`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --show-error`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --fail-with-body`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://api.stateset.com/api/v1/gl/close-month'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Bearer YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"closed_by\": \"string\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"dry_run\": false,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"fail_on_warnings\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"period_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"skip_depreciation\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"skip_fx_revaluation\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"skip_period_close\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"skip_revenue_recognition\": true`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}'`})}),`\n`]})})})}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`200`,numberOfLines:`73`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`73`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"closing_entry\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-08-31T14:22:05Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Two-person tent, green — replacement for damaged pole set.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"entry_date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-08-31T14:22:05Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"entry_number\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"entry_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"3fa85f64-5717-4562-b3fc-2c963f66afa6\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"is_balanced\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"lines\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"account_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"3fa85f64-5717-4562-b3fc-2c963f66afa6\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"account_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"account_number\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"credit_amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"49.00\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"currency\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"USD\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"debit_amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"49.00\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Two-person tent, green — replacement for damaged pole set.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"3fa85f64-5717-4562-b3fc-2c963f66afa6\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"line_number\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1001`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"period_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"3fa85f64-5717-4562-b3fc-2c963f66afa6\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"posted_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-08-31T14:22:05Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"posted_by\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"reversed_entry_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"3fa85f64-5717-4562-b3fc-2c963f66afa6\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"reversing_entry_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"3fa85f64-5717-4562-b3fc-2c963f66afa6\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"source\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pending\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"total_credits\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"total_debits\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"depreciation\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"entry_count\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"failed_item_count\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pending\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"total_amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"102.12\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"warnings\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"string\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"dry_run\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"fx_revaluation\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"entry_count\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"failed_item_count\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pending\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"total_amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"102.12\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"warnings\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"string\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"period_close\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"entry_count\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"failed_item_count\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pending\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"total_amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"102.12\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"warnings\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"string\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"period_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"3fa85f64-5717-4562-b3fc-2c963f66afa6\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"period_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"period_status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"revenue_recognition\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"entry_count\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"failed_item_count\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pending\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"total_amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"102.12\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"warnings\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"string\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Close a month","api":"POST https://api.stateset.com/api/v1/gl/close-month","description":"Close a month","href":"/api-reference/commerce/general_ledger/gl-close-month-create"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Request body","slug":"request-body","depth":3,"children":[]},{"title":"Response","slug":"response","depth":3,"children":[]},{"title":"Status codes","slug":"status-codes","depth":3,"children":[]},{"title":"Using this contract","slug":"using-this-contract","depth":3,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"14\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --silent\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --show-error\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --fail-with-body\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --request\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> POST\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --url\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'https://api.stateset.com/api/v1/gl/close-month'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --header\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Authorization: Bearer YOUR_API_KEY'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --header\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Content-Type: application/json'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --data\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"closed_by\": \"string\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"dry_run\": false,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"fail_on_warnings\": true,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"period_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"skip_depreciation\": true,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"skip_fx_revaluation\": true,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"skip_period_close\": true,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"skip_revenue_recognition\": true\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">}'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"200","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"73\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"closing_entry\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"created_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-08-31T14:22:05Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"description\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Two-person tent, green — replacement for damaged pole set.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"entry_date\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-08-31T14:22:05Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"entry_number\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"string\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"entry_type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"string\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"is_balanced\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"lines\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"account_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"account_name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"string\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"account_number\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"string\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"credit_amount\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"49.00\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"currency\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"USD\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"debit_amount\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"49.00\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"description\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Two-person tent, green — replacement for damaged pole set.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"line_number\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1001\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"period_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"posted_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-08-31T14:22:05Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"posted_by\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"string\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"reversed_entry_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"reversing_entry_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"source\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"string\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"pending\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"total_credits\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"string\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"total_debits\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"string\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"depreciation\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"entry_count\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"failed_item_count\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"pending\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"total_amount\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"102.12\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"warnings\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"string\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"dry_run\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"fx_revaluation\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"entry_count\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"failed_item_count\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"pending\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"total_amount\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"102.12\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"warnings\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"string\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"period_close\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"entry_count\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"failed_item_count\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"pending\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"total_amount\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"102.12\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"warnings\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"string\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"period_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"period_name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"string\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"period_status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"string\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"revenue_recognition\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"entry_count\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"failed_item_count\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"pending\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"total_amount\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"102.12\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"warnings\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"string\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Close a month","path":"/api/v1/gl/close-month","servers":[{"url":"https://api.stateset.com"}],"method":"post","request":{"security":[{"title":"Bearer Auth","parameters":{"header":{"Authorization":{"type":"http","scheme":"bearer","description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token."}},"query":{},"cookie":{}}}],"parameters":{"query":{},"header":{},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"closed_by":[{"type":"object","properties":{},"description":"Actor recorded as the closer. Defaults to `api` ."}],"dry_run":[{"type":"object","properties":{},"description":"Compute counts/amounts per step without writing anything."}],"fail_on_warnings":[{"type":"object","properties":{},"description":"Refuse with 422 when any step reports warnings (strict mode)."}],"period_id":[{"type":"string","description":"Accounting period to close.","required":true}],"skip_depreciation":[{"type":"object","properties":{},"description":"Skip posting scheduled fixed-asset depreciation."}],"skip_fx_revaluation":[{"type":"object","properties":{},"description":"Skip FX revaluation of foreign-currency accounts."}],"skip_period_close":[{"type":"object","properties":{},"description":"Skip the final period close (closing entries + close period)."}],"skip_revenue_recognition":[{"type":"object","properties":{},"description":"Skip recognizing deferred revenue through period end."}]}}],"examples":{"example":{"value":{"closed_by":{},"dry_run":{},"fail_on_warnings":{},"period_id":"\u003cstring>","skip_depreciation":{},"skip_fx_revaluation":{},"skip_period_close":{},"skip_revenue_recognition":{}}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"closing_entry":[{"type":"object","properties":{"created_at":[{"type":"string","required":true}],"description":[{"type":"string","required":true}],"entry_date":[{"type":"string","required":true}],"entry_number":[{"type":"string","required":true}],"entry_type":[{"type":"string","required":true}],"id":[{"type":"string","required":true}],"is_balanced":[{"type":"boolean","required":true}],"lines":[{"type":"array","items":[{"type":"object","properties":{"account_id":[{"type":"string","required":true}],"account_name":[{"type":"object","properties":{}}],"account_number":[{"type":"object","properties":{}}],"credit_amount":[{"type":"string","description":"Decimal credit amount as a string.","required":true}],"currency":[{"type":"string","required":true}],"debit_amount":[{"type":"string","description":"Decimal debit amount as a string.","required":true}],"description":[{"type":"object","properties":{}}],"id":[{"type":"string","required":true}],"line_number":[{"type":"object","properties":{},"required":true}]}}],"required":true}],"period_id":[{"type":"string","required":true}],"posted_at":[{"type":"object","properties":{}}],"posted_by":[{"type":"object","properties":{}}],"reversed_entry_id":[{"type":"object","properties":{}}],"reversing_entry_id":[{"type":"object","properties":{}}],"source":[{"type":"string","required":true}],"status":[{"type":"string","required":true}],"total_credits":[{"type":"string","description":"Decimal total credits as a string.","required":true}],"total_debits":[{"type":"string","description":"Decimal total debits as a string.","required":true}]}}],"depreciation":[{"type":"object","properties":{"entry_count":[{"type":"object","properties":{},"description":"Entries posted (or that would be posted in a dry run). Minimum: `0` .","required":true}],"failed_item_count":[{"type":"object","properties":{},"description":"Warnings that record a per-item failure (vs informational skip notes). Minimum: `0` .","required":true}],"status":[{"type":"string","description":"One of `executed` , `skipped` , `dry_run` .","required":true}],"total_amount":[{"type":"string","description":"Decimal total amount for the step as a string.","required":true}],"warnings":[{"type":"array","items":[{"type":"string"}],"description":"Per-item failures that did not abort the close.","required":true}]},"description":"Step 1: scheduled depreciation due through period end.","required":true}],"dry_run":[{"type":"boolean","required":true}],"fx_revaluation":[{"type":"object","properties":{"entry_count":[{"type":"object","properties":{},"description":"Entries posted (or that would be posted in a dry run). Minimum: `0` .","required":true}],"failed_item_count":[{"type":"object","properties":{},"description":"Warnings that record a per-item failure (vs informational skip notes). Minimum: `0` .","required":true}],"status":[{"type":"string","description":"One of `executed` , `skipped` , `dry_run` .","required":true}],"total_amount":[{"type":"string","description":"Decimal total amount for the step as a string.","required":true}],"warnings":[{"type":"array","items":[{"type":"string"}],"description":"Per-item failures that did not abort the close.","required":true}]},"description":"Step 3: FX revaluation as of period end.","required":true}],"period_close":[{"type":"object","properties":{"entry_count":[{"type":"object","properties":{},"description":"Entries posted (or that would be posted in a dry run). Minimum: `0` .","required":true}],"failed_item_count":[{"type":"object","properties":{},"description":"Warnings that record a per-item failure (vs informational skip notes). Minimum: `0` .","required":true}],"status":[{"type":"string","description":"One of `executed` , `skipped` , `dry_run` .","required":true}],"total_amount":[{"type":"string","description":"Decimal total amount for the step as a string.","required":true}],"warnings":[{"type":"array","items":[{"type":"string"}],"description":"Per-item failures that did not abort the close.","required":true}]},"description":"Step 4: closing entries + close period.","required":true}],"period_id":[{"type":"string","required":true}],"period_name":[{"type":"string","required":true}],"period_status":[{"type":"string","description":"Period status after the run ( `closed` after a real close).","required":true}],"revenue_recognition":[{"type":"object","properties":{"entry_count":[{"type":"object","properties":{},"description":"Entries posted (or that would be posted in a dry run). Minimum: `0` .","required":true}],"failed_item_count":[{"type":"object","properties":{},"description":"Warnings that record a per-item failure (vs informational skip notes). Minimum: `0` .","required":true}],"status":[{"type":"string","description":"One of `executed` , `skipped` , `dry_run` .","required":true}],"total_amount":[{"type":"string","description":"Decimal total amount for the step as a string.","required":true}],"warnings":[{"type":"array","items":[{"type":"string"}],"description":"Per-item failures that did not abort the close.","required":true}]},"description":"Step 2: deferred revenue recognized through period end.","required":true}]}}],"examples":{"example":{"value":{"closing_entry":{"created_at":"\u003cstring>","description":"\u003cstring>","entry_date":"\u003cstring>","entry_number":"\u003cstring>","entry_type":"\u003cstring>","id":"\u003cstring>","is_balanced":true,"lines":[{"account_id":"\u003cstring>","account_name":{},"account_number":{},"credit_amount":"\u003cstring>","currency":"\u003cstring>","debit_amount":"\u003cstring>","description":{},"id":"\u003cstring>","line_number":{}}],"period_id":"\u003cstring>","posted_at":{},"posted_by":{},"reversed_entry_id":{},"reversing_entry_id":{},"source":"\u003cstring>","status":"\u003cstring>","total_credits":"\u003cstring>","total_debits":"\u003cstring>"},"depreciation":{"entry_count":{},"failed_item_count":{},"status":"\u003cstring>","total_amount":"\u003cstring>","warnings":["\u003cstring>"]},"dry_run":true,"fx_revaluation":{"entry_count":{},"failed_item_count":{},"status":"\u003cstring>","total_amount":"\u003cstring>","warnings":["\u003cstring>"]},"period_close":{"entry_count":{},"failed_item_count":{},"status":"\u003cstring>","total_amount":"\u003cstring>","warnings":["\u003cstring>"]},"period_id":"\u003cstring>","period_name":"\u003cstring>","period_status":"\u003cstring>","revenue_recognition":{"entry_count":{},"failed_item_count":{},"status":"\u003cstring>","total_amount":"\u003cstring>","warnings":["\u003cstring>"]}}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"stateset","siteName":"StateSet","title":"StateSet API Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-13T19:12:28.576Z","gitLastModified":"2026-10-20T20:38:10.000Z","originalFileLocation":"api-reference/commerce/general_ledger/gl-close-month-create.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=\"Close a month\">\u003cmeta data-mint-head name=\"application-name\" content=\"StateSet\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/stateset/e2dvUYlL-CpWYzc1/_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/stateset/e2dvUYlL-CpWYzc1/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/stateset/e2dvUYlL-CpWYzc1/_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/stateset/e2dvUYlL-CpWYzc1/_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/stateset/e2dvUYlL-CpWYzc1/_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/stateset/e2dvUYlL-CpWYzc1/_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/stateset/e2dvUYlL-CpWYzc1/_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/stateset/e2dvUYlL-CpWYzc1/_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/stateset/e2dvUYlL-CpWYzc1/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"StateSet API Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Documentation for the StateSet iCommerce Engine — the execution layer for AI commerce. APIs, SDKs, MCP servers and skills for every service.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"StateSet API Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.stateset.com/api-reference/commerce/general_ledger/gl-close-month-create\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://stateset.mintlify.site/_mintlify/api/og/v2?division=General+Ledger\u0026amp;title=Close+a+month\u0026amp;description=Close+a+month\u0026amp;theme=8b886a933b8fdd889c9fff09\u0026amp;signature=99ff20524b1bc914fa8d4b2c30766076709326b094d94c7d1001e5ad5f03acd5\">\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=\"StateSet API Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Documentation for the StateSet iCommerce Engine — the execution layer for AI commerce. APIs, SDKs, MCP servers and skills for every service.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://stateset.mintlify.site/_mintlify/api/og/v2?division=General+Ledger\u0026amp;title=Close+a+month\u0026amp;description=Close+a+month\u0026amp;theme=8b886a933b8fdd889c9fff09\u0026amp;signature=99ff20524b1bc914fa8d4b2c30766076709326b094d94c7d1001e5ad5f03acd5\">\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/stateset/e2dvUYlL-CpWYzc1/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"StateSet\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1854D8\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.stateset.com/api-reference/commerce/general_ledger/gl-close-month-create\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/commerce/general_ledger/gl-close-month-create.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.stateset.com/#organization\",\"name\":\"StateSet\",\"url\":\"https://docs.stateset.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/stateset/4wTHkssFeA2M0XSV/logo/stateset28.svg?fit=max\u0026auto=format\u0026n=4wTHkssFeA2M0XSV\u0026q=85\u0026s=24804c100796a1bf65ec331da17e6d35\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.stateset.com#website\",\"name\":\"StateSet\",\"url\":\"https://docs.stateset.com\",\"publisher\":{\"@id\":\"https://docs.stateset.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.stateset.com/api-reference/commerce/general_ledger/gl-close-month-create#webpage\",\"url\":\"https://docs.stateset.com/api-reference/commerce/general_ledger/gl-close-month-create\",\"name\":\"Close a month\",\"description\":\"Close a month\",\"dateModified\":\"2026-10-20T20:38:10.000Z\",\"isPartOf\":{\"@id\":\"https://docs.stateset.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.stateset.com/api-reference/commerce/general_ledger/gl-close-month-create#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.stateset.com/api-reference/commerce/general_ledger/gl-close-month-create#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Financials\",\"item\":\"https://docs.stateset.com/api-reference/commerce/general_ledger/gl-accounts-by-get\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"General Ledger\",\"item\":\"https://docs.stateset.com/api-reference/commerce/general_ledger/gl-accounts-by-get\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Close a month\",\"item\":\"https://docs.stateset.com/api-reference/commerce/general_ledger/gl-close-month-create\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.stateset.com/api-reference/commerce/general_ledger/gl-close-month-create#apireference\",\"headline\":\"Close a month\",\"name\":\"Close a month\",\"description\":\"Close a month\",\"url\":\"https://docs.stateset.com/api-reference/commerce/general_ledger/gl-close-month-create\",\"mainEntityOfPage\":{\"@id\":\"https://docs.stateset.com/api-reference/commerce/general_ledger/gl-close-month-create#webpage\"},\"dateModified\":\"2026-10-20T20:38:10.000Z\",\"publisher\":{\"@id\":\"https://docs.stateset.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.stateset.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"StateSet\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"StateSet\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/commerce/general_ledger/gl-close-month-create.md","siteName":"StateSet","nav":{"global":{"anchors":[{"anchor":"GitHub","icon":"github","href":"https://github.com/stateset"}]},"dropdowns":[{"dropdown":"Platform docs","icon":"book","description":"Products, guides and concepts","tabs":[{"tab":"Learn \u0026 build","icon":"book","groups":[{"group":"Get started","icon":"rocket","pages":[{"sidebarTitle":"Overview","title":"Build your first working operation","href":"/introduction"},{"sidebarTitle":"Signup to first value","title":"From Signup to First Value","icon":"rocket","href":"/guides/platform-onboarding"},{"sidebarTitle":"First local operation","title":"Your First Operation","icon":"play","href":"/guides/first-operation"},{"sidebarTitle":"Agent quickstart","title":"Getting Started for AI Agents","icon":"robot","href":"/getting-started-for-ai-agents"},{"title":"Why StateSet","icon":"scale-balanced","href":"/why-stateset"}]},{"group":"Build your first integration","icon":"blocks","pages":[{"sidebarTitle":"First support agent","title":"Your First Support Agent","icon":"bot","href":"/guides/first-support-agent"},{"sidebarTitle":"Workflow trial","title":"Your First Workflow Trial","icon":"workflow","href":"/guides/first-workflow-trial"},{"sidebarTitle":"Connect through MCP","title":"Manage Agents \u0026 Workflows with MCP","icon":"plug","href":"/guides/manage-platform-with-mcp"},{"title":"ResponseCX Quickstart","href":"/quickstart"},{"sidebarTitle":"Connect your systems","title":"Connect Your Operation","icon":"plug","href":"/guides/connect-your-operation"},{"sidebarTitle":"Rust engines \u0026 MCP","title":"Build Operations with Rust Engines \u0026 MCP","icon":"cpu","href":"/guides/rust-engines-and-mcp"},{"title":"Developer Guide","href":"/development"}]},{"group":"Operate and improve","icon":"activity","pages":[{"sidebarTitle":"Agent evaluations","title":"Your First Agent Evaluation","icon":"check-check","href":"/guides/first-agent-evaluation"},{"sidebarTitle":"Configuration changes","title":"Your First Workflow Configuration Change","icon":"git-pull-request","href":"/guides/first-workflow-config-change"},{"sidebarTitle":"Durable agents","title":"Operate Your First Durable Agent","icon":"bot","href":"/guides/first-durable-agent"},{"sidebarTitle":"Your first week","title":"Your First Week with StateSet","icon":"chart-line","href":"/guides/first-week-with-stateset"},{"title":"Launch a brand that runs itself","href":"/guides/launch-a-brand-autonomously"}]},{"group":"Resources and support","icon":"life-buoy","pages":[{"title":"Brand Onboarding","icon":"rocket","href":"/stateset-onboarding"},{"title":"ResponseCX","href":"/guides/response-quickstart"},{"sidebarTitle":"Troubleshooting","title":"Troubleshoot Your First Operation","icon":"life-ring","href":"/guides/onboarding-troubleshooting"},{"title":"Changelog","icon":"clock-rotate-left","href":"/changelog"},{"title":"Getting Help","icon":"life-ring","href":"/support"}]},{"group":"Platform","icon":"grid-2","pages":[{"title":"MCP Servers","icon":"plug","href":"/mcp-servers"},{"title":"StateSet Overview","icon":"eye","iconType":"solid","href":"/stateset-overview"},{"title":"StateSet Agent Operations Architecture","href":"/stateset-agentic-os"},{"title":"Global Commerce Architecture","href":"/global-commerce-architecture"},{"title":"Autonomous Agent Architecture","href":"/autonomous-agent-architecture"},{"title":"StateSet Billing","href":"/stateset-billing"},{"title":"Security \u0026 Compliance","icon":"shield","iconType":"solid","href":"/security"},{"title":"Service-as-a-Software (SaaS 3.0)","icon":"brain","iconType":"solid","href":"/service-as-a-software"}]},{"group":"Using the APIs","icon":"briefcase","pages":[{"title":"API Reference","href":"/api-reference/introduction"},{"title":"Host status","href":"/api-reference/hosts"},{"title":"Errors across the engines","href":"/api-reference/errors-across-engines"},{"title":"Authentication","icon":"shield-halved","iconType":"solid","href":"/api-reference/authentication"},{"title":"API Design Guidelines","icon":"book","href":"/api-reference/api-design-guidelines"},{"title":"Overview","icon":"desktop","iconType":"solid","href":"/api-reference/overview"},{"title":"Getting Started","icon":"browser","iconType":"solid","href":"/api-reference/getting-started"},{"group":"Architecture","pages":[{"title":"Web Framework","icon":"browser","iconType":"solid","href":"/api-reference/framework"},{"title":"StateSet API","href":"/api-reference/backend-framework"},{"title":"gRPC","icon":"route","iconType":"solid","href":"/api-reference/grpc-framework"},{"title":"Workflow Framework with Temporal","icon":"arrow-progress","iconType":"solid","href":"/api-reference/temporal"},{"title":"Event-Driven APIs with StateSet One","icon":"webhook","iconType":"solid","href":"/api-reference/events"}]},{"title":"Features","href":"/api-reference/features"},{"title":"Reporting and Reconciliation","icon":"file-chart-column","href":"/api-reference/reporting"},{"title":"Integrations","icon":"plug","iconType":"solid","href":"/api-reference/integrations"},{"title":"API Changelog","icon":"clock-rotate-left","iconType":"solid","href":"/api-reference/changelog"}]},{"group":"StateSet Response","icon":"comments","pages":[{"title":"ResponseCX Platform","href":"/stateset-response/responsecx-platform"},{"title":"Chat Desk","sidebarTitle":"Chat Desk","icon":"inbox","href":"/stateset-response/chat-desk"},{"title":"Your First Shift in Chat Desk","sidebarTitle":"First desk shift","icon":"inbox","href":"/guides/chat-desk-first-shift"},{"title":"Connect the Chat Widget to Your Desk","sidebarTitle":"Widget to desk","icon":"messages-square","href":"/stateset-response/chat-desk-widget"},{"title":"Chat Desk Across Channels","sidebarTitle":"Desk channel coverage","icon":"network","href":"/stateset-response/chat-desk-channels"},{"title":"Autonomy dial","href":"/stateset-response/responsecx-autonomy"},{"title":"Workflow Studio","href":"/stateset-response/responsecx-workflow-studio"},{"title":"Website Onboarding","href":"/stateset-response/responsecx-website-onboarding"},{"title":"ResponseCX API","href":"/response-api-reference/overview"},{"title":"Agents","href":"/response-api-reference/agents"},{"title":"Authentication","icon":"key","iconType":"solid","href":"/response-api-reference/authentication"},{"title":"Models","href":"/response-api-reference/models"},{"title":"Agent Framework and SDK","href":"/response-api-reference/framework"},{"title":"Computer Use","href":"/response-api-reference/computer-use"},{"title":"ReasonCX","href":"/response-api-reference/reason"},{"title":"Realtime Voice","href":"/response-api-reference/voice"},{"title":"Response Public API (v1)","href":"/stateset-response/response-public-api"},{"title":"Response MCP Servers","href":"/stateset-response/response-mcp"},{"title":"Response ChatGPT App Guide","href":"/stateset-response/stateset-response-chatgpt-guide"},{"title":"Onsite Chat Quickstart","href":"/stateset-response/response-chat-widget-quickstart"},{"title":"Response Chat Widget","href":"/stateset-response/response-chat-widget"},{"title":"Widget Authentication and Conversation Recovery","sidebarTitle":"Auth and recovery","href":"/stateset-response/response-chat-widget-reliability"},{"title":"Native Widget Live Chat","sidebarTitle":"Native live chat","href":"/stateset-response/response-chat-widget-live-chat"},{"title":"Widget Sites, Configuration and MCP","sidebarTitle":"Sites and admin","href":"/stateset-response/response-chat-widget-admin"},{"title":"Deploy and Qualify the Onsite Widget","sidebarTitle":"Deployment","href":"/stateset-response/response-chat-widget-deployment"}]},{"group":"StateSet ResponseCX","icon":"headset","pages":[{"title":"Set up ResponseCX","href":"/stateset-response/stateset-responsecx"},{"title":"ResponseCX Platform","href":"/stateset-response/responsecx-platform"},{"title":"Autonomy dial","href":"/stateset-response/responsecx-autonomy"},{"title":"ResponseCX Workflows","href":"/stateset-response/stateset-responsecx-workflows"},{"title":"StateSet ResponseCX CLI","href":"/stateset-responsecx-cli"}]},{"group":"Temporal Engine","icon":"diagram-project","pages":[{"title":"Temporal Engine","href":"/next-temporal/overview"},{"title":"Start Automating Responses","href":"/next-temporal/getting-started"},{"title":"ResponseAutomationV2","href":"/next-temporal/workflow"},{"title":"Active-horizon agents","href":"/next-temporal/active-horizon-agents"},{"title":"Connectors \u0026 Capabilities","href":"/next-temporal/connectors"},{"title":"Policy Engine \u0026 Decision Gate","href":"/next-temporal/policy-engine"},{"title":"Control Plane","href":"/next-temporal/control-plane"},{"title":"Configuration","href":"/next-temporal/configuration"},{"title":"Workstream MCP","href":"/next-temporal/mcp-connector"},{"title":"Operations","href":"/next-temporal/operations"},{"title":"Kubernetes Deployment","href":"/next-temporal/kubernetes-deployment"},{"title":"Runbooks","href":"/next-temporal/runbooks"}]},{"group":"StateSet iCommerce Engine","icon":"shopping-bag","pages":[{"group":"Overview","pages":[{"title":"iCommerce Quickstart","href":"/stateset-icommerce/stateset-icommerce-quickstart"},{"title":"The Embedded iCommerce Engine","href":"/stateset-icommerce/stateset-icommerce-embedded"},{"title":"Governed Execution and Replay","href":"/stateset-icommerce/governed-execution"},{"title":"Physical Stock Fulfillment","href":"/stateset-icommerce/stock-fulfillment"},{"title":"Native Commerce and Inventory Simulations","href":"/stateset-icommerce/simulations"},{"title":"Build an iCommerce Storefront","href":"/stateset-icommerce/storefront"},{"title":"HTTP Retry Receipts and Reconciliation","href":"/stateset-icommerce/http-receipt-recovery"},{"title":"iCommerce Scenarios and Examples","href":"/stateset-icommerce/stateset-icommerce-scenarios"},{"title":"iCommerce Language Bindings","href":"/stateset-icommerce/stateset-icommerce-bindings"},{"title":"iCommerce Paper","href":"/icommerce-paper"},{"title":"iCommerce Intro","href":"/icommerce"},{"title":"StateSet iCommerce Engine Architecture","href":"/icommerce-architecture"},{"title":"iCommerce Quickstart for AI Agents","href":"/stateset-icommerce-quickstart"},{"title":"StateSet iCommerce Engine Skills","href":"/stateset-icommerce/stateset-icommerce-skills"},{"title":"iCommerce MCP Server","href":"/stateset-icommerce/stateset-icommerce-mcp"}]},{"group":"Agent Sandbox","pages":[{"title":"iCommerce Agent Execution","href":"/stateset-icommerce/stateset-icommerce-agent"},{"title":"Run iCommerce Inside Sandbox","href":"/stateset-icommerce/stateset-icommerce-agent-sandbox"},{"title":"Agent Sandbox Costs","href":"/stateset-icommerce/stateset-icommerce-agent-sandbox-costs"},{"title":"iCommerce Sandbox Runbook","href":"/stateset-icommerce/stateset-icommerce-agent-sandbox-runbook"},{"title":"iCommerce Sandbox Troubleshooting","href":"/stateset-icommerce/stateset-icommerce-agent-sandbox-troubleshooting"}]},{"group":"Lifecycle \u0026 Workflows","pages":[{"title":"Order Lifecycle","href":"/stateset-icommerce/stateset-icommerce-order-lifecycle"},{"title":"Returns Workflow","href":"/stateset-icommerce/stateset-icommerce-returns-workflow"},{"title":"Inventory Lifecycle","href":"/stateset-icommerce/stateset-icommerce-inventory-lifecycle"}]},{"group":"Platform \u0026 Operations","pages":[{"title":"Finance \u0026 Accounting","href":"/stateset-icommerce/stateset-icommerce-finance"},{"title":"Admin Console","href":"/stateset-icommerce/stateset-icommerce-admin"},{"title":"Commerce HTTP Access and Retry Controls","href":"/stateset-icommerce/stateset-icommerce-api-hardening"},{"title":"Backup, Restore, and Durability","href":"/stateset-icommerce/stateset-icommerce-backup-restore"}]},{"group":"CLI","pages":[{"title":"iCommerce CLI Reference","href":"/stateset-icommerce/stateset-icommerce-cli-reference"},{"title":"Operational CLI Workflows","href":"/stateset-icommerce/stateset-icommerce-cli-workflows"},{"title":"CLI and Agent Write Controls","href":"/stateset-icommerce/stateset-icommerce-cli-safety"}]},{"group":"Messaging \u0026 Payments","pages":[{"title":"Messaging Orchestrator","href":"/stateset-icommerce/stateset-icommerce-messaging-orchestrator"},{"title":"Run the WhatsApp gateway","href":"/stateset-icommerce/stateset-icommerce-whatsapp-integration"},{"title":"x402 Intents and Settlement Boundaries","href":"/stateset-icommerce/stateset-icommerce-x402-payments"},{"title":"Connect messaging channels","href":"/stateset-icommerce/stateset-icommerce-messaging-channels"}]},{"group":"Deployment","pages":[{"title":"Deploy StateSet iCommerce Engine on GCP","href":"/stateset-icommerce/stateset-icommerce-gcp"},{"title":"Deploy StateSet iCommerce Engine on Hetzner","href":"/stateset-icommerce/stateset-icommerce-hetzner"},{"title":"Deploy StateSet iCommerce Engine on Fly.io","href":"/stateset-icommerce/stateset-icommerce-flyio"}]}]},{"group":"StateSet Warehouse (WMS)","icon":"warehouse","pages":[{"title":"StateSet Warehouse (WMS)","sidebarTitle":"Overview","icon":"warehouse","href":"/stateset-warehouse/overview"},{"title":"Run StateSet Warehouse locally","sidebarTitle":"Quickstart","href":"/stateset-warehouse/quickstart"},{"title":"Warehouse REST API and MCP","sidebarTitle":"API and MCP","href":"/stateset-warehouse/api-and-mcp"},{"title":"Connect Sync OMS, Warehouse WMS, and Freight TMS","sidebarTitle":"OMS, WMS, and TMS","href":"/guides/oms-wms-tms"}]},{"group":"StateSet Freight (TMS)","icon":"truck","pages":[{"title":"StateSet Freight (TMS)","sidebarTitle":"Overview","icon":"truck","href":"/stateset-freight/overview"},{"title":"Run StateSet Freight locally","sidebarTitle":"Quickstart","href":"/stateset-freight/quickstart"},{"title":"Freight REST API and MCP","sidebarTitle":"API and MCP","href":"/stateset-freight/api-and-mcp"}]},{"group":"StateSet EDI","icon":"file-import","pages":[{"title":"StateSet EDI","href":"/stateset-edi/overview"},{"title":"Workspace Onboarding and Readiness","href":"/stateset-edi/onboarding"},{"title":"EDI Quickstart","href":"/stateset-edi/quickstart"},{"title":"Orders, Reviewed Sends, and Recovery","href":"/stateset-edi/orders-and-recovery"},{"title":"EDI Transaction Sets","href":"/stateset-edi/transaction-sets"},{"title":"EDI Transports","href":"/stateset-edi/transports"},{"title":"Guides, Mappings, and Callbacks","href":"/stateset-edi/mappings-and-callbacks"},{"title":"EDI Operations","href":"/stateset-edi/operations"},{"title":"EDI CLI and JavaScript SDK","href":"/stateset-edi/cli-and-sdk"},{"title":"EDI MCP Server","href":"/stateset-edi/mcp-server"},{"title":"EDI Configuration","href":"/stateset-edi/configuration"},{"title":"EDI Deployment and Qualification","href":"/stateset-edi/deployment-and-qualification"}]},{"group":"StateSet Mail","icon":"envelope","pages":[{"title":"StateSet Mail","href":"/stateset-mail/overview"},{"title":"Mail Quickstart","href":"/stateset-mail/quickstart"},{"title":"Conversations","href":"/stateset-mail/conversations"},{"title":"Mail MCP Server","href":"/stateset-mail/mcp-server"},{"title":"Mail Configuration","href":"/stateset-mail/configuration"}]},{"group":"StateSet iCommerce Voice Engine","icon":"phone","pages":[{"title":"StateSet iCommerce Voice Engine","href":"/stateset-voice/overview"},{"title":"Build Your First Voice Agent","href":"/stateset-voice/quickstart"},{"title":"Voice API","href":"/stateset-voice/api"},{"title":"Voice SDKs","href":"/stateset-voice/sdks"},{"title":"Voice Webhooks","href":"/stateset-voice/webhooks"},{"title":"Voice Configuration","href":"/stateset-voice/configuration"},{"title":"Voice MCP Server","href":"/stateset-voice/mcp-server"},{"title":"Voice Operations","href":"/stateset-voice/operations"}]},{"group":"StateSet iCommerce NSR Engine","icon":"brain","pages":[{"title":"Neuro-Symbolic Architecture","href":"/stateset-nsr"},{"title":"NSR-L Language Reference","href":"/stateset-nsr-l"},{"title":"Verified Decisions API","href":"/stateset-nsr-decisions"},{"title":"Jev + NSR","sidebarTitle":"Jev + NSR","icon":"scan-text","href":"/stateset-nsr-jev"},{"title":"Your First Jev + NSR Decision","sidebarTitle":"First Jev decision","icon":"play","href":"/guides/jev-first-decision"},{"title":"Jev + NSR Industry Pack Examples","sidebarTitle":"Industry examples","icon":"building","href":"/guides/jev-industry-packs"},{"title":"Use Industry Packs with the Decisions API","sidebarTitle":"Decisions API walkthrough","icon":"code","href":"/guides/jev-decisions-api"},{"title":"Connect Jev to Your NSR Workspace","sidebarTitle":"Jev workspace setup","icon":"key-round","href":"/guides/jev-workspace-setup"},{"title":"Agent Gate","href":"/stateset-nsr-agent-gate"},{"title":"Formal Verification","href":"/stateset-nsr-formal-verification"},{"title":"NSR as a Model Provider","href":"/stateset-nsr-providers"},{"title":"NSR Console \u0026 Billing","href":"/stateset-nsr-console"},{"title":"NSR SDKs","href":"/stateset-nsr-sdks"},{"title":"NSR MCP Server","href":"/stateset-nsr-mcp"}]},{"group":"AI Agents","icon":"robot","pages":[{"title":"StateSet Computer Use Agent","href":"/computer-use-agent"},{"title":"Engines and Commerce MCP Servers","href":"/computer-use-engines-mcp"},{"title":"Computer Use MCP Servers","href":"/computer-use-mcp"},{"title":"StateSet RL agents","href":"/stateset-rl-agents"}]},{"group":"StateSet Agents","pages":[{"title":"StateSet Agents","href":"/stateset-agents/overview"},{"title":"Prepare your first fine-tuning run","sidebarTitle":"Quickstart","href":"/stateset-agents/quickstart"},{"title":"Fine-tuning studio","href":"/stateset-agents/finetuning-studio"},{"title":"Fine-tuning from AI agents","href":"/stateset-agents/finetuning-agents"},{"title":"Checkpoint recovery and evaluation","href":"/stateset-agents/checkpoints-and-evaluation"},{"title":"River SFT, native RL, and retained evidence","sidebarTitle":"River training","href":"/stateset-agents/river-training"},{"title":"Industry data and fine-tuning","href":"/stateset-agents/industry-finetuning"},{"title":"StateSet Agents CLI","sidebarTitle":"CLI reference","href":"/stateset-agents/cli"},{"title":"Agents MCP server","href":"/stateset-agents/mcp-server"}]},{"group":"StateSet Sandbox","icon":"flask","pages":[{"title":"StateSet Sandbox","href":"/stateset-sandbox/stateset-sandboxes"},{"title":"Sandbox Quickstart","href":"/stateset-sandbox/stateset-sandbox-quickstart-guide"},{"title":"Get started with StateSet Swarm","href":"/stateset-sandbox/swarm-getting-started"},{"title":"Execution, workers, and recovery","href":"/stateset-sandbox/execution-and-recovery"},{"title":"Sandbox terminal workbench","href":"/stateset-sandbox/workbench"},{"title":"Prepared agent tasks and teams","href":"/stateset-sandbox/agent-tasks"},{"title":"Artifacts and recoverable tunnels","href":"/stateset-sandbox/artifacts-and-tunnels"},{"group":"Architecture \u0026 Operations","pages":[{"title":"Sandbox architecture","href":"/stateset-sandbox/stateset-sandbox-architecture"},{"title":"Sandbox operations and release evidence","href":"/stateset-sandbox/stateset-sandbox-operations"},{"title":"Sandbox webhooks and event delivery","href":"/stateset-sandbox/stateset-sandbox-webhooks"},{"title":"Sandbox security boundaries","href":"/stateset-sandbox/stateset-sandbox-security-guide"},{"title":"Sandbox API workflow","href":"/stateset-sandbox/stateset-sandbox-api-flow"},{"title":"Durable sandboxes and agent sessions","href":"/stateset-sandbox/stateset-sandbox-agent-sessions"},{"title":"Self-host Sandbox","href":"/stateset-sandbox/stateset-sandbox-deployments"},{"title":"Sandbox API directory","href":"/stateset-sandbox/stateset-sandbox-api-reference"},{"title":"Sandbox production configuration","href":"/stateset-sandbox/stateset-sandbox-production-guide"},{"title":"Sandbox Quickstart","href":"/stateset-sandbox/stateset-sandbox-quickstart-guide"},{"title":"Sandbox runtime selection","href":"/stateset-sandbox/stateset-sandbox-runtime-selection"},{"title":"Sandbox on AWS EKS","href":"/stateset-sandbox/stateset-sandbox-deployment-aws"},{"title":"Sandbox on GCP GKE","href":"/stateset-sandbox/stateset-sandbox-deployment-gcp"},{"title":"Sandbox on Azure AKS","href":"/stateset-sandbox/stateset-sandbox-deployment-azure"},{"title":"Sandbox MCP server","href":"/stateset-sandbox/stateset-sandbox-mcp"}]},{"group":"SDKs","pages":[{"title":"Sandbox TypeScript SDK","sidebarTitle":"Node.js SDK","href":"/stateset-sandbox/stateset-sandbox-sdk-node"},{"title":"Sandbox Python SDK","href":"/stateset-sandbox/stateset-sandbox-sdk-python"}]},{"title":"Build with StateSet Sandbox","href":"/guides/stateset-sandbox"}]},{"group":"StateSet ACP","icon":"bolt","pages":[{"title":"Agentic Commerce Protocol","href":"/stateset-acp/stateset-acp"},{"title":"ACP Overview","href":"/stateset-acp/stateset-acp-overview"},{"title":"ACP Quickstart","href":"/stateset-acp/stateset-acp-quickstart"},{"group":"Reference","pages":[{"title":"ACP Async Processing","href":"/stateset-acp/stateset-acp-async-processing"},{"title":"ACP API Endpoints","href":"/stateset-acp/stateset-acp-endpoints"},{"title":"ACP Routing Options","href":"/stateset-acp/stateset-acp-routing"},{"title":"ACP Request Schemas","href":"/stateset-acp/stateset-acp-schemas"}]},{"title":"Agentic Commerce Protocol Handler","href":"/guides/agentic-commerce-protocol-handler"},{"title":"Agentic Commerce Protocol Checkout Guide","href":"/agentic-commerce/agentic-commerce-checkout-guide"}]},{"group":"StateSet UCP","icon":"arrows-split-up-and-left","pages":[{"title":"Universal Commerce Protocol","href":"/stateset-ucp"},{"title":"UCP Quickstart","href":"/stateset-ucp-quickstart"},{"title":"Universal Commerce Protocol Handler","href":"/guides/universal-commerce-protocol-handler"}]},{"group":"StateSet ICP","icon":"network-wired","pages":[{"title":"Intelligent Commerce Protocol (ICP)","href":"/stateset-icp"}]},{"group":"StateSet Sequencer","icon":"layer-group","pages":[{"title":"StateSet VES System Overview","href":"/stateset-sequencer/stateset-sequencer"},{"title":"Sequencer Architecture: Deep Dive","href":"/stateset-sequencer-architecture"},{"title":"Sequencer Quickstart","href":"/stateset-sequencer/stateset-sequencer-quickstart"},{"title":"Sequencer Operations","href":"/stateset-sequencer/stateset-sequencer-operations"},{"title":"x402 payments reference","href":"/stateset-sequencer/stateset-sequencer-x402"}]},{"group":"StateSet Set L2","icon":"cube","pages":[{"title":"Set L2","href":"/set/set"},{"title":"StateSet Set L2","href":"/set/stateset-set-l2"},{"title":"Set L2 Architecture","href":"/set/stateset-set-l2-architecture"},{"title":"Set L2 Verification","href":"/set/stateset-set-l2-verification"},{"title":"Set L2 Verification Example","href":"/set/stateset-set-l2-verification-example"},{"title":"Set L2 Compliance Proofs","href":"/set/stateset-set-l2-compliance-proof"},{"title":"STARK Compliance Proofs","href":"/set/stateset-stark"}]},{"group":"StateSet Cloud","icon":"cloud","pages":[{"title":"StateSet Cloud Overview","href":"/cloud-api-reference/overview"},{"title":"Authentication","href":"/cloud-api-reference/authentication"},{"title":"API Keys","href":"/cloud-api-reference/api-keys"},{"group":"Cloud API","pages":[{"group":"Projects","pages":[{"title":"Create Projects","api":"POST https://api.stateset.com/v1/projects","href":"/cloud-api-reference/projects/create"},{"title":"Delete Project","api":"DELETE https://api.stateset.com/v1/projects/{id}","href":"/cloud-api-reference/projects/delete"},{"title":"Get Projects","api":"GET https://api.stateset.com/v1/projects","href":"/cloud-api-reference/projects/get"}]},{"group":"Deployments","pages":[{"title":"Create Deployment","api":"POST https://api.stateset.com/v1/deployments","href":"/cloud-api-reference/deployments/create"},{"title":"Delete Deployment","api":"DELETE https://api.stateset.com/v1/deployments/{id}","href":"/cloud-api-reference/deployments/delete"},{"title":"Get Deployments","api":"GET https://api.stateset.com/v1/deployments","href":"/cloud-api-reference/deployments/get"}]},{"group":"Secrets","pages":[{"title":"Create Secrets","api":"POST https://api.stateset.com/v1/secrets","href":"/cloud-api-reference/secrets/create"},{"title":"Delete Secret","api":"DELETE https://api.stateset.com/v1/secrets/{id}","href":"/cloud-api-reference/secrets/delete"},{"title":"Get Secrets","api":"GET https://api.stateset.com/v1/secrets","href":"/cloud-api-reference/secrets/get"},{"title":"Update Secrets","api":"PUT https://api.stateset.com/v1/secrets/{id}","href":"/cloud-api-reference/secrets/update"}]},{"group":"Logs","pages":[{"title":"Create Logs","api":"POST https://api.stateset.com/v1/logs","href":"/cloud-api-reference/logs/create"},{"title":"Get Logs","api":"GET https://api.stateset.com/v1/logs","href":"/cloud-api-reference/logs/get"}]},{"group":"Templates","pages":[{"title":"Create Template","api":"POST https://api.stateset.com/v1/templates","href":"/cloud-api-reference/templates/create"},{"title":"Delete Template","api":"DELETE https://api.stateset.com/v1/templates/{id}","href":"/cloud-api-reference/templates/delete"},{"title":"Get Templates","api":"GET https://api.stateset.com/v1/templates","href":"/cloud-api-reference/templates/get"},{"title":"Update Template","api":"PUT https://api.stateset.com/v1/templates/{id}","href":"/cloud-api-reference/templates/update"}]}]}]},{"group":"Apps \u0026 Consoles","pages":[{"title":"StateSet Console","href":"/stateset-console/stateset-console-overview"},{"title":"Get Started with Console on the Web","sidebarTitle":"Web Console quickstart","icon":"globe","href":"/guides/console-web-getting-started"},{"title":"Get Started with Console on Mobile","sidebarTitle":"Mobile Console quickstart","icon":"mobile-screen","href":"/guides/console-mobile-getting-started"},{"title":"Get Started with StateSet Desktop","sidebarTitle":"Desktop quickstart","icon":"monitor","href":"/guides/desktop-getting-started"},{"title":"StateSet Demo App","href":"/stateset-demo-app-overview"},{"title":"StateSet Worker","href":"/stateset-worker"},{"title":"Console Mobile","href":"/stateset-console/stateset-console-mobile"},{"title":"StateSet Desktop","href":"/stateset-desktop"}]},{"group":"Tools","icon":"wrench","pages":[{"title":"StateSet iCommerce CLI","href":"/stateset-cli-overview"},{"title":"Console Agent Pipeline","href":"/stateset-console/stateset-console-agent-pipeline"},{"title":"Console Auth Flow","href":"/stateset-console/stateset-console-auth-flow"},{"title":"Deploy the ACP Handler","href":"/stateset-deploy-acp-handler"},{"title":"Sync Server: What's New","href":"/stateset-sync-server-whats-new"},{"title":"Sync Server MCP","href":"/stateset-sync-mcp"},{"title":"Sync Server API Basics","href":"/stateset-sync-server-api-basics"},{"title":"StateSet Deploy","href":"/stateset-deploy-overview"},{"title":"Deploy the Response ChatGPT App","href":"/stateset-deploy-chatgpt-app"},{"title":"Sync Server gRPC Dispatch Flow","href":"/stateset-sync-server-grpc-flow"},{"title":"Sync Server connectors","href":"/stateset-sync-server-connectors"},{"title":"Sync Server troubleshooting","href":"/stateset-sync-server-troubleshooting"},{"title":"iCommerce Agent Operating Guide","href":"/stateset-icommerce-skill"},{"title":"Sandbox agent operating guide","href":"/stateset-sandbox-skill"},{"title":"Sync Server API Contract","href":"/stateset-sync-server-api-contract"},{"title":"Sync Server ACP Guide","href":"/stateset-sync-server-acp-guide"},{"title":"Sync Server gRPC Dispatch","href":"/stateset-sync-server-grpc-dispatch"}]}]},{"tab":"Guides","icon":"graduation-cap","groups":[{"group":"Overview","icon":"book-open","pages":[{"title":"SDK Installation and Setup","icon":"code","href":"/guides/sdk-installation"}]},{"group":"Quickstarts","icon":"play","pages":[{"title":"ResponseCX","href":"/guides/response-quickstart"},{"title":"Warranty Claims Quickstart","icon":"right-left","iconType":"solid","href":"/guides/warranties-quickstart"},{"title":"Customers Quickstart","icon":"user","href":"/guides/customers-quickstart"},{"title":"Agentic Commerce Protocol Checkout Guide","href":"/agentic-commerce/agentic-commerce-checkout-guide"},{"title":"StateSet Cloud Quickstart","icon":"cloud","iconType":"solid","href":"/guides/stateset-cloud-quickstart"},{"title":"Onsite Chat Quickstart","href":"/stateset-response/response-chat-widget-quickstart"}]},{"group":"End-to-end","icon":"route","pages":[{"title":"Launch a brand that runs itself","href":"/guides/launch-a-brand-autonomously"},{"title":"EDI Order to Cash Across StateSet","href":"/guides/journey-edi-order-to-cash"},{"title":"From 'where is my order?' to a closed operation","href":"/guides/journey-wismo-to-resolution"},{"title":"Sync a Shopify store with NetSuite","href":"/guides/sync-shopify-to-netsuite"},{"title":"Your First EDI Purchase-Order Cycle","href":"/guides/edi-first-850"},{"title":"Gate a refund with a verified decision","href":"/guides/nsr-first-verified-decision"},{"title":"Run a durable order workflow end to end","href":"/guides/temporal-first-durable-workflow"},{"title":"Automate a back-office tool that has no API","href":"/guides/computer-use-first-task"},{"title":"Put an agent on the phone","href":"/guides/voice-first-phone-agent"},{"title":"Your first Sandbox runtime workflow","href":"/guides/sandbox-first-runtime"}]},{"group":"Commerce Workflows","icon":"diagram-project","pages":[{"title":"Order to cash","href":"/guides/commerce/order-to-cash"},{"title":"AR and collections","href":"/guides/commerce/ar-collections"},{"title":"Period close","href":"/guides/commerce/period-close"},{"title":"Procure to pay","href":"/guides/commerce/procure-to-pay"},{"title":"Receiving and Put-away","href":"/guides/commerce/receiving-and-putaway"},{"title":"Fulfillment \u0026 Shipping","href":"/guides/commerce/fulfillment"},{"title":"Returns and return-to-vendor","href":"/guides/commerce/returns-and-rtv"},{"title":"Lot and serial traceability","href":"/guides/commerce/traceability"}]},{"group":"Order Management","icon":"shopping-cart","pages":[{"title":"Orders Quickstart","href":"/guides/orders-quickstart"},{"title":"Payments \u0026 Refunds Quickstart","href":"/guides/payments-quickstart"},{"title":"Order Settlements Quickstart","icon":"gears","iconType":"solid","href":"/guides/order-settlement"},{"title":"Wholesale Quickstart","icon":"cart-shopping","iconType":"solid","href":"/guides/wholesale-quickstart"},{"title":"Order Operations","href":"/guides/order-operations"}]},{"group":"Returns \u0026 Warranties","icon":"rotate-left","pages":[{"title":"Returns Quickstart","href":"/guides/returns-quickstart"},{"title":"Warranty Vision Workflow User Guide","icon":"brain","iconType":"solid","href":"/guides/warranty-vision-guide"}]},{"group":"Supply Chain","icon":"truck","pages":[{"title":"Manufacturing Quickstart","href":"/guides/manufacturing-quickstart"},{"title":"Warehouse Receiving Quickstart","icon":"warehouse","href":"/guides/warehouse-quickstart"},{"title":"Supplier \u0026 Purchase Order Quickstart","icon":"truck","iconType":"solid","href":"/guides/supplier-quickstart"},{"title":"Inventory Quickstart","href":"/guides/inventory-quickstart"},{"title":"COGS","href":"/guides/cogs-quickstart"}]},{"group":"Agent Development","icon":"robot","pages":[{"title":"Agents Quickstart","icon":"message-bot","iconType":"solid","href":"/guides/agents-quickstart"},{"title":"Agent Training Guide","icon":"graduation-cap","iconType":"solid","href":"/guides/agent-trainer-guide"},{"title":"Agent Objectives, Goals, Metrics \u0026 Rewards Guide","icon":"brain","iconType":"solid","href":"/guides/agent-objectives-guide"},{"title":"Multi-Agent System Architectures","icon":"brain","iconType":"solid","href":"/guides/multi-agent-systems"},{"title":"StateSet Computer Use Agents - Quick Start Guide","icon":"brain","iconType":"solid","href":"/guides/stateset-computer-use-agents"},{"title":"StateSet Computer Use Agents - Architecture Overview","icon":"brain","iconType":"solid","href":"/guides/stateset-computer-use-agents-architecture"},{"title":"Reinforcement learning and fine-tuning","href":"/guides/reinforcement-learning-platform"},{"title":"GRPO and the StateSet training framework","sidebarTitle":"GRPO framework","href":"/guides/grpo-agent-framework"},{"title":"MCP Integration for AI Agents","icon":"plug","iconType":"solid","href":"/guides/mcp-integration-guide"}]},{"group":"Knowledge \u0026 RAG","icon":"brain","pages":[{"title":"Knowledge Base Quickstart","icon":"brain","iconType":"solid","href":"/guides/knowledgebase-quickstart"},{"title":"RAG Quickstart","icon":"wand-magic-sparkles","iconType":"solid","href":"/guides/rag-quickstart"},{"title":"Sources Quickstart","icon":"database","iconType":"solid","href":"/guides/sources-quickstart"}]},{"group":"Response Features","icon":"wand-magic-sparkles","pages":[{"title":"Agent Attributes \u0026 Personality","icon":"palette","iconType":"solid","href":"/guides/attributes-quickstart"},{"title":"Agent Rules Quickstart","icon":"scale-balanced","iconType":"solid","href":"/guides/rules-quickstart"},{"title":"Examples Quickstart","icon":"lightbulb","iconType":"solid","href":"/guides/examples-quickstart"},{"title":"Evaluations Guide","sidebarTitle":"Evaluations","icon":"clipboard-check","href":"/guides/evaluations-guide"},{"title":"Agent Schedules \u0026 Automation","icon":"clock","iconType":"solid","href":"/guides/schedules-quickstart"},{"title":"Agent Functions Quickstart","icon":"plug","iconType":"solid","href":"/guides/functions-quickstart"}]},{"group":"Advanced Features","icon":"flask","pages":[{"title":"Vision Quickstart","icon":"eye","iconType":"solid","href":"/guides/vision-quickstart"},{"title":"Voice AI Guide","icon":"microphone","iconType":"solid","href":"/guides/voice-quickstart"},{"title":"Synthetic Fixtures for Agent Testing","icon":"brain","href":"/guides/synthetic-data"},{"title":"StateSet Synthetic Data Studio Architecture Guide","icon":"diagram-project","iconType":"solid","href":"/guides/synthetic-data-architecture"}]},{"group":"Integrations","icon":"plug","pages":[{"title":"Shopify Product Embeddings","icon":"shopify","iconType":"solid","href":"/guides/shopify-quickstart"},{"title":"Gorgias Ticket Quickstart","icon":"ticket","iconType":"solid","href":"/guides/gorgias-quickstart"},{"title":"Multi-Channel Commerce Integration Guide","icon":"store","iconType":"solid","href":"/guides/multi-channel-integration-guide"}]},{"group":"Commerce Network","icon":"link","pages":[{"title":"StateSet Network Quickstart","icon":"globe","iconType":"solid","href":"/guides/stateset-network"},{"title":"Commerce Network Orders: Migration Guide","href":"/guides/stateset-network-orders"},{"title":"StateSet Contracts","icon":"file-contract","iconType":"solid","href":"/guides/stateset-contracts"},{"title":"Agent Payments: Build and Verify","href":"/guides/smart-agents-usdc-guide"},{"title":"Complete an x402 payment","href":"/stateset-x402-walkthrough"},{"title":"CCTP Integration: Availability and Prerequisites","href":"/guides/cctp-module-integration"},{"title":"Agent Payments and Legacy Network Examples","href":"/smart-agents-usdc-guide"}]},{"group":"Self-Hosted","icon":"server","pages":[{"title":"Build with StateSet Sandbox","href":"/guides/stateset-sandbox"},{"title":"Agentic Commerce Protocol Handler","href":"/guides/agentic-commerce-protocol-handler"},{"title":"Universal Commerce Protocol Handler","href":"/guides/universal-commerce-protocol-handler"}]},{"group":"Best Practices","icon":"shield-check","pages":[{"title":"Error Handling \u0026 Retries","icon":"triangle-exclamation","href":"/guides/error-handling-best-practices"},{"title":"Handle Rate Limits Without Losing Requests","icon":"gauge-high","href":"/guides/api-rate-limiting"},{"title":"Performance Optimization Guide","icon":"rocket","iconType":"solid","href":"/guides/performance-optimization"},{"title":"Integration Test Plan","icon":"flask","href":"/guides/comprehensive-testing-guide"},{"title":"Integration Testing","icon":"flask","href":"/guides/api-testing"},{"title":"Batch Operations Guide","icon":"cogs","iconType":"solid","href":"/guides/batch-operations"},{"title":"Webhook Security Guide","icon":"shield","iconType":"solid","href":"/guides/webhook-security"}]},{"group":"E-commerce Workflows","icon":"cart-shopping","pages":[{"title":"Ecommerce Agent Workflows Guide","icon":"gears","href":"/guides/ecommerce-agent-workflows-guide"}]}]}]},{"dropdown":"API Reference","icon":"code","description":"Every endpoint, with a playground","tabs":[{"tab":"iCommerce","icon":"shopping-cart","groups":[{"group":"Overview","pages":[{"title":"StateSet Commerce API","href":"/api-reference/commerce/overview"},{"title":"Invariant error codes","href":"/api-reference/commerce/invariant-codes"},{"title":"Error Handling","icon":"triangle-exclamation","href":"/api-reference/errors"},{"title":"Rate Limits and Retry Contracts","icon":"gauge-high","href":"/api-reference/rate-limiting"},{"title":"Webhooks","icon":"webhook","href":"/api-reference/webhooks"},{"title":"Commerce Engine API history","href":"/api-reference/commerce/history"}]},{"group":"Orders \u0026 Customers","pages":[{"group":"Orders","pages":[{"title":"Cancel an order","api":"PATCH https://api.stateset.com/api/v1/orders/{id}/cancel","href":"/api-reference/commerce/orders/orders-by-cancel-update"},{"title":"Get an order","api":"GET https://api.stateset.com/api/v1/orders/{id}","href":"/api-reference/commerce/orders/orders-by-get"},{"title":"Ship an order","api":"PATCH https://api.stateset.com/api/v1/orders/{id}/ship","href":"/api-reference/commerce/orders/orders-by-ship-update"},{"title":"Create an order","api":"POST https://api.stateset.com/api/v1/orders","href":"/api-reference/commerce/orders/orders-create"},{"title":"List orders","api":"GET https://api.stateset.com/api/v1/orders","href":"/api-reference/commerce/orders/orders-list"}]},{"group":"Carts","pages":[{"title":"Cancel a cart","api":"POST https://api.stateset.com/api/v1/carts/{id}/cancel","href":"/api-reference/commerce/carts/carts-by-cancel-create"},{"title":"Complete a cart","api":"POST https://api.stateset.com/api/v1/carts/{id}/complete","href":"/api-reference/commerce/carts/carts-by-complete-create"},{"title":"Get a cart","api":"GET https://api.stateset.com/api/v1/carts/{id}","href":"/api-reference/commerce/carts/carts-by-get"},{"title":"Remove an item","api":"DELETE https://api.stateset.com/api/v1/carts/{id}/items/{item_id}","href":"/api-reference/commerce/carts/carts-by-items-by-delete"},{"title":"Update an item","api":"PUT https://api.stateset.com/api/v1/carts/{id}/items/{item_id}","href":"/api-reference/commerce/carts/carts-by-items-by-update"},{"title":"Add an item","api":"POST https://api.stateset.com/api/v1/carts/{id}/items","href":"/api-reference/commerce/carts/carts-by-items-create"},{"title":"Set payment","api":"POST https://api.stateset.com/api/v1/carts/{id}/payment","href":"/api-reference/commerce/carts/carts-by-payment-create"},{"title":"Set shipping","api":"POST https://api.stateset.com/api/v1/carts/{id}/shipping","href":"/api-reference/commerce/carts/carts-by-shipping-create"},{"title":"Create a cart","api":"POST https://api.stateset.com/api/v1/carts","href":"/api-reference/commerce/carts/carts-create"},{"title":"List carts","api":"GET https://api.stateset.com/api/v1/carts","href":"/api-reference/commerce/carts/carts-list"}]},{"group":"Customers","pages":[{"title":"Delete a customer","api":"DELETE https://api.stateset.com/api/v1/customers/{id}","href":"/api-reference/commerce/customers/customers-by-delete"},{"title":"Get a customer","api":"GET https://api.stateset.com/api/v1/customers/{id}","href":"/api-reference/commerce/customers/customers-by-get"},{"title":"Update a customer","api":"PATCH https://api.stateset.com/api/v1/customers/{id}","href":"/api-reference/commerce/customers/customers-by-update"},{"title":"Create a customer","api":"POST https://api.stateset.com/api/v1/customers","href":"/api-reference/commerce/customers/customers-create"},{"title":"List customers","api":"GET https://api.stateset.com/api/v1/customers","href":"/api-reference/commerce/customers/customers-list"}]},{"group":"Companies","pages":[{"title":"Create a contact","api":"POST https://api.stateset.com/api/v1/companies/{id}/contacts","href":"/api-reference/commerce/companies/companies-by-contacts-create"},{"title":"List contacts","api":"GET https://api.stateset.com/api/v1/companies/{id}/contacts","href":"/api-reference/commerce/companies/companies-by-contacts-get"},{"title":"Delete a company","api":"DELETE https://api.stateset.com/api/v1/companies/{id}","href":"/api-reference/commerce/companies/companies-by-delete"},{"title":"Get a company","api":"GET https://api.stateset.com/api/v1/companies/{id}","href":"/api-reference/commerce/companies/companies-by-get"},{"title":"Create a company","api":"POST https://api.stateset.com/api/v1/companies","href":"/api-reference/commerce/companies/companies-create"},{"title":"List companies","api":"GET https://api.stateset.com/api/v1/companies","href":"/api-reference/commerce/companies/companies-list"}]},{"group":"Channels","pages":[{"title":"Delete a channel","api":"DELETE https://api.stateset.com/api/v1/channels/{id}","href":"/api-reference/commerce/channels/channels-by-delete"},{"title":"Get a channel","api":"GET https://api.stateset.com/api/v1/channels/{id}","href":"/api-reference/commerce/channels/channels-by-get"},{"title":"Lock a set","api":"POST https://api.stateset.com/api/v1/channels/{id}/lock","href":"/api-reference/commerce/channels/channels-by-lock-create"},{"title":"Update a channel","api":"PUT https://api.stateset.com/api/v1/channels/{id}","href":"/api-reference/commerce/channels/channels-by-update"},{"title":"Create a channel","api":"POST https://api.stateset.com/api/v1/channels","href":"/api-reference/commerce/channels/channels-create"},{"title":"List channels","api":"GET https://api.stateset.com/api/v1/channels","href":"/api-reference/commerce/channels/channels-list"}]},{"group":"Segments","pages":[{"title":"Delete a segment","api":"DELETE https://api.stateset.com/api/v1/segments/{id}","href":"/api-reference/commerce/segments/segments-by-delete"},{"title":"Get a segment","api":"GET https://api.stateset.com/api/v1/segments/{id}","href":"/api-reference/commerce/segments/segments-by-get"},{"title":"Add a member","api":"POST https://api.stateset.com/api/v1/segments/{id}/members/{customer_id}","href":"/api-reference/commerce/segments/segments-by-members-by-create"},{"title":"Remove a member","api":"DELETE https://api.stateset.com/api/v1/segments/{id}/members/{customer_id}","href":"/api-reference/commerce/segments/segments-by-members-by-delete"},{"title":"Create a segment","api":"POST https://api.stateset.com/api/v1/segments","href":"/api-reference/commerce/segments/segments-create"},{"title":"List segments","api":"GET https://api.stateset.com/api/v1/segments","href":"/api-reference/commerce/segments/segments-list"}]},{"group":"Wishlists","pages":[{"title":"Delete a wishlist","api":"DELETE https://api.stateset.com/api/v1/wishlists/{id}","href":"/api-reference/commerce/wishlists/wishlists-by-delete"},{"title":"Get a wishlist","api":"GET https://api.stateset.com/api/v1/wishlists/{id}","href":"/api-reference/commerce/wishlists/wishlists-by-get"},{"title":"Remove an item (/api/v1/wishlists/{id}/items/{product_id})","api":"DELETE https://api.stateset.com/api/v1/wishlists/{id}/items/{product_id}","href":"/api-reference/commerce/wishlists/wishlists-by-items-by-delete"},{"title":"Add an item (/api/v1/wishlists/{id}/items)","api":"POST https://api.stateset.com/api/v1/wishlists/{id}/items","href":"/api-reference/commerce/wishlists/wishlists-by-items-create"},{"title":"Create a wishlist","api":"POST https://api.stateset.com/api/v1/wishlists","href":"/api-reference/commerce/wishlists/wishlists-create"},{"title":"List wishlists","api":"GET https://api.stateset.com/api/v1/wishlists","href":"/api-reference/commerce/wishlists/wishlists-list"}]},{"group":"Reviews","pages":[{"title":"Delete a review","api":"DELETE https://api.stateset.com/api/v1/reviews/{id}","href":"/api-reference/commerce/reviews/reviews-by-delete"},{"title":"Get a review","api":"GET https://api.stateset.com/api/v1/reviews/{id}","href":"/api-reference/commerce/reviews/reviews-by-get"},{"title":"Create a review","api":"POST https://api.stateset.com/api/v1/reviews","href":"/api-reference/commerce/reviews/reviews-create"},{"title":"List reviews","api":"GET https://api.stateset.com/api/v1/reviews","href":"/api-reference/commerce/reviews/reviews-list"}]},{"group":"Loyalty","pages":[{"title":"Get an account (/api/v1/loyalty/accounts/{id})","api":"GET https://api.stateset.com/api/v1/loyalty/accounts/{id}","href":"/api-reference/commerce/loyalty/loyalty-accounts-by-get"},{"title":"Enroll customer","api":"POST https://api.stateset.com/api/v1/loyalty/enroll","href":"/api-reference/commerce/loyalty/loyalty-enroll-create"},{"title":"Create a program","api":"POST https://api.stateset.com/api/v1/loyalty/programs","href":"/api-reference/commerce/loyalty/loyalty-programs-create"},{"title":"List programs","api":"GET https://api.stateset.com/api/v1/loyalty/programs","href":"/api-reference/commerce/loyalty/loyalty-programs-list"}]},{"group":"Store Credits","pages":[{"title":"Adjust a store credit","api":"POST https://api.stateset.com/api/v1/store-credits/{id}/adjust","href":"/api-reference/commerce/store_credits/store-credits-by-adjust-create"},{"title":"Apply a store credit","api":"POST https://api.stateset.com/api/v1/store-credits/{id}/apply","href":"/api-reference/commerce/store_credits/store-credits-by-apply-create"},{"title":"Get a store credit","api":"GET https://api.stateset.com/api/v1/store-credits/{id}","href":"/api-reference/commerce/store_credits/store-credits-by-get"},{"title":"Create a store credit","api":"POST https://api.stateset.com/api/v1/store-credits","href":"/api-reference/commerce/store_credits/store-credits-create"},{"title":"List store credits","api":"GET https://api.stateset.com/api/v1/store-credits","href":"/api-reference/commerce/store_credits/store-credits-list"}]},{"group":"Gift Cards","pages":[{"title":"Charge gift card","api":"POST https://api.stateset.com/api/v1/gift-cards/{id}/charge","href":"/api-reference/commerce/gift_cards/gift-cards-by-charge-create"},{"title":"Disable a gift card","api":"POST https://api.stateset.com/api/v1/gift-cards/{id}/disable","href":"/api-reference/commerce/gift_cards/gift-cards-by-disable-create"},{"title":"Get a gift card","api":"GET https://api.stateset.com/api/v1/gift-cards/{id}","href":"/api-reference/commerce/gift_cards/gift-cards-by-get"},{"title":"Refund a gift card","api":"POST https://api.stateset.com/api/v1/gift-cards/{id}/refund","href":"/api-reference/commerce/gift_cards/gift-cards-by-refund-create"},{"title":"Create a gift card","api":"POST https://api.stateset.com/api/v1/gift-cards","href":"/api-reference/commerce/gift_cards/gift-cards-create"},{"title":"List gift cards","api":"GET https://api.stateset.com/api/v1/gift-cards","href":"/api-reference/commerce/gift_cards/gift-cards-list"}]},{"group":"Subscriptions","pages":[{"title":"Cancel a subscription","api":"PATCH https://api.stateset.com/api/v1/subscriptions/{id}/cancel","href":"/api-reference/commerce/subscriptions/subscriptions-by-cancel-update"},{"title":"Get a subscription","api":"GET https://api.stateset.com/api/v1/subscriptions/{id}","href":"/api-reference/commerce/subscriptions/subscriptions-by-get"},{"title":"Pause subscription","api":"PATCH https://api.stateset.com/api/v1/subscriptions/{id}/pause","href":"/api-reference/commerce/subscriptions/subscriptions-by-pause-update"},{"title":"Resume subscription","api":"PATCH https://api.stateset.com/api/v1/subscriptions/{id}/resume","href":"/api-reference/commerce/subscriptions/subscriptions-by-resume-update"},{"title":"Create a subscription","api":"POST https://api.stateset.com/api/v1/subscriptions","href":"/api-reference/commerce/subscriptions/subscriptions-create"},{"title":"List subscriptions","api":"GET https://api.stateset.com/api/v1/subscriptions","href":"/api-reference/commerce/subscriptions/subscriptions-list"}]},{"group":"Promotions","pages":[{"title":"Activate a promotion","api":"PATCH https://api.stateset.com/api/v1/promotions/{id}/activate","href":"/api-reference/commerce/promotions/promotions-by-activate-update"},{"title":"Deactivate a promotion","api":"PATCH https://api.stateset.com/api/v1/promotions/{id}/deactivate","href":"/api-reference/commerce/promotions/promotions-by-deactivate-update"},{"title":"Get a promotion","api":"GET https://api.stateset.com/api/v1/promotions/{id}","href":"/api-reference/commerce/promotions/promotions-by-get"},{"title":"Create a promotion","api":"POST https://api.stateset.com/api/v1/promotions","href":"/api-reference/commerce/promotions/promotions-create"},{"title":"List promotions","api":"GET https://api.stateset.com/api/v1/promotions","href":"/api-reference/commerce/promotions/promotions-list"}]},{"group":"Price Levels","pages":[{"title":"Delete a price level","api":"DELETE https://api.stateset.com/api/v1/price-levels/{id}","href":"/api-reference/commerce/price_levels/price-levels-by-delete"},{"title":"Set entry","api":"POST https://api.stateset.com/api/v1/price-levels/{id}/entries","href":"/api-reference/commerce/price_levels/price-levels-by-entries-create"},{"title":"List entries (/api/v1/price-levels/{id}/entries)","api":"GET https://api.stateset.com/api/v1/price-levels/{id}/entries","href":"/api-reference/commerce/price_levels/price-levels-by-entries-get"},{"title":"Get a price level","api":"GET https://api.stateset.com/api/v1/price-levels/{id}","href":"/api-reference/commerce/price_levels/price-levels-by-get"},{"title":"Update a price level","api":"PUT https://api.stateset.com/api/v1/price-levels/{id}","href":"/api-reference/commerce/price_levels/price-levels-by-update"},{"title":"Create a price level","api":"POST https://api.stateset.com/api/v1/price-levels","href":"/api-reference/commerce/price_levels/price-levels-create"},{"title":"List price levels","api":"GET https://api.stateset.com/api/v1/price-levels","href":"/api-reference/commerce/price_levels/price-levels-list"}]},{"group":"Price Schedules","pages":[{"title":"Delete a price schedule","api":"DELETE https://api.stateset.com/api/v1/price-schedules/{id}","href":"/api-reference/commerce/price_schedules/price-schedules-by-delete"},{"title":"Set entry (/api/v1/price-schedules/{id}/entries)","api":"POST https://api.stateset.com/api/v1/price-schedules/{id}/entries","href":"/api-reference/commerce/price_schedules/price-schedules-by-entries-create"},{"title":"List entries (/api/v1/price-schedules/{id}/entries)","api":"GET https://api.stateset.com/api/v1/price-schedules/{id}/entries","href":"/api-reference/commerce/price_schedules/price-schedules-by-entries-get"},{"title":"Get a price schedule","api":"GET https://api.stateset.com/api/v1/price-schedules/{id}","href":"/api-reference/commerce/price_schedules/price-schedules-by-get"},{"title":"Create a price schedule","api":"POST https://api.stateset.com/api/v1/price-schedules","href":"/api-reference/commerce/price_schedules/price-schedules-create"},{"title":"List price schedules","api":"GET https://api.stateset.com/api/v1/price-schedules","href":"/api-reference/commerce/price_schedules/price-schedules-list"},{"title":"Resolve a price schedule","api":"GET https://api.stateset.com/api/v1/price-schedules/resolve","href":"/api-reference/commerce/price_schedules/price-schedules-resolve-list"}]}]},{"group":"Inventory \u0026 Warehouse","pages":[{"group":"Inventory","pages":[{"title":"Adjust a stock","api":"POST https://api.stateset.com/api/v1/inventory/{sku}/adjust","href":"/api-reference/commerce/inventory/inventory-by-adjust-create"},{"title":"Get a stock","api":"GET https://api.stateset.com/api/v1/inventory/{sku}","href":"/api-reference/commerce/inventory/inventory-by-get"},{"title":"List inventories","api":"GET https://api.stateset.com/api/v1/inventory","href":"/api-reference/commerce/inventory/inventory-list"}]},{"group":"Warehouse","pages":[{"title":"Cancel a cycle count","api":"POST https://api.stateset.com/api/v1/cycle-counts/{id}/cancel","href":"/api-reference/commerce/warehouse/cycle-counts-by-cancel-create"},{"title":"Complete a cycle count","api":"POST https://api.stateset.com/api/v1/cycle-counts/{id}/complete","href":"/api-reference/commerce/warehouse/cycle-counts-by-complete-create"},{"title":"Cycle count record counts","api":"POST https://api.stateset.com/api/v1/cycle-counts/{id}/counts","href":"/api-reference/commerce/warehouse/cycle-counts-by-counts-create"},{"title":"Get a cycle count","api":"GET https://api.stateset.com/api/v1/cycle-counts/{id}","href":"/api-reference/commerce/warehouse/cycle-counts-by-get"},{"title":"Cycle count start","api":"POST https://api.stateset.com/api/v1/cycle-counts/{id}/start","href":"/api-reference/commerce/warehouse/cycle-counts-by-start-create"},{"title":"Create a cycle count","api":"POST https://api.stateset.com/api/v1/cycle-counts","href":"/api-reference/commerce/warehouse/cycle-counts-create"},{"title":"List cycle counts","api":"GET https://api.stateset.com/api/v1/cycle-counts","href":"/api-reference/commerce/warehouse/cycle-counts-list"},{"title":"Adjust an inventory","api":"POST https://api.stateset.com/api/v1/warehouse-inventory/adjust","href":"/api-reference/commerce/warehouse/warehouse-inventory-adjust-create"},{"title":"Inventory move","api":"POST https://api.stateset.com/api/v1/warehouse-inventory/move","href":"/api-reference/commerce/warehouse/warehouse-inventory-move-create"},{"title":"Get a location","api":"GET https://api.stateset.com/api/v1/warehouse-locations/{id}","href":"/api-reference/commerce/warehouse/warehouse-locations-by-get"},{"title":"Location inventory","api":"GET https://api.stateset.com/api/v1/warehouse-locations/{id}/inventory","href":"/api-reference/commerce/warehouse/warehouse-locations-by-inventory-get"},{"title":"Create a location","api":"POST https://api.stateset.com/api/v1/warehouse-locations","href":"/api-reference/commerce/warehouse/warehouse-locations-create"},{"title":"List locations","api":"GET https://api.stateset.com/api/v1/warehouse-locations","href":"/api-reference/commerce/warehouse/warehouse-locations-list"},{"title":"Delete a warehouse","api":"DELETE https://api.stateset.com/api/v1/warehouses/{id}","href":"/api-reference/commerce/warehouse/warehouses-by-delete"},{"title":"Get a warehouse","api":"GET https://api.stateset.com/api/v1/warehouses/{id}","href":"/api-reference/commerce/warehouse/warehouses-by-get"},{"title":"Update a warehouse","api":"PUT https://api.stateset.com/api/v1/warehouses/{id}","href":"/api-reference/commerce/warehouse/warehouses-by-update"},{"title":"Create a warehouse","api":"POST https://api.stateset.com/api/v1/warehouses","href":"/api-reference/commerce/warehouse/warehouses-create"},{"title":"List warehouses","api":"GET https://api.stateset.com/api/v1/warehouses","href":"/api-reference/commerce/warehouse/warehouses-list"},{"title":"List bins","api":"GET https://api.stateset.com/api/v1/warehouse-bins","href":"/api-reference/commerce/warehouse/warehouse-bins-list"},{"title":"Create a bin","api":"POST https://api.stateset.com/api/v1/warehouse-bins","href":"/api-reference/commerce/warehouse/warehouse-bins-create"},{"title":"Get a bin","api":"GET https://api.stateset.com/api/v1/warehouse-bins/{id}","href":"/api-reference/commerce/warehouse/warehouse-bins-by-get"},{"title":"Update a bin","api":"PUT https://api.stateset.com/api/v1/warehouse-bins/{id}","href":"/api-reference/commerce/warehouse/warehouse-bins-by-update"},{"title":"Delete a bin","api":"DELETE https://api.stateset.com/api/v1/warehouse-bins/{id}","href":"/api-reference/commerce/warehouse/warehouse-bins-by-delete"},{"title":"Bin levels","api":"GET https://api.stateset.com/api/v1/warehouse-bins/{id}/levels","href":"/api-reference/commerce/warehouse/warehouse-bins-by-levels-get"},{"title":"Adjust a bin","api":"POST https://api.stateset.com/api/v1/warehouse-bins/adjust","href":"/api-reference/commerce/warehouse/warehouse-bins-adjust-create"},{"title":"Bin move","api":"POST https://api.stateset.com/api/v1/warehouse-bins/move","href":"/api-reference/commerce/warehouse/warehouse-bins-move-create"},{"title":"Bin reconcile","api":"GET https://api.stateset.com/api/v1/warehouse-bins/reconcile","href":"/api-reference/commerce/warehouse/warehouse-bins-reconcile-list"}]},{"group":"Lots","pages":[{"title":"Consume a lot","api":"POST https://api.stateset.com/api/v1/lots/{id}/consume","href":"/api-reference/commerce/lots/lots-by-consume-create"},{"title":"Get a lot","api":"GET https://api.stateset.com/api/v1/lots/{id}","href":"/api-reference/commerce/lots/lots-by-get"},{"title":"Quarantine","api":"POST https://api.stateset.com/api/v1/lots/{id}/quarantine","href":"/api-reference/commerce/lots/lots-by-quarantine-create"},{"title":"Release a quarantine","api":"POST https://api.stateset.com/api/v1/lots/{id}/release-quarantine","href":"/api-reference/commerce/lots/lots-by-release-quarantine-create"},{"title":"Reserve a lot","api":"POST https://api.stateset.com/api/v1/lots/{id}/reserve","href":"/api-reference/commerce/lots/lots-by-reserve-create"},{"title":"Create a lot","api":"POST https://api.stateset.com/api/v1/lots","href":"/api-reference/commerce/lots/lots-create"},{"title":"Expiring","api":"GET https://api.stateset.com/api/v1/lots/expiring","href":"/api-reference/commerce/lots/lots-expiring-list"},{"title":"List lots","api":"GET https://api.stateset.com/api/v1/lots","href":"/api-reference/commerce/lots/lots-list"},{"title":"Release a reservation (/api/v1/lots/reservations/{reservation_id}/release)","api":"POST https://api.stateset.com/api/v1/lots/reservations/{reservation_id}/release","href":"/api-reference/commerce/lots/lots-reservations-by-release-create"}]},{"group":"Serials","pages":[{"title":"Get a serial","api":"GET https://api.stateset.com/api/v1/serials/{id}","href":"/api-reference/commerce/serials/serials-by-get"},{"title":"Reserve a serial","api":"POST https://api.stateset.com/api/v1/serials/{id}/reserve","href":"/api-reference/commerce/serials/serials-by-reserve-create"},{"title":"Return","api":"POST https://api.stateset.com/api/v1/serials/{id}/return","href":"/api-reference/commerce/serials/serials-by-return-create"},{"title":"Scrap","api":"POST https://api.stateset.com/api/v1/serials/{id}/scrap","href":"/api-reference/commerce/serials/serials-by-scrap-create"},{"title":"Ship a serial","api":"POST https://api.stateset.com/api/v1/serials/{id}/ship","href":"/api-reference/commerce/serials/serials-by-ship-create"},{"title":"Create a serial","api":"POST https://api.stateset.com/api/v1/serials","href":"/api-reference/commerce/serials/serials-create"},{"title":"List serials","api":"GET https://api.stateset.com/api/v1/serials","href":"/api-reference/commerce/serials/serials-list"},{"title":"Release a reservation (/api/v1/serials/reservations/{reservation_id}/release)","api":"POST https://api.stateset.com/api/v1/serials/reservations/{reservation_id}/release","href":"/api-reference/commerce/serials/serials-reservations-by-release-create"}]},{"group":"Stock Snapshots","pages":[{"title":"Delete a stock snapshot","api":"DELETE https://api.stateset.com/api/v1/stock-snapshots/{id}","href":"/api-reference/commerce/stock_snapshots/stock-snapshots-by-delete"},{"title":"Get a stock snapshot","api":"GET https://api.stateset.com/api/v1/stock-snapshots/{id}","href":"/api-reference/commerce/stock_snapshots/stock-snapshots-by-get"},{"title":"Capture","api":"POST https://api.stateset.com/api/v1/stock-snapshots","href":"/api-reference/commerce/stock_snapshots/stock-snapshots-create"},{"title":"Latest","api":"GET https://api.stateset.com/api/v1/stock-snapshots/latest","href":"/api-reference/commerce/stock_snapshots/stock-snapshots-latest-list"},{"title":"List stock snapshots","api":"GET https://api.stateset.com/api/v1/stock-snapshots","href":"/api-reference/commerce/stock_snapshots/stock-snapshots-list"}]},{"group":"Units Of Measure","pages":[{"title":"Create a class","api":"POST https://api.stateset.com/api/v1/unit-classes","href":"/api-reference/commerce/units_of_measure/unit-classes-create"},{"title":"List classes","api":"GET https://api.stateset.com/api/v1/unit-classes","href":"/api-reference/commerce/units_of_measure/unit-classes-list"},{"title":"Create a rule","api":"POST https://api.stateset.com/api/v1/unit-conversion-rules","href":"/api-reference/commerce/units_of_measure/unit-conversion-rules-create"},{"title":"List rules","api":"GET https://api.stateset.com/api/v1/unit-conversion-rules","href":"/api-reference/commerce/units_of_measure/unit-conversion-rules-list"},{"title":"Create an UOM","api":"POST https://api.stateset.com/api/v1/units-of-measure","href":"/api-reference/commerce/units_of_measure/units-of-measure-create"},{"title":"List uoms","api":"GET https://api.stateset.com/api/v1/units-of-measure","href":"/api-reference/commerce/units_of_measure/units-of-measure-list"}]},{"group":"Transfer Orders","pages":[{"title":"Cancel a transfer order","api":"POST https://api.stateset.com/api/v1/transfer-orders/{id}/cancel","href":"/api-reference/commerce/transfer_orders/transfer-orders-by-cancel-create"},{"title":"Get a transfer order","api":"GET https://api.stateset.com/api/v1/transfer-orders/{id}","href":"/api-reference/commerce/transfer_orders/transfer-orders-by-get"},{"title":"Receive a transfer order","api":"POST https://api.stateset.com/api/v1/transfer-orders/{id}/receive","href":"/api-reference/commerce/transfer_orders/transfer-orders-by-receive-create"},{"title":"Ship a transfer order","api":"POST https://api.stateset.com/api/v1/transfer-orders/{id}/ship","href":"/api-reference/commerce/transfer_orders/transfer-orders-by-ship-create"},{"title":"Create a transfer order","api":"POST https://api.stateset.com/api/v1/transfer-orders","href":"/api-reference/commerce/transfer_orders/transfer-orders-create"},{"title":"List transfer orders","api":"GET https://api.stateset.com/api/v1/transfer-orders","href":"/api-reference/commerce/transfer_orders/transfer-orders-list"}]},{"group":"Backorders","pages":[{"title":"Cancel a backorder","api":"POST https://api.stateset.com/api/v1/backorders/{id}/cancel","href":"/api-reference/commerce/backorders/backorders-by-cancel-create"},{"title":"Fulfill a backorder","api":"POST https://api.stateset.com/api/v1/backorders/{id}/fulfill","href":"/api-reference/commerce/backorders/backorders-by-fulfill-create"},{"title":"Get a backorder","api":"GET https://api.stateset.com/api/v1/backorders/{id}","href":"/api-reference/commerce/backorders/backorders-by-get"},{"title":"Create a backorder","api":"POST https://api.stateset.com/api/v1/backorders","href":"/api-reference/commerce/backorders/backorders-create"},{"title":"List backorders","api":"GET https://api.stateset.com/api/v1/backorders","href":"/api-reference/commerce/backorders/backorders-list"}]},{"group":"Print Stations","pages":[{"title":"Complete a job","api":"POST https://api.stateset.com/api/v1/print-jobs/{job_id}/complete","href":"/api-reference/commerce/print_stations/print-jobs-by-complete-create"},{"title":"Enqueue","api":"POST https://api.stateset.com/api/v1/print-stations/{id}/jobs","href":"/api-reference/commerce/print_stations/print-stations-by-jobs-create"},{"title":"List jobs","api":"GET https://api.stateset.com/api/v1/print-stations/{id}/jobs","href":"/api-reference/commerce/print_stations/print-stations-by-jobs-get"},{"title":"Next job","api":"POST https://api.stateset.com/api/v1/print-stations/{id}/jobs/next","href":"/api-reference/commerce/print_stations/print-stations-by-jobs-next-create"},{"title":"Revoke","api":"POST https://api.stateset.com/api/v1/print-stations/{id}/revoke","href":"/api-reference/commerce/print_stations/print-stations-by-revoke-create"},{"title":"Pair","api":"POST https://api.stateset.com/api/v1/print-stations","href":"/api-reference/commerce/print_stations/print-stations-create"},{"title":"List stations","api":"GET https://api.stateset.com/api/v1/print-stations","href":"/api-reference/commerce/print_stations/print-stations-list"}]}]},{"group":"Fulfillment \u0026 Shipping","pages":[{"group":"Fulfillment","pages":[{"title":"Add a carton","api":"POST https://api.stateset.com/api/v1/fulfillment/packs/{id}/cartons","href":"/api-reference/commerce/fulfillment/fulfillment-packs-by-cartons-create"},{"title":"List cartons","api":"GET https://api.stateset.com/api/v1/fulfillment/packs/{id}/cartons","href":"/api-reference/commerce/fulfillment/fulfillment-packs-by-cartons-get"},{"title":"Complete a pack","api":"POST https://api.stateset.com/api/v1/fulfillment/packs/{id}/complete","href":"/api-reference/commerce/fulfillment/fulfillment-packs-by-complete-create"},{"title":"List packs","api":"GET https://api.stateset.com/api/v1/fulfillment/packs","href":"/api-reference/commerce/fulfillment/fulfillment-packs-list"},{"title":"Assign a pick","api":"POST https://api.stateset.com/api/v1/fulfillment/picks/{id}/assign","href":"/api-reference/commerce/fulfillment/fulfillment-picks-by-assign-create"},{"title":"Complete a pick","api":"POST https://api.stateset.com/api/v1/fulfillment/picks/{id}/complete","href":"/api-reference/commerce/fulfillment/fulfillment-picks-by-complete-create"},{"title":"List picks","api":"GET https://api.stateset.com/api/v1/fulfillment/picks","href":"/api-reference/commerce/fulfillment/fulfillment-picks-list"},{"title":"Complete a ship","api":"POST https://api.stateset.com/api/v1/fulfillment/ships/{id}/complete","href":"/api-reference/commerce/fulfillment/fulfillment-ships-by-complete-create"},{"title":"List ships","api":"GET https://api.stateset.com/api/v1/fulfillment/ships","href":"/api-reference/commerce/fulfillment/fulfillment-ships-list"},{"title":"Get a wave","api":"GET https://api.stateset.com/api/v1/fulfillment/waves/{id}","href":"/api-reference/commerce/fulfillment/fulfillment-waves-by-get"},{"title":"Release a wave","api":"POST https://api.stateset.com/api/v1/fulfillment/waves/{id}/release","href":"/api-reference/commerce/fulfillment/fulfillment-waves-by-release-create"},{"title":"Create a wave","api":"POST https://api.stateset.com/api/v1/fulfillment/waves","href":"/api-reference/commerce/fulfillment/fulfillment-waves-create"},{"title":"List waves","api":"GET https://api.stateset.com/api/v1/fulfillment/waves","href":"/api-reference/commerce/fulfillment/fulfillment-waves-list"}]},{"group":"Shipments","pages":[{"title":"Deliver shipment","api":"POST https://api.stateset.com/api/v1/shipments/{id}/deliver","href":"/api-reference/commerce/shipments/shipments-by-deliver-create"},{"title":"Get a shipment","api":"GET https://api.stateset.com/api/v1/shipments/{id}","href":"/api-reference/commerce/shipments/shipments-by-get"},{"title":"Create a shipment","api":"POST https://api.stateset.com/api/v1/shipments","href":"/api-reference/commerce/shipments/shipments-create"},{"title":"List shipments","api":"GET https://api.stateset.com/api/v1/shipments","href":"/api-reference/commerce/shipments/shipments-list"}]},{"group":"Shipping","pages":[{"title":"Delete a zone","api":"DELETE https://api.stateset.com/api/v1/shipping-zones/{id}","href":"/api-reference/commerce/shipping/shipping-zones-by-delete"},{"title":"Get a zone","api":"GET https://api.stateset.com/api/v1/shipping-zones/{id}","href":"/api-reference/commerce/shipping/shipping-zones-by-get"},{"title":"Create a zone","api":"POST https://api.stateset.com/api/v1/shipping-zones","href":"/api-reference/commerce/shipping/shipping-zones-create"},{"title":"List zones","api":"GET https://api.stateset.com/api/v1/shipping-zones","href":"/api-reference/commerce/shipping/shipping-zones-list"}]},{"group":"Receiving","pages":[{"title":"Complete a put away","api":"POST https://api.stateset.com/api/v1/put-aways/{id}/complete","href":"/api-reference/commerce/receiving/put-aways-by-complete-create"},{"title":"Get a put away","api":"GET https://api.stateset.com/api/v1/put-aways/{id}","href":"/api-reference/commerce/receiving/put-aways-by-get"},{"title":"Create a put away","api":"POST https://api.stateset.com/api/v1/put-aways","href":"/api-reference/commerce/receiving/put-aways-create"},{"title":"List put aways","api":"GET https://api.stateset.com/api/v1/put-aways","href":"/api-reference/commerce/receiving/put-aways-list"},{"title":"Cancel a receipt","api":"POST https://api.stateset.com/api/v1/receipts/{id}/cancel","href":"/api-reference/commerce/receiving/receipts-by-cancel-create"},{"title":"Complete a receipt","api":"POST https://api.stateset.com/api/v1/receipts/{id}/complete","href":"/api-reference/commerce/receiving/receipts-by-complete-create"},{"title":"Get a receipt","api":"GET https://api.stateset.com/api/v1/receipts/{id}","href":"/api-reference/commerce/receiving/receipts-by-get"},{"title":"Receipt items","api":"GET https://api.stateset.com/api/v1/receipts/{id}/items","href":"/api-reference/commerce/receiving/receipts-by-items-get"},{"title":"Receipt receive items","api":"POST https://api.stateset.com/api/v1/receipts/{id}/receive","href":"/api-reference/commerce/receiving/receipts-by-receive-create"},{"title":"Receipt start","api":"POST https://api.stateset.com/api/v1/receipts/{id}/start","href":"/api-reference/commerce/receiving/receipts-by-start-create"},{"title":"Create a receipt","api":"POST https://api.stateset.com/api/v1/receipts","href":"/api-reference/commerce/receiving/receipts-create"},{"title":"List receipts","api":"GET https://api.stateset.com/api/v1/receipts","href":"/api-reference/commerce/receiving/receipts-list"}]},{"group":"Inbound Shipments","pages":[{"title":"Mark arrived","api":"POST https://api.stateset.com/api/v1/inbound-shipments/{id}/arrived","href":"/api-reference/commerce/inbound_shipments/inbound-shipments-by-arrived-create"},{"title":"Cancel an inbound shipment","api":"POST https://api.stateset.com/api/v1/inbound-shipments/{id}/cancel","href":"/api-reference/commerce/inbound_shipments/inbound-shipments-by-cancel-create"},{"title":"Get an inbound shipment","api":"GET https://api.stateset.com/api/v1/inbound-shipments/{id}","href":"/api-reference/commerce/inbound_shipments/inbound-shipments-by-get"},{"title":"Mark in transit","api":"POST https://api.stateset.com/api/v1/inbound-shipments/{id}/in-transit","href":"/api-reference/commerce/inbound_shipments/inbound-shipments-by-in-transit-create"},{"title":"Receive an inbound shipment","api":"POST https://api.stateset.com/api/v1/inbound-shipments/{id}/receive","href":"/api-reference/commerce/inbound_shipments/inbound-shipments-by-receive-create"},{"title":"Create an inbound shipment","api":"POST https://api.stateset.com/api/v1/inbound-shipments","href":"/api-reference/commerce/inbound_shipments/inbound-shipments-create"},{"title":"List inbound shipments","api":"GET https://api.stateset.com/api/v1/inbound-shipments","href":"/api-reference/commerce/inbound_shipments/inbound-shipments-list"}]},{"group":"Returns","pages":[{"title":"Approve a return","api":"PATCH https://api.stateset.com/api/v1/returns/{id}/approve","href":"/api-reference/commerce/returns/returns-by-approve-update"},{"title":"Get a return","api":"GET https://api.stateset.com/api/v1/returns/{id}","href":"/api-reference/commerce/returns/returns-by-get"},{"title":"Create a return","api":"POST https://api.stateset.com/api/v1/returns","href":"/api-reference/commerce/returns/returns-create"},{"title":"List returns","api":"GET https://api.stateset.com/api/v1/returns","href":"/api-reference/commerce/returns/returns-list"},{"title":"Return item set disposition","api":"POST https://api.stateset.com/api/v1/returns/{id}/items/{item_id}/disposition","href":"/api-reference/commerce/returns/returns-by-items-by-disposition-create"},{"title":"Returns","href":"/object-reference/returns/object"}]},{"group":"Vendor Returns","pages":[{"title":"Cancel a vendor return","api":"POST https://api.stateset.com/api/v1/vendor-returns/{id}/cancel","href":"/api-reference/commerce/vendor_returns/vendor-returns-by-cancel-create"},{"title":"Get a vendor return","api":"GET https://api.stateset.com/api/v1/vendor-returns/{id}","href":"/api-reference/commerce/vendor_returns/vendor-returns-by-get"},{"title":"Process","api":"POST https://api.stateset.com/api/v1/vendor-returns/{id}/process","href":"/api-reference/commerce/vendor_returns/vendor-returns-by-process-create"},{"title":"Submit a vendor return","api":"POST https://api.stateset.com/api/v1/vendor-returns/{id}/submit","href":"/api-reference/commerce/vendor_returns/vendor-returns-by-submit-create"},{"title":"Create a vendor return","api":"POST https://api.stateset.com/api/v1/vendor-returns","href":"/api-reference/commerce/vendor_returns/vendor-returns-create"},{"title":"List vendor returns","api":"GET https://api.stateset.com/api/v1/vendor-returns","href":"/api-reference/commerce/vendor_returns/vendor-returns-list"}]},{"group":"Warranties","pages":[{"title":"Get a warranty","api":"GET https://api.stateset.com/api/v1/warranties/{id}","href":"/api-reference/commerce/warranties/warranties-by-get"},{"title":"Create a warranty","api":"POST https://api.stateset.com/api/v1/warranties","href":"/api-reference/commerce/warranties/warranties-create"},{"title":"List warranties","api":"GET https://api.stateset.com/api/v1/warranties","href":"/api-reference/commerce/warranties/warranties-list"}]}]},{"group":"Manufacturing \u0026 Quality","pages":[{"group":"Work Orders","pages":[{"title":"Cancel a work order","api":"POST https://api.stateset.com/api/v1/work-orders/{id}/cancel","href":"/api-reference/commerce/work_orders/work-orders-by-cancel-create"},{"title":"Complete a work order","api":"POST https://api.stateset.com/api/v1/work-orders/{id}/complete","href":"/api-reference/commerce/work_orders/work-orders-by-complete-create"},{"title":"Get a work order","api":"GET https://api.stateset.com/api/v1/work-orders/{id}","href":"/api-reference/commerce/work_orders/work-orders-by-get"},{"title":"Hold (/api/v1/work-orders/{id}/hold)","api":"POST https://api.stateset.com/api/v1/work-orders/{id}/hold","href":"/api-reference/commerce/work_orders/work-orders-by-hold-create"},{"title":"Resume","api":"POST https://api.stateset.com/api/v1/work-orders/{id}/resume","href":"/api-reference/commerce/work_orders/work-orders-by-resume-create"},{"title":"Start","api":"POST https://api.stateset.com/api/v1/work-orders/{id}/start","href":"/api-reference/commerce/work_orders/work-orders-by-start-create"},{"title":"Add a task","api":"POST https://api.stateset.com/api/v1/work-orders/{id}/tasks","href":"/api-reference/commerce/work_orders/work-orders-by-tasks-create"},{"title":"List tasks","api":"GET https://api.stateset.com/api/v1/work-orders/{id}/tasks","href":"/api-reference/commerce/work_orders/work-orders-by-tasks-get"},{"title":"Update a work order","api":"PUT https://api.stateset.com/api/v1/work-orders/{id}","href":"/api-reference/commerce/work_orders/work-orders-by-update"},{"title":"Create a work order","api":"POST https://api.stateset.com/api/v1/work-orders","href":"/api-reference/commerce/work_orders/work-orders-create"},{"title":"List work orders","api":"GET https://api.stateset.com/api/v1/work-orders","href":"/api-reference/commerce/work_orders/work-orders-list"},{"title":"Complete a task","api":"POST https://api.stateset.com/api/v1/work-orders/tasks/{task_id}/complete","href":"/api-reference/commerce/work_orders/work-orders-tasks-by-complete-create"},{"title":"Start task","api":"POST https://api.stateset.com/api/v1/work-orders/tasks/{task_id}/start","href":"/api-reference/commerce/work_orders/work-orders-tasks-by-start-create"}]},{"group":"BOM","pages":[{"title":"Activate a BOM","api":"POST https://api.stateset.com/api/v1/boms/{id}/activate","href":"/api-reference/commerce/bom/boms-by-activate-create"},{"title":"Add a component","api":"POST https://api.stateset.com/api/v1/boms/{id}/components","href":"/api-reference/commerce/bom/boms-by-components-create"},{"title":"List components","api":"GET https://api.stateset.com/api/v1/boms/{id}/components","href":"/api-reference/commerce/bom/boms-by-components-get"},{"title":"Delete a BOM","api":"DELETE https://api.stateset.com/api/v1/boms/{id}","href":"/api-reference/commerce/bom/boms-by-delete"},{"title":"Get a BOM","api":"GET https://api.stateset.com/api/v1/boms/{id}","href":"/api-reference/commerce/bom/boms-by-get"},{"title":"Update a BOM","api":"PUT https://api.stateset.com/api/v1/boms/{id}","href":"/api-reference/commerce/bom/boms-by-update"},{"title":"Create a BOM","api":"POST https://api.stateset.com/api/v1/boms","href":"/api-reference/commerce/bom/boms-create"},{"title":"List BOMs","api":"GET https://api.stateset.com/api/v1/boms","href":"/api-reference/commerce/bom/boms-list"}]},{"group":"Production Batches","pages":[{"title":"Delete a production batch","api":"DELETE https://api.stateset.com/api/v1/production-batches/{id}","href":"/api-reference/commerce/production_batches/production-batches-by-delete"},{"title":"Get a production batch","api":"GET https://api.stateset.com/api/v1/production-batches/{id}","href":"/api-reference/commerce/production_batches/production-batches-by-get"},{"title":"Add a work order","api":"POST https://api.stateset.com/api/v1/production-batches/{id}/work-orders","href":"/api-reference/commerce/production_batches/production-batches-by-work-orders-create"},{"title":"Create a production batch","api":"POST https://api.stateset.com/api/v1/production-batches","href":"/api-reference/commerce/production_batches/production-batches-create"},{"title":"List production batches","api":"GET https://api.stateset.com/api/v1/production-batches","href":"/api-reference/commerce/production_batches/production-batches-list"}]},{"group":"Quality","pages":[{"title":"Get a hold","api":"GET https://api.stateset.com/api/v1/quality/holds/{id}","href":"/api-reference/commerce/quality/quality-holds-by-get"},{"title":"Release a hold","api":"POST https://api.stateset.com/api/v1/quality/holds/{id}/release","href":"/api-reference/commerce/quality/quality-holds-by-release-create"},{"title":"Create a hold","api":"POST https://api.stateset.com/api/v1/quality/holds","href":"/api-reference/commerce/quality/quality-holds-create"},{"title":"List holds","api":"GET https://api.stateset.com/api/v1/quality/holds","href":"/api-reference/commerce/quality/quality-holds-list"},{"title":"Complete an inspection","api":"POST https://api.stateset.com/api/v1/quality/inspections/{id}/complete","href":"/api-reference/commerce/quality/quality-inspections-by-complete-create"},{"title":"Get an inspection","api":"GET https://api.stateset.com/api/v1/quality/inspections/{id}","href":"/api-reference/commerce/quality/quality-inspections-by-get"},{"title":"Record inspection result","api":"POST https://api.stateset.com/api/v1/quality/inspections/{id}/results","href":"/api-reference/commerce/quality/quality-inspections-by-results-create"},{"title":"Start inspection","api":"POST https://api.stateset.com/api/v1/quality/inspections/{id}/start","href":"/api-reference/commerce/quality/quality-inspections-by-start-create"},{"title":"Create an inspection","api":"POST https://api.stateset.com/api/v1/quality/inspections","href":"/api-reference/commerce/quality/quality-inspections-create"},{"title":"List inspections","api":"GET https://api.stateset.com/api/v1/quality/inspections","href":"/api-reference/commerce/quality/quality-inspections-list"},{"title":"Close a ncr","api":"POST https://api.stateset.com/api/v1/quality/ncrs/{id}/close","href":"/api-reference/commerce/quality/quality-ncrs-by-close-create"},{"title":"Disposition ncr","api":"POST https://api.stateset.com/api/v1/quality/ncrs/{id}/disposition","href":"/api-reference/commerce/quality/quality-ncrs-by-disposition-create"},{"title":"Get a ncr","api":"GET https://api.stateset.com/api/v1/quality/ncrs/{id}","href":"/api-reference/commerce/quality/quality-ncrs-by-get"},{"title":"Create a ncr","api":"POST https://api.stateset.com/api/v1/quality/ncrs","href":"/api-reference/commerce/quality/quality-ncrs-create"},{"title":"List ncrs","api":"GET https://api.stateset.com/api/v1/quality/ncrs","href":"/api-reference/commerce/quality/quality-ncrs-list"}]}]},{"group":"Procurement","pages":[{"group":"Purchase Orders","pages":[{"title":"Acknowledge","api":"POST https://api.stateset.com/api/v1/purchase-orders/{id}/acknowledge","href":"/api-reference/commerce/purchase_orders/purchase-orders-by-acknowledge-create"},{"title":"Approve a purchase order","api":"POST https://api.stateset.com/api/v1/purchase-orders/{id}/approve","href":"/api-reference/commerce/purchase_orders/purchase-orders-by-approve-create"},{"title":"Cancel a purchase order","api":"POST https://api.stateset.com/api/v1/purchase-orders/{id}/cancel","href":"/api-reference/commerce/purchase_orders/purchase-orders-by-cancel-create"},{"title":"Complete a purchase order","api":"POST https://api.stateset.com/api/v1/purchase-orders/{id}/complete","href":"/api-reference/commerce/purchase_orders/purchase-orders-by-complete-create"},{"title":"Get a purchase order","api":"GET https://api.stateset.com/api/v1/purchase-orders/{id}","href":"/api-reference/commerce/purchase_orders/purchase-orders-by-get"},{"title":"Hold","api":"POST https://api.stateset.com/api/v1/purchase-orders/{id}/hold","href":"/api-reference/commerce/purchase_orders/purchase-orders-by-hold-create"},{"title":"Get an item","api":"GET https://api.stateset.com/api/v1/purchase-orders/{id}/items","href":"/api-reference/commerce/purchase_orders/purchase-orders-by-items-get"},{"title":"Receive a purchase order","api":"POST https://api.stateset.com/api/v1/purchase-orders/{id}/receive","href":"/api-reference/commerce/purchase_orders/purchase-orders-by-receive-create"},{"title":"Send a purchase order","api":"POST https://api.stateset.com/api/v1/purchase-orders/{id}/send","href":"/api-reference/commerce/purchase_orders/purchase-orders-by-send-create"},{"title":"Submit a purchase order","api":"POST https://api.stateset.com/api/v1/purchase-orders/{id}/submit","href":"/api-reference/commerce/purchase_orders/purchase-orders-by-submit-create"},{"title":"Update a purchase order","api":"PUT https://api.stateset.com/api/v1/purchase-orders/{id}","href":"/api-reference/commerce/purchase_orders/purchase-orders-by-update"},{"title":"Create a purchase order","api":"POST https://api.stateset.com/api/v1/purchase-orders","href":"/api-reference/commerce/purchase_orders/purchase-orders-create"},{"title":"List purchase orders","api":"GET https://api.stateset.com/api/v1/purchase-orders","href":"/api-reference/commerce/purchase_orders/purchase-orders-list"},{"title":"Delete a supplier","api":"DELETE https://api.stateset.com/api/v1/suppliers/{id}","href":"/api-reference/commerce/purchase_orders/suppliers-by-delete"},{"title":"Get a supplier","api":"GET https://api.stateset.com/api/v1/suppliers/{id}","href":"/api-reference/commerce/purchase_orders/suppliers-by-get"},{"title":"Update a supplier","api":"PUT https://api.stateset.com/api/v1/suppliers/{id}","href":"/api-reference/commerce/purchase_orders/suppliers-by-update"},{"title":"Create a supplier","api":"POST https://api.stateset.com/api/v1/suppliers","href":"/api-reference/commerce/purchase_orders/suppliers-create"},{"title":"List suppliers","api":"GET https://api.stateset.com/api/v1/suppliers","href":"/api-reference/commerce/purchase_orders/suppliers-list"}]},{"group":"Supplier SKUs","pages":[{"title":"Delete a supplier SKUs","api":"DELETE https://api.stateset.com/api/v1/supplier-skus/{id}","href":"/api-reference/commerce/supplier_skus/supplier-skus-by-delete"},{"title":"Get a supplier SKUs","api":"GET https://api.stateset.com/api/v1/supplier-skus/{id}","href":"/api-reference/commerce/supplier_skus/supplier-skus-by-get"},{"title":"Create a supplier SKUs","api":"POST https://api.stateset.com/api/v1/supplier-skus","href":"/api-reference/commerce/supplier_skus/supplier-skus-create"},{"title":"List supplier SKUs","api":"GET https://api.stateset.com/api/v1/supplier-skus","href":"/api-reference/commerce/supplier_skus/supplier-skus-list"}]},{"group":"Vendor Credits","pages":[{"title":"Apply a vendor credit","api":"POST https://api.stateset.com/api/v1/vendor-credits/{id}/apply","href":"/api-reference/commerce/vendor_credits/vendor-credits-by-apply-create"},{"title":"Cancel a vendor credit","api":"POST https://api.stateset.com/api/v1/vendor-credits/{id}/cancel","href":"/api-reference/commerce/vendor_credits/vendor-credits-by-cancel-create"},{"title":"Get a vendor credit","api":"GET https://api.stateset.com/api/v1/vendor-credits/{id}","href":"/api-reference/commerce/vendor_credits/vendor-credits-by-get"},{"title":"Create a vendor credit","api":"POST https://api.stateset.com/api/v1/vendor-credits","href":"/api-reference/commerce/vendor_credits/vendor-credits-create"},{"title":"List vendor credits","api":"GET https://api.stateset.com/api/v1/vendor-credits","href":"/api-reference/commerce/vendor_credits/vendor-credits-list"}]}]},{"group":"Financials","pages":[{"group":"General Ledger","pages":[{"title":"Get an account","api":"GET https://api.stateset.com/api/v1/gl/accounts/{id}","href":"/api-reference/commerce/general_ledger/gl-accounts-by-get"},{"title":"Create an account","api":"POST https://api.stateset.com/api/v1/gl/accounts","href":"/api-reference/commerce/general_ledger/gl-accounts-create"},{"title":"List accounts","api":"GET https://api.stateset.com/api/v1/gl/accounts","href":"/api-reference/commerce/general_ledger/gl-accounts-list"},{"title":"Balance sheet","api":"GET https://api.stateset.com/api/v1/gl/balance-sheet","description":"Balance sheet","href":"/api-reference/commerce/general_ledger/gl-balance-sheet-list"},{"title":"Close a month","api":"POST https://api.stateset.com/api/v1/gl/close-month","href":"/api-reference/commerce/general_ledger/gl-close-month-create"},{"title":"Income statement","api":"GET https://api.stateset.com/api/v1/gl/income-statement","description":"Income statement","href":"/api-reference/commerce/general_ledger/gl-income-statement-list"},{"title":"Get a journal entry","api":"GET https://api.stateset.com/api/v1/gl/journal-entries/{id}","href":"/api-reference/commerce/general_ledger/gl-journal-entries-by-get"},{"title":"Post a journal entry","api":"POST https://api.stateset.com/api/v1/gl/journal-entries/{id}/post","href":"/api-reference/commerce/general_ledger/gl-journal-entries-by-post-create"},{"title":"Reverse a journal entry","api":"POST https://api.stateset.com/api/v1/gl/journal-entries/{id}/reverse","href":"/api-reference/commerce/general_ledger/gl-journal-entries-by-reverse-create"},{"title":"Void a journal entry","api":"POST https://api.stateset.com/api/v1/gl/journal-entries/{id}/void","href":"/api-reference/commerce/general_ledger/gl-journal-entries-by-void-create"},{"title":"Create a journal entry","api":"POST https://api.stateset.com/api/v1/gl/journal-entries","href":"/api-reference/commerce/general_ledger/gl-journal-entries-create"},{"title":"List journal entries","api":"GET https://api.stateset.com/api/v1/gl/journal-entries","href":"/api-reference/commerce/general_ledger/gl-journal-entries-list"},{"title":"Close a period","api":"POST https://api.stateset.com/api/v1/gl/periods/{id}/close","href":"/api-reference/commerce/general_ledger/gl-periods-by-close-create"},{"title":"Lock a period","api":"POST https://api.stateset.com/api/v1/gl/periods/{id}/lock","href":"/api-reference/commerce/general_ledger/gl-periods-by-lock-create"},{"title":"Open a period","api":"POST https://api.stateset.com/api/v1/gl/periods/{id}/open","href":"/api-reference/commerce/general_ledger/gl-periods-by-open-create"},{"title":"Reopen a period","api":"POST https://api.stateset.com/api/v1/gl/periods/{id}/reopen","href":"/api-reference/commerce/general_ledger/gl-periods-by-reopen-create"},{"title":"Create a period","api":"POST https://api.stateset.com/api/v1/gl/periods","href":"/api-reference/commerce/general_ledger/gl-periods-create"},{"title":"List periods","api":"GET https://api.stateset.com/api/v1/gl/periods","href":"/api-reference/commerce/general_ledger/gl-periods-list"},{"title":"Revalue a general ledger","api":"POST https://api.stateset.com/api/v1/gl/revalue","href":"/api-reference/commerce/general_ledger/gl-revalue-create"},{"title":"Trial balance","api":"GET https://api.stateset.com/api/v1/gl/trial-balance","href":"/api-reference/commerce/general_ledger/gl-trial-balance-list"}]},{"group":"Accounts Payable","pages":[{"title":"Ap aging","api":"GET https://api.stateset.com/api/v1/ap/aging","href":"/api-reference/commerce/accounts_payable/ap-aging-list"},{"title":"Ap approve bill","api":"POST https://api.stateset.com/api/v1/ap/bills/{id}/approve","href":"/api-reference/commerce/accounts_payable/ap-bills-by-approve-create"},{"title":"Ap cancel bill","api":"POST https://api.stateset.com/api/v1/ap/bills/{id}/cancel","href":"/api-reference/commerce/accounts_payable/ap-bills-by-cancel-create"},{"title":"Ap dispute bill","api":"POST https://api.stateset.com/api/v1/ap/bills/{id}/dispute","href":"/api-reference/commerce/accounts_payable/ap-bills-by-dispute-create"},{"title":"Ap get bill","api":"GET https://api.stateset.com/api/v1/ap/bills/{id}","href":"/api-reference/commerce/accounts_payable/ap-bills-by-get"},{"title":"Ap three way match bill","api":"GET https://api.stateset.com/api/v1/ap/bills/{id}/three-way-match","href":"/api-reference/commerce/accounts_payable/ap-bills-by-three-way-match-get"},{"title":"Ap create bill","api":"POST https://api.stateset.com/api/v1/ap/bills","href":"/api-reference/commerce/accounts_payable/ap-bills-create"},{"title":"Ap list bills","api":"GET https://api.stateset.com/api/v1/ap/bills","href":"/api-reference/commerce/accounts_payable/ap-bills-list"},{"title":"Ap approve payment run","api":"POST https://api.stateset.com/api/v1/ap/payment-runs/{id}/approve","href":"/api-reference/commerce/accounts_payable/ap-payment-runs-by-approve-create"},{"title":"Ap cancel payment run","api":"POST https://api.stateset.com/api/v1/ap/payment-runs/{id}/cancel","href":"/api-reference/commerce/accounts_payable/ap-payment-runs-by-cancel-create"},{"title":"Ap process payment run","api":"POST https://api.stateset.com/api/v1/ap/payment-runs/{id}/process","href":"/api-reference/commerce/accounts_payable/ap-payment-runs-by-process-create"},{"title":"Ap create payment run","api":"POST https://api.stateset.com/api/v1/ap/payment-runs","href":"/api-reference/commerce/accounts_payable/ap-payment-runs-create"},{"title":"Ap void payment","api":"POST https://api.stateset.com/api/v1/ap/payments/{id}/void","href":"/api-reference/commerce/accounts_payable/ap-payments-by-void-create"},{"title":"Ap create payment","api":"POST https://api.stateset.com/api/v1/ap/payments","href":"/api-reference/commerce/accounts_payable/ap-payments-create"}]},{"group":"Accounts Receivable","pages":[{"title":"Ar customer aging","api":"GET https://api.stateset.com/api/v1/ar/aging/customers/{customer_id}","href":"/api-reference/commerce/accounts_receivable/ar-aging-customers-by-get"},{"title":"Ar aging report","api":"GET https://api.stateset.com/api/v1/ar/aging/customers","href":"/api-reference/commerce/accounts_receivable/ar-aging-customers-list"},{"title":"Ar aging summary","api":"GET https://api.stateset.com/api/v1/ar/aging","href":"/api-reference/commerce/accounts_receivable/ar-aging-list"},{"title":"Ar record collection activity","api":"POST https://api.stateset.com/api/v1/ar/collection-activities","href":"/api-reference/commerce/accounts_receivable/ar-collection-activities-create"},{"title":"Ar list collection activities","api":"GET https://api.stateset.com/api/v1/ar/collection-activities","href":"/api-reference/commerce/accounts_receivable/ar-collection-activities-list"},{"title":"Ar apply credit memo","api":"POST https://api.stateset.com/api/v1/ar/credit-memos/{id}/apply","href":"/api-reference/commerce/accounts_receivable/ar-credit-memos-by-apply-create"},{"title":"Ar create credit memo","api":"POST https://api.stateset.com/api/v1/ar/credit-memos","href":"/api-reference/commerce/accounts_receivable/ar-credit-memos-create"},{"title":"Ar list credit memos","api":"GET https://api.stateset.com/api/v1/ar/credit-memos","href":"/api-reference/commerce/accounts_receivable/ar-credit-memos-list"},{"title":"Ar customer statement","api":"GET https://api.stateset.com/api/v1/ar/customers/{customer_id}/statement","href":"/api-reference/commerce/accounts_receivable/ar-customers-by-statement-get"},{"title":"Ar invoices due for dunning","api":"GET https://api.stateset.com/api/v1/ar/dunning/due","href":"/api-reference/commerce/accounts_receivable/ar-dunning-due-list"},{"title":"Ar send dunning","api":"POST https://api.stateset.com/api/v1/ar/invoices/{invoice_id}/dunning","href":"/api-reference/commerce/accounts_receivable/ar-invoices-by-dunning-create"},{"title":"Ar unapply payment","api":"POST https://api.stateset.com/api/v1/ar/payment-applications/{id}/unapply","href":"/api-reference/commerce/accounts_receivable/ar-payment-applications-by-unapply-create"},{"title":"Ar apply payment","api":"POST https://api.stateset.com/api/v1/ar/payment-applications","href":"/api-reference/commerce/accounts_receivable/ar-payment-applications-create"},{"title":"Ar reverse write off","api":"POST https://api.stateset.com/api/v1/ar/write-offs/{id}/reverse","href":"/api-reference/commerce/accounts_receivable/ar-write-offs-by-reverse-create"},{"title":"Ar create write off","api":"POST https://api.stateset.com/api/v1/ar/write-offs","href":"/api-reference/commerce/accounts_receivable/ar-write-offs-create"}]},{"group":"Invoices","pages":[{"title":"Get an invoice","api":"GET https://api.stateset.com/api/v1/invoices/{id}","href":"/api-reference/commerce/invoices/invoices-by-get"},{"title":"Record invoice payment","api":"POST https://api.stateset.com/api/v1/invoices/{id}/payments","href":"/api-reference/commerce/invoices/invoices-by-payments-create"},{"title":"Send an invoice","api":"POST https://api.stateset.com/api/v1/invoices/{id}/send","href":"/api-reference/commerce/invoices/invoices-by-send-create"},{"title":"Create an invoice","api":"POST https://api.stateset.com/api/v1/invoices","href":"/api-reference/commerce/invoices/invoices-create"},{"title":"List invoices","api":"GET https://api.stateset.com/api/v1/invoices","href":"/api-reference/commerce/invoices/invoices-list"}]},{"group":"Payments","pages":[{"title":"Complete a payment","api":"POST https://api.stateset.com/api/v1/payments/{id}/complete","href":"/api-reference/commerce/payments/payments-by-complete-create"},{"title":"Get a payment","api":"GET https://api.stateset.com/api/v1/payments/{id}","href":"/api-reference/commerce/payments/payments-by-get"},{"title":"Refund a create","api":"POST https://api.stateset.com/api/v1/payments/{id}/refund","href":"/api-reference/commerce/payments/payments-by-refund-create"},{"title":"Create a payment","api":"POST https://api.stateset.com/api/v1/payments","href":"/api-reference/commerce/payments/payments-create"},{"title":"List payments","api":"GET https://api.stateset.com/api/v1/payments","href":"/api-reference/commerce/payments/payments-list"}]},{"group":"Payment Obligations","pages":[{"title":"Link bill","api":"POST https://api.stateset.com/api/v1/payment-obligations/{id}/bills","href":"/api-reference/commerce/payment_obligations/payment-obligations-by-bills-create"},{"title":"Get a payment obligation","api":"GET https://api.stateset.com/api/v1/payment-obligations/{id}","href":"/api-reference/commerce/payment_obligations/payment-obligations-by-get"},{"title":"Record payment (/api/v1/payment-obligations/{id}/payments)","api":"POST https://api.stateset.com/api/v1/payment-obligations/{id}/payments","href":"/api-reference/commerce/payment_obligations/payment-obligations-by-payments-create"},{"title":"Set status (/api/v1/payment-obligations/{id}/status)","api":"POST https://api.stateset.com/api/v1/payment-obligations/{id}/status","href":"/api-reference/commerce/payment_obligations/payment-obligations-by-status-create"},{"title":"Create a payment obligation","api":"POST https://api.stateset.com/api/v1/payment-obligations","href":"/api-reference/commerce/payment_obligations/payment-obligations-create"},{"title":"Dashboard","api":"GET https://api.stateset.com/api/v1/payment-obligations/dashboard","href":"/api-reference/commerce/payment_obligations/payment-obligations-dashboard-list"},{"title":"List payment obligations","api":"GET https://api.stateset.com/api/v1/payment-obligations","href":"/api-reference/commerce/payment_obligations/payment-obligations-list"}]},{"group":"Prepayments","pages":[{"title":"Apply a prepayment","api":"POST https://api.stateset.com/api/v1/prepayments/{id}/apply","href":"/api-reference/commerce/prepayments/prepayments-by-apply-create"},{"title":"Get a prepayment","api":"GET https://api.stateset.com/api/v1/prepayments/{id}","href":"/api-reference/commerce/prepayments/prepayments-by-get"},{"title":"Refund a prepayment","api":"POST https://api.stateset.com/api/v1/prepayments/{id}/refund","href":"/api-reference/commerce/prepayments/prepayments-by-refund-create"},{"title":"Create a prepayment","api":"POST https://api.stateset.com/api/v1/prepayments","href":"/api-reference/commerce/prepayments/prepayments-create"},{"title":"List prepayments","api":"GET https://api.stateset.com/api/v1/prepayments","href":"/api-reference/commerce/prepayments/prepayments-list"}]},{"group":"Fixed Assets","pages":[{"title":"Dispose","api":"POST https://api.stateset.com/api/v1/fixed-assets/{id}/dispose","href":"/api-reference/commerce/fixed_assets/fixed-assets-by-dispose-create"},{"title":"Get a fixed asset","api":"GET https://api.stateset.com/api/v1/fixed-assets/{id}","href":"/api-reference/commerce/fixed_assets/fixed-assets-by-get"},{"title":"Place in service","api":"POST https://api.stateset.com/api/v1/fixed-assets/{id}/place-in-service","href":"/api-reference/commerce/fixed_assets/fixed-assets-by-place-in-service-create"},{"title":"Post a depreciation","api":"POST https://api.stateset.com/api/v1/fixed-assets/{id}/post-depreciation","href":"/api-reference/commerce/fixed_assets/fixed-assets-by-post-depreciation-create"},{"title":"Generate schedule","api":"POST https://api.stateset.com/api/v1/fixed-assets/{id}/schedule","href":"/api-reference/commerce/fixed_assets/fixed-assets-by-schedule-create"},{"title":"Get a schedule","api":"GET https://api.stateset.com/api/v1/fixed-assets/{id}/schedule","href":"/api-reference/commerce/fixed_assets/fixed-assets-by-schedule-get"},{"title":"Update a fixed asset","api":"PUT https://api.stateset.com/api/v1/fixed-assets/{id}","href":"/api-reference/commerce/fixed_assets/fixed-assets-by-update"},{"title":"Write off","api":"POST https://api.stateset.com/api/v1/fixed-assets/{id}/write-off","href":"/api-reference/commerce/fixed_assets/fixed-assets-by-write-off-create"},{"title":"Create a fixed asset","api":"POST https://api.stateset.com/api/v1/fixed-assets","href":"/api-reference/commerce/fixed_assets/fixed-assets-create"},{"title":"List fixed assets","api":"GET https://api.stateset.com/api/v1/fixed-assets","href":"/api-reference/commerce/fixed_assets/fixed-assets-list"}]},{"group":"Revenue Recognition","pages":[{"title":"Get a contract","api":"GET https://api.stateset.com/api/v1/revenue-contracts/{id}","href":"/api-reference/commerce/revenue_recognition/revenue-contracts-by-get"},{"title":"List obligations","api":"GET https://api.stateset.com/api/v1/revenue-contracts/{id}/obligations","href":"/api-reference/commerce/revenue_recognition/revenue-contracts-by-obligations-get"},{"title":"Update a contract","api":"PUT https://api.stateset.com/api/v1/revenue-contracts/{id}","href":"/api-reference/commerce/revenue_recognition/revenue-contracts-by-update"},{"title":"Create a contract","api":"POST https://api.stateset.com/api/v1/revenue-contracts","href":"/api-reference/commerce/revenue_recognition/revenue-contracts-create"},{"title":"List contracts","api":"GET https://api.stateset.com/api/v1/revenue-contracts","href":"/api-reference/commerce/revenue_recognition/revenue-contracts-list"},{"title":"Recognize","api":"POST https://api.stateset.com/api/v1/revenue-obligations/{id}/recognize","href":"/api-reference/commerce/revenue_recognition/revenue-obligations-by-recognize-create"},{"title":"Generate schedule (/api/v1/revenue-obligations/{id}/schedule)","api":"POST https://api.stateset.com/api/v1/revenue-obligations/{id}/schedule","href":"/api-reference/commerce/revenue_recognition/revenue-obligations-by-schedule-create"},{"title":"Get a schedule (/api/v1/revenue-obligations/{id}/schedule)","api":"GET https://api.stateset.com/api/v1/revenue-obligations/{id}/schedule","href":"/api-reference/commerce/revenue_recognition/revenue-obligations-by-schedule-get"}]},{"group":"Currency","pages":[{"title":"Convert currency","api":"POST https://api.stateset.com/api/v1/currencies/convert","href":"/api-reference/commerce/currency/currencies-convert-create"},{"title":"Set rate","api":"POST https://api.stateset.com/api/v1/currencies/rates","href":"/api-reference/commerce/currency/currencies-rates-create"},{"title":"List rates","api":"GET https://api.stateset.com/api/v1/currencies/rates","href":"/api-reference/commerce/currency/currencies-rates-list"}]},{"group":"Reports","pages":[{"title":"Check close readiness","api":"POST https://api.stateset.com/api/v1/reports/close-the-books","href":"/api-reference/commerce/reports/reports-close-the-books-create"},{"title":"Calculate consumption","api":"POST https://api.stateset.com/api/v1/reports/consumption","href":"/api-reference/commerce/reports/reports-consumption-create"},{"title":"Calculate inventory aging","api":"POST https://api.stateset.com/api/v1/reports/inventory-aging","href":"/api-reference/commerce/reports/reports-inventory-aging-create"},{"title":"Summarize sales by channel","api":"POST https://api.stateset.com/api/v1/reports/sales-by-channel","href":"/api-reference/commerce/reports/reports-sales-by-channel-create"},{"title":"Calculate transaction cost of goods","api":"POST https://api.stateset.com/api/v1/reports/transaction-cogs","href":"/api-reference/commerce/reports/reports-transaction-cogs-create"}]}]},{"group":"Agents \u0026 Protocols","pages":[{"group":"A2A","pages":[{"title":"Charge credit","api":"POST https://api.stateset.com/api/v1/a2a/credit/{id}/charge","href":"/api-reference/commerce/a2a/a2a-credit-by-charge-create"},{"title":"Get a term","api":"GET https://api.stateset.com/api/v1/a2a/credit/{id}","href":"/api-reference/commerce/a2a/a2a-credit-by-get"},{"title":"Record payment","api":"POST https://api.stateset.com/api/v1/a2a/credit/{id}/payment","href":"/api-reference/commerce/a2a/a2a-credit-by-payment-create"},{"title":"Create a term","api":"POST https://api.stateset.com/api/v1/a2a/credit","href":"/api-reference/commerce/a2a/a2a-credit-create"},{"title":"List terms","api":"GET https://api.stateset.com/api/v1/a2a/credit","href":"/api-reference/commerce/a2a/a2a-credit-list"},{"title":"Acknowledge message","api":"POST https://api.stateset.com/api/v1/a2a/messages/{id}/acknowledge","href":"/api-reference/commerce/a2a/a2a-messages-by-acknowledge-create"},{"title":"Send a message","api":"POST https://api.stateset.com/api/v1/a2a/messages","href":"/api-reference/commerce/a2a/a2a-messages-create"},{"title":"List messages","api":"GET https://api.stateset.com/api/v1/a2a/messages","href":"/api-reference/commerce/a2a/a2a-messages-list"}]},{"group":"Negotiations","pages":[{"title":"Accept negotiation","api":"POST https://api.stateset.com/api/v1/negotiations/{id}/accept","href":"/api-reference/commerce/negotiations/negotiations-by-accept-create"},{"title":"Counter offer","api":"POST https://api.stateset.com/api/v1/negotiations/{id}/counter-offer","href":"/api-reference/commerce/negotiations/negotiations-by-counter-offer-create"},{"title":"Get a negotiation","api":"GET https://api.stateset.com/api/v1/negotiations/{id}","href":"/api-reference/commerce/negotiations/negotiations-by-get"},{"title":"Reject a negotiation","api":"POST https://api.stateset.com/api/v1/negotiations/{id}/reject","href":"/api-reference/commerce/negotiations/negotiations-by-reject-create"},{"title":"Create a negotiation","api":"POST https://api.stateset.com/api/v1/negotiations","href":"/api-reference/commerce/negotiations/negotiations-create"}]},{"group":"EDI Documents","pages":[{"title":"Get an EDI document","api":"GET https://api.stateset.com/api/v1/edi-documents/{id}","href":"/api-reference/commerce/edi_documents/edi-documents-by-get"},{"title":"Set status","api":"POST https://api.stateset.com/api/v1/edi-documents/{id}/status","href":"/api-reference/commerce/edi_documents/edi-documents-by-status-create"},{"title":"Create an EDI document","api":"POST https://api.stateset.com/api/v1/edi-documents","href":"/api-reference/commerce/edi_documents/edi-documents-create"},{"title":"List EDI documents","api":"GET https://api.stateset.com/api/v1/edi-documents","href":"/api-reference/commerce/edi_documents/edi-documents-list"},{"title":"Summary","api":"GET https://api.stateset.com/api/v1/edi-documents/summary","href":"/api-reference/commerce/edi_documents/edi-documents-summary-list"}]},{"group":"Events","pages":[{"title":"Event stream","api":"GET https://api.stateset.com/api/v1/events/stream","href":"/api-reference/commerce/events/events-stream-list"}]}]},{"group":"Platform","pages":[{"group":"Products","pages":[{"title":"Delete a product","api":"DELETE https://api.stateset.com/api/v1/products/{id}","href":"/api-reference/commerce/products/products-by-delete"},{"title":"Get a product","api":"GET https://api.stateset.com/api/v1/products/{id}","href":"/api-reference/commerce/products/products-by-get"},{"title":"Update a product","api":"PATCH https://api.stateset.com/api/v1/products/{id}","href":"/api-reference/commerce/products/products-by-update"},{"title":"Create a product","api":"POST https://api.stateset.com/api/v1/products","href":"/api-reference/commerce/products/products-create"},{"title":"List products","api":"GET https://api.stateset.com/api/v1/products","href":"/api-reference/commerce/products/products-list"}]},{"group":"Integration Mappings","pages":[{"title":"Create a bulk (/api/v1/integration-mappings/bulk)","api":"POST https://api.stateset.com/api/v1/integration-mappings/bulk","href":"/api-reference/commerce/integration_mappings/integration-mappings-bulk-create"},{"title":"Delete an integration mapping","api":"DELETE https://api.stateset.com/api/v1/integration-mappings/{id}","href":"/api-reference/commerce/integration_mappings/integration-mappings-by-delete"},{"title":"Get an integration mapping","api":"GET https://api.stateset.com/api/v1/integration-mappings/{id}","href":"/api-reference/commerce/integration_mappings/integration-mappings-by-get"},{"title":"Update an integration mapping","api":"PUT https://api.stateset.com/api/v1/integration-mappings/{id}","href":"/api-reference/commerce/integration_mappings/integration-mappings-by-update"},{"title":"Create an integration mapping","api":"POST https://api.stateset.com/api/v1/integration-mappings","href":"/api-reference/commerce/integration_mappings/integration-mappings-create"},{"title":"List integration mappings","api":"GET https://api.stateset.com/api/v1/integration-mappings","href":"/api-reference/commerce/integration_mappings/integration-mappings-list"},{"title":"Resolve an integration mapping","api":"GET https://api.stateset.com/api/v1/integration-mappings/resolve","href":"/api-reference/commerce/integration_mappings/integration-mappings-resolve-list"}]},{"group":"Integration Field Mappings","pages":[{"title":"Create a bulk","api":"POST https://api.stateset.com/api/v1/integration-field-mappings/bulk","href":"/api-reference/commerce/integration_field_mappings/integration-field-mappings-bulk-create"},{"title":"Delete a bulk","api":"DELETE https://api.stateset.com/api/v1/integration-field-mappings/bulk","href":"/api-reference/commerce/integration_field_mappings/integration-field-mappings-bulk-delete"},{"title":"Delete an integration field mapping","api":"DELETE https://api.stateset.com/api/v1/integration-field-mappings/{id}","href":"/api-reference/commerce/integration_field_mappings/integration-field-mappings-by-delete"},{"title":"Get an integration field mapping","api":"GET https://api.stateset.com/api/v1/integration-field-mappings/{id}","href":"/api-reference/commerce/integration_field_mappings/integration-field-mappings-by-get"},{"title":"Update an integration field mapping","api":"PUT https://api.stateset.com/api/v1/integration-field-mappings/{id}","href":"/api-reference/commerce/integration_field_mappings/integration-field-mappings-by-update"},{"title":"Create an integration field mapping","api":"POST https://api.stateset.com/api/v1/integration-field-mappings","href":"/api-reference/commerce/integration_field_mappings/integration-field-mappings-create"},{"title":"Groups","api":"GET https://api.stateset.com/api/v1/integration-field-mappings/groups","href":"/api-reference/commerce/integration_field_mappings/integration-field-mappings-groups-list"},{"title":"List integration field mappings","api":"GET https://api.stateset.com/api/v1/integration-field-mappings","href":"/api-reference/commerce/integration_field_mappings/integration-field-mappings-list"}]},{"group":"Activity Logs","pages":[{"title":"History","api":"GET https://api.stateset.com/api/v1/activity-logs/{subject_type}/{subject_id}","href":"/api-reference/commerce/activity_logs/activity-logs-by-by-get"},{"title":"Get an activity log","api":"GET https://api.stateset.com/api/v1/activity-logs/{id}","href":"/api-reference/commerce/activity_logs/activity-logs-by-get"},{"title":"Record","api":"POST https://api.stateset.com/api/v1/activity-logs","href":"/api-reference/commerce/activity_logs/activity-logs-create"},{"title":"List activity logs","api":"GET https://api.stateset.com/api/v1/activity-logs","href":"/api-reference/commerce/activity_logs/activity-logs-list"}]},{"group":"Purgatory","pages":[{"title":"Delete a purgatory","api":"DELETE https://api.stateset.com/api/v1/purgatory/orders/{id}","href":"/api-reference/commerce/purgatory/purgatory-orders-by-delete"},{"title":"Get a purgatory","api":"GET https://api.stateset.com/api/v1/purgatory/orders/{id}","href":"/api-reference/commerce/purgatory/purgatory-orders-by-get"},{"title":"Map line","api":"POST https://api.stateset.com/api/v1/purgatory/orders/{id}/lines/{line_id}","href":"/api-reference/commerce/purgatory/purgatory-orders-by-lines-by-create"},{"title":"Post an order","api":"POST https://api.stateset.com/api/v1/purgatory/orders/{id}/post","href":"/api-reference/commerce/purgatory/purgatory-orders-by-post-create"},{"title":"Ingest","api":"POST https://api.stateset.com/api/v1/purgatory/orders","href":"/api-reference/commerce/purgatory/purgatory-orders-create"},{"title":"List purgatories","api":"GET https://api.stateset.com/api/v1/purgatory/orders","href":"/api-reference/commerce/purgatory/purgatory-orders-list"}]},{"group":"Topology Snapshots","pages":[{"title":"Delete a topology snapshot","api":"DELETE https://api.stateset.com/api/v1/topology-snapshots/{id}","href":"/api-reference/commerce/topology_snapshots/topology-snapshots-by-delete"},{"title":"Get a topology snapshot","api":"GET https://api.stateset.com/api/v1/topology-snapshots/{id}","href":"/api-reference/commerce/topology_snapshots/topology-snapshots-by-get"},{"title":"Capture (/api/v1/topology-snapshots)","api":"POST https://api.stateset.com/api/v1/topology-snapshots","href":"/api-reference/commerce/topology_snapshots/topology-snapshots-create"},{"title":"Latest (/api/v1/topology-snapshots/latest)","api":"GET https://api.stateset.com/api/v1/topology-snapshots/latest","href":"/api-reference/commerce/topology_snapshots/topology-snapshots-latest-list"},{"title":"List topology snapshots","api":"GET https://api.stateset.com/api/v1/topology-snapshots","href":"/api-reference/commerce/topology_snapshots/topology-snapshots-list"}]},{"group":"Health","pages":[{"title":"Deep health","api":"GET https://api.stateset.com/health/deep","href":"/api-reference/commerce/health/health-deep-list"},{"title":"Health","api":"GET https://api.stateset.com/health","href":"/api-reference/commerce/health/health-list"},{"title":"Readiness","api":"GET https://api.stateset.com/health/ready","href":"/api-reference/commerce/health/health-ready-list"},{"title":"Metrics","api":"GET https://api.stateset.com/metrics","href":"/api-reference/commerce/health/metrics-list"},{"title":"Version","api":"GET https://api.stateset.com/version","href":"/api-reference/commerce/health/version-list"}]}]},{"group":"A2A","pages":[{"title":"List entries","api":"GET https://api.stateset.com/api/v1/a2a/credit/{id}/entries","href":"/api-reference/commerce/a2a/a2a-credit-by-entries-get"},{"title":"Fail message","api":"POST https://api.stateset.com/api/v1/a2a/messages/{id}/fail","href":"/api-reference/commerce/a2a/a2a-messages-by-fail-create"},{"title":"Get a message","api":"GET https://api.stateset.com/api/v1/a2a/messages/{id}","href":"/api-reference/commerce/a2a/a2a-messages-by-get"}]},{"group":"Inventory","pages":[{"title":"Create a reservation","api":"POST https://api.stateset.com/api/v1/inventory/{sku}/reservations","href":"/api-reference/commerce/inventory/inventory-by-reservations-create"},{"title":"Confirm a reservation","api":"POST https://api.stateset.com/api/v1/inventory/reservations/{reservation_id}/confirm","href":"/api-reference/commerce/inventory/inventory-reservations-by-confirm-create"},{"title":"Get a reservation","api":"GET https://api.stateset.com/api/v1/inventory/reservations/{reservation_id}","href":"/api-reference/commerce/inventory/inventory-reservations-by-get"},{"title":"Release a reservation","api":"POST https://api.stateset.com/api/v1/inventory/reservations/{reservation_id}/release","href":"/api-reference/commerce/inventory/inventory-reservations-by-release-create"},{"title":"Expire reservations","api":"POST https://api.stateset.com/api/v1/inventory/reservations/expire","href":"/api-reference/commerce/inventory/inventory-reservations-expire-create"},{"title":"List reservations","api":"GET https://api.stateset.com/api/v1/inventory/reservations","href":"/api-reference/commerce/inventory/inventory-reservations-list"},{"title":"Run sweeps","api":"POST https://api.stateset.com/api/v1/inventory/sweeps/run","href":"/api-reference/commerce/inventory/inventory-sweeps-run-create"}]},{"group":"Governed audit","pages":[{"title":"Audit checkpoint","api":"GET https://api.stateset.com/api/v1/kernel/audit/checkpoint","href":"/api-reference/commerce/kernel/kernel-audit-checkpoint-list"},{"title":"Verify audit chain","api":"GET https://api.stateset.com/api/v1/kernel/audit","href":"/api-reference/commerce/kernel/kernel-audit-list"}]},{"group":"Lots","pages":[{"title":"Genealogy","api":"GET https://api.stateset.com/api/v1/lots/{id}/genealogy","href":"/api-reference/commerce/lots/lots-by-genealogy-get"}]},{"group":"Returns","pages":[{"title":"Complete a return","api":"PATCH https://api.stateset.com/api/v1/returns/{id}/complete","href":"/api-reference/commerce/returns/returns-by-complete-update"},{"title":"Reject a return","api":"PATCH https://api.stateset.com/api/v1/returns/{id}/reject","href":"/api-reference/commerce/returns/returns-by-reject-update"},{"title":"Update a return","api":"PATCH https://api.stateset.com/api/v1/returns/{id}","href":"/api-reference/commerce/returns/returns-by-update"}]},{"group":"Shipments","pages":[{"title":"Cancel before carrier handoff, retaining shipment items and tracking history.","api":"POST https://api.stateset.com/api/v1/shipments/{id}/cancel","href":"/api-reference/commerce/shipments/shipments-by-cancel-create"},{"title":"Remove a manifest item belonging to this shipment. Requires delete permission.","api":"DELETE https://api.stateset.com/api/v1/shipments/{id}/items/{item_id}","href":"/api-reference/commerce/shipments/shipments-by-items-by-delete"},{"title":"Add manifest contents while packing, using native order allocation guards.","api":"POST https://api.stateset.com/api/v1/shipments/{id}/items","href":"/api-reference/commerce/shipments/shipments-by-items-create"},{"title":"Patch one native shipment without skipping lifecycle guards.","api":"PATCH https://api.stateset.com/api/v1/shipments/{id}","href":"/api-reference/commerce/shipments/shipments-by-update"}]},{"group":"Tax exemptions","pages":[{"title":"Get an exemption","api":"GET https://api.stateset.com/api/v1/tax/exemptions/{id}","href":"/api-reference/commerce/tax/tax-exemptions-by-get"},{"title":"Verify exemption","api":"POST https://api.stateset.com/api/v1/tax/exemptions/{id}/verify","href":"/api-reference/commerce/tax/tax-exemptions-by-verify-create"},{"title":"Create an exemption","api":"POST https://api.stateset.com/api/v1/tax/exemptions","href":"/api-reference/commerce/tax/tax-exemptions-create"},{"title":"List exemptions","api":"GET https://api.stateset.com/api/v1/tax/exemptions","href":"/api-reference/commerce/tax/tax-exemptions-list"}]},{"group":"x402 payment intents","pages":[{"title":"Intents for cart","api":"GET https://api.stateset.com/api/v1/x402/carts/{cart_id}/intents","href":"/api-reference/commerce/x402/x402-carts-by-intents-get"},{"title":"Cancel an intent","api":"POST https://api.stateset.com/api/v1/x402/intents/{id}/cancel","href":"/api-reference/commerce/x402/x402-intents-by-cancel-create"},{"title":"Fail intent","api":"POST https://api.stateset.com/api/v1/x402/intents/{id}/fail","href":"/api-reference/commerce/x402/x402-intents-by-fail-create"},{"title":"Get an intent","api":"GET https://api.stateset.com/api/v1/x402/intents/{id}","href":"/api-reference/commerce/x402/x402-intents-by-get"},{"title":"Settle intent","api":"POST https://api.stateset.com/api/v1/x402/intents/{id}/settle","href":"/api-reference/commerce/x402/x402-intents-by-settle-create"},{"title":"Sign intent","api":"POST https://api.stateset.com/api/v1/x402/intents/{id}/sign","href":"/api-reference/commerce/x402/x402-intents-by-sign-create"},{"title":"Create an intent","api":"POST https://api.stateset.com/api/v1/x402/intents","href":"/api-reference/commerce/x402/x402-intents-create"},{"title":"List intents","api":"GET https://api.stateset.com/api/v1/x402/intents","href":"/api-reference/commerce/x402/x402-intents-list"},{"title":"Intents for order","api":"GET https://api.stateset.com/api/v1/x402/orders/{order_id}/intents","href":"/api-reference/commerce/x402/x402-orders-by-intents-get"}]}]},{"tab":"ResponseCX","icon":"headset","pages":[{"title":"ResponseCX","href":"/api-reference/responsecx/overview"}]},{"tab":"Chat Widget","icon":"message-square","pages":[{"title":"Chat Widget","href":"/api-reference/chat-widget/overview"}]},{"tab":"Voice","icon":"phone","pages":[{"title":"Voice","href":"/api-reference/voice/overview"}]},{"tab":"Sandbox","icon":"box","pages":[{"title":"Sandbox","href":"/api-reference/sandbox/overview"}]},{"tab":"Sync Server","icon":"refresh-cw","pages":[{"title":"Sync Server","href":"/api-reference/sync/overview"}]},{"tab":"Temporal Engine","icon":"workflow","pages":[{"title":"Temporal Engine","href":"/api-reference/temporal/overview"}]},{"tab":"EDI","icon":"file-text","pages":[{"title":"EDI","href":"/api-reference/edi/overview"}]},{"tab":"NSR","icon":"brain","pages":[{"title":"NSR","href":"/api-reference/nsr/overview"}]},{"tab":"Computer Use","icon":"monitor","pages":[{"title":"Computer Use","href":"/api-reference/computer-use/overview"}]},{"tab":"Agents","icon":"bot","pages":[{"title":"Agents","href":"/api-reference/agents/overview"}]}]},{"dropdown":"For AI Agents","icon":"bot","description":"MCP servers and skills for agents using StateSet","tabs":[{"tab":"MCP Servers","icon":"plug","groups":[{"group":"Start here","pages":[{"sidebarTitle":"Signup to first value","title":"From Signup to First Value","icon":"rocket","href":"/guides/platform-onboarding"},{"sidebarTitle":"Rust engines \u0026 MCP","title":"Build Operations with Rust Engines \u0026 MCP","icon":"cpu","href":"/guides/rust-engines-and-mcp"},{"sidebarTitle":"Connect through MCP","title":"Manage Agents \u0026 Workflows with MCP","icon":"plug","href":"/guides/manage-platform-with-mcp"},{"sidebarTitle":"Configuration changes","title":"Your First Workflow Configuration Change","icon":"git-pull-request","href":"/guides/first-workflow-config-change"},{"sidebarTitle":"Durable agents","title":"Operate Your First Durable Agent","icon":"bot","href":"/guides/first-durable-agent"},{"sidebarTitle":"Agent evaluations","title":"Your First Agent Evaluation","icon":"check-check","href":"/guides/first-agent-evaluation"},{"sidebarTitle":"Your first week","title":"Your First Week with StateSet","icon":"chart-line","href":"/guides/first-week-with-stateset"},{"sidebarTitle":"Troubleshooting","title":"Troubleshoot Your First Operation","icon":"life-ring","href":"/guides/onboarding-troubleshooting"},{"sidebarTitle":"Workflow trial","title":"Your First Workflow Trial","icon":"workflow","href":"/guides/first-workflow-trial"},{"sidebarTitle":"Agent quickstart","title":"Getting Started for AI Agents","icon":"robot","href":"/getting-started-for-ai-agents"},{"sidebarTitle":"First local operation","title":"Your First Operation","icon":"play","href":"/guides/first-operation"},{"sidebarTitle":"Connect your systems","title":"Connect Your Operation","icon":"plug","href":"/guides/connect-your-operation"},{"title":"MCP Servers","icon":"plug","href":"/mcp-servers"},{"title":"MCP Integration for AI Agents","icon":"plug","iconType":"solid","href":"/guides/mcp-integration-guide"}]},{"group":"Commerce","pages":[{"title":"iCommerce MCP Server","href":"/stateset-icommerce/stateset-icommerce-mcp"},{"title":"Sandbox MCP server","href":"/stateset-sandbox/stateset-sandbox-mcp"},{"title":"Sync Server MCP","href":"/stateset-sync-mcp"},{"title":"EDI MCP Server","href":"/stateset-edi/mcp-server"},{"title":"Warehouse REST API and MCP","sidebarTitle":"API and MCP","href":"/stateset-warehouse/api-and-mcp"},{"title":"Freight REST API and MCP","sidebarTitle":"API and MCP","href":"/stateset-freight/api-and-mcp"}]},{"group":"Customer experience","pages":[{"title":"Response MCP Servers","href":"/stateset-response/response-mcp"},{"title":"Voice MCP Server","href":"/stateset-voice/mcp-server"},{"title":"Mail MCP Server","href":"/stateset-mail/mcp-server"}]},{"group":"Decisions and automation","pages":[{"title":"NSR MCP Server","href":"/stateset-nsr-mcp"},{"title":"Workstream MCP","href":"/next-temporal/mcp-connector"},{"title":"Agents MCP server","href":"/stateset-agents/mcp-server"},{"title":"Computer Use MCP Servers","href":"/computer-use-mcp"},{"title":"Engines and Commerce MCP Servers","href":"/computer-use-engines-mcp"}]}]},{"tab":"Skills","icon":"graduation-cap","groups":[{"group":"Start here","pages":[{"title":"Skills","href":"/agent-skills"}]},{"group":"Skills","pages":[{"title":"iCommerce Agent Operating Guide","href":"/stateset-icommerce-skill"},{"title":"NSR Skill","href":"/stateset-nsr-skill"},{"title":"Sandbox agent operating guide","href":"/stateset-sandbox-skill"},{"title":"Voice Skill","href":"/stateset-voice-skill"},{"title":"Computer Use Skill","href":"/computer-use-skill"},{"title":"Sync Server Skill","href":"/stateset-sync-server-skill"},{"title":"StateSet iCommerce Engine Skills","href":"/stateset-icommerce/stateset-icommerce-skills"}]}]}]}]},"basePath":"","title":"StateSet API Docs","deploymentId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","buildId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-_HcdDqS2.js","snippetPresets-CXnm-WO6.js","utils-Dg59J__o.js","style-to-object-BY3JEAdk.js","utils-D8TRpdk7.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-B6QaxWc5.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DeMZ-lcM.js","_Uint8Array-BjA2mcVW.js","isObject-FP1Yky1u.js","ApiExamples-cjPyMv63.js","usePlaygroundInputsStore-D7BWoaw4.js","shallow-Z1ceDNSG.js","isEqual-BObTuQrO.js","CodeSnippets-D1UZ1AE-.js","CodeSnippet-B373COAT.js","getApiPlaygroundDisplay-CfL-UuDS.js","Page-DuqezyvM.js","DynamicMarkdown-5yMTCLas.js","SectionHeading-BxT1HYfP.js","icon-DYJTTD3g.js","MethodPill-4AyycJeu.js","getPastedJson-Bp3WV6cN.js","Check2Icon-PhZu6Gry.js","axios-CsQoIw0U.js"]}