Please follow the steps mentioned below to show expiry column in PDF
Step 1:- Turn on the show batch details, refer to the article below.
Step 2:- Go to Document settings >> Click on custom field
Step 3:- Enable the Show in PDF option