DEV Community

Engage HRMS
Engage HRMS

Posted on Originally published at engagehrms.hashnode.dev

Non-contributory period (NCP) days in the EPF ECR file: how field 10 works and the payroll bugs that miscount it

Field 10 of the EPF ECR file looks simple, but it is where many payroll files go wrong. Here is how we handle it, with the ceiling change from September 2026.

Field 10 of the ECR upload is a whole-number day count. Most of the wrong lines we see come from code that filled it from the attendance table or the leave register instead of from paid days. This note is for whoever builds the return file or signs it off.

The field itself

An ECR 2.0 file is plain text with one member per line and 11 fields separated by #~#:

UAN#~#Name#~#Gross#~#EPF_wages#~#EPS_wages#~#EDLI_wages#~#EE_share#~#EPS_share#~#ER_share#~#NCP_days#~#Refund
Enter fullscreen mode Exit fullscreen mode

NCP means non-contributory period. An NCP day is a day in the wage month for which the member earned no wages, so no contribution arises for it.

EPFO's ECR 2.0 introduction lists two rules for field 10. Half-day NCP is not permitted, so the value is a whole number. And if the wages declared are 0 because the member earned nothing, NCP must equal the number of days in the month. Nothing in that document says field 10 is checked against the wage fields on the same line. Assume the consistency between days and wages is your job, not the portal's.

The working formula:

ncp_days = days_in_wage_month - paid_days
Enter fullscreen mode Exit fullscreen mode

October gives you 31 days, February 28 (29 in a leap year). The divisor is calendar days. It is not 26 and it is not working days. Because half days are rejected, an unpaid half day needs a written rounding rule before anyone builds the file.

What counts as a paid day

Paid leave of any type carries wages, so it is never NCP. Weekly offs and paid holidays inside the employment period are paid days too.

Two cases need a written policy rather than a code default.

A weekly off sitting inside a run of unpaid absence (the "sandwich" case). If your leave policy pays that Sunday, it is not NCP. If the policy treats it as unpaid, it is. Decide once, so the answer does not depend on who runs the month.

Maternity leave depends on who pays. Where the employer pays the benefit, those days carry wages. Where the employee is under ESI and draws the benefit from ESIC, the employer pays no wages for those days. Check how your setup handles each route instead of hard-coding one answer.

A worked line below the ceiling

Basic plus DA of Rs 12,000, a 30-day month, 3 unpaid days:

paid_days = 27
ncp_days  = 3
epf_wages = 12000 * 27 / 30  = 10800
ee_share  = 12% of 10800     = 1296
eps_share = 8.33% of 10800   = 900    (899.64, rounded)
er_share  = 1296 - 900       = 396
Enter fullscreen mode Exit fullscreen mode

The ceiling moved on 17 September 2026

S.O. 5109(E), published in the Gazette on 17 September 2026 under the Code on Social Security, 2020, set the wage ceiling for Chapter III (EPF, EPS and EDLI) at Rs 25,000 a month from the date of publication. The old figure was Rs 15,000 and had not changed since September 2014. At 8.33%, the maximum monthly EPS share goes from Rs 1,250 to Rs 2,083.

September 2026 is a split month. EPFO's FAQs on the change compute it in two parts: 1 to 16 September at Rs 15,000, 17 to 30 September at Rs 25,000, reported in a single ECR. The due date was first 15 October 2026, and an EPFO circular of 13 October 2026 moved it to 31 October 2026 for September only. For an existing member on Rs 20,000, the FAQ illustration works out to Rs 15,000 x 16/30 = Rs 8,000 plus Rs 20,000 x 14/30 = Rs 9,333.33, so EPF wages of Rs 17,333.33 for the month. A September line showing a flat 15,000 or a flat 20,000 for that person is off in one direction or the other.

Where NCP days meet the ceiling

Take an employee on Rs 30,000 with 3 unpaid days in a 30-day month. Earned basic is Rs 27,000. Payroll code usually does one of two things:

# A: cap the earned wage
epf_wages = min(30000 * 27/30, 25000)  # 25000

# B: prorate the ceiling by paid days
epf_wages = min(30000, 25000) * 27/30  # 22500
Enter fullscreen mode Exit fullscreen mode

