How to add item custom fields only for specific documents?

To add fields for specific documents please follow the below steps.

Step 1: go to document settings.

Step 2: Click on add custom fields.

Step 3: Select items section >> Click on add new custom fields.

Step 4: Add the field name >> Click on the document type and select the documents in which you want to show the field >> Select the type >> Click on save.