By adding the .entity. part you basically say to the PDF to get the info from the attached entity (in this case a customer).
Take care though that you source the info from the correct source. A Payment Term is present both on Record and Customer. This can be different and Record should be the leading source. Check with accounting if you are unsure.