Skip to main content

Print lot numbers and expiry dates on packing slips, invoices and pick lists

When a product is lot-tracked, SKU.io prints its lot numbers and expiry dates on your documents. A packing slip or an invoice lists the lots each line shipped from, with each lot's expiry date and units. A pick list names the lot to pull for each row, and shipping from that list records those same lots. A buyer, an inspector or a recall can then match the box to the batch. Products without lot tracking print exactly as before.

Before you begin​

  • The products are lot-tracked, and their stock was received with lot numbers. See Set up lot and expiration tracking.
  • To change the setting, you can edit settings. To edit a template, you can manage PDF templates.

Steps​

  1. Go to Settings, choose Inventory, and open Serial & Lot Tracking.
  2. Scroll down to Printed documents and check Print Lots on Documents. It's on by default. Switch it off to stop printing lots on every document, then click Save Changes.
  3. Go to Orders → Pick Lists and open a pick list. Under LOT TO PICK, each row shows the lot to pull, with its expiry date. A row that needs more than one lot shows each lot and its units, earliest expiry first.
  4. Print the pick list, a packing slip or an invoice as usual. Each lot-tracked line prints its lots. A template you edited prints them once you add the Lots block to it (see Add lots to a template you edited).

The Printed documents section of Serial & Lot Tracking

What each document prints​

DocumentWhat it shows for a lot-tracked line
Pick list (printed and on screen)The lot to pick for each row, with its expiry date. A row that spans two lots shows the units from each. An expired lot is marked EXPIRED.
Packing slip for a shipmentThe lots that shipment drew, with expiry dates, and the units from each when there are several.
Packing slip printed before shippingThe lots the order's pick list planned, so the slip in the box matches the pick list. A line not on a pick list shows the lots it will draw: a lot chosen when submitting, otherwise the earliest-expiring lot (or the oldest, for a product that uses first in, first out).
Packing slip for a whole orderThe lots of everything shipped so far, then "Lot: the rest assigned at shipment" for units that haven't shipped.
Sales invoiceThe lots the invoice's shipments drew.

A pick list naming the lot to pick on each row

A packing slip listing the lots each line shipped from

An invoice with each line's lots under its description

How the pick list chooses the lot​

When you create a pick list, SKU.io plans the lot for every row and keeps that plan with the list. It takes a lot already chosen for the order first, then the product's own order: earliest expiry first, or oldest first for a product that uses first in, first out. Quarantined lots come last. Rows are planned in pick order. Two rows of the same product never claim the same units, and a new pick list plans around the lots earlier open lists already hold.

The plan doesn't change after the list is created. A reprint shows the same lots, and a short pick on one row doesn't move another row's lot. When you fulfill the list, each order ships from the lots its rows named. When the list is sent to the pack station, the planned lots are kept on the order and pre-filled when you submit the fulfillment. If the stock changed in the meantime and a planned lot can't cover the units anymore, that product ships by the normal lot order instead, and the shipment's packing slip and invoice show the lots that actually shipped.

The lot to pick on the pick screen

Add lots to a template you edited​

The standard pick list, packing slip, blind dropship packing slip and invoice templates already print lots. A template you changed prints them once you add the lot block.

  1. Go to Settings, choose General, then PDF Templates, and click the pencil on the template you changed.
  2. In the code editor, put your cursor inside the items loop, where the line's details print.
  3. In the Variables panel, open Items, then Lots & expiry.
  4. Click Lots block to insert a ready line that lists the lots, with expiry and units.
  5. Click Save, then print a document to check it.

The Lots & expiry variables in the template editor

The Lots & expiry group also has each value on its own, such as Lots (text) for one line of text, Lot Numbers for a narrow column, and Lots (each) to lay out each lot yourself. For the full list, see Variables reference.

Next steps​

Video transcript

Open Serial & Lot Tracking — To print lot numbers and expiry dates on your paperwork, start in Settings. Open the Inventory section, and then choose the page called Serial and Lot Tracking. It holds the tracking defaults for your whole account.

Print lots on documents — Further down sits a section called Printed documents. Its Print lots on documents switch is on by default. While it's on, every lot-tracked line shows its batch and expiry date. Products without lot tracking look exactly as before.

Open a pick list — Your pickers also get told which batch to pull. To see this for yourself, go to the Orders menu in the sidebar, and choose Pick Lists. Each one in the table has a reference. Click that number, and the list opens with every row it holds.

The lot to pick — Under Lot to pick, each row names the lot, with its expiry date. This row needs sixteen units, so it takes eight from each of two batches, with the earliest expiry listed first. The plan is fixed when the list is built. Shipping from the list records exactly those lots.

Templates you edited — The standard templates already include lots. A template you customized needs one small addition. Go back to Settings, and open the General section there. It covers your company details, your currencies and your printed paperwork. From that group, choose PDF Templates. This page lists every document template, along with the stores each one prints for.

Open the template — Find the one you changed, and click the pencil on its row. The editor opens with the code on the left and the variables on the right.

The Lots & expiry variables — In the Variables panel, expand the Lots and expiry group under Items. Put your cursor inside your items loop, then click Lots block to insert a ready lot line. Save your change, and print a slip to check the result.

Last verified: