---
title: "Retrieves a list of accounting records for the specified payroll batch, to be imported into the general ledger of an external ERP system. This method returns the totals grouped by employee - notice that this may expose sensitive data."
method: GET
path: "/api/salarybatches/{batchId}/accounting/employee"
tags: ["SalaryBatches"]
---

# Retrieves a list of accounting records for the specified payroll batch, to be imported into the general ledger of an external ERP system. This method returns the totals grouped by employee - notice that this may expose sensitive data.

`GET /api/salarybatches/{batchId}/accounting/employee`

## Path parameters

- `batchId` integer, required

## Response `200`

OK

- IntectBusinessLogicExternalAccountingRecord[]
  - `Amount` number, double
  - `Units` number, double, nullable
  - `AccountNumber` string
  - `EntryDate` string, date-time
  - `Description` string
  - `SalaryTypeId` integer
  - `SalaryTypeName` string
  - `UserEmploymentId` integer, nullable
  - `ExpenseId` string, uuid, nullable
  - `DepartmentName` string
  - `DepartmentExternalReference` string
  - `Dimension1Value` string
  - `Dimension2Value` string
  - `Dimension3Value` string
  - `EmployeeName` string
  - `EmployeeExternalReference` string
  - `SalaryTypeSecondaryExternalReference` string
  - `AccountName` string
  - `SalaryTypeVatCode` string

---

[API](https://skmtc.dev/intect/apis/intect-rest-api.md) · [All operations](https://skmtc.dev/intect/apis/intect-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/intect/intect-rest-api/revisions/e256dcb495d4/schema)
