Accounting financial reports

If you want an overview of what amounts have been booked to which accounts, you can follow this guide on how to retrieve financial data reports after completed payroll run.

There are two types of accounting reports

  • AM accounting
  • Brutto accounting

Depending on the company settings at the time of completing the payroll run.

In order to recieve accounting report first make sure you have completed payroll.

Request

We support API endpoints for retrieving booking data for the provided payroll run:

Example AM accounting

Copy
Copied
GET /api/companies/{companyUid}/payroll/{payrollUid}/am-accounting

Brutto accounting

Copy
Copied
GET /api/companies/{companyUid}/payroll/{payrollUid}/brutto-accounting

Both of the endpoints require companyUid and payrollUid as well as authorization token

    • payrollUid for the provided payroll must be with status Finished

Response

Am example Response

Copy
Copied
    {
    "departments": [
        {   "departmentName": "Administration",
            "departmentNumber": "4",
            "creditTotal": 28491.84,
            "debitTotal": 28491.84,
            "accountings": [
                {
                    "account": "2210",
                    "text": "AM-Indkomst - Løn",
                    "credit": 0.0,
                    "debit": 24061.13
                },
                {
                    "account": "2210",
                    "text": "ATP - Medarbejder",
                    "credit": 0.0,
                    "debit": 94.67
                },
                ...
            ]
        },
        ...
    ],
    "cvr": "37233994",
    "periodFrom": "2023-06-01T00:00:00",
    "payrollNumber": "9",
    "periodTo": "2023-06-30T00:00:00",
    "dispositionDate": "2023-06-30T00:00:00"
}

Brutto Example Response

Copy
Copied
    {
    "departments": [
        {   "departmentName": "Administration",
            "departmentNumber": "4",
            "creditTotal": 28491.84,
            "debitTotal": 28491.84,
            "accountings": [
                {
                    "wageCode": "110101",
                    "costCenterId": null,
                    "costCenterName": null,
                    "profitCenterId": null,
                    "profitCenterName": null,
                    "account": "2910",
                    "text": "Løn - Funktionær",
                    "credit": 0.0,
                    "debit": 100000.00
                },
                {
                   {
                    "wageCode": "110101",
                    "costCenterId": null,
                    "costCenterName": null,
                    "profitCenterId": null,
                    "profitCenterName": null,
                    "account": "9001",
                    "text": "Løn - Funktionær",
                    "credit": 100000.00,
                    "debit": 0.0
                },
                },
                ...
            ]
        },
        ...
    ],
    "cvr": "37233994",
    "periodFrom": "2023-06-01T00:00:00",
    "payrollNumber": "10",
    "periodTo": "2023-06-30T00:00:00",
    "dispositionDate": "2023-06-30T00:00:00"
}