Official register document (DE)
get_documentOn-demand official register document for ONE German company. Read-only.
Parameters:
- company_id (required): "DE:{court}_{type}{number}" (e.g. "DE:D2601_HRB135076"); a bare
German id works too. Austria is not supported here (its document flow is different).
- kind (optional): "AD" = Aktueller Abdruck (current register extract, default) or
"CD" = Chronologischer Abdruck -- the official Handelsregister abstract PDF; or
"JA" = Jahresabschluss -- the company's newest official annual financial statement as
published by the Unternehmensregister (served as the official HTML document, no PDF exists
at the source).
Returns a short-lived download link: {company_id, kind, url, bytes, cached, available,
source, expires_at, expires_in_seconds} (plus year, stichtag for "JA"). AD/CD are fetched
from handelsregister.de on demand (first call ~10 s, then cached); JA is served from the
stored official publication. When the register holds nothing for that kind, ``available``
is false with a ``note`` (never a dead link). A non-DE id returns an error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | AD | |
| company_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||