To add custom fields for specific documents please follow the below steps.
Step 1: Go to document settings:
Step 2: Click on Ass Custom Fields.
Step 3: Add/ Edit the custom field.
Step 4: Select the document type for the custom field and Save it.