{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Factio","colors":{"primary":"#0F6FFF","light":"#3B8EFF","dark":"#0047CC"},"logo":{"light":"https://mintcdn.com/me-94224791/5bVkgcL-lfIQwY19/logo/factio-light.svg?fit=max\u0026auto=format\u0026n=5bVkgcL-lfIQwY19\u0026q=85\u0026s=9425e17ca9555aa016ad9333f09072b1","dark":"https://mintcdn.com/me-94224791/5bVkgcL-lfIQwY19/logo/factio-dark.svg?fit=max\u0026auto=format\u0026n=5bVkgcL-lfIQwY19\u0026q=85\u0026s=c8a58d6e201fc17ea18bbb93f40fc6c4","href":"https://factioapp.com"},"favicon":"https://mintcdn.com/me-94224791/5bVkgcL-lfIQwY19/favicon.png?fit=max\u0026auto=format\u0026n=5bVkgcL-lfIQwY19\u0026q=85\u0026s=dc2a0f2d4bdcdd41c0a99318ba4a6413","api":{"playground":{"display":"interactive"}},"variables":{"API_PRODUCTION_URL":"https://api.factioapp.com","API_STAGING_URL":"https://api.staging.factioapp.com","APP_DOMAIN":"https://factioapp.com","WEB_DOMAIN":"https://factioapp.com","DOCS_DOMAIN":"https://docs.factioapp.com"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"me-94224791","hasAudioNarration":false,"actualSubdomain":"me-94224791","customDomains":["docs.factioapp.com"],"gitSource":{"type":"github","owner":"rommel96","repo":"factio-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6adadc96fa05280e66cb96eb","collectionId":"3a57dcf4-8616-4b38-a4ba-be618591770d","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6adadc96fa05280e66cb96eb"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6adadc96fa05280e66cb96eb","clientVersion":"0.0.4054","searchFilterCounts":[{"language":"default","tag":"Referencia API","count":88},{"language":"default","tag":"Authentication","count":21},{"language":"default","tag":"documents","count":21},{"language":"default","tag":"Guías","count":17},{"language":"default","tag":"establishments","count":11},{"language":"default","tag":"Buyers","count":8},{"language":"default","tag":"issuers","count":8},{"language":"default","tag":"tenant","count":6},{"language":"default","tag":"certificates","count":5},{"language":"default","tag":"Products","count":5}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/dashboard/get-operational-readiness","slug":"/api-reference/dashboard/get-operational-readiness","pageMetadata":{"title":"Get Operational Readiness","description":"Get operational readiness status for the current tenant.\n\nChecks if the tenant has all required entities configured and active:\n- Principal issuer (oldest by created_at)\n- Active certificate for that issuer\n- Establishment (oldest by created_at)\n- Emission point (oldest by created_at)\n\nThe environment is derived from the principal issuer or certificate.\nThe tenant is considered operational if all four entities are present and active.\n\nAll database operations use async/await for non-blocking I/O.\n\nArgs:\n db: Async database session\n tenant_id: Active tenant ID from authentication context\n current_user: Current user context from authentication\n\nReturns:\n OperationalReadinessResponse: Aggregated readiness status with entity details","deprecated":null,"version":null,"openapi":"/openapi.json get /dashboard/operational-readiness","href":"/api-reference/dashboard/get-operational-readiness","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n li: \"li\",\n p: \"p\",\n ul: \"ul\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Get operational readiness status for the current tenant.\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"Checks if the tenant has all required entities configured and active:\"\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsx(_components.li, {\n children: \"Principal issuer (oldest by created_at)\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Active certificate for that issuer\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Establishment (oldest by created_at)\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Emission point (oldest by created_at)\"\n }), \"\\n\"]\n }), \"\\n\", _jsx(_components.p, {\n children: \"The environment is derived from the principal issuer or certificate.\\nThe tenant is considered operational if all four entities are present and active.\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"All database operations use async/await for non-blocking I/O.\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"Args:\\ndb: Async database session\\ntenant_id: Active tenant ID from authentication context\\ncurrent_user: Current user context from authentication\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"Returns:\\nOperationalReadinessResponse: Aggregated readiness status with entity details\"\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Get Operational Readiness","description":"Get operational readiness status for the current tenant.\n\nChecks if the tenant has all required entities configured and active:\n- Principal issuer (oldest by created_at)\n- Active certificate for that issuer\n- Establishment (oldest by created_at)\n- Emission point (oldest by created_at)\n\nThe environment is derived from the principal issuer or certificate.\nThe tenant is considered operational if all four entities are present and active.\n\nAll database operations use async/await for non-blocking I/O.\n\nArgs:\n db: Async database session\n tenant_id: Active tenant ID from authentication context\n current_user: Current user context from authentication\n\nReturns:\n OperationalReadinessResponse: Aggregated readiness status with entity details","deprecated":null,"version":null,"openapi":"/openapi.json get /dashboard/operational-readiness","href":"/api-reference/dashboard/get-operational-readiness","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["dashboard"],"summary":"Get Operational Readiness","description":"Get operational readiness status for the current tenant.\n\nChecks if the tenant has all required entities configured and active:\n- Principal issuer (oldest by created_at)\n- Active certificate for that issuer\n- Establishment (oldest by created_at)\n- Emission point (oldest by created_at)\n\nThe environment is derived from the principal issuer or certificate.\nThe tenant is considered operational if all four entities are present and active.\n\nAll database operations use async/await for non-blocking I/O.\n\nArgs:\n db: Async database session\n tenant_id: Active tenant ID from authentication context\n current_user: Current user context from authentication\n\nReturns:\n OperationalReadinessResponse: Aggregated readiness status with entity details","operationId":"get_operational_readiness_dashboard_operational_readiness_get","parameters":["2fdd6c57-c805-43ae-810c-10d6fe43231b","72c71350-37cb-44fa-8330-ba4f4e1e5ae9","c7e7aaf2-b5e3-4ccf-b739-b5763a30e3ca","b5f72643-e53b-46bf-a51b-772f1e18284c"],"responses":{"200":"6e95546f-2f31-4bf5-ae98-12ddbd4e012b","422":"086b9de8-2c5f-442d-874a-e017e8417770"},"method":"get","type":"path","servers":["155c859b-4a78-40e5-a697-9b88e3d3358e","acf38126-c46f-4440-9b13-9d3c27c1336b"],"security":[],"path":"/dashboard/operational-readiness","baseUrlOptions":["https://api.factioapp.com","https://api.staging.factioapp.com"],"title":"Get Operational Readiness","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"2fdd6c57-c805-43ae-810c-10d6fe43231b":{"name":"authorization","in":"header","required":false,"schema":{"oneOf":[{"type":"string","title":"Authorization","uniqueKey":"oneOf.0","typeLabel":"string"},{"type":"null","title":"Authorization","uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"string | null"}},"72c71350-37cb-44fa-8330-ba4f4e1e5ae9":{"name":"x-api-key","in":"header","required":false,"schema":{"oneOf":[{"type":"string","title":"X-Api-Key","uniqueKey":"oneOf.0","typeLabel":"string"},{"type":"null","title":"X-Api-Key","uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"string | null"}},"c7e7aaf2-b5e3-4ccf-b739-b5763a30e3ca":{"name":"x-tenant-id","in":"header","required":false,"schema":{"oneOf":[{"type":"string","title":"X-Tenant-Id","uniqueKey":"oneOf.0","typeLabel":"string"},{"type":"null","title":"X-Tenant-Id","uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"string | null"}},"b5f72643-e53b-46bf-a51b-772f1e18284c":{"name":"factio_access_token","in":"cookie","required":false,"schema":{"oneOf":[{"type":"string","title":"Factio Access Token","uniqueKey":"oneOf.0","typeLabel":"string"},{"type":"null","title":"Factio Access Token","uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"string | null"}}},"responses":{"6e95546f-2f31-4bf5-ae98-12ddbd4e012b":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"issuer":{"oneOf":[{"type":"object","title":"IssuerResponse","description":"Schema for Issuer response.","required":["id","tenant_id","ruc","razon_social","nombre_comercial","legal_representative","direccion_matriz","tipo_contribuyente","sri_environment","is_active","created_at","updated_at"],"example":{"created_at":"2024-01-01T00:00:00Z","direccion_matriz":"Av. Principal 123 y Secundaria, Quito, Ecuador","id":"550e8400-e29b-41d4-a716-446655440000","is_active":true,"legal_representative":"Jane Doe","nombre_comercial":"Ejemplo Corp","razon_social":"EMPRESA EJEMPLO S.A.","ruc":"1234567890001","sri_environment":"TEST","tenant_id":"660e8400-e29b-41d4-a716-446655440000","tipo_contribuyente":"General","updated_at":"2024-01-01T00:00:00Z"},"properties":{"id":{"type":"string","format":"uuid","title":"Id","isRequired":true,"uniqueKey":"issuer.oneOf.0.id","typeLabel":"string\u003cuuid>"},"tenant_id":{"type":"string","format":"uuid","title":"Tenant Id","isRequired":true,"uniqueKey":"issuer.oneOf.0.tenant_id","typeLabel":"string\u003cuuid>"},"ruc":{"type":"string","title":"Ruc","isRequired":true,"uniqueKey":"issuer.oneOf.0.ruc","typeLabel":"string"},"razon_social":{"type":"string","title":"Razon Social","isRequired":true,"uniqueKey":"issuer.oneOf.0.razon_social","typeLabel":"string"},"nombre_comercial":{"oneOf":[{"type":"string","title":"Nombre Comercial","isRequired":true,"uniqueKey":"issuer.oneOf.0.nombre_comercial.oneOf.0","typeLabel":"string"},{"type":"null","title":"Nombre Comercial","isRequired":true,"uniqueKey":"issuer.oneOf.0.nombre_comercial.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"issuer.oneOf.0.nombre_comercial","typeLabel":"string | null"},"legal_representative":{"oneOf":[{"type":"string","title":"Legal Representative","isRequired":true,"uniqueKey":"issuer.oneOf.0.legal_representative.oneOf.0","typeLabel":"string"},{"type":"null","title":"Legal Representative","isRequired":true,"uniqueKey":"issuer.oneOf.0.legal_representative.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"issuer.oneOf.0.legal_representative","typeLabel":"string | null"},"direccion_matriz":{"type":"string","title":"Direccion Matriz","isRequired":true,"uniqueKey":"issuer.oneOf.0.direccion_matriz","typeLabel":"string"},"tipo_contribuyente":{"type":"string","title":"Tipo Contribuyente","isRequired":true,"uniqueKey":"issuer.oneOf.0.tipo_contribuyente","typeLabel":"string"},"sri_environment":{"type":"string","enum":["TEST","PRODUCTION"],"title":"SRIEnvironment","description":"SRI environment types.","isRequired":true,"uniqueKey":"issuer.oneOf.0.sri_environment","typeLabel":"enum\u003cstring>"},"is_active":{"type":"boolean","title":"Is Active","isRequired":true,"uniqueKey":"issuer.oneOf.0.is_active","typeLabel":"boolean"},"created_at":{"type":"string","format":"date-time","title":"Created At","isRequired":true,"uniqueKey":"issuer.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","title":"Updated At","isRequired":true,"uniqueKey":"issuer.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"},"notification_email":{"oneOf":[{"type":"string","title":"Notification Email","uniqueKey":"issuer.oneOf.0.notification_email.oneOf.0","typeLabel":"string"},{"type":"null","title":"Notification Email","uniqueKey":"issuer.oneOf.0.notification_email.oneOf.1","typeLabel":"null"}],"uniqueKey":"issuer.oneOf.0.notification_email","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"issuer.oneOf.0","typeLabel":"IssuerResponse · object"},{"type":"null","isRequired":true,"uniqueKey":"issuer.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"issuer","typeLabel":"IssuerResponse · object | null"},"certificate":{"oneOf":[{"type":"object","title":"CertificateResponse","description":"Schema for Certificate response (without sensitive data).","required":["id","tenant_id","issuer_id","subject_cn","serial_number","valid_from","valid_until","status","created_at","updated_at"],"example":{"created_at":"2024-01-01T00:00:00Z","id":"990e8400-e29b-41d4-a716-446655440000","issuer_id":"550e8400-e29b-41d4-a716-446655440000","serial_number":"1234567890ABCDEF","status":"active","subject_cn":"EMPRESA EJEMPLO S.A.","tenant_id":"660e8400-e29b-41d4-a716-446655440000","updated_at":"2024-01-01T00:00:00Z","valid_from":"2024-01-01T00:00:00Z","valid_until":"2026-01-01T00:00:00Z"},"properties":{"id":{"type":"string","format":"uuid","title":"Id","isRequired":true,"uniqueKey":"certificate.oneOf.0.id","typeLabel":"string\u003cuuid>"},"tenant_id":{"type":"string","format":"uuid","title":"Tenant Id","isRequired":true,"uniqueKey":"certificate.oneOf.0.tenant_id","typeLabel":"string\u003cuuid>"},"issuer_id":{"type":"string","format":"uuid","title":"Issuer Id","isRequired":true,"uniqueKey":"certificate.oneOf.0.issuer_id","typeLabel":"string\u003cuuid>"},"subject_cn":{"oneOf":[{"type":"string","title":"Subject Cn","isRequired":true,"uniqueKey":"certificate.oneOf.0.subject_cn.oneOf.0","typeLabel":"string"},{"type":"null","title":"Subject Cn","isRequired":true,"uniqueKey":"certificate.oneOf.0.subject_cn.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"certificate.oneOf.0.subject_cn","typeLabel":"string | null"},"serial_number":{"oneOf":[{"type":"string","title":"Serial Number","isRequired":true,"uniqueKey":"certificate.oneOf.0.serial_number.oneOf.0","typeLabel":"string"},{"type":"null","title":"Serial Number","isRequired":true,"uniqueKey":"certificate.oneOf.0.serial_number.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"certificate.oneOf.0.serial_number","typeLabel":"string | null"},"valid_from":{"type":"string","format":"date-time","title":"Valid From","isRequired":true,"uniqueKey":"certificate.oneOf.0.valid_from","typeLabel":"string\u003cdate-time>"},"valid_until":{"type":"string","format":"date-time","title":"Valid Until","isRequired":true,"uniqueKey":"certificate.oneOf.0.valid_until","typeLabel":"string\u003cdate-time>"},"status":{"type":"string","enum":["uploaded","active","expiring","expired","revoked","disabled"],"title":"CertificateStatus","description":"Status values for digital certificates.","isRequired":true,"uniqueKey":"certificate.oneOf.0.status","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","format":"date-time","title":"Created At","isRequired":true,"uniqueKey":"certificate.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","title":"Updated At","isRequired":true,"uniqueKey":"certificate.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"}},"isRequired":true,"uniqueKey":"certificate.oneOf.0","typeLabel":"CertificateResponse · object"},{"type":"null","isRequired":true,"uniqueKey":"certificate.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"certificate","typeLabel":"CertificateResponse · object | null"},"establishment":{"oneOf":[{"type":"object","title":"EstablishmentResponse","description":"Schema for Establishment response.","required":["id","tenant_id","issuer_id","code","name","address","is_active","created_at","updated_at"],"example":{"address":"Av. Principal 123, Quito, Ecuador","code":"001","created_at":"2024-01-01T00:00:00Z","id":"770e8400-e29b-41d4-a716-446655440000","is_active":true,"issuer_id":"550e8400-e29b-41d4-a716-446655440000","name":"Matriz","tenant_id":"660e8400-e29b-41d4-a716-446655440000","updated_at":"2024-01-01T00:00:00Z"},"properties":{"id":{"type":"string","format":"uuid","title":"Id","isRequired":true,"uniqueKey":"establishment.oneOf.0.id","typeLabel":"string\u003cuuid>"},"tenant_id":{"type":"string","format":"uuid","title":"Tenant Id","isRequired":true,"uniqueKey":"establishment.oneOf.0.tenant_id","typeLabel":"string\u003cuuid>"},"issuer_id":{"type":"string","format":"uuid","title":"Issuer Id","isRequired":true,"uniqueKey":"establishment.oneOf.0.issuer_id","typeLabel":"string\u003cuuid>"},"code":{"type":"string","title":"Code","isRequired":true,"uniqueKey":"establishment.oneOf.0.code","typeLabel":"string"},"name":{"oneOf":[{"type":"string","title":"Name","isRequired":true,"uniqueKey":"establishment.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Name","isRequired":true,"uniqueKey":"establishment.oneOf.0.name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"establishment.oneOf.0.name","typeLabel":"string | null"},"address":{"type":"string","title":"Address","isRequired":true,"uniqueKey":"establishment.oneOf.0.address","typeLabel":"string"},"is_active":{"type":"boolean","title":"Is Active","isRequired":true,"uniqueKey":"establishment.oneOf.0.is_active","typeLabel":"boolean"},"created_at":{"type":"string","format":"date-time","title":"Created At","isRequired":true,"uniqueKey":"establishment.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","title":"Updated At","isRequired":true,"uniqueKey":"establishment.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"}},"isRequired":true,"uniqueKey":"establishment.oneOf.0","typeLabel":"EstablishmentResponse · object"},{"type":"null","isRequired":true,"uniqueKey":"establishment.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"establishment","typeLabel":"EstablishmentResponse · object | null"},"emission_point":{"oneOf":[{"type":"object","title":"EmissionPointResponse","description":"Schema for EmissionPoint response.","required":["id","tenant_id","establishment_id","code","is_active","initial_sequential","created_at","updated_at"],"example":{"code":"001","created_at":"2024-01-01T00:00:00Z","establishment_id":"770e8400-e29b-41d4-a716-446655440000","id":"880e8400-e29b-41d4-a716-446655440000","initial_sequential":0,"is_active":true,"tenant_id":"660e8400-e29b-41d4-a716-446655440000","updated_at":"2024-01-01T00:00:00Z"},"properties":{"id":{"type":"string","format":"uuid","title":"Id","isRequired":true,"uniqueKey":"emission_point.oneOf.0.id","typeLabel":"string\u003cuuid>"},"tenant_id":{"type":"string","format":"uuid","title":"Tenant Id","isRequired":true,"uniqueKey":"emission_point.oneOf.0.tenant_id","typeLabel":"string\u003cuuid>"},"establishment_id":{"type":"string","format":"uuid","title":"Establishment Id","isRequired":true,"uniqueKey":"emission_point.oneOf.0.establishment_id","typeLabel":"string\u003cuuid>"},"code":{"type":"string","title":"Code","isRequired":true,"uniqueKey":"emission_point.oneOf.0.code","typeLabel":"string"},"is_active":{"type":"boolean","title":"Is Active","isRequired":true,"uniqueKey":"emission_point.oneOf.0.is_active","typeLabel":"boolean"},"initial_sequential":{"type":"integer","title":"Initial Sequential","isRequired":true,"uniqueKey":"emission_point.oneOf.0.initial_sequential","typeLabel":"integer"},"created_at":{"type":"string","format":"date-time","title":"Created At","isRequired":true,"uniqueKey":"emission_point.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","title":"Updated At","isRequired":true,"uniqueKey":"emission_point.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"}},"isRequired":true,"uniqueKey":"emission_point.oneOf.0","typeLabel":"EmissionPointResponse · object"},{"type":"null","isRequired":true,"uniqueKey":"emission_point.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"emission_point","typeLabel":"EmissionPointResponse · object | null"},"environment":{"oneOf":[{"type":"string","title":"SRIEnvironment","description":"SRI environment types.","enum":["TEST","PRODUCTION"],"isRequired":true,"uniqueKey":"environment.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","isRequired":true,"uniqueKey":"environment.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"environment","typeLabel":"enum\u003cstring> | null"},"readiness":{"properties":{"has_issuer":{"type":"boolean","title":"Has Issuer","isRequired":true,"uniqueKey":"readiness.has_issuer","typeLabel":"boolean"},"has_certificate":{"type":"boolean","title":"Has Certificate","isRequired":true,"uniqueKey":"readiness.has_certificate","typeLabel":"boolean"},"has_establishment":{"type":"boolean","title":"Has Establishment","isRequired":true,"uniqueKey":"readiness.has_establishment","typeLabel":"boolean"},"has_emission_point":{"type":"boolean","title":"Has Emission Point","isRequired":true,"uniqueKey":"readiness.has_emission_point","typeLabel":"boolean"},"is_operational":{"type":"boolean","title":"Is Operational","isRequired":true,"uniqueKey":"readiness.is_operational","typeLabel":"boolean"}},"type":"object","required":["has_issuer","has_certificate","has_establishment","has_emission_point","is_operational"],"title":"ReadinessFlags","description":"Boolean flags summarising operational readiness.","example":{"has_certificate":true,"has_emission_point":true,"has_establishment":true,"has_issuer":true,"is_operational":true},"isRequired":true,"uniqueKey":"readiness","typeLabel":"ReadinessFlags · object"}},"type":"object","required":["issuer","certificate","establishment","emission_point","environment","readiness"],"title":"OperationalReadinessResponse","description":"Full operational readiness response for a tenant.","example":{"readiness":{"has_certificate":false,"has_emission_point":false,"has_establishment":false,"has_issuer":false,"is_operational":false}},"uniqueKey":"","typeLabel":"OperationalReadinessResponse · object"},"examples":{"Example":{"title":"Example","value":{"readiness":{"has_certificate":false,"has_emission_point":false,"has_establishment":false,"has_issuer":false,"is_operational":false}}}},"exampleType":"generated"}},"exampleType":"generated"},"086b9de8-2c5f-442d-874a-e017e8417770":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"detail.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Location","isRequired":true,"uniqueKey":"detail.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"detail.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Error Type","isRequired":true,"uniqueKey":"detail.items.[INDEX].type","typeLabel":"string"},"input":{"oneOf":[{"title":"Input"}],"uniqueKey":"detail.items.[INDEX].input","typeLabel":"any"},"ctx":{"type":"object","title":"Context","uniqueKey":"detail.items.[INDEX].ctx","typeLabel":"Context · object"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError","uniqueKey":"detail.items.[INDEX]","typeLabel":"ValidationError · object"},"type":"array","title":"Detail","uniqueKey":"detail","typeLabel":"ValidationError · object[]"}},"type":"object","title":"HTTPValidationError","uniqueKey":"","typeLabel":"HTTPValidationError · object"},"examples":{"Example":{"title":"Example","value":{"detail":[{"loc":["\u003cstring>"],"msg":"\u003cstring>","type":"\u003cstring>","input":"\u003cunknown>","ctx":{}}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{},"servers":{"155c859b-4a78-40e5-a697-9b88e3d3358e":{"url":"https://api.factioapp.com","description":"Producción"},"acf38126-c46f-4440-9b13-9d3c27c1336b":{"url":"https://api.staging.factioapp.com","description":"Sandbox (datos de prueba, sin efecto fiscal real)"}}},"originalFileLocation":"openapi.json"},"subdomain":"me-94224791","siteName":"Factio","title":"Get Operational Readiness - Factio","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-20T01:49:31.862Z","originalFileLocation":"api-reference/dashboard/get-operational-readiness.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=\"Get operational readiness status for the current tenant. Checks if the tenant has all required entities configured and active: - Principal issuer (oldest by created_at) - Active certificate for that issuer - Establishment (oldest by created_at) - Emission point (oldest by created_at) The environment is derived from the principal issuer or certificate. The tenant is considered operational if all four entities are present and active. All database operations use async/await for non-blocking I/O. Args: db: Async database session tenant_id: Active tenant ID from authentication context current_user: Current user context from authentication Returns: OperationalReadinessResponse: Aggregated readiness status with entity details\">\u003cmeta data-mint-head name=\"application-name\" content=\"Factio\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"https://mintcdn.com/me-94224791/5bVkgcL-lfIQwY19/favicon.png?fit=max\u0026amp;auto=format\u0026amp;n=5bVkgcL-lfIQwY19\u0026amp;q=85\u0026amp;s=dc2a0f2d4bdcdd41c0a99318ba4a6413\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"https://mintcdn.com/me-94224791/5bVkgcL-lfIQwY19/favicon.png?fit=max\u0026amp;auto=format\u0026amp;n=5bVkgcL-lfIQwY19\u0026amp;q=85\u0026amp;s=dc2a0f2d4bdcdd41c0a99318ba4a6413\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"https://mintcdn.com/me-94224791/5bVkgcL-lfIQwY19/favicon.png?fit=max\u0026amp;auto=format\u0026amp;n=5bVkgcL-lfIQwY19\u0026amp;q=85\u0026amp;s=dc2a0f2d4bdcdd41c0a99318ba4a6413\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/png\" href=\"https://mintcdn.com/me-94224791/5bVkgcL-lfIQwY19/favicon.png?fit=max\u0026amp;auto=format\u0026amp;n=5bVkgcL-lfIQwY19\u0026amp;q=85\u0026amp;s=dc2a0f2d4bdcdd41c0a99318ba4a6413\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get Operational Readiness - Factio\">\u003cmeta data-mint-head property=\"og:description\" content=\"Get operational readiness status for the current tenant. Checks if the tenant has all required entities configured and active: - Principal issuer (oldest by created_at) - Active certificate for that issuer - Establishment (oldest by created_at) - Emission point (oldest by created_at) The environment is derived from the principal issuer or certificate. The tenant is considered operational if all four entities are present and active. All database operations use async/await for non-blocking I/O. Args: db: Async database session tenant_id: Active tenant ID from authentication context current_user: Current user context from authentication Returns: OperationalReadinessResponse: Aggregated readiness status with entity details\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Factio\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.factioapp.com/api-reference/dashboard/get-operational-readiness\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://me-94224791.mintlify.app/_mintlify/api/og/v2?division=dashboard\u0026amp;title=Get+Operational+Readiness\u0026amp;description=Get+operational+readiness+status+for+the+current+tenant.%0A%0AChecks+if+the+tenant+has+all+required+entities+configured+and+active%3A%0A-+Principal+issuer+%28oldest+by+cr\u0026amp;theme=e04c22958a665de58c7f2931\u0026amp;signature=a2f460d10e8cd9fb2258d5d9a3b4d2519b72b8f1b8aa830883cf3ca9e24ba0f4\">\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=\"Get Operational Readiness - Factio\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Get operational readiness status for the current tenant. Checks if the tenant has all required entities configured and active: - Principal issuer (oldest by created_at) - Active certificate for that issuer - Establishment (oldest by created_at) - Emission point (oldest by created_at) The environment is derived from the principal issuer or certificate. The tenant is considered operational if all four entities are present and active. All database operations use async/await for non-blocking I/O. Args: db: Async database session tenant_id: Active tenant ID from authentication context current_user: Current user context from authentication Returns: OperationalReadinessResponse: Aggregated readiness status with entity details\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://me-94224791.mintlify.app/_mintlify/api/og/v2?division=dashboard\u0026amp;title=Get+Operational+Readiness\u0026amp;description=Get+operational+readiness+status+for+the+current+tenant.%0A%0AChecks+if+the+tenant+has+all+required+entities+configured+and+active%3A%0A-+Principal+issuer+%28oldest+by+cr\u0026amp;theme=e04c22958a665de58c7f2931\u0026amp;signature=a2f460d10e8cd9fb2258d5d9a3b4d2519b72b8f1b8aa830883cf3ca9e24ba0f4\">\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=\"https://mintlify.s3.us-west-1.amazonaws.com/me-94224791/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Factio\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0F6FFF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.factioapp.com/api-reference/dashboard/get-operational-readiness\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/dashboard/get-operational-readiness.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.factioapp.com/#organization\",\"name\":\"Factio\",\"url\":\"https://docs.factioapp.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/me-94224791/5bVkgcL-lfIQwY19/logo/factio-light.svg?fit=max\u0026auto=format\u0026n=5bVkgcL-lfIQwY19\u0026q=85\u0026s=9425e17ca9555aa016ad9333f09072b1\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.factioapp.com#website\",\"name\":\"Factio\",\"url\":\"https://docs.factioapp.com\",\"publisher\":{\"@id\":\"https://docs.factioapp.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.factioapp.com/api-reference/dashboard/get-operational-readiness#webpage\",\"url\":\"https://docs.factioapp.com/api-reference/dashboard/get-operational-readiness\",\"name\":\"Get Operational Readiness\",\"description\":\"Get operational readiness status for the current tenant. Checks if the tenant has all required entities configured and active: - Principal issuer (oldest by created_at) - Active certificate for that issuer - Establishment (oldest by created_at) - Emission point (oldest by created_at) The environment is derived from the principal issuer or certificate. The tenant is considered operational if all four entities are present and active. All database operations use async/await for non-blocking I/O. Args: db: Async database session tenant_id: Active tenant ID from authentication context current_user: Current user context from authentication Returns: OperationalReadinessResponse: Aggregated readiness status with entity details\",\"dateModified\":\"2026-10-20T01:49:31.862Z\",\"isPartOf\":{\"@id\":\"https://docs.factioapp.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.factioapp.com/api-reference/dashboard/get-operational-readiness#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.factioapp.com/api-reference/dashboard/get-operational-readiness#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Factio\",\"item\":\"https://docs.factioapp.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get Operational Readiness\",\"item\":\"https://docs.factioapp.com/api-reference/dashboard/get-operational-readiness\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.factioapp.com/api-reference/dashboard/get-operational-readiness#apireference\",\"headline\":\"Get Operational Readiness\",\"name\":\"Get Operational Readiness\",\"description\":\"Get operational readiness status for the current tenant. Checks if the tenant has all required entities configured and active: - Principal issuer (oldest by created_at) - Active certificate for that issuer - Establishment (oldest by created_at) - Emission point (oldest by created_at) The environment is derived from the principal issuer or certificate. The tenant is considered operational if all four entities are present and active. All database operations use async/await for non-blocking I/O. Args: db: Async database session tenant_id: Active tenant ID from authentication context current_user: Current user context from authentication Returns: OperationalReadinessResponse: Aggregated readiness status with entity details\",\"url\":\"https://docs.factioapp.com/api-reference/dashboard/get-operational-readiness\",\"mainEntityOfPage\":{\"@id\":\"https://docs.factioapp.com/api-reference/dashboard/get-operational-readiness#webpage\"},\"dateModified\":\"2026-10-20T01:49:31.862Z\",\"publisher\":{\"@id\":\"https://docs.factioapp.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.factioapp.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Factio\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Factio","nav":{"global":null,"tabs":[{"tab":"Guías","pages":[{"title":"Guías","href":"/introduction"}]},{"tab":"Referencia API","groups":[{"group":"Authentication","pages":[{"title":"Google Oauth Callback","deprecated":null,"version":null,"openapi":"/openapi.json post /auth/google/callback","href":"/api-reference/authentication/google-oauth-callback"},{"title":"Get Google Auth Config","deprecated":null,"version":null,"openapi":"/openapi.json get /auth/google/config","href":"/api-reference/authentication/get-google-auth-config"},{"title":"Get Current User Profile","deprecated":null,"version":null,"openapi":"/openapi.json get /auth/me","href":"/api-reference/authentication/get-current-user-profile"},{"title":"Register Local User","deprecated":null,"version":null,"openapi":"/openapi.json post /auth/register","href":"/api-reference/authentication/register-local-user"},{"title":"Login Local User","deprecated":null,"version":null,"openapi":"/openapi.json post /auth/login","href":"/api-reference/authentication/login-local-user"},{"title":"Select Tenant After Login","deprecated":null,"version":null,"openapi":"/openapi.json post /auth/select-tenant","href":"/api-reference/authentication/select-tenant-after-login"},{"title":"Complete Onboarding Company","deprecated":null,"version":null,"openapi":"/openapi.json post /auth/onboarding/company","href":"/api-reference/authentication/complete-onboarding-company"},{"title":"Get Onboarding Draft","deprecated":null,"version":null,"openapi":"/openapi.json get /auth/onboarding/draft","href":"/api-reference/authentication/get-onboarding-draft"},{"title":"Validate Ruc","deprecated":null,"version":null,"openapi":"/openapi.json post /auth/onboarding/ruc-validate","href":"/api-reference/authentication/validate-ruc"},{"title":"Save Onboarding Company Draft","deprecated":null,"version":null,"openapi":"/openapi.json post /auth/onboarding/company/save","href":"/api-reference/authentication/save-onboarding-company-draft"},{"title":"Upload Onboarding Certificate","deprecated":null,"version":null,"openapi":"/openapi.json post /auth/onboarding/certificate/upload","href":"/api-reference/authentication/upload-onboarding-certificate"},{"title":"Save Onboarding Certificate Draft","deprecated":null,"version":null,"openapi":"/openapi.json post /auth/onboarding/certificate/save","href":"/api-reference/authentication/save-onboarding-certificate-draft"},{"title":"Save Onboarding Establishment Draft","deprecated":null,"version":null,"openapi":"/openapi.json post /auth/onboarding/establishment/save","href":"/api-reference/authentication/save-onboarding-establishment-draft"},{"title":"Finalize Onboarding","deprecated":null,"version":null,"openapi":"/openapi.json post /auth/onboarding/finalize","href":"/api-reference/authentication/finalize-onboarding"},{"title":"Change Password","deprecated":null,"version":null,"openapi":"/openapi.json post /auth/change-password","href":"/api-reference/authentication/change-password"},{"title":"Refresh Token","deprecated":null,"version":null,"openapi":"/openapi.json post /auth/refresh","href":"/api-reference/authentication/refresh-token"},{"title":"Link Google Account","deprecated":null,"version":null,"openapi":"/openapi.json post /auth/link-google","href":"/api-reference/authentication/link-google-account"},{"title":"List Api Keys","deprecated":null,"version":null,"openapi":"/openapi.json get /auth/api-keys","href":"/api-reference/authentication/list-api-keys"},{"title":"Create Api Key","deprecated":null,"version":null,"openapi":"/openapi.json post /auth/api-keys","href":"/api-reference/authentication/create-api-key"},{"title":"Revoke Api Key","deprecated":null,"version":null,"openapi":"/openapi.json delete /auth/api-keys/{key_id}","href":"/api-reference/authentication/revoke-api-key"},{"title":"Update Api Key","deprecated":null,"version":null,"openapi":"/openapi.json patch /auth/api-keys/{key_id}","href":"/api-reference/authentication/update-api-key"}]},{"group":"issuers","pages":[{"title":"Update allowlisted issuer display fields","deprecated":null,"version":null,"openapi":"/openapi.json patch /issuers/{issuer_id}/self-service","href":"/api-reference/issuers/update-allowlisted-issuer-display-fields"},{"title":"Lookup Issuer Taxpayer","deprecated":null,"version":null,"openapi":"/openapi.json get /issuers/lookup/ruc","href":"/api-reference/issuers/lookup-issuer-taxpayer"},{"title":"List Issuers","deprecated":null,"version":null,"openapi":"/openapi.json get /issuers","href":"/api-reference/issuers/list-issuers"},{"title":"Create Issuer","deprecated":null,"version":null,"openapi":"/openapi.json post /issuers","href":"/api-reference/issuers/create-issuer"},{"title":"Get Issuer","deprecated":null,"version":null,"openapi":"/openapi.json get /issuers/{issuer_id}","href":"/api-reference/issuers/get-issuer"},{"title":"Update Issuer","deprecated":null,"version":null,"openapi":"/openapi.json patch /issuers/{issuer_id}","href":"/api-reference/issuers/update-issuer"},{"title":"Archive Issuer","deprecated":null,"version":null,"openapi":"/openapi.json post /issuers/{issuer_id}/archive","href":"/api-reference/issuers/archive-issuer"},{"title":"Restore Issuer","deprecated":null,"version":null,"openapi":"/openapi.json post /issuers/{issuer_id}/restore","href":"/api-reference/issuers/restore-issuer"}]},{"group":"establishments","pages":[{"title":"Update allowlisted establishment display fields","deprecated":null,"version":null,"openapi":"/openapi.json patch /issuers/{issuer_id}/establishments/{establishment_id}/self-service","href":"/api-reference/establishments/update-allowlisted-establishment-display-fields"},{"title":"List Establishments","deprecated":null,"version":null,"openapi":"/openapi.json get /issuers/{issuer_id}/establishments","href":"/api-reference/establishments/list-establishments"},{"title":"Create Establishment","deprecated":null,"version":null,"openapi":"/openapi.json post /issuers/{issuer_id}/establishments","href":"/api-reference/establishments/create-establishment"},{"title":"Get Establishment","deprecated":null,"version":null,"openapi":"/openapi.json get /issuers/{issuer_id}/establishments/{establishment_id}","href":"/api-reference/establishments/get-establishment"},{"title":"Update Establishment","deprecated":null,"version":null,"openapi":"/openapi.json patch /issuers/{issuer_id}/establishments/{establishment_id}","href":"/api-reference/establishments/update-establishment"},{"title":"List Emission Points","deprecated":null,"version":null,"openapi":"/openapi.json get /issuers/{issuer_id}/establishments/{establishment_id}/emission-points","href":"/api-reference/establishments/list-emission-points"},{"title":"Create Emission Point","deprecated":null,"version":null,"openapi":"/openapi.json post /issuers/{issuer_id}/establishments/{establishment_id}/emission-points","href":"/api-reference/establishments/create-emission-point"},{"title":"Get Emission Point","deprecated":null,"version":null,"openapi":"/openapi.json get /issuers/{issuer_id}/establishments/{establishment_id}/emission-points/{emission_point_id}","href":"/api-reference/establishments/get-emission-point"},{"title":"Update Emission Point","deprecated":null,"version":null,"openapi":"/openapi.json patch /issuers/{issuer_id}/establishments/{establishment_id}/emission-points/{emission_point_id}","href":"/api-reference/establishments/update-emission-point"},{"title":"Archive Establishment","deprecated":null,"version":null,"openapi":"/openapi.json post /issuers/establishments/{establishment_id}/archive","href":"/api-reference/establishments/archive-establishment"},{"title":"Restore Establishment","deprecated":null,"version":null,"openapi":"/openapi.json post /issuers/establishments/{establishment_id}/restore","href":"/api-reference/establishments/restore-establishment"}]},{"group":"certificates","pages":[{"title":"Validate Certificate","deprecated":null,"version":null,"openapi":"/openapi.json post /issuers/certificates/validate","href":"/api-reference/certificates/validate-certificate"},{"title":"List Certificates","deprecated":null,"version":null,"openapi":"/openapi.json get /issuers/{issuer_id}/certificates","href":"/api-reference/certificates/list-certificates"},{"title":"Upload Certificate","deprecated":null,"version":null,"openapi":"/openapi.json post /issuers/{issuer_id}/certificates","href":"/api-reference/certificates/upload-certificate"},{"title":"Get Certificate","deprecated":null,"version":null,"openapi":"/openapi.json get /issuers/{issuer_id}/certificates/{cert_id}","href":"/api-reference/certificates/get-certificate"},{"title":"Revoke Certificate","deprecated":null,"version":null,"openapi":"/openapi.json delete /issuers/{issuer_id}/certificates/{cert_id}","href":"/api-reference/certificates/revoke-certificate"}]},{"group":"documents","pages":[{"title":"List Documents","deprecated":null,"version":null,"openapi":"/openapi.json get /documents","href":"/api-reference/documents/list-documents"},{"title":"Emitir una factura","deprecated":null,"version":null,"openapi":"/openapi.json post /documents","href":"/api-reference/documents/emitir-una-factura"},{"title":"Create Document Draft","deprecated":null,"version":null,"openapi":"/openapi.json post /documents/drafts","href":"/api-reference/documents/create-document-draft"},{"title":"Duplicate Document","deprecated":null,"version":null,"openapi":"/openapi.json post /documents/{document_id}/duplicate","href":"/api-reference/documents/duplicate-document"},{"title":"Redispatch Document","deprecated":null,"version":null,"openapi":"/openapi.json post /documents/{document_id}/redispatch","href":"/api-reference/documents/redispatch-document"},{"title":"Submit Document","deprecated":null,"version":null,"openapi":"/openapi.json post /documents/{document_id}/submit","href":"/api-reference/documents/submit-document"},{"title":"Authorize Document","deprecated":null,"version":null,"openapi":"/openapi.json post /documents/{document_id}/authorize","href":"/api-reference/documents/authorize-document"},{"title":"Cancel Document","deprecated":null,"version":null,"openapi":"/openapi.json post /documents/{document_id}/cancel","href":"/api-reference/documents/cancel-document"},{"title":"Create Credit Note","deprecated":null,"version":null,"openapi":"/openapi.json post /documents/{document_id}/credit-note","href":"/api-reference/documents/create-credit-note"},{"title":"Retry Document","deprecated":null,"version":null,"openapi":"/openapi.json post /documents/{document_id}/retry","href":"/api-reference/documents/retry-document"},{"title":"Resend Document Email","deprecated":null,"version":null,"openapi":"/openapi.json post /documents/{document_id}/resend-email","href":"/api-reference/documents/resend-document-email"},{"title":"Render a saved DRAFT without fiscal side effects","deprecated":null,"version":null,"openapi":"/openapi.json get /documents/{document_id}/draft-preview","href":"/api-reference/documents/render-a-saved-draft-without-fiscal-side-effects"},{"title":"Download Authorized Xml","deprecated":null,"version":null,"openapi":"/openapi.json get /documents/{document_id}/xml","href":"/api-reference/documents/download-authorized-xml"},{"title":"Download Ride Pdf","deprecated":null,"version":null,"openapi":"/openapi.json get /documents/{document_id}/ride","href":"/api-reference/documents/download-ride-pdf"},{"title":"Mark Document Failed","deprecated":null,"version":null,"openapi":"/openapi.json post /documents/{document_id}/mark-failed","href":"/api-reference/documents/mark-document-failed"},{"title":"Reconcile Document","deprecated":null,"version":null,"openapi":"/openapi.json post /documents/{document_id}/reconcile","href":"/api-reference/documents/reconcile-document"},{"title":"Get Document","deprecated":null,"version":null,"openapi":"/openapi.json get /documents/{document_id}","href":"/api-reference/documents/get-document"},{"title":"Delete Document Draft","deprecated":null,"version":null,"openapi":"/openapi.json delete /documents/{document_id}","href":"/api-reference/documents/delete-document-draft"},{"title":"Patch Document Draft Endpoint","deprecated":null,"version":null,"openapi":"/openapi.json patch /documents/{document_id}/draft","href":"/api-reference/documents/patch-document-draft-endpoint"},{"title":"Get Documents Summary","deprecated":null,"version":null,"openapi":"/openapi.json get /documents/summary","href":"/api-reference/documents/get-documents-summary"},{"title":"Get Document Status History","deprecated":null,"version":null,"openapi":"/openapi.json get /documents/{document_id}/status-history","href":"/api-reference/documents/get-document-status-history"}]},{"group":"tenant","pages":[{"title":"Get Tenant","deprecated":null,"version":null,"openapi":"/openapi.json get /tenant","href":"/api-reference/tenant/get-tenant"},{"title":"Update Tenant","deprecated":null,"version":null,"openapi":"/openapi.json patch /tenant","href":"/api-reference/tenant/update-tenant"},{"title":"Get Tenant Members","deprecated":null,"version":null,"openapi":"/openapi.json get /tenant/members","href":"/api-reference/tenant/get-tenant-members"},{"title":"Invite Member","deprecated":null,"version":null,"openapi":"/openapi.json post /tenant/members/invite","href":"/api-reference/tenant/invite-member"},{"title":"Delete Member","deprecated":null,"version":null,"openapi":"/openapi.json delete /tenant/members/{member_id}","href":"/api-reference/tenant/delete-member"},{"title":"Update Member","description":null,"deprecated":null,"version":null,"openapi":"/openapi.json patch /tenant/members/{member_id}","href":"/api-reference/tenant/update-member"}]},{"group":"dashboard","pages":[{"title":"Get Operational Readiness","deprecated":null,"version":null,"openapi":"/openapi.json get /dashboard/operational-readiness","href":"/api-reference/dashboard/get-operational-readiness"}]},{"group":"Buyers","pages":[{"title":"Look up a buyer by RUC or cédula","description":"Three-step buyer resolution: tenant profile → SRI cache → live SRI lookup.","deprecated":null,"version":null,"openapi":"/openapi.json get /buyers/lookup","href":"/api-reference/buyers/look-up-a-buyer-by-ruc-or-cédula"},{"title":"List buyer profiles","deprecated":null,"version":null,"openapi":"/openapi.json get /buyers","href":"/api-reference/buyers/list-buyer-profiles"},{"title":"Create a buyer profile","deprecated":null,"version":null,"openapi":"/openapi.json post /buyers","href":"/api-reference/buyers/create-a-buyer-profile"},{"title":"Get a buyer profile by ID","deprecated":null,"version":null,"openapi":"/openapi.json get /buyers/{profile_id}","href":"/api-reference/buyers/get-a-buyer-profile-by-id"},{"title":"Deactivate a buyer profile","deprecated":null,"version":null,"openapi":"/openapi.json delete /buyers/{profile_id}","href":"/api-reference/buyers/deactivate-a-buyer-profile"},{"title":"Update a buyer profile","deprecated":null,"version":null,"openapi":"/openapi.json patch /buyers/{profile_id}","href":"/api-reference/buyers/update-a-buyer-profile"},{"title":"Archive Buyer","deprecated":null,"version":null,"openapi":"/openapi.json post /buyers/{profile_id}/archive","href":"/api-reference/buyers/archive-buyer"},{"title":"Restore Buyer","deprecated":null,"version":null,"openapi":"/openapi.json post /buyers/{profile_id}/restore","href":"/api-reference/buyers/restore-buyer"}]},{"group":"Products","pages":[{"title":"List and search product/service catalog records","deprecated":null,"version":null,"openapi":"/openapi.json get /products","href":"/api-reference/products/list-and-search-productservice-catalog-records"},{"title":"Create a product/service catalog record","deprecated":null,"version":null,"openapi":"/openapi.json post /products","href":"/api-reference/products/create-a-productservice-catalog-record"},{"title":"Get a product/service catalog record","deprecated":null,"version":null,"openapi":"/openapi.json get /products/{product_id}","href":"/api-reference/products/get-a-productservice-catalog-record"},{"title":"Archive a product/service catalog record","deprecated":null,"version":null,"openapi":"/openapi.json delete /products/{product_id}","href":"/api-reference/products/archive-a-productservice-catalog-record"},{"title":"Update a product/service catalog record","deprecated":null,"version":null,"openapi":"/openapi.json patch /products/{product_id}","href":"/api-reference/products/update-a-productservice-catalog-record"}]},{"group":"system","pages":[{"title":"Health Check","deprecated":null,"version":null,"openapi":"/openapi.json get /health","href":"/api-reference/system/health-check"},{"title":"Root","deprecated":null,"version":null,"openapi":"/openapi.json get /","href":"/api-reference/system/root"}]}]}]},"basePath":"","title":"Get Operational Readiness - Factio","buildId":"dpl_345ReqzYaAjzS9QpeJemsKdb7KDj","deploymentId":"dpl_345ReqzYaAjzS9QpeJemsKdb7KDj","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C8RPHPxo.js","utils-0BK-9q6z.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DfjzsUJT.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-B4v9psJ4.js","snippetPresets-CpTQv-Ez.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-BNP-Fvr0.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BSgu6h1D.js","shallow-Biv1i9Gs.js","getApiPlaygroundDisplay-BoGOXhtF.js","CodeSnippet-DvQoT18_.js","CodeSnippets-Dnpa15xT.js","Page-Buji1S4J.js","getPastedJson-xAIyhUFE.js","icon-S6FBih11.js","MethodPill-SaYeUZyk.js","DuplicateIcon-Cs-p3v2Q.js","createIcon-DjCFEoHq.js","DynamicMarkdown-BcnBltEQ.js","SectionHeading-BUBl0eEF.js","axios-vUo_bRtp.js","Markdown-h4cOoD8d.js","clsx-B2v50t8t.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-DJnKvr0g.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BHrrjR1K.js"]}