WooCommerce integration

Invoice settings

The Invoice PDF document configuration page is located at

WP Admin > WooCommerce > Oxilayer PDF Invoice > Invoice

General Settings

  • Is Active - Enable or disable all functionality related to invoice PDF. If this option is disabled, all other options below on the configuration page will also be disabled.
  • Next Invoice ID - Invoice Increment ID allows you to have a separate invoice ID from the order ID. This separation is important if you need to maintain a sequential invoice numbering system. In WooCommerce, order IDs are generated for every order, but not all orders may be paid. To ensure the sequential numbering of invoice numbers, they are kept separate. Invoice increment IDs are generated after the invoice document is created, confirming that payment has been received and the order is paid

    Here, you can set the next invoice ID and format. Your next invoice will use this current increment ID and automatically increase by +1 for the next invoice. All digits must be at the end. Here are some examples: SS-0000001, INV4000001.

PDF Template Settings

PDF Template - Here, you can choose a template for the invoice PDF document. Only templates of the 'invoice' type are listed here. If the list is empty, you will need to create a new invoice PDF template at:

WP Admin > WooCommerce > Oxilayer PDF Invoice > PDF Templates > Create New Template

Our extension allows you to use different templates according to payment or shipping methods. We recommend setting a general template for all payment and shipping methods initially and then configuring specific templates if needed.

File Settings

  • Invoice PDF Name - This is the PDF file name for the invoice document. You can use the following variables in the file name: {date}, {id}, {increment_id}. The name must include a file extension. The default value is: invoice_{id}.pdf.
  • Invoice List PDF name - This is the PDF file name for the invoice collection, which is used in bulk actions when multiple invoice PDFs are merged into a single document. Available variable: {date}. The default value is: invoice_{date}.pdf.

Email Attachment Settings

Here, you can choose the email templates to which the invoice PDF document should be attached. The list is dynamic and depends on the available email templates.

Frontend UI Settings

  • Display Print Icon in Frontend Order List - enable/disable the print invoice PDF function on the customer's order list page
  • Display Print Button in Frontend Order View Page - enable/disable the print invoice PDF function on the customer's order view page.

Admin UI Settings

  • Display Print Icon in Order List - enable/disable the print invoice PDF icon in the admin orders list 'Documents' column.
  • Display Print Button in Order View Page - enable/disable the 'Print invoice' button in the admin order view page.