Rivane

Accounting
made smart

ERP Use CasesTier 1Published May 28, 2026

Employee Offboarding & Final Pay Calculation

Employee Offboarding & Final Pay Calculation for US and UK finance teams: ERP requirements, controls, audit evidence, data model, APIs, state transitions, and implementation checks.

HRIS / Payroll is where ERP discipline either begins or breaks.

Employee Offboarding & Final Pay Calculation looks operational from far away. In a real finance team, it is a chain of assertions: the right actor started the work, the required records existed, the control policy was applied, the state change was preserved, and the outcome can be explained later without rebuilding the transaction from emails and spreadsheets.

The expected business outcome is specific: Terminated employee receives legally compliant final pay on time; all system access revoked; zero outstanding obligations or unclosed checklist items.

The control flow a finance team actually needs.

Workflow map showing control steps, exceptions, and evidence for this ERP process.Final Pay Be Rel...Start conditionAccrued PTO Payo...Required checksBenefits Coverag...Owner and SLAAccess Revocatio...System updateCOBRA Election P...Exception handlingAudit packetEvidence trailException loopHRIS / Payroll should preserve every override and rejection.
Workflow map for this ERP process, including exception handling and audit evidence.

Step 1

Final Pay Be Released Within...

Step 2

Accrued PTO Payout Reference The Active...

Step 3

Benefits Coverage Termination Date...

Step 4

Access Revocation Complete Within 4...

Step 5

COBRA Election Packet Be Generated And...

The ERP surface involved.

Module

HRIS / Payroll

Actors

HR Manager, Payroll Administrator, IT System, Employee

Tier

Tier 1

Finance area

Human Resources, Payroll & Workforce Management

Region lens

US and UK finance teams

Publication date

May 28, 2026

Final pay must be released within state-mandated timeline (configurable per state - e.g., CA 72-hour rule for involuntary termination); accrued PTO payout must reference the active leave policy and cap rules per jurisdiction; benefits coverage termination date must align with last day of active employment per plan rules; access revocation must complete within 4 hours of effective date; COBRA election packet must be generated and mailed/emailed within 14 days.

US and UK teams have different compliance hooks, but the same control problem.

US teams usually care about clean evidence for audit support, vendor records, payment controls, tax reporting, and management review. UK teams usually care about VAT-ready records, approval evidence, digital-record discipline, and traceable postings. The country-specific details differ, but the operating pattern is the same: the ERP needs controlled records, explicit ownership, defensible state changes, and evidence that survives beyond the person who completed the task.

The control matrix.

Control areaRequirementAcceptance proof
Control 1
Final pay must be released within state-mandated timeline (configurable per state - e.g., CA 72-hour rule for involuntary termination
Given an active employee with accrued PTO and a state-mandated final pay timeline configured
Control 2accrued PTO payout must reference the active leave policy and cap rules per jurisdictionwhen termination is recorded with effective date
Control 3benefits coverage termination date must align with last day of active employment per plan rulesthen final pay including outstanding wages and accrued PTO payout is calculated per jurisdiction rules, released within the state-mandated timeline, and system access is revoked within 4 hours of effective date
Control 4access revocation must complete within 4 hours of effective datenegative) when termination effective date is set in the past beyond the state deadline without override then 422 with error code FINAL_PAY_DEADLINE_EXCEEDED is returned.
Control 5COBRA election packet must be generated and mailed/emailed within 14 days.Terminated employee receives legally compliant final pay on time; all system access revoked; zero outstanding obligations or unclosed checklist items.

Audit evidence is a chain, not a folder.

