Added workingTimeModality field to French contract endpoints (/companies/{companyId}/contracts-fr and /companies/{companyId}/contracts-fr/{contractId}). This field is only returned when the contracts:time-information:read scope is present.
Added support for employeeIsExempted on the French health insurance affiliation endpoint (PUT /companies/{companyId}/contracts-fr/{contractId}/health-insurance) to mark an employee as exempted.
Until now, activating an integration or a customer API token with the accounting:read permission only triggered the generation of accountingV2 documents after the next payroll.
From now on, when this permission is enabled, the system will also generate all available accountingV2 documents for the past 24 months for French entities — providing immediate historical data access.
Until now, only validated absences were returned by our endpoint GET absences. Good news ! We now return all absences regardless of their status.
By default, only approved absences will be returned, but you can override this behaviour by setting the status filter in the query to only retrieves absences you're interested by. You can also retrieve all absences by setting the status parameter to all.
It means you'll now be able to retrieve absences that are awaiting confirmation, or that were cancelled.
Add new endpoints to create a collaborator with a contract
Add POST - /companies/{companyId}/collaborators endpoint
New endpoint to create a collaborator, simplifying the onboarding process. More info here.
Add POST - /companies/{companyId}/collaborators/{collaboratorId}/contracts endpoint
New endpoint to create a contract for a collaborator, required to fullfill the previously created collaborator. More info here.
Enhancement
Add more information in the /introspect endpoint for customer with api token.
Fixes
Fixed issue with the absences endpoint, where remote absence types were incorrectly included in the returned values but will not be returned in this endpoint.
Add GET - /companies/{companyId}/absences endpoint
New endpoint for time off to manage employee leave requests. Returns the absences of the company. This list is paginated. The output can be filtered given some fields like contractId. More info here.
Add GET - /companies/{companyId}/payment-files endpoint
New endpoint to retrieve payment file payroll of the company for a given month. More info here.
Fixes
Fixed issue where the collaborator's manager information was missing.
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.
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.
Add GET - /companies/{companyId}/income-taxes-documents endpoint
New endpoint for tax income documents (UK only) to support regional compliance needs (P45, P60, P11D). More infor here.
Add GET - /companies/{companyId}/auto-enrolment-documents endpoint
New endpoint for company auto-enrolment documents (UK only). More info here.
Add GET - /companies/{companyId}/documents/{documentId} endpoint
New endpoint to retrieve a document by ID. More info here.
Add POST - /companies/{companyId}/contracts-fr/{contractId}/regularization endpoint
Sometimes, the affiliation of an employee was applied to late on Payfit. A regularization in app was requested to fix the issue. So we added a new endpoint to request regularisation on a contractId. More info here.
Enhancement
Improved detection of email types for collaborators and contracts to enhance validation accuracy.
Field healthInsuranceProrationMethod added to the getCompanyFR endpoint output for better clarity in proration rules. More info here.
Fixes
Resolved an issue in Accounting v2 where file names were incorrectly assigned.
Fixed missing columns in Accounting v2 for France to ensure accurate reporting.
Corrected the archived status for health insurance affiliation on contract management.