---
title: "Generate a historical payroll import template"
method: GET
path: "/payrolls/{payroll}/import"
tags: ["Payrolls"]
---

# Generate a historical payroll import template

`GET /payrolls/{payroll}/import`

Downloads a CSV template pre-populated with employees on the pay schedule for importing historical payroll data.

The payroll must be a historical or correction payroll in draft status.

## Path parameters

- `payroll` string, required

## Query parameters

- `template` 'all_types' | 'preset', required

## Response `200`

OK

---

[API](https://skmtc.net/nmbr/apis/nmbr-api.md) · [All operations](https://skmtc.net/nmbr/apis/nmbr-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/nmbr/nmbr-api/versions/01cd9c45a923/schema)
