---
title: "Changes to Pre Import CSV data"
method: POST
path: "/api/v1/preimport"
---

# Changes to Pre Import CSV data

`POST /api/v1/preimport`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 10 of 110 revisions.

- **2026-03-03** `db27eff432ca`: 2 breaking, 7 info
- **2024-06-06** `8e82a2bd77e0`: 1 breaking, 2 info
- **2024-06-05** `e61df65649e2`: 1 breaking, 2 warning
- **2024-03-07** `71171a40d629`: 4 breaking, 7 info
- **2024-02-18** `88bbc1f38ff7`: 4 breaking, 7 warning
- **2024-02-10** `4ad0fff44c6c`: 4 info
- **2024-01-24** `9dab078a46b5`: 1 info
- **2024-01-20** `70cd94370516`: 1 breaking
- **2023-07-08** `627936439128`: 4 breaking
- **2023-02-18** `ab767c581aef`: 2 info

## Changes

- **2026-03-03** `db27eff432ca`: 2 breaking, 7 info
  - added the new required request property `import_type`
  - the request's body type changed from `string` to `object`, and format from `binary` to no format
  - added the new optional request property `files[client]`
  - added the new optional request property `files[expense]`
  - added the new optional request property `files[invoice]`
  - added the new optional request property `files[payment]`
  - added the new optional request property `files[product]`
  - added the new optional request property `files[vendor]`
  - added the media type `application/json` for the response with the status `200`
- **2024-06-06** `8e82a2bd77e0`: 1 breaking, 2 info
  - the response's body type changed from no type to `object` for status `default`
  - added the optional property `code` to the response with the `default` status
  - added the optional property `message` to the response with the `default` status
- **2024-06-05** `e61df65649e2`: 1 breaking, 2 warning
  - the response's body type changed from `object` to no type for status `default`
  - removed the optional property `code` from the response with the `default` status
  - removed the optional property `message` from the response with the `default` status
- **2024-03-07** `71171a40d629`: 4 breaking, 7 info
  - the response's body type changed from no type to `object` for status `401`
  - the response's body type changed from no type to `object` for status `403`
  - the response's body type changed from no type to `object` for status `422`
  - the response's body type changed from no type to `object` for status `default`
  - added the optional property `code` to the response with the `default` status
  - added the optional property `errors` to the response with the `403` status
  - added the optional property `errors` to the response with the `422` status
  - added the optional property `message` to the response with the `401` status
  - added the optional property `message` to the response with the `403` status
  - added the optional property `message` to the response with the `422` status
  - added the optional property `message` to the response with the `default` status
- **2024-02-18** `88bbc1f38ff7`: 4 breaking, 7 warning
  - the response's body type changed from `object` to no type for status `401`
  - the response's body type changed from `object` to no type for status `403`
  - the response's body type changed from `object` to no type for status `422`
  - the response's body type changed from `object` to no type for status `default`
  - removed the optional property `code` from the response with the `default` status
  - removed the optional property `errors` from the response with the `403` status
  - removed the optional property `errors` from the response with the `422` status
  - removed the optional property `message` from the response with the `401` status
  - removed the optional property `message` from the response with the `403` status
  - removed the optional property `message` from the response with the `422` status
  - removed the optional property `message` from the response with the `default` status
- **2024-02-10** `4ad0fff44c6c`: 4 info
  - added the media type `application/json` for the response with the status `401`
  - added the media type `application/json` for the response with the status `403`
  - added the media type `application/json` for the response with the status `422`
  - added the media type `application/json` for the response with the status `default`
- **2024-01-24** `9dab078a46b5`: 1 info
  - endpoint added
- **2024-01-20** `70cd94370516`: 1 breaking
  - api path removed without deprecation
- **2023-07-08** `627936439128`: 4 breaking
  - removed the media type `application/json` for the response with the status `401`
  - removed the media type `application/json` for the response with the status `403`
  - removed the media type `application/json` for the response with the status `422`
  - removed the media type `application/json` for the response with the status `default`
- **2023-02-18** `ab767c581aef`: 2 info
  - added the non-success response with the status `401`
  - added the non-success response with the status `403`

---

[Operation](https://skmtc.dev/invoiceninja/apis/invoice-ninja-api-reference/docs/api/v1/preimport/post.md) - [API](https://skmtc.dev/invoiceninja/apis/invoice-ninja-api-reference.md) - [Page](https://skmtc.dev/invoiceninja/apis/invoice-ninja-api-reference/changes/api/v1/preimport/post)
