---
agentTools:
  projectIndex: https://developers.payfit.io/llms.txt
---

# May improvements

## Add POST - /companies-fr/\{companyId}/health-insurance-setup-sheets endpoint

New endpoint to create or update health insurance contracts for a company, using setup sheets (documents sent to "net-entreprises.fr"). Available only for France and specific partners. More info [here](https://developers.payfit.io/reference/post_health_insurance_setup_sheets).

## Enhancement

* New scopes `health-insurance:read` & `health-insurance:write` introduced to enhance security for the new health insurance endpoint.
* Improved error logging during the OAuth2 flow to better capture invalid scopes and enhance troubleshooting.