How to hide/show item custom filed in the invoice PDF on web?

Go to document settings >> Click on add custom fields >> Turn off hide in PDF or Turn on to show in PDF option.