Use the Flow Builder to create invoices automatically by adjusting the related flows or creating new flows.
Especially when invoices should always be created at a clearly defined point in the order process – for example, when a certain order status is reached or after payment is received – you save yourself the effort of creating invoices manually.
Below you will find step-by-step instructions for automatic invoice creation. You can find general information and tips on the Flow Builder here.
Make sure that invoices are created in only one way.
If you already create an invoice before picking & packing – whether through a flow or manually – the WMS will not create another invoice.
Therefore, before setting up a flow, check carefully whether invoices are already being created by other processes, at what point they should be created, and that no duplicate invoices are generated.
When does invoice creation via flow make sense?
Automatic invoice creation via the Flow Builder is particularly suitable when:
Invoices should always be created at a specific event in the order process (e.g. on a status change)
Invoices should be created independently of the WMS
Invoices should not be created manually in the backend
If you use Pickware WMS, you should check before setup whether and at which point invoices are already being created via the WMS to avoid duplicate invoices.
Recommended time for invoice creation
In many processes, it has proven effective to create invoices when the order status changes to “In progress”. At this point, it is usually ensured that the order is complete and can be processed further.
Which trigger makes sense for you depends on your individual process – for example, whether invoices should be created before or after payment is received.
Adding automatic invoice creation to a flow
Go to Settings → Shop → Flow Builder and click Add flow at the top.
Enter a name and, optionally, a description for your flow. If several flows use the same trigger, you can use the Priority here to define the order in which the flows are executed. Then set the Active button.
Next, switch to the Flow tab and select the trigger that best fits your processes.
Add a new action below it. You can find the desired action under General → Generate documents. Then select the document type Invoice as the document to be generated, as well as the warehouse the document should refer to. Then click Add action.
Now save the flow using the button at the top right. If needed, you can add further actions or conditions to better map your processes.
Why was no invoice created?
In Pickware for Shopify, invoices are only created automatically through a flow or during picking in the WMS App. The Automatic after picking option in the Pickware WMS document printing section of the shipping method only applies to the WMS App. If an invoice is missing, it is usually due to one of the following cases.
Conditions in the flow
If your flow checks for certain payment or shipping methods, new or renamed methods are often missing there. Add them to the condition of the flow.
Orders that contain only gift cards
Orders that contain only gift cards remain open or unfulfilled in Shopify. A flow that reacts to the In progress status therefore does not trigger. Create a separate flow for these orders that reacts to the payment state paid and uses the rule Line item with tag. Alternatively, you can have gift card items marked as fulfilled automatically in Shopify.
Other problems with automatic invoice creation
Invoice comment or metafields are missing on the invoice
If the invoice comment is missing on the automatically created invoice, the invoice was created before the comment was available in Pickware. In this case, create the invoice only in the default flows Partially Shipped or Completely Shipped.
Invoices for old, imported, or orders created directly in Pickware
No flows run for orders that were received before Pickware was installed and were imported afterwards. You can cancel incorrectly created invoices using Bulk edit.
If you do not want invoices to be created automatically for orders that you create directly in Pickware, add a condition to the flow that the Sales Channel is your Shopify Sales Channel.
Sending invoices to your customers by email
You can automate your invoice process even further by extending your email template with a button that lets your customers open the invoice directly. How to do this is described here.
