SalaryBatches

Approves a payroll batch, locking it for editing. This prevents re-calculation but does not finalize the batch. (Another way to think of it is submitting the batch for final approval). Employees are NOT notified nor given access to preliminary paylips - to enable this, call the /withpreliminarypayslips route instead.

post/api/salarybatches/{batchId}/approve

Path parameters

batchIdinteger required

The ID of the batch to approve.

Response

OK

IsDraftboolean
IsLockedboolean
IsFinalizedboolean
Idinteger
CompanyIdinteger
SalaryPeriodIdinteger
Createdstring date-time
StatusIdinteger
Approvedstring date-time nullable
RejectionReasonstring
Rejectedstring date-time nullable
EIncomeTransferDatestring date-time nullable
Messagestring
PayoutDatestring date-time
HasErrorsboolean
HasWarningsboolean
NetsPaymentsProcessingDatestring date-time nullable
IsTerminationboolean
EIncomeZeroReportboolean
SalaryBatchNumberinteger
PaymentMethodSalaryinteger
PaymentMethodTaxinteger
PaymentMethodPensioninteger
PayslipsArchivedboolean
LimitToSpecificEmployeesboolean
EBoksDeliveryEnabledboolean
PayoutAllFlexboolean
SpecifiedEmployeesstring
HasNemKontoPaymentsboolean
PaymentMethodPublicPensioninteger
PaymentMethodVacationProviderinteger
ToArchiveboolean
Finalizedstring date-time nullable
AllowPreliminaryPayslipsboolean
PackageLevelWhenFinalizedinteger nullable
IsAutomatedboolean
PayoutNewFlexboolean
ApprovedUserIdinteger nullable
CreatedUserIdinteger nullable
FinalizedUserIdinteger nullable
RejectedUserIdinteger nullable
FromDateOverridestring date-time nullable
ToDateOverridestring date-time nullable
FinalizationGuidstring
LastCalculatedUserIdinteger nullable
PaymentMethodMaternityPrograminteger
AutoFinalizeboolean
DispatchDatestring date-time
ToDispatchboolean
Updatedstring date-time
TypeIdinteger
PayoutVacationPayboolean
DeductVacationPayboolean
PayoutSeniorVacationPayboolean
DeductSeniorVacationPayboolean
TaxSystemResponseRerunsinteger

Changes