Evidence layerWhat should be preserved
Business eventHR Manager records termination with effective date and reason code; system triggers offboarding checklist across IT (access revocation), benefits (COBRA election), payroll (final pay), and asset return; payroll engine calculates final pay including outstanding wages, accrued PTO payout per jurisdiction rules, and any clawback of signing bonuses; final pay is flagged for expedited off-cycle processing; system generates separation paperwork and revokes portal access on effective date.
Control rules
Final pay must be released within state-mandated timeline (configurable per state - e.g., CA 72-hour rule for involuntary termination);
accrued PTO payout must reference the active leave policy and cap rules per jurisdiction;
benefits coverage termination date must align with last day of active employment per plan rules;
access revocation must complete within 4 hours of effective date;
COBRA election packet must be generated and mailed/emailed within 14 days.
Acceptance proofGiven an active employee with accrued PTO and a state-mandated final pay timeline configured; when termination is recorded with effective date; then final pay including outstanding wages and accrued PTO payout is calculated per jurisdiction rules, released within the state-mandated timeline, and system access is revoked within 4 hours of effective date; (negative) when termination effective date is set in the past beyond the state deadline without override then 422 with error code FINAL_PAY_DEADLINE_EXCEEDED is returned.
Data record
termination { id: string, employee_id: string, external_id: string, effective_date: date, reason_code: string, final_pay_due_date: date, status: enum(PENDING,FINAL_PAY_CALCULATED,PAID,CLOSED) };
offboarding_task { id: string, termination_id: string, task_type: enum(COBRA_NOTICE,ACCESS_REVOCATION,ASSET_RETURN,FINAL_PAY), due_date: date, completed_at: timestamp };
(reference, product may differ).
System event
POST /v1/employees/{id}/terminate { effective_date, reason_code, external_id } -> 201 { termination_id, final_pay_due_date };
GET /v1/employees/{id}/final-pay-calculation -> 200 { gross_minor, pto_payout_minor, currency_code };
emits hr.employee_terminated, hr.access_revocation_requested, hr.cobra_notice_triggered;
idempotent via external_id.
Lifecycle state
PENDING -> FINAL_PAY_CALCULATED -> PAID -> CLOSED;
guard: PAID blocked until final pay amount approved;
access revocation fires on CLOSED or effective_date whichever is first.

The useful version of this workflow is not only fast. It is inspectable. A controller, auditor, or operator should be able to move from source event to system record to state transition to final business outcome without guessing.

Implementation contracts.

Reference data model

`termination` { id: string, employee_id: string, external_id: string, effective_date: date, reason_code: string, final_pay_due_date: date, status: enum(PENDING,FINAL_PAY_CALCULATED,PAID,CLOSED) }; `offboarding_task` { id: string, termination_id: string, task_type: enum(COBRA_NOTICE,ACCESS_REVOCATION,ASSET_RETURN,FINAL_PAY), due_date: date, completed_at: timestamp }; (reference, product may differ).

API and events

`POST /v1/employees/{id}/terminate` { effective_date, reason_code, external_id } -> 201 { termination_id, final_pay_due_date }; `GET /v1/employees/{id}/final-pay-calculation` -> 200 { gross_minor, pto_payout_minor, currency_code }; emits `hr.employee_terminated`, `hr.access_revocation_requested`, `hr.cobra_notice_triggered`; idempotent via `external_id`.

State transitions

`PENDING -> FINAL_PAY_CALCULATED -> PAID -> CLOSED`; guard: PAID blocked until final pay amount approved; access revocation fires on CLOSED or effective_date whichever is first.

Common implementation traps.

Treating the workflow as data entry

If the ERP only stores the final record, the team loses the decision trail that explains how the record became valid.

Hiding exception logic

Exceptions need owners, reason codes, and time stamps. A vague pending state is not a control.

Posting without recovery design

Retries, duplicate submissions, and partial failures must be explicit so the system does not create inconsistent records.

Skipping evidence design

A workflow that cannot produce evidence on demand will eventually push finance teams back into manual screenshots and spreadsheets.

Where Rivane fits.

Rivane is built for finance workflows where automation must stay tied to source documents, approvals, state transitions, ledger impact, reporting, and audit evidence. Use this guide as a checklist for evaluating whether an ERP workflow is merely digitized or actually controlled.

References and source basis.

These sources provide the standards, regulatory, or government context around the flow. They are included so the guide is useful to finance operators, auditors, and implementation teams, not only buyers reading software copy.

Back to ERP use cases