Companies most similar to a given one - optionally ACROSS THE BORDER. Read-only.
Parameters:
- company_id (required): "AT:{fnr}" or "DE:{court}_{type}{number}" (bare national
ids accepted), from a search card.
- n (optional, default 10): how many peers per country.
- cross_border (optional, default false): when true, additionally returns
``peers_abroad`` - the companies in the OTHER country whose registered purpose
is semantically closest to the reference company's activity text.
Returns {company_id, country, peers_home, home_envelope, peers_abroad?, notes}.
``peers_home`` uses the home register's own peer logic (AT: same size class,
same industry preferred, nearest by Bilanzsumme; DE: semantic-first by registered
purpose). ``peers_abroad`` is a MEANING-based match, not a size or financial
benchmark - the honest cross-border comparison given the countries' different
data depth (see notes). Empty peers_home means the id is unknown or the company
lacks the data its register ranks by. For a strict filtered list use
search_companies; for aggregates use the country server's cohort tools.