Skip to content

PDF Generation

Overview

Invoice PDFs are rendered provider-side by VNPAY (viiAPI) - not by BANA. There is no local PDF engine (no pdfkit), no local QR or Vietnamese-font handling, and no local PDF template. The legal PDF (layout, QR code, signature block) is produced entirely by the provider.

@nx/invoice fetches the rendered PDF on demand through the @nx/iiapi adapter.

What @nx/invoice Does

ConcernOwner
PDF rendering (layout, QR, fonts, amount-in-words)VNPAY (provider)
On-demand fetch@nx/iiapi getInvoicePdf (invoice-management.service.ts)
Request / response typesTGetPdfInvoiceRequestTGetPdfResponse

Fetch Flow

Proprietary and Confidential. Unauthorized copying, distribution, or use of this software is strictly prohibited.