SalaryBatches

Rejects approval of a payroll batch, optionally specifying a reason. This moves the batch back to draft status.

post/api/salarybatches/{batchId}/reject

Path parameters

batchIdinteger required

The ID of the batch to reject.

Request body

Reasonstring

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

No recorded changes to this endpoint across all 1 revision of this API.