Service Layer low complexity backend
1
Dependencies
0
Dependents
0
Entities
0
Integrations

Description

Server-side utility that generates or serves a pre-rendered PDF of the current DPA document. Ensures the downloaded file matches the on-screen content version and is labelled with the effective date for procurement audit trails.

Feature: Data Processing Agreement

dpa-pdf-service

Responsibilities

  • Generate or serve the static DPA PDF for download
  • Version-stamp the PDF with effective date matching the live page
  • Return the file with correct Content-Disposition headers for browser download

Interfaces

GET /api/v1/legal/dpa/pdf
generatePdf(version: string): Buffer

Relationships

Dependencies (1)

Components this component depends on