Try to use the "Identification Label 19" Label.
It can display the ID of Doors/Windows and it has a choice of many shapes for the Label Frame.
Please note that the "Frame Shape" field in the "Label Geometry" page of the "Custom Settings" panel of the Label Settings Dialog is enabled only when the "Frame" checkbox is checked in the "Text Style" panel.
Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac27