Used the existing PDF library to build a settlement acceptance document for upload to the signing provider, following the app’s current in-process generation pattern.
- What worked
- A new acceptance PDF could be generated the same way as the existing claim summary document, with no extra rendering stack.
- What got in the way
- Compressed output makes plaintext assertions unreliable, so tests could only assert PDF magic bytes rather than visible settlement text.