Intelligence · Component · booking-pdf-documents
Booking vouchers, invoices and membership certificate PDFs
What it does
Render booking vouchers and membership certificates using the TypeScript PDFKit implementation, multilingual PHP/mPDF hotel vouchers, or ownership-checked cruise invoices through TCPDF. Template and data contracts differ by variant.
Core pattern
Structured fields to templates + multilingual document generation
- Input
- Booking and guest data
- Output
- PDF bytes
Key parameters
| Name | Type | Default | Values |
|---|---|---|---|
| operation | string | voucher | voucher · membership_certificate · cruise_invoice |
| booking_fields | — | — | — |
| language | — | — | — |
| document_type | — | — | — |
| branding_layout_in_source | — | — | — |
Maturity and limits
PDF service tests and separate certificate/voucher renderers. Phase 2: source paths and implementation inspected statically; tests and external integrations were not executed. Maturity rates repository implementation, not a verified production deployment.
PDF renderers are not authorization boundaries. TypeScript certificate renderer generates a membership certificate, not a generic booking certificate. Branding, fonts and locale selection need explicit template parameters; financial amounts and passenger data require validation.
1 sentence citing source paths or vendor names omitted for publication.
Used in pipelines
Not part of a pipeline yet; available as a standalone component.
Industry tags
- Travel & hotelsSource-supported industry
For work involving destinations, room rates and bookings, use structured fields to templates followed by multilingual document generation.
- Legal servicesTransferable use
For case-file organization and source-linked summaries, use structured fields to templates followed by multilingual document generation.
Skills pack
Contract scaffold and deterministic mock
Download · 12KBSHA-256 d5a45be67eb2b1df3277f0da240944b9dd074ff4b07a1086c2bd7c167a16c18f
Related components
-
Multi-image OTA rate extraction
Paired screenshot field recognition + structured comparison records
Working 1 pipeline -
Disclosure collection and text extraction
Document index collection + cleaned text and normalized references
Working 1 pipeline -
Legacy data and provenance migration
Legacy record mapping and import + orphan and completeness checks
Working 1 pipeline