Skip to content

Court E-Filing

CaseSolo's court e-filing launch layer validates filing packages against priority jurisdiction profiles, stores filing state in case metadata, and links e-filing actions to case activity.

This is not a substitute for local court rules or attorney review. The launch validator catches technical package issues before provider submission; court-specific credentials and certified provider configuration are still required for live submission.

Runtime Surfaces

Supported Actions

Priority Rule Profiles

Built-in technical profiles currently cover:

Firm overrides can be supplied in Firm.settings.courtEfilingRuleProfiles. Provider credentials are configured separately in Firm.settings.courtJurisdictions.

Validation Model

Validation checks:

Validation results are persisted on each filing as ruleValidation so support, QA, and attorneys can inspect the exact source profile and issue list used when a filing package was prepared or submitted.

Activity And Audit Trail

The route creates case activity records for:

All metadata writes use case.updateMany({ where: { id, firmId } }) to keep mutation scope tenant-safe.

Verification

Targeted coverage:

Recommended local gates:

npm run test:run -- court-bridge case-efiling-live
npx eslint src/lib/integrations/court-bridge.ts 'src/app/api/cases/[caseId]/efiling/route.ts' 'src/app/(dashboard)/cases/[caseId]/efiling/page.tsx' src/__tests__/lib/court-bridge.test.ts src/__tests__/api/case-efiling-live.test.ts
npm run typecheck

Source: docs/dev/court-efiling.md