Enkash Developer Portal
Home
Home
Login
  1. Home
  • Back to home
  • APIs - Expense
  • Token API
    POST
  • Expenses
    POST
  • Advance
    POST
Home
Home
Login
  1. Home

EnKash Expense Status Lifecycle

Each expense in the EnKash system moves through well-defined statuses from creation to closure.
Allowed actions and visibility depend on the user role interacting with the expense.

Supported Roles#

1.
Employee – Creates and submits expenses
2.
Finance Admin – Settles expenses and performs recovery
3.
Company Admin – Views and reports on expenses
Key Principle
Expense status changes are strictly role-controlled and state-driven.

Expense States#

CategoryStates
Initial / EditableCREATED, DRAFTED, AUTO_CREATED
Approval FlowSUBMITTED, UPDATED_AND_SUBMITTED, ON_HOLD
Decision StatesAPPROVED, REJECTED
Closure (Terminal)SETTLED, RECOVERED, WITHDRAWN

Expense State Transitions#

From StateTo StateAllowed RoleTrigger / Notes
CREATEDDRAFTEDEmployeeExpense saved as draft
DRAFTEDSUBMITTEDEmployeeExpense submitted (single or dossier)
AUTO_CREATEDSUBMITTEDEmployeeAuto-created expense submitted
SUBMITTEDUPDATED_AND_SUBMITTEDEmployeeEmployee edits and resubmits
SUBMITTEDAPPROVEDManager / Finance ApproverApproval completed
UPDATED_AND_SUBMITTEDAPPROVEDManager / Finance ApproverApproval completed after update
SUBMITTEDREJECTEDManager / Finance ApproverRejected at any approval level
UPDATED_AND_SUBMITTEDREJECTEDManager / Finance ApproverRejected after resubmission
SUBMITTEDON_HOLD Manager / Finance ApproverPut on hold for clarification
UPDATED_AND_SUBMITTEDON_HOLDManager / Finance ApproverSame as submitted
APPROVEDSETTLEDFinance AdminFinance settles approved expense
REJECTEDRECOVEREDFinance AdminOnly for UPI / CARD
SUBMITTEDWITHDRAWNEmployeeWithdraw before approval
UPDATED_AND_SUBMITTEDWITHDRAWNEmployeeWithdraw resubmitted expense
APPROVEDWITHDRAWNEmployeeWithdraw before settlement
REJECTEDWITHDRAWNEmployeeWithdraw before recovery
ON_HOLDWITHDRAWNEmployeeWithdraw on-hold expense

Role-Based Responsibility Model#

Employee Responsibilities
Employees initiate and manage expenses until closure.
Employees can:
Create and edit expenses
Submit or resubmit expenses
Withdraw expenses before final settlement
Employees cannot:
Approve, reject, hold, settle, or recover expenses
Finance Approver Responsibilities
Approvers decide the outcome of submitted expenses.
Approvers can:
Approve expenses
Reject expenses
Put expenses on hold
Approvers cannot:
Edit expenses
Settle or recover expenses
Manager / Finance Admin Responsibilities
Finance Admins financially close expenses.
Finance Admins can:
Settle APPROVED expenses (all payment modes)
Recover REJECTED expenses for:
UPI
CARD
Finance Admins cannot:
Modify expense data
Recover reimbursements

Terminal States (End of Lifecycle)#

These states close the expense permanently.
StateMeaning
SETTLEDApproved expense fully paid and closed
RECOVEREDRejected UPI / Card expense financially recovered
WITHDRAWNExpense withdrawn by employee
Terminal State Rules
No transitions are allowed out of terminal states
Withdrawn expenses are hidden from all admin and finance reports

Transition Rules & Guardrails#

Allowed#

REJECTED → RECOVERED only for UPI/CARD
APPROVED → SETTLED by Finance Admin only

Disallowed#

SETTLED → any state
RECOVERED → any state
WITHDRAWN → any state
REJECTED → SETTLED
APPROVED → RECOVERED
Company Admin triggering any state change
Modified at 2025-12-23 19:38:21
Built with