Skip to content

SR&ED Core Pipeline

The SR&ED workflow consists of five distinct AI-driven REST endpoints under AiController.

1. Pre-check (/api/sred/screener)

Purpose: Rapid eligibility screening based on CRA criteria. Action: Analyzes short descriptions or single documents to output a Go/No-Go probability score.

2. Review (/api/sred/review)

Purpose: Deep analysis of technical documents. Action: Scans provided contexts against the 5 CRA SR&ED criteria, outputting structured feedback on missing information or weak technological uncertainties.

3. T661 Generation (/api/sred/generate-t661)

Purpose: Generates the official T661 narrative (Lines 242, 244, 246). Action: Utilizes a highly complex prompt chain via Spring AI, aggregating multiple document contexts to write a professional tax narrative.

4. Time Extraction (/api/sred/extract-time)

Purpose: Validates timesheets. Action: Processes uploaded CSV timesheets to extract eligible SR&ED hours, filtering out administrative or non-eligible tasks.

5. Logbook (/api/sred/generate-logbook)

Purpose: Creates audit-ready documentation. Action: Transforms unstructured brainstorms, code commits, or notes into structured daily/weekly R&D logs.