epost_letter_pdf
Fetch a letter's base64 PDF or EML by letter_id from the Swiss ePost digital letterbox to decode payment QR codes or create backups without writing to disk.
Instructions
The document of one letter, in the inbox or filed in Storage, by letter_id, as base64 in the answer: for a client that decodes the payment QR code or keeps a backup without a shared disk. A scan is a PDF (format pdf, also as pdf_base64); a letter that came through IncaMail is the e-mail itself (format eml, message/rfc822). content_base64 holds either. Nothing is written where this server runs. At most 10 MB (EPOST_PDF_MAX_BYTES).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| letter_id | Yes |