M5-10 PDF Verification Report Generation¶
Milestone: M5 — Disclosure and Verification
SOW Reference: FR3, INT7
Requirement Clarity: ✅ Clear
Dev Status: ❌ Not started — no PDF generation library exists anywhere in app/backend/package.json; the pdfS3Key column on the VerificationReport entity is currently unused dead schema
Overview¶
Let a Staffing Company download and save a PDF report of a verification outcome, for compliance/audit purposes — covering credentials within the whole Velocity ecosystem, not just those issued/verified via this platform.
Backend Tasks¶
- Add a PDF generation library (
pdfkit,puppeteer, or similar) — none currently present - Build a PDF report template covering the 5 verification checks plus credential/issuer metadata
- Wire the existing
VerificationReport.pdfS3Keycolumn up to actual storage (S3) and generation - Per the SOW, note VerifyMyCreds already contains this capability — confirm whether that code can be reused rather than built fresh
Frontend Tasks¶
- Add a "Download PDF" action on the verification result view
Dependencies¶
- M5-09 display verification checks — the PDF mirrors this content.
Acceptance Criteria¶
- PDF report generated
- PDF is downloadable
- PDF includes audit evidence (per SOW Appendix 3, FR3 acceptance criteria)
Existing Reference Material¶
Blockers & Risks¶
- Risk: confirm the VerifyMyCreds PDF-generation code-reuse question here too — same underlying uncertainty as M5-08.