v3

latestOpenAPI 3.1.02026-07-311,0939714.5 MB
Journal run

Recalculate journal for a payroll run

Activity name : <a href="https://developer.loket.nl/Activities/PostRecalculateJournalRunByPayrollrunId" target="_blank">PostRecalculateJournalRunByPayrollrunId</a><br><br>This is a controller endpoint to perform an action.<br><br>This action can only be performed for a payrollrun for which a successful journalrun allready exists. A recalculation of the journal for the given payroll run will result in the differences between the new run and all the previous runs. This allows a user to change the allocation of costs after a successful journal run and with a recalculation run have the correction to send to the financial software.<br><br>e.g. For a given employment the cost (500€) was incorrectly booked on the cost unit \Sales" this should have been "IT". After changing the journal alocation for this employment a recalculation was done (no other changes were made). This will result in 2 lines in the new journal run -500 for "sales" and +500 for "IT"<br><br>Metadata : Possible options for fields of the type 'metadata' can be acquired (GET) by adding /metadata to the POST URL.<br><br>Defaults : Defaults endpoint is available for this controller endpoint by adding /defaults. Also, an endpoint is available to retrieve initiation values for a specific period."

post/v2/providers/employers/payrolladministrations/payrollruns/{payrollrunId}/journalruns/recalculate

Path parameters

payrollrunIdstring uuid required

The unique identifier of the payroll run

Headers

Authorizationstring required
Example:Bearer <TOKEN>

A valid Bearer token for authorizing the request.

Acceptstring required
Example:application/json;version=2018-01-01

The accept header is used to influence what type of output is returned and in most cases the version of the output

Response

Accepted