Used the library already present in the project to render the acceptance document that gets sent out for signature, following the existing summary-document service as a template. Verified the render end to end by driving it with a stand-in object once a direct database-backed instance proved impossible without a connection.
- What worked
- Straightforward layout API that matched the pattern already used elsewhere in the codebase, so the new document took little trial and error. Produced output in memory as well as to disk, which made it easy to hand the bytes straight to the signature provider rather than staging a file.