Skip to content

fetchlist_dk

Niels-Peter Rønmos edited this page Feb 8, 2018 · 6 revisions
def fetchlist_dk(cvrnummer, date='dd', reports='AARSRAPPORT', style='dict') source]

Get metadata for 1 to many XBRL-instances in the Danish Business Authority's XBRL cloud.

Parameters

cvrnummer: string, length 8

Number in The Danish Central Business Register

date: string, optional, (default='dd')

Date of the wanted report. If there is no eport for the date, the lastest reports before the date will be returned.
Format: 'YYYY-MM-DD' e.g. '2016-12-31'

reports: string, optional, (default='AARSRAPPORT')

textstring to select all or a subset of typed of reports
'AARSRAPPORT': Default, only annual reports
'ALL': include all.

style: string, optional, (default='dict')

style of the return statement
'dict': Returns óne report
'list': Returns a list over all reports
'json': Returnere returns a list in json-format
'request': Returns a list in raw text
Returns dictionary or list of data:
'_id': uniq identifier in the report index.
'dokumentType': Type of report.
'dokumentUrl': Url for the dokument in the cloud.
'offentliggoerelsesTidspunkt': Time of publication of report.
'offentliggoerelsestype': Type of publication.
'omgoerelse': 'Overturn: True/False
'regNummer': Greenland business number (if one)
'sagsNummer': Case number in Danish Business Authority
'startDato': Start date of report
'slutDato': End date of report

Sample code

Clone this wiki locally