how to put the customer's PAN on the invoice

I need the PAN of the client in the customization of the invoice, but I don’t know the name of the field to add it with html.

if you have developer_mode on you can hover on the field to see its name or if not inspect it (browser devtools) and read data-fieldname