import Openregister from 'openregister';
const client = new Openregister({
apiKey: 'My API Key',
});
const response = await client.company.getFinancialsV1('company_id');
console.log(response.merged);{
"reports": [
{
"report_id": "<string>",
"consolidated": true,
"aktiva": {
"rows": [
{
"name": "<string>",
"formatted_name": "<string>",
"current_value": 123,
"previous_value": 123,
"children": "<array>"
}
]
},
"passiva": {
"rows": [
{
"name": "<string>",
"formatted_name": "<string>",
"current_value": 123,
"previous_value": 123,
"children": "<array>"
}
]
},
"report_start_date": "<string>",
"report_end_date": "<string>",
"guv": {
"rows": [
{
"name": "<string>",
"formatted_name": "<string>",
"current_value": 123,
"previous_value": 123,
"children": "<array>"
}
]
}
}
],
"merged": {
"aktiva": {
"rows": [
{
"name": "<string>",
"formatted_name": "<string>",
"values": {},
"children": "<array>"
}
]
},
"passiva": {
"rows": [
{
"name": "<string>",
"formatted_name": "<string>",
"values": {},
"children": "<array>"
}
]
},
"guv": {
"rows": [
{
"name": "<string>",
"formatted_name": "<string>",
"values": {},
"children": "<array>"
}
]
}
}
}import Openregister from 'openregister';
const client = new Openregister({
apiKey: 'My API Key',
});
const response = await client.company.getFinancialsV1('company_id');
console.log(response.merged);{
"reports": [
{
"report_id": "<string>",
"consolidated": true,
"aktiva": {
"rows": [
{
"name": "<string>",
"formatted_name": "<string>",
"current_value": 123,
"previous_value": 123,
"children": "<array>"
}
]
},
"passiva": {
"rows": [
{
"name": "<string>",
"formatted_name": "<string>",
"current_value": 123,
"previous_value": 123,
"children": "<array>"
}
]
},
"report_start_date": "<string>",
"report_end_date": "<string>",
"guv": {
"rows": [
{
"name": "<string>",
"formatted_name": "<string>",
"current_value": 123,
"previous_value": 123,
"children": "<array>"
}
]
}
}
],
"merged": {
"aktiva": {
"rows": [
{
"name": "<string>",
"formatted_name": "<string>",
"values": {},
"children": "<array>"
}
]
},
"passiva": {
"rows": [
{
"name": "<string>",
"formatted_name": "<string>",
"values": {},
"children": "<array>"
}
]
},
"guv": {
"rows": [
{
"name": "<string>",
"formatted_name": "<string>",
"values": {},
"children": "<array>"
}
]
}
}
}API Key Authentication Provide your API key as a Bearer token in the Authorization header.
Unique company identifier. Example: DE-HRB-F1103-267645
Success
Show child attributes
Unique identifier for the financial report. Example: f47ac10b-58cc-4372-a567-0e02b2c3d479
Whether the report is a consolidated report or not.
Show child attributes
Show child attributes
Show child attributes
All report periods merged into a single view
Show child attributes
Report table with data merged across multiple report periods
Show child attributes
Show child attributes
Report table with data merged across multiple report periods
Show child attributes
Show child attributes
Report table with data merged across multiple report periods
Show child attributes