Prerequisites

You should have

  • an user-account enabled for api access & order management access
  • an api-client

 

Generating a PDF

Generating a PDF-Document within Hublify is somewhat a standard functionality. It rather depends on where / how what you want to do with it.

.... download

Generating an Invoice-PDF-Document is actually a standard Hublify CMS's "Template Rendering"-function, just called with a dedicated "Invoice Template" and a designated "inv_id"-parameter (filter-value to let the template retrieve all its needed invoice-data).

To generate and download a generated Invoice-PDF-File, please details for that in the section: Generate a PDF Document


... send by email

Sending an Invoice-Email with an optional PDF-Attachment is actually a standard Hublify Message Builder "send"-function, just called with a dedicated "Invoice Message Template" and a designated "inv_id"-parameter (filter-value to let the template retrieve all its needed invoice-data).

If you want to send an email with invoice-data and optional (PDF-) attachment, please see the section: Email Versand