Generating a PDF invoice can be done in several ways. The process typically involves selecting a template, entering invoice details, and saving or exporting the document as a PDF. Additionally, invoices can be created manually by using computer software to create an invoice using built-in templates, which can then be saved or printed as a PDF.