Thanks PaulC852,
I believe I found this on gov.hk / residents / immigration / traveldoc (cannot post hyperlink, need 5 posts).
It is called HK Re-entry Permit,
"Some Hong Kong residents require Re-entry Permits for travel to the Mainland of China and Macao Special Administrative Region."