---
title: "Initialize the proforma environment"
method: POST
path: "/v2/providers/employers/{employerId}/proforma/initialize"
tags: ["Proforma"]
---

# Initialize the proforma environment

`POST /v2/providers/employers/{employerId}/proforma/initialize`

## Request

- Base URL: `https://api.loket.nl`
- URL: `https://api.loket.nl/v2/providers/employers/{employerId}/proforma/initialize`
- Auth: none required

__Activity name:__ <a href="https://developer.loket.nl/Activities/PostInitializeProformaByEmployerId" target="_blank">PostInitializeProformaByEmployerId</a>

Initialize a proforma environment (request the copying of data from live to proforma).

__Metadata :__ None

__Defaults :__ None

## Path parameters

- `employerId` string, uuid, required

## Headers

- `Authorization` string, required
- `Accept` string, required

## Request body

- InitializeProforma
  - `proformaType` 'WithSalaryResultsWithSalaryVariables' | 'WithSalaryResultsWithoutSalaryVariables' | 'WithoutSalaryResultsWithSalaryVariables' | 'WithoutSalaryResultsWithoutSalaryVariables' | 'WithoutEmployments'
  - `employeeId` string, uuid, nullable: If this Id is set all the employment of the specific employee will be copied to the proforma environment otherwise all employments are copied. Does not work in combination with `proformaType` = "Zonder dienstverbanden"

## Response `202`

Accepted

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/loket/apis/loket-api.md) - [All operations](https://skmtc.dev/loket/apis/loket-api/llms.txt) - [OpenAPI document](https://skmtc.dev/loket/apis/loket-api/revisions/32170564148f?raw)
