{"id":150587,"date":"2026-10-04T09:12:52","date_gmt":"2026-10-04T09:12:52","guid":{"rendered":"https:\/\/docs.daftra.com\/tutorial\/%d8%af%d9%88%d8%b1%d8%a9-%d8%a7%d9%84%d8%b1%d9%88%d8%a7%d8%aa%d8%a8-%d8%a7%d9%84%d8%b4%d9%87%d8%b1%d9%8a%d8%a9-%d8%a7%d9%84%d8%ad%d8%b6%d9%88%d8%b1%d8%8c-%d8%a7%d9%84%d8%a5%d8%ac%d8%a7%d8%b2%d8%a7\/"},"modified":"2026-10-14T09:04:48","modified_gmt":"2026-10-14T09:04:48","slug":"the-monthly-payroll-cycle-with-attendance","status":"publish","type":"tutorial","link":"https:\/\/docs.daftra.com\/en\/tutorial\/the-monthly-payroll-cycle-with-attendance\/","title":{"rendered":"The Monthly Payroll Cycle with Attendance: Shifts, Leave, Attendance Sheets, and the Payroll Run"},"content":{"rendered":"<div dir=\"ltr\" lang=\"en\">\n<p style=\"margin: 0 0 14px; line-height: 1.9; font-size: 16px; color: #1f2430;\">This guide explains the complete <strong style=\"color: #111827;\">monthly payroll cycle<\/strong> in the system: from setting up shifts, attendance rules, and leave, to recording attendance, calculating attendance days and the <strong style=\"color: #111827;\">attendance sheets<\/strong>, then linking them to the salary component formulas, and creating the <strong style=\"color: #111827;\">payroll run<\/strong>, approving it, and paying it, with the <strong style=\"color: #111827;\">accounting entries<\/strong>.<\/p>\n<h2 style=\"font-size: 22px; font-weight: bold; color: #111827; margin: 32px 0 14px; padding-bottom: 8px; border-bottom: 2px solid #eef0f3;\">Brief Monthly Workflow<\/h2>\n<div style=\"margin: 0 0 18px; line-height: 2.4;\"><span style=\"display: inline-block; background: #eef4ff; border: 1px solid #c7d7fe; border-radius: 6px; padding: 6px 10px; margin: 4px 0; font-size: 15px; color: #1f2430;\"><strong style=\"color: #1a56db;\">1.<\/strong> Recording attendance daily<\/span><span style=\"color: #9ca3af; font-size: 18px; padding: 0 4px;\">\u2192<\/span><span style=\"display: inline-block; background: #eef4ff; border: 1px solid #c7d7fe; border-radius: 6px; padding: 6px 10px; margin: 4px 0; font-size: 15px; color: #1f2430;\"><strong style=\"color: #1a56db;\">2.<\/strong> Leave requests and approving them<\/span><span style=\"color: #9ca3af; font-size: 18px; padding: 0 4px;\">\u2192<\/span><span style=\"display: inline-block; background: #eef4ff; border: 1px solid #c7d7fe; border-radius: 6px; padding: 6px 10px; margin: 4px 0; font-size: 15px; color: #1f2430;\"><strong style=\"color: #1a56db;\">3.<\/strong> Calculating attendance days<\/span><span style=\"color: #9ca3af; font-size: 18px; padding: 0 4px;\">\u2192<\/span><span style=\"display: inline-block; background: #eef4ff; border: 1px solid #c7d7fe; border-radius: 6px; padding: 6px 10px; margin: 4px 0; font-size: 15px; color: #1f2430;\"><strong style=\"color: #1a56db;\">4.<\/strong> Attendance sheet<\/span><span style=\"color: #9ca3af; font-size: 18px; padding: 0 4px;\">\u2192<\/span><span style=\"display: inline-block; background: #eef4ff; border: 1px solid #c7d7fe; border-radius: 6px; padding: 6px 10px; margin: 4px 0; font-size: 15px; color: #1f2430;\"><strong style=\"color: #1a56db;\">5.<\/strong> Payroll run<\/span><span style=\"color: #9ca3af; font-size: 18px; padding: 0 4px;\">\u2192<\/span><span style=\"display: inline-block; background: #eef4ff; border: 1px solid #c7d7fe; border-radius: 6px; padding: 6px 10px; margin: 4px 0; font-size: 15px; color: #1f2430;\"><strong style=\"color: #1a56db;\">6.<\/strong> Approval (the accrual entry)<\/span><span style=\"color: #9ca3af; font-size: 18px; padding: 0 4px;\">\u2192<\/span><span style=\"display: inline-block; background: #eef4ff; border: 1px solid #c7d7fe; border-radius: 6px; padding: 6px 10px; margin: 4px 0; font-size: 15px; color: #1f2430;\"><strong style=\"color: #1a56db;\">7.<\/strong> Payment (the settlement entry)<\/span><\/div>\n<h2 style=\"font-size: 22px; font-weight: bold; color: #111827; margin: 32px 0 14px; padding-bottom: 8px; border-bottom: 2px solid #eef0f3;\">First: Enabling<\/h2>\n<p style=\"margin: 0 0 14px; line-height: 1.9; font-size: 16px; color: #1f2430;\">From the <a style=\"color: #1a56db;\" href=\"https:\/\/go.daftra.com\/v2\/owner\/plugin-manager\/2\" target=\"_blank\" rel=\"noopener\"><strong style=\"color: #1a56db;\">Apps Manager<\/strong><\/a> enable: <strong style=\"color: #111827;\">Human Resources<\/strong>, <strong style=\"color: #111827;\">Attendance<\/strong>, <strong style=\"color: #111827;\">Payroll<\/strong>, and preferably <strong style=\"color: #111827;\">Requests<\/strong> for employee requests.<\/p>\n<h2 style=\"font-size: 22px; font-weight: bold; color: #111827; margin: 32px 0 14px; padding-bottom: 8px; border-bottom: 2px solid #eef0f3;\">Second: Attendance Setup (One Time)<\/h2>\n<p style=\"margin: 0 0 14px; line-height: 1.9; font-size: 16px; color: #1f2430;\">From <a style=\"color: #1a56db;\" href=\"https:\/\/go.daftra.com\/v2\/owner\/attendance_settings\" target=\"_blank\" rel=\"noopener\"><strong style=\"color: #1a56db;\">Attendance Settings<\/strong><\/a>:<\/p>\n<h3 style=\"font-size: 18px; font-weight: bold; color: #111827; margin: 24px 0 10px;\">1. Attendance Configuration<\/h3>\n<table style=\"width: 100%; border-collapse: collapse; margin: 0 0 18px;\">\n<tbody>\n<tr>\n<th style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; background: #f6f8fb; font-weight: bold;\">Setting<\/th>\n<th style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; background: #f6f8fb; font-weight: bold;\">Options (Default)<\/th>\n<th style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; background: #f6f8fb; font-weight: bold;\">What It Does<\/th>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\"><strong style=\"color: #111827;\">Work Year Start<\/strong><\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">Day and month<\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">The start of the year on which leave balances are calculated.<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\"><strong style=\"color: #111827;\">Automatic Calculation for Self-Recorded Attendance Logs<\/strong><\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">On \/ Off<\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">Calculates attendance automatically when the employee records their own attendance.<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\"><strong style=\"color: #111827;\">Recording Attendance During Approved Leave<\/strong><\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">On \/ Off<\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">When off, the approved leave day is counted as leave and its fingerprints are ignored.<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\"><strong style=\"color: #111827;\">Allow Submitting Leave Requests for Past Dates<\/strong><\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">On \/ Off<\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">\u2014<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">Default Approvers<\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\"><strong style=\"color: #111827;\">Direct Managers<\/strong> \/ <strong style=\"color: #111827;\">Department Managers<\/strong> \/ <strong style=\"color: #111827;\">Employees<\/strong><\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">Who approves the requests if there are no custom <strong style=\"color: #111827;\">approval settings<\/strong>.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 style=\"font-size: 18px; font-weight: bold; color: #111827; margin: 24px 0 10px;\">2. Shifts<\/h3>\n<p style=\"margin: 0 0 14px; line-height: 1.9; font-size: 16px; color: #1f2430;\">From <a style=\"color: #1a56db;\" href=\"https:\/\/go.daftra.com\/v2\/owner\/shifts\" target=\"_blank\" rel=\"noopener\"><strong style=\"color: #1a56db;\">Shifts<\/strong><\/a> create the shift: specify the name, the type (<strong style=\"color: #111827;\">Basic<\/strong> \/ <strong style=\"color: #111827;\">Advanced<\/strong>), the working days, and for each day: the <strong style=\"color: #111827;\">shift start<\/strong> and the <strong style=\"color: #111827;\">shift end<\/strong>, the check-in and check-out range, the <strong style=\"color: #111827;\">delay grace period<\/strong>, and the <strong style=\"color: #111827;\">delay calculation<\/strong> method. Then <strong style=\"color: #111827;\">assign it to the employees<\/strong>.<\/p>\n<div style=\"background: #f3faf6; border-left: 4px solid #0e9f6e; border-radius: 6px; padding: 14px 16px; margin: 0 0 18px;\">\n<p style=\"margin: 0 0 6px; line-height: 1.9; font-size: 16px; color: #111827; font-weight: bold;\">Example<\/p>\n<div style=\"line-height: 1.9; font-size: 16px; color: #1f2430;\">\n<p>A 9:00\u201317:00 shift with a grace period of 15 minutes and &#8220;delay calculation after the shift start time + the delay grace period&#8221;: an employee who arrived at 9:25 is charged a delay of 10 minutes. And if the calculation is &#8220;from the shift start time&#8221;, 25 minutes are counted (and the grace period prevents counting it only if they arrive before 9:15).<\/p>\n<\/div>\n<\/div>\n<h3 style=\"font-size: 18px; font-weight: bold; color: #111827; margin: 24px 0 10px;\">3. Attendance Rules<\/h3>\n<p style=\"margin: 0 0 14px; line-height: 1.9; font-size: 16px; color: #1f2430;\">From <a style=\"color: #1a56db;\" href=\"https:\/\/go.daftra.com\/v2\/owner\/attendance_flags\" target=\"_blank\" rel=\"noopener\"><strong style=\"color: #1a56db;\">Attendance Rules<\/strong><\/a> create rules that are evaluated on each attendance day with a <strong style=\"color: #111827;\">condition<\/strong> and a <strong style=\"color: #111827;\">formula<\/strong> (such as: if the delay &amp;gt; 30 minutes then the value = 1), and link them to the shifts. Their results appear in the attendance sheet (the number of times applied and the total of the values) and are used in the salary formulas for deductions or overtime.<\/p>\n<div style=\"display: flex; gap: 10px; background: #f6f8fb; border-left: 4px solid #1a56db; border-radius: 6px; padding: 14px 16px; margin: 0 0 18px;\">\n<p><span style=\"flex: 0 0 auto; font-size: 18px; line-height: 1.6;\">\ud83d\udec8<\/span><\/p>\n<p style=\"margin: 0; line-height: 1.9; font-size: 16px; color: #1f2430;\"><strong style=\"color: #111827;\">Note:<\/strong> A rule is applied only to the days of the shifts linked to it. There is no ready &#8220;overtime&#8221; column; overtime and shortage hours are calculated through the attendance rules.<\/p>\n<\/div>\n<h3 style=\"font-size: 18px; font-weight: bold; color: #111827; margin: 24px 0 10px;\">4. Leave and Holidays<\/h3>\n<ul style=\"margin: 0 0 16px; padding-left: 26px;\">\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\"><a style=\"color: #1a56db;\" href=\"https:\/\/go.daftra.com\/v2\/owner\/leave_types\" target=\"_blank\" rel=\"noopener\"><strong style=\"color: #1a56db;\">Leave Types<\/strong><\/a>: for each type the <strong style=\"color: #111827;\">maximum days per year<\/strong>, the <strong style=\"color: #111827;\">maximum consecutive applicable days<\/strong>, <strong style=\"color: #111827;\">applicable after<\/strong> (days from hire), and <strong style=\"color: #111827;\">requires permission<\/strong>.<\/li>\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\"><a style=\"color: #1a56db;\" href=\"https:\/\/go.daftra.com\/v2\/owner\/leave_policies\" target=\"_blank\" rel=\"noopener\"><strong style=\"color: #1a56db;\">Leave Policy<\/strong><\/a>: arrange the leave types and assign the policy to the employees. <strong style=\"color: #111827;\">The order matters<\/strong>: an absence day is converted automatically to the first leave type in the policy that meets the conditions (the balance, the duration, the permission), otherwise it stays <strong style=\"color: #111827;\">Absent<\/strong>.<\/li>\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\"><a style=\"color: #1a56db;\" href=\"https:\/\/go.daftra.com\/v2\/owner\/holiday_lists\" target=\"_blank\" rel=\"noopener\"><strong style=\"color: #1a56db;\">Holiday Lists<\/strong><\/a>: the official holidays and assign them to the employees.<\/li>\n<\/ul>\n<div style=\"background: #f3faf6; border-left: 4px solid #0e9f6e; border-radius: 6px; padding: 14px 16px; margin: 0 0 18px;\">\n<p style=\"margin: 0 0 6px; line-height: 1.9; font-size: 16px; color: #111827; font-weight: bold;\">An example of the policy order<\/p>\n<div style=\"line-height: 1.9; font-size: 16px; color: #1f2430;\">A policy with: 1) Casual leave (7 days\/year, no permission needed) 2) Annual leave (21 days, permission needed). An employee who was absent for a day without a request: it is counted from the casual leave. After the seven days are used up, the absence is counted as **Absent** because the annual leave needs a permission.<\/div>\n<\/div>\n<h3 style=\"font-size: 18px; font-weight: bold; color: #111827; margin: 24px 0 10px;\">5. Attendance Recording Methods<\/h3>\n<ul style=\"margin: 0 0 16px; padding-left: 26px;\">\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\"><a style=\"color: #1a56db;\" href=\"https:\/\/go.daftra.com\/v2\/owner\/machines\" target=\"_blank\" rel=\"noopener\"><strong style=\"color: #1a56db;\">Attendance Recording Devices<\/strong><\/a>: ZKTeco devices by pulling or direct sending, with linking the employee to the device.<\/li>\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\"><strong style=\"color: #111827;\">My Attendance<\/strong> from the site or the app, and <strong style=\"color: #111827;\">Record Employees&#8217; Attendance<\/strong> by a supervisor.<\/li>\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\"><strong style=\"color: #111827;\">Import a file<\/strong> of attendance logs.<\/li>\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\"><a style=\"color: #1a56db;\" href=\"https:\/\/go.daftra.com\/v2\/owner\/attendance_restrictions\" target=\"_blank\" rel=\"noopener\"><strong style=\"color: #1a56db;\">Attendance Restrictions<\/strong><\/a>: restricting recording by IP address, GPS location, or the camera.<\/li>\n<\/ul>\n<h2 style=\"font-size: 22px; font-weight: bold; color: #111827; margin: 32px 0 14px; padding-bottom: 8px; border-bottom: 2px solid #eef0f3;\">Third: The Full Monthly Cycle<\/h2>\n<h3 style=\"font-size: 18px; font-weight: bold; color: #111827; margin: 24px 0 10px;\">1. Daily Attendance Logs<\/h3>\n<p style=\"margin: 0 0 14px; line-height: 1.9; font-size: 16px; color: #1f2430;\">All the fingerprints appear in <a style=\"color: #1a56db;\" href=\"https:\/\/go.daftra.com\/v2\/owner\/attendance_logs\" target=\"_blank\" rel=\"noopener\"><strong style=\"color: #1a56db;\">Attendance Logs<\/strong><\/a>.<\/p>\n<h3 style=\"font-size: 18px; font-weight: bold; color: #111827; margin: 24px 0 10px;\">2. Leave Requests and Permissions<\/h3>\n<p style=\"margin: 0 0 14px; line-height: 1.9; font-size: 16px; color: #1f2430;\">The employee submits a request from <a style=\"color: #1a56db;\" href=\"https:\/\/go.daftra.com\/v2\/owner\/entity\/leave_application\/list\" target=\"_blank\" rel=\"noopener\"><strong style=\"color: #1a56db;\">Leave Requests<\/strong><\/a>: <strong style=\"color: #111827;\">Leave<\/strong>, <strong style=\"color: #111827;\">Late<\/strong>, <strong style=\"color: #111827;\">Early<\/strong>, or <strong style=\"color: #111827;\">Half Day<\/strong>. The statuses: <strong style=\"color: #111827;\">Under Review<\/strong> \u2192 <strong style=\"color: #111827;\">Approved<\/strong> or <strong style=\"color: #111827;\">Rejected<\/strong>, and approval levels can be applied according to the <strong style=\"color: #111827;\">approval settings<\/strong>.<\/p>\n<ul style=\"margin: 0 0 16px; padding-left: 26px;\">\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">The final approval creates an <strong style=\"color: #111827;\">attendance permission<\/strong> automatically (or add it manually from <a style=\"color: #1a56db;\" href=\"https:\/\/go.daftra.com\/v2\/owner\/attendance_permissions\" target=\"_blank\" rel=\"noopener\"><strong style=\"color: #1a56db;\">Leave Permissions<\/strong><\/a>).<\/li>\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">A late permission replaces the grace period in the delay calculation.<\/li>\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\"><strong style=\"color: #111827;\">Approval doesn&#8217;t recalculate attendance automatically<\/strong>; recalculate the days or create the attendance sheet after it.<\/li>\n<\/ul>\n<h3 style=\"font-size: 18px; font-weight: bold; color: #111827; margin: 24px 0 10px;\">3. Calculating Attendance Days<\/h3>\n<p style=\"margin: 0 0 14px; line-height: 1.9; font-size: 16px; color: #1f2430;\">From <a style=\"color: #1a56db;\" href=\"https:\/\/go.daftra.com\/v2\/owner\/attendance_days\" target=\"_blank\" rel=\"noopener\"><strong style=\"color: #1a56db;\">Attendance Days<\/strong><\/a> click <strong style=\"color: #111827;\">Calculate Attendance<\/strong> and specify the period and the employees (or the rules: branch, department, shift). For each day the system determines the status: <strong style=\"color: #111827;\">Present<\/strong>, <strong style=\"color: #111827;\">Absent<\/strong>, <strong style=\"color: #111827;\">Check-in Only<\/strong>, <strong style=\"color: #111827;\">Check-out Only<\/strong>, <strong style=\"color: #111827;\">Leave<\/strong>, <strong style=\"color: #111827;\">Holiday<\/strong>, with the minutes of delay and early leave and the actual working hours, and the values of the attendance rules. A day can be edited manually.<\/p>\n<h3 style=\"font-size: 18px; font-weight: bold; color: #111827; margin: 24px 0 10px;\">4. The Attendance Sheet<\/h3>\n<p style=\"margin: 0 0 14px; line-height: 1.9; font-size: 16px; color: #1f2430;\">From <a style=\"color: #1a56db;\" href=\"https:\/\/go.daftra.com\/v2\/owner\/attendance_sheets\" target=\"_blank\" rel=\"noopener\"><strong style=\"color: #1a56db;\">Attendance Sheets<\/strong><\/a> click <strong style=\"color: #111827;\">Create Attendance Sheet<\/strong> for the month. The system recalculates the period&#8217;s days and totals them:<\/p>\n<table style=\"width: 100%; border-collapse: collapse; margin: 0 0 18px;\">\n<tbody>\n<tr>\n<th style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; background: #f6f8fb; font-weight: bold;\">Total<\/th>\n<th style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; background: #f6f8fb; font-weight: bold;\">Meaning<\/th>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">Working days<\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">The days they are supposed to work<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">Attendance days<\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">The actual days<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">Absence days<\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">Absence without leave<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">Leaves<\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">By each type with the balance before and after<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">Delay \/ early leave<\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">The count and the minutes<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">Attendance rules<\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">The number of times and the total of the values for each rule<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"margin: 0 0 14px; line-height: 1.9; font-size: 16px; color: #1f2430;\">The statuses: <strong style=\"color: #111827;\">Under Review<\/strong> and <strong style=\"color: #111827;\">Approved<\/strong>. Two overlapping sheets cannot be created for the same employee, and days inside an approved sheet cannot be edited.<\/p>\n<h2 style=\"font-size: 22px; font-weight: bold; color: #111827; margin: 32px 0 14px; padding-bottom: 8px; border-bottom: 2px solid #eef0f3;\">Fourth: Linking Attendance to Salary Components<\/h2>\n<p style=\"margin: 0 0 14px; line-height: 1.9; font-size: 16px; color: #1f2430;\">In <a style=\"color: #1a56db;\" href=\"https:\/\/go.daftra.com\/v2\/owner\/salary_components\" target=\"_blank\" rel=\"noopener\"><strong style=\"color: #1a56db;\">Salary Components<\/strong><\/a> use the attendance sheet variables in the components&#8217; formulas, such as:<\/p>\n<table style=\"width: 100%; border-collapse: collapse; margin: 0 0 18px;\">\n<tbody>\n<tr>\n<th style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; background: #f6f8fb; font-weight: bold;\">Variable<\/th>\n<th style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; background: #f6f8fb; font-weight: bold;\">Value<\/th>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">{{$attendance_sheet.absence_days}}<\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">Absence days<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">{{$attendance_sheet.total_delay_amount}}<\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">Total delay minutes<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">{{$attendance_sheet.present_days}}<\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">Attendance days<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">{{$attendance_sheet.working_days}}<\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">Working days<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">{{$attendance_sheet_flag_RULE_NUMBER.total_value}}<\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">The total value of an attendance rule<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div style=\"background: #f3faf6; border-left: 4px solid #0e9f6e; border-radius: 6px; padding: 14px 16px; margin: 0 0 18px;\">\n<p style=\"margin: 0 0 6px; line-height: 1.9; font-size: 16px; color: #111827; font-weight: bold;\">Example: the absence deduction<\/p>\n<div style=\"line-height: 1.9; font-size: 16px; color: #1f2430;\">A deduction component &#8220;absence deduction&#8221; with the formula: (basic salary \u00f7 30) \u00d7 absence days. An employee whose salary is 6,000 was absent for two days: the deduction = 200 \u00d7 2 = 400.<\/div>\n<\/div>\n<h2 style=\"font-size: 22px; font-weight: bold; color: #111827; margin: 32px 0 14px; padding-bottom: 8px; border-bottom: 2px solid #eef0f3;\">Fifth: The Payroll Run<\/h2>\n<ol style=\"margin: 0 0 16px; padding-left: 26px;\">\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">From <a style=\"color: #1a56db;\" href=\"https:\/\/go.daftra.com\/v2\/owner\/payruns\" target=\"_blank\" rel=\"noopener\"><strong style=\"color: #1a56db;\">Payroll Runs<\/strong><\/a> create a run: the <strong style=\"color: #111827;\">registration date<\/strong>, the month&#8217;s period, and the employees, and leave <strong style=\"color: #111827;\">Attendance Validation<\/strong> enabled.<\/li>\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">For each employee: if there is no attendance sheet, one is created automatically for the period; and if there is one, its dates must exactly match the run&#8217;s period.<\/li>\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">The payslips are calculated from the contract, the salary components, the attendance sheet, and the advance installments, and the attendance sheet is approved automatically.<\/li>\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">Review the payslips and edit them before approval.<\/li>\n<\/ol>\n<div style=\"display: flex; gap: 10px; background: #fff8eb; border-left: 4px solid #d97706; border-radius: 6px; padding: 14px 16px; margin: 0 0 18px;\">\n<p><span style=\"flex: 0 0 auto; font-size: 18px; line-height: 1.6;\">\u26a0<\/span><\/p>\n<p style=\"margin: 0; line-height: 1.9; font-size: 16px; color: #1f2430;\"><strong style=\"color: #111827;\">Warning:<\/strong> If the employee has an attendance sheet with dates different from the run&#8217;s period, this appears: \u00abYou cannot create the payslip for %s #%s because attendance sheet #%s already overlaps with the same specified period\u00bb. Delete the sheet or make its period identical.<\/p>\n<\/div>\n<h2 style=\"font-size: 22px; font-weight: bold; color: #111827; margin: 32px 0 14px; padding-bottom: 8px; border-bottom: 2px solid #eef0f3;\">Sixth: Approval, Payment, and Entries<\/h2>\n<table style=\"width: 100%; border-collapse: collapse; margin: 0 0 18px;\">\n<tbody>\n<tr>\n<th style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; background: #f6f8fb; font-weight: bold;\">Stage<\/th>\n<th style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; background: #f6f8fb; font-weight: bold;\">The Entry<\/th>\n<th style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; background: #f6f8fb; font-weight: bold;\">The Date<\/th>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\"><strong style=\"color: #111827;\">Approval<\/strong> of the payslips<\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">Debit: Salaries and Wages (or the account of each earning component) \/ Credit: the deduction accounts, advances, and <strong style=\"color: #111827;\">Accrued Wages<\/strong> with the net salaries<\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">The registration date<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\"><strong style=\"color: #111827;\">Pay<\/strong><\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">Debit: Accrued Wages \/ Credit: the treasury or bank<\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">The payment date<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div style=\"background: #f3faf6; border-left: 4px solid #0e9f6e; border-radius: 6px; padding: 14px 16px; margin: 0 0 18px;\">\n<p style=\"margin: 0 0 6px; line-height: 1.9; font-size: 16px; color: #111827; font-weight: bold;\">A complete example for an employee<\/p>\n<div style=\"line-height: 1.9; font-size: 16px; color: #1f2430;\">\n<p>Basic 5,000 + housing 1,000, an absence deduction of 400 (default account), insurance of 450 (&#8220;Insurance Payable&#8221; account), an advance installment of 500. The net = 6,000 \u2212 400 \u2212 450 \u2212 500 = 4,650.<\/p>\n<p style=\"margin: 0 0 14px; line-height: 1.9; font-size: 16px; color: #1f2430;\">On approval:<\/p>\n<table style=\"width: 100%; border-collapse: collapse; margin: 0 0 18px;\">\n<tbody>\n<tr>\n<th style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; background: #f6f8fb; font-weight: bold;\">Account<\/th>\n<th style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; background: #f6f8fb; font-weight: bold;\">Debit<\/th>\n<th style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; background: #f6f8fb; font-weight: bold;\">Credit<\/th>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">Salaries and Wages (6,000 \u2212 400)<\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">5,600<\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">\u2014<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">Insurance Payable<\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">\u2014<\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">450<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">Advances<\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">\u2014<\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">500<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">Accrued Wages<\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">\u2014<\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">4,650<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"margin: 0 0 14px; line-height: 1.9; font-size: 16px; color: #1f2430;\">On payment:<\/p>\n<table style=\"width: 100%; border-collapse: collapse; margin: 0 0 18px;\">\n<tbody>\n<tr>\n<th style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; background: #f6f8fb; font-weight: bold;\">Account<\/th>\n<th style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; background: #f6f8fb; font-weight: bold;\">Debit<\/th>\n<th style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; background: #f6f8fb; font-weight: bold;\">Credit<\/th>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">Accrued Wages<\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">4,650<\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">\u2014<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">The treasury<\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">\u2014<\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">4,650<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<div style=\"display: flex; gap: 10px; background: #f6f8fb; border-left: 4px solid #1a56db; border-radius: 6px; padding: 14px 16px; margin: 0 0 18px;\">\n<p><span style=\"flex: 0 0 auto; font-size: 18px; line-height: 1.6;\">\ud83d\udec8<\/span><\/p>\n<p style=\"margin: 0; line-height: 1.9; font-size: 16px; color: #1f2430;\"><strong style=\"color: #111827;\">Note:<\/strong> The absence deduction without a special account is subtracted from the Salaries and Wages expense. The full details of the entries and account routing are in the payroll cycle and accounting entries guide, and from <a style=\"color: #1a56db;\" href=\"https:\/\/go.daftra.com\/owner\/settings\/staff_routing\" target=\"_blank\" rel=\"noopener\"><strong style=\"color: #1a56db;\">Employee Accounts Routing<\/strong><\/a>.<\/p>\n<\/div>\n<h2 style=\"font-size: 22px; font-weight: bold; color: #111827; margin: 32px 0 14px; padding-bottom: 8px; border-bottom: 2px solid #eef0f3;\">Seventh: Reports<\/h2>\n<ul style=\"margin: 0 0 16px; padding-left: 26px;\">\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\"><strong style=\"color: #111827;\">Attendance Report Summary<\/strong> (by employee \/ month \/ department&#8230;), <strong style=\"color: #111827;\">Detailed Attendance Report<\/strong>, <strong style=\"color: #111827;\">Employee Leave Balance Report<\/strong>, <strong style=\"color: #111827;\">Attendance Shifts Report<\/strong>, <strong style=\"color: #111827;\">Attendance Sheets Report<\/strong>, <strong style=\"color: #111827;\">Attendance Rules Summary<\/strong>.<\/li>\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\"><strong style=\"color: #111827;\">Payroll Report<\/strong> (by employee \/ monthly \/ department \/ branch) and the <strong style=\"color: #111827;\">Employee Advances Report<\/strong>.<\/li>\n<\/ul>\n<h2 style=\"font-size: 22px; font-weight: bold; color: #111827; margin: 32px 0 14px; padding-bottom: 8px; border-bottom: 2px solid #eef0f3;\">Important Restrictions and Messages<\/h2>\n<ul style=\"margin: 0 0 16px; padding-left: 26px;\">\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">\u00abYou cannot cancel the approval of an attendance sheet linked to a payslip\u00bb<\/li>\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">\u00abYou cannot delete the attendance sheet because it is approved\u00bb<\/li>\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">\u00abYou cannot undo the leave request because there is a linked attendance permission that has already been counted in the attendance log\u00bb<\/li>\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">\u00abYou cannot create, approve, reject, or pay a payslip in a closed period\u00bb<\/li>\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">The scope of the attendance calculation or the sheet doesn&#8217;t exceed 3 months ahead.<\/li>\n<\/ul>\n<h2 style=\"font-size: 22px; font-weight: bold; color: #111827; margin: 32px 0 14px; padding-bottom: 8px; border-bottom: 2px solid #eef0f3;\">Frequently Asked Questions<\/h2>\n<h3 style=\"font-size: 18px; font-weight: bold; color: #111827; margin: 24px 0 10px;\">I approved a leave but the day is still an absence?<\/h3>\n<p style=\"margin: 0 0 14px; line-height: 1.9; font-size: 16px; color: #1f2430;\">Recalculate the attendance days for this period; approval doesn&#8217;t recalculate automatically.<\/p>\n<h3 style=\"font-size: 18px; font-weight: bold; color: #111827; margin: 24px 0 10px;\">How do I calculate overtime?<\/h3>\n<p style=\"margin: 0 0 14px; line-height: 1.9; font-size: 16px; color: #1f2430;\">Create an attendance rule that calculates the extra hours, and use its value in an earning salary component.<\/p>\n<h3 style=\"font-size: 18px; font-weight: bold; color: #111827; margin: 24px 0 10px;\">Why was the absence converted to leave?<\/h3>\n<p style=\"margin: 0 0 14px; line-height: 1.9; font-size: 16px; color: #1f2430;\">Because the leave policy automatically converts the absence to the first available leave type with a balance that doesn&#8217;t need a permission.<\/p>\n<h3 style=\"font-size: 18px; font-weight: bold; color: #111827; margin: 24px 0 10px;\">Must the attendance sheet be approved before the payroll run?<\/h3>\n<p style=\"margin: 0 0 14px; line-height: 1.9; font-size: 16px; color: #1f2430;\">No, the run approves it automatically, but review it before creating the run.<\/p>\n<\/div>\n","protected":false},"author":17,"featured_media":0,"template":"","categories":[8009,2201,2213,2197,2200,9114,10389],"tags":[21729,21730,4909,21727,8110,21726,21733,8227,21731,8226,8225,21728,21725,21564,9395,21732],"class_list":["post-150587","tutorial","type-tutorial","status-publish","hentry","category-attendance-en","category-employees","category-attendance","category-hr","category-manage-payrolls","category-manage-employees","category-payslips","tag-absence-deduction","tag-attendance-recording-devices","tag-attendance-restrictions","tag-attendance-rules","tag-attendance-sheet","tag-calculate-attendance-days","tag-does-the-attendance-sheet-need-approval-before-the-payroll-run","tag-holiday-lists","tag-how-do-i-calculate-overtime","tag-leave-policy","tag-leave-types","tag-link-attendance-to-salary-components","tag-monthly-payroll-cycle","tag-payroll-run","tag-shifts-en","tag-why-was-the-absence-converted-to-leave"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v17.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>The Monthly Payroll Cycle with Attendance: Shifts, Leave, Attendance Sheets, and the Payroll Run - Daftra Knowledge Base<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/docs.daftra.com\/en\/tutorial\/the-monthly-payroll-cycle-with-attendance\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"The Monthly Payroll Cycle with Attendance: Shifts, Leave, Attendance Sheets, and the Payroll Run - Daftra Knowledge Base\" \/>\n<meta property=\"og:description\" content=\"This guide explains the complete monthly payroll cycle in the system: from setting up shifts, attendance rules, and leave, to recording attendance, calculating attendance days and the attendance sheets, then linking them to the salary component formulas, and creating the payroll run, approving it, and paying it, with the accounting entries. Brief Monthly Workflow 1. [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/docs.daftra.com\/en\/tutorial\/the-monthly-payroll-cycle-with-attendance\/\" \/>\n<meta property=\"og:site_name\" content=\"Daftra Knowledge Base\" \/>\n<meta property=\"article:modified_time\" content=\"2026-10-14T09:04:48+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/docs.daftra.com\/#organization\",\"name\":\"Daftra\",\"url\":\"https:\/\/docs.daftra.com\/\",\"sameAs\":[],\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/docs.daftra.com\/#logo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/10\/daftra-ar.svg\",\"contentUrl\":\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/10\/daftra-ar.svg\",\"caption\":\"Daftra\"},\"image\":{\"@id\":\"https:\/\/docs.daftra.com\/#logo\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/docs.daftra.com\/#website\",\"url\":\"https:\/\/docs.daftra.com\/\",\"name\":\"Daftra Knowledge Base\",\"description\":\"Daftra\",\"publisher\":{\"@id\":\"https:\/\/docs.daftra.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/docs.daftra.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/docs.daftra.com\/en\/tutorial\/the-monthly-payroll-cycle-with-attendance\/#webpage\",\"url\":\"https:\/\/docs.daftra.com\/en\/tutorial\/the-monthly-payroll-cycle-with-attendance\/\",\"name\":\"The Monthly Payroll Cycle with Attendance: Shifts, Leave, Attendance Sheets, and the Payroll Run - Daftra Knowledge Base\",\"isPartOf\":{\"@id\":\"https:\/\/docs.daftra.com\/#website\"},\"datePublished\":\"2026-10-04T09:12:52+00:00\",\"dateModified\":\"2026-10-14T09:04:48+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/docs.daftra.com\/en\/tutorial\/the-monthly-payroll-cycle-with-attendance\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/docs.daftra.com\/en\/tutorial\/the-monthly-payroll-cycle-with-attendance\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/docs.daftra.com\/en\/tutorial\/the-monthly-payroll-cycle-with-attendance\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/docs.daftra.com\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"The Monthly Payroll Cycle with Attendance: Shifts, Leave, Attendance Sheets, and the Payroll Run\"}]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"The Monthly Payroll Cycle with Attendance: Shifts, Leave, Attendance Sheets, and the Payroll Run - Daftra Knowledge Base","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/docs.daftra.com\/en\/tutorial\/the-monthly-payroll-cycle-with-attendance\/","og_locale":"en_US","og_type":"article","og_title":"The Monthly Payroll Cycle with Attendance: Shifts, Leave, Attendance Sheets, and the Payroll Run - Daftra Knowledge Base","og_description":"This guide explains the complete monthly payroll cycle in the system: from setting up shifts, attendance rules, and leave, to recording attendance, calculating attendance days and the attendance sheets, then linking them to the salary component formulas, and creating the payroll run, approving it, and paying it, with the accounting entries. Brief Monthly Workflow 1. [&hellip;]","og_url":"https:\/\/docs.daftra.com\/en\/tutorial\/the-monthly-payroll-cycle-with-attendance\/","og_site_name":"Daftra Knowledge Base","article_modified_time":"2026-10-14T09:04:48+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Organization","@id":"https:\/\/docs.daftra.com\/#organization","name":"Daftra","url":"https:\/\/docs.daftra.com\/","sameAs":[],"logo":{"@type":"ImageObject","@id":"https:\/\/docs.daftra.com\/#logo","inLanguage":"en-US","url":"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/10\/daftra-ar.svg","contentUrl":"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/10\/daftra-ar.svg","caption":"Daftra"},"image":{"@id":"https:\/\/docs.daftra.com\/#logo"}},{"@type":"WebSite","@id":"https:\/\/docs.daftra.com\/#website","url":"https:\/\/docs.daftra.com\/","name":"Daftra Knowledge Base","description":"Daftra","publisher":{"@id":"https:\/\/docs.daftra.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/docs.daftra.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/docs.daftra.com\/en\/tutorial\/the-monthly-payroll-cycle-with-attendance\/#webpage","url":"https:\/\/docs.daftra.com\/en\/tutorial\/the-monthly-payroll-cycle-with-attendance\/","name":"The Monthly Payroll Cycle with Attendance: Shifts, Leave, Attendance Sheets, and the Payroll Run - Daftra Knowledge Base","isPartOf":{"@id":"https:\/\/docs.daftra.com\/#website"},"datePublished":"2026-10-04T09:12:52+00:00","dateModified":"2026-10-14T09:04:48+00:00","breadcrumb":{"@id":"https:\/\/docs.daftra.com\/en\/tutorial\/the-monthly-payroll-cycle-with-attendance\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/docs.daftra.com\/en\/tutorial\/the-monthly-payroll-cycle-with-attendance\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/docs.daftra.com\/en\/tutorial\/the-monthly-payroll-cycle-with-attendance\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/docs.daftra.com\/en\/"},{"@type":"ListItem","position":2,"name":"The Monthly Payroll Cycle with Attendance: Shifts, Leave, Attendance Sheets, and the Payroll Run"}]}]}},"_links":{"self":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/tutorial\/150587","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/tutorial"}],"about":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/types\/tutorial"}],"author":[{"embeddable":true,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/users\/17"}],"version-history":[{"count":3,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/tutorial\/150587\/revisions"}],"predecessor-version":[{"id":150590,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/tutorial\/150587\/revisions\/150590"}],"wp:attachment":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/media?parent=150587"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/categories?post=150587"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/tags?post=150587"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}