Suggestions:
System generates auto Purchase receipt in case of channel partner.
In case the supplier is a channel partner then after despatch confirmation an auto Purchase receipt gets created.
Also if return replacement is done then also auto Purchase receipt get generated.
Channel partner:If the customer is a channel partner. The channel partners are business houses who does business exclusive for the organisation or a representative of the organisation for some purpose.