From capo- + ufficio.
capoufficio m or f by sense (masculine plural capiufficio, feminine plural invariable)