Hoooooly crap! It worked! At least something popped up here :D

But as you can see, there are some placement issues, and some size issues. All expected issues, but your annotations got placed right?
And yes, i should figure out the ifcstore.path thing, but these other things are way to much fun :D
`import bpy
import ifcopenshell
import ifcopenshell.util.element as Element
import ifcopenshell.api.drawing.assign_product as Assign
import blenderbim.bim.import_ifc
from blenderbim.bim.ifc import IfcStore
import blenderbim.tool as tool
import math
from mathutils import Vector
ifcFile = ifcopenshell.open('C:\Users\johtho\OneDrive - Backe\04 Git_repos\Ifc Rebar Annotation\Ifc Rebar Annotations\Liten ARMERINGSKLOSS.ifc')
rebars = ifcFile.by_type('IfcReinforcingBar')
annotations = ifcFile.by_type('IfcAnnotation')
for obj in bpy.context.view_layer.objects:
if obj.name.startswith('IfcReinforcingBar/'):
x = obj.location.x
y = obj.location.y
z = obj.location.z
for rebar in rebars:
print (rebar.Name)
font_curve = bpy.data.curves.new(type="FONT", name="Font Curve")
font_curve.body = rebar.Name
font_obj = bpy.data.objects.new(name=rebar.Name, object_data=font_curve)
bpy.context.scene.collection.objects.link(font_obj)
bpy.data.objects[font_obj.name].location = Vector((x,y,z))`