We run reading B. It keeps EPF wages and field 10 telling the same story, and it uses the same day-proportion arithmetic EPFO applied to the September split. We could not find EPFO guidance that settles it for an ordinary month, though, and plenty of payrolls run reading A. Choose one on purpose, store it as a single config value, and note it in the compliance file. The failure to avoid is A for some employees and B for others because two people wrote two code paths.

Joiners and leavers

Someone who joins on the 18th of a 30-day month is paid for 13 days. On the formula reading, field 10 is 17. On the date-based reading it is 0, because days before joining are not absence and the joining date already bounds the service. Both are used in practice, and the ECR material does not choose between them.

Use the same reading for joiners and leavers. A codebase that reports 17 for joiners and 0 for leavers is the version that causes trouble. For every leaver, mark the date of exit in the month they leave. Without an exit date, the member generally cannot claim final settlement for that employment.

Why a wrong count surfaces years later

Not at the challan. At the pension claim.

The Employees' Pension Scheme, 2026 kept the old formula: monthly pension = pensionable salary x pensionable service / 70, with pensionable salary averaged over the 60 months before exit and 10 years of service needed for a monthly pension. The scheme defines non-contributory service as service for which no pension contribution was received or receivable. A paid Sunday wrongly filed as NCP shows up on the member's record as a day without a contribution.

The salary average is protected from this. EPFO's Pension Manual divides total wages in the 60-month span by the actual days paid and multiplies by 30, so NCP days do not pull the average down. The service count is where the error stays.

The EDLI Scheme, 2026 (G.S.R. 526(E), 29 June 2026) sets the death benefit at a minimum of Rs 2.5 lakh and a maximum of Rs 7 lakh. The minimum depends on 12 months of continuous service, and a gap of up to 60 days between two spells of employment is ignored. That rule is about gaps between jobs, so the joining and exit dates you file matter there as much as field 10 does. EPFO has also said the Rs 7 lakh cap stays even though the new ceiling would push the formula higher.

Contributions and the return are due within 15 days of the close of the month, so by the 15th.

Bugs that show up in naive code

  1. Field 10 read from the leave register, so paid leave becomes NCP and the day count disagrees with the wages on the same line.
  2. A 26-day divisor for NCP and calendar days for wages, or the reverse.
  3. Ceiling readings A and B mixed across employees.
  4. Different joiner and leaver conventions in different modules.
  5. No check that paid days plus NCP days equals days in the month.
  6. Unpaid half days rounded by whichever operator runs the file.
  7. September 2026 lines built with one flat ceiling instead of the 16/14 split.

Most of these go away if one function owns paid days and everything else derives from it:

def ecr_line(emp, month, ceiling=25000, mode="prorate"):
    days = month.calendar_days
    paid = emp.paid_days(month)        # single source of truth
    ncp = days - paid
    assert isinstance(ncp, int) and 0 <= ncp <= days

    full = emp.pf_basic_da             # monthly rate, not earned
    if mode == "prorate":              # reading B
        epf = min(full, ceiling) * paid / days
    else:                              # reading A
        epf = min(full * paid / days, ceiling)

    epf = round(epf)
    ee = round(epf * 0.12)
    eps = round(epf * 0.0833)          # assumes an EPS member under 58
    return epf, ee, eps, ee - eps, ncp
Enter fullscreen mode Exit fullscreen mode

The function skips higher-wage contributions, members over 58 and non-EPS members. Each needs its own branch.

Checks before you upload

  1. For every line, paid days plus NCP days equals days in the wage month.
  2. No line has full-month EPF wages with NCP above 0, unless the documented ceiling reading explains it.
  3. No line has reduced wages with NCP of 0, unless the date-based joiner or leaver reading applies and the dates are correct.
  4. Paid leave, weekly offs and paid holidays are absent from the NCP total.
  5. Where the ceiling bites, EPF wages match your chosen reading for every employee.
  6. Every leaver in the month has a date of exit.
  7. Every NCP value is a whole number between 0 and the days in the month.

Run the list against the same payroll run that produced the ECR, before upload. The portal will not do it for you.

The longer EngageHRMS guide, with claim-side examples, is at https://hrengage.ai/blog/ncp-days-in-pf. Check the live EPFO position before you change your setup.

Top comments (0)