Docs Emboss - PDF Invoices, Credit Notes & Packing Slips for WooCommerce

Proforma invoices

A proforma invoice asks the customer to pay, but it isn't a tax invoice. Emboss uses it for orders that aren't paid yet, so your real invoice numbers only...

Proforma invoices#

A proforma invoice asks the customer to pay, but it isn’t a tax invoice. Emboss uses it for orders that aren’t paid yet, so your real invoice numbers only go to paid orders. Proforma invoices are free and on by default from version 1.1.0.

What the proforma shows#

  • The title Proforma invoice and the line “This is not a tax invoice.”
  • The amount due, shown once.
  • Your bank details for bank transfer orders, taken from the WooCommerce bank transfer (BACS) payment method.
  • Your cheque instructions for cheque orders.
  • A number made of your proforma prefix plus the order number, for example PRO-1234.

The proforma never uses an invoice number. Your invoice sequence stays free of gaps, even when a customer never pays.

Bank transfer and cheque orders#

Bank transfer and cheque orders wait on-hold until the money arrives. By default, Emboss gives them a proforma while they wait:

  1. The customer places a bank transfer order. The on-hold email carries the proforma with your bank details.
  2. The customer pays.
  3. You mark the order as paid (processing or completed).
  4. Emboss creates the invoice or receipt with the next number in your sequence.

To invoice those orders right away instead, go to WooCommerce > Settings > Invoices > General and set Bank transfer and cheque orders to Invoice right away. Orders that already have an invoice keep it either way.

Where customers and admins find it#

While the order waits for payment, the proforma has a download on:

  • The order screen box and the orders list.
  • My Account > Orders, for the customer.
  • The order received page after checkout.

Customers stop seeing the proforma once the order gets its invoice. If the proforma file goes missing, an admin download redraws it with the same number and date.

Emails#

EmailWhen the proforma goes with it
On-hold orderWhen the order has no invoice yet
Customer invoice / order detailsFor unpaid orders, including the Email customer button
New order (admin)For unpaid orders, where the invoice copy would have gone

Turn the email attachment on or off with Invoices > Emails > Proforma invoice. In link mode, the email links the proforma instead of attaching it.

Sending Email customer on an unpaid order doesn’t give the order an invoice number.

Settings#

SettingWhereDefault
Proforma invoicesInvoices > GeneralOn
Bank transfer and cheque ordersInvoices > GeneralProforma until paid
PrefixInvoices > Numbering > Proforma numberingPRO-
Proforma invoice (email attachment)Invoices > EmailsOn

REST API#

The documents map in GET /wp-json/epdi/v1/documents/{order_id} has a proforma entry while the order waits for payment. Download the PDF with ?type=proforma on the /pdf endpoint. See REST API.

Filters for developers#

FilterWhat it changes
epdi_proforma_availableWhether an order can have a proforma
epdi_proforma_gatewaysWhich payment methods get a proforma until paid (bank transfer and cheque by default)
epdi_proforma_noticeThe “This is not a tax invoice.” line
epdi_proforma_due_dateAdds a due date to the proforma. There is none by default.
epdi_proforma_payment_instructionsThe payment instructions block

Add your own offline gateway, for example a “pay on invoice” method, to epdi_proforma_gateways:

add_filter( 'epdi_proforma_gateways', function ( $gateways ) {
    $gateways[] = 'my_pay_later_gateway';
    return $gateways;
} );