Skip to main content
GET
/
dashboard
/
operational-readiness
Get Operational Readiness
curl --request GET \
  --url http://localhost:8000/dashboard/operational-readiness
{
  "readiness": {
    "has_certificate": false,
    "has_emission_point": false,
    "has_establishment": false,
    "has_issuer": false,
    "is_operational": false
  }
}

Headers

authorization
string | null
x-api-key
string | null
x-tenant-id
string | null

Cookies

factio_access_token
string | null

Response

Successful Response

Full operational readiness response for a tenant.

issuer
IssuerResponse · object
required

Schema for Issuer response.

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"
}
certificate
CertificateResponse · object
required

Schema for Certificate response (without sensitive data).

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"
}
establishment
EstablishmentResponse · object
required

Schema for Establishment response.

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"
}
emission_point
EmissionPointResponse · object
required

Schema for EmissionPoint response.

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"
}
environment
enum<string> | null
required

SRI environment types.

Available options:
TEST,
PRODUCTION
readiness
ReadinessFlags · object
required

Boolean flags summarising operational readiness.

Example:
{
"has_certificate": true,
"has_emission_point": true,
"has_establishment": true,
"has_issuer": true,
"is_operational": true
}