pkgpart in invoice templates (2.3 backport), #19907