WooCommerce integration

Refund settings

The refund PDF document configuration page is located at

WP Admin > WooCommerce > Oxilayer PDF Invoice > Refund

General Settings

  • Is Active - General enable/disable for all functionality related to refund PDF. If this option is disabled, all other options below on the configuration page will also be disabled.
  • Next Refund ID - refund increment ID. This allows you to have a separate refund ID from the order. It's important to keep them separate if you need a sequential refund ID with a +1 increment. Refund increment IDs are generated after a refund is created.

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

PDF Template Settings

DF Template - Here, you can choose a template for the refund PDF document. Only templates of the 'refund' type are listed here. If the list is empty, you will need to create a new refund 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

  • Refund PDF Name - This is the PDF file name for the refund 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: refund_{id}.pdf.
  • Refund List PDF name - This is the PDF file name for the refund collection, which is used in bulk actions when multiple invoice PDFs are merged into a single document. Available variable: {date}. The default value is: refunds_{date}.pdf.

Email Attachment Settings

Here, you can choose the email templates to which the refund 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 refund PDF function on the customer's order list page
  • Display Print Button in Frontend Order View Page - enable/disable the print refund PDF function on the customer's order view page.

Admin UI Settings

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