After creating the Miscellaneous fee type, need to map the legal entity to misc fee type by following the below path
Settings --> Finance --> Manage Fee Accounts --> Legal Entity to Classes --> Select the Branch, Type of Fee, Fee Type and hit "Get" --> Select the Fee account Name and click on "Bulk Save"
Note: If you map the misc fee type to legal entity, then only fee details will be shown in the receipt entry screen against the student.