---
title: "Create health insurance contracts from setup sheets 🇫🇷"
method: POST
path: "/companies-fr/{companyId}/health-insurance-setup-sheets"
tags: ["Partners only"]
---

# Create health insurance contracts from setup sheets 🇫🇷

`POST /companies-fr/{companyId}/health-insurance-setup-sheets`

## Request

- Base URL: `https://partner-api.payfit.com`
- URL: `https://partner-api.payfit.com/companies-fr/{companyId}/health-insurance-setup-sheets`
- Auth: OAuth 2
  - Authorization code: `https://oauth.payfit.com/authorize`
  - Token URL: `https://oauth.payfit.com/token` scopes: `health-insurance:write`

Allows to create or update health insurance contracts of a company, given setup sheets.  Setup sheets are the documents sent to "net-entreprises.fr" when new health insurance or prevoyance contracts are available. Notes : - This is only available for French companies - This is only available to specific partners

\
**Required scopes**: *health-insurance:write*

## Path parameters

- `companyId` string, required

## Request body `multipart/form-data`

- object
  - `pdfFile` string, binary, required
  - `xmlFile` string, binary, required

## Response `201`

The setup sheet was correctly sent

- object

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found

---

[API](https://skmtc.dev/payfit/apis/partner-api.md) - [All operations](https://skmtc.dev/payfit/apis/partner-api/llms.txt) - [OpenAPI document](https://skmtc.dev/payfit/apis/partner-api/revisions/4ad2186afd5e?raw)
