{"id":136646,"date":"2026-04-08T14:35:48","date_gmt":"2026-04-08T14:35:48","guid":{"rendered":"https:\/\/docs.daftra.com\/user_manual\/%d8%a8%d9%86%d9%88%d8%af-%d8%a7%d9%84%d8%b1%d9%88%d8%a7%d8%aa%d8%a8\/"},"modified":"2026-05-10T09:31:48","modified_gmt":"2026-05-10T09:31:48","slug":"payroll-items","status":"publish","type":"user_manual","link":"https:\/\/docs.daftra.com\/en\/user_manual\/payroll-items\/","title":{"rendered":"Adding Payroll Items Guide"},"content":{"rendered":"<section class=\"wpb-content-wrapper\"><p>[vc_row][vc_column][vc_column_text]<\/p>\n<p data-start=\"852\" data-end=\"1010\">The system allows you to create flexible payroll items based on employee data and attendance records, with the ability to test calculations before saving.<\/p>\n<p>[\/vc_column_text][vc_custom_heading text=&#8221;Accessing Payroll Items&#8221; font_container=&#8221;tag:h2|font_size:28|text_align:center|color:%2304306b|line_height:2&#8243; use_theme_fonts=&#8221;yes&#8221; css=&#8221;.vc_custom_1778396393887{margin-left: 200px !important;background-color: #f6f9fc !important;border-radius: 4px !important;}&#8221;][vc_column_text]<\/p>\n<p data-start=\"233\" data-end=\"356\">From the main menu, go to \u201c<strong>Payroll<\/strong>\u201d, select \u201c<strong>Payroll Components<\/strong>\u201d, then click \u201c<strong>Add<\/strong> <strong>Payroll<\/strong> <strong>Item<\/strong>.\u201d<\/p>\n<h2 data-section-id=\"1k7woh1\" data-start=\"771\" data-end=\"805\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-136685 size-full\" src=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2026\/04\/Salary-Components-.png\" alt=\"\" width=\"1365\" height=\"628\" srcset=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2026\/04\/Salary-Components-.png 1365w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2026\/04\/Salary-Components--300x138.png 300w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2026\/04\/Salary-Components--1024x471.png 1024w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2026\/04\/Salary-Components--768x353.png 768w\" sizes=\"auto, (max-width: 1365px) 100vw, 1365px\" \/><\/h2>\n<p>When the \u201c<strong>Salary Component Information<\/strong>\u201d page opens, enter the basic item details, including:<\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><strong>Name:<\/strong> Such as Bonus, Allowance, or Deduction.<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><strong>Type:<\/strong> Whether it is an Earning or Deduction.<\/li>\n<\/ul>\n<p>You can also:<\/p>\n<ul>\n<li>Add a description for the payroll item.<\/li>\n<li>Set the item status as Active or Inactive.<\/li>\n<li>Select the related accounting account.<\/li>\n<li>Enable \u201c<strong>Reference Value Only<\/strong>\u201d if you want to use the item for reference purposes without affecting the payroll calculation.<\/li>\n<\/ul>\n<p data-start=\"387\" data-end=\"769\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-136690 size-full\" src=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2026\/04\/Salary-Components-Information-.png\" alt=\"\" width=\"1167\" height=\"279\" srcset=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2026\/04\/Salary-Components-Information-.png 1167w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2026\/04\/Salary-Components-Information--300x72.png 300w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2026\/04\/Salary-Components-Information--1024x245.png 1024w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2026\/04\/Salary-Components-Information--768x184.png 768w\" sizes=\"auto, (max-width: 1167px) 100vw, 1167px\" \/><\/p>\n<p>[\/vc_column_text][vc_custom_heading text=&#8221;Selecting the Calculation Method&#8221; font_container=&#8221;tag:h2|font_size:28|text_align:center|color:%2304306b|line_height:2&#8243; use_theme_fonts=&#8221;yes&#8221; css=&#8221;.vc_custom_1778401628212{margin-left: 200px !important;background-color: #f6f9fc !important;border-radius: 4px !important;}&#8221;][vc_column_text]The system provides multiple calculation methods for payroll items. Choose the method that matches your payroll structure:<\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><strong>Amount:<\/strong> Use this option to assign a fixed value, such as a monthly allowance or a predefined deduction.<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><strong>Formula:<\/strong> Use formulas to calculate values dynamically based on employee data such as the basic salary or attendance days.<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><strong>Condition (IF):<\/strong> Use conditions to apply the payroll item only when specific criteria are met, such as applying a deduction or granting an additional bonus under certain cases.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-136692 size-full\" src=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2026\/04\/Salary-Compnents-Method.png\" alt=\"\" width=\"1170\" height=\"289\" srcset=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2026\/04\/Salary-Compnents-Method.png 1170w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2026\/04\/Salary-Compnents-Method-300x74.png 300w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2026\/04\/Salary-Compnents-Method-1024x253.png 1024w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2026\/04\/Salary-Compnents-Method-768x190.png 768w\" sizes=\"auto, (max-width: 1170px) 100vw, 1170px\" \/>[\/vc_column_text][vc_custom_heading text=&#8221;Using Formulas and Testing Results&#8221; font_container=&#8221;tag:h2|font_size:28|text_align:center|color:%2304306b|line_height:2&#8243; use_theme_fonts=&#8221;yes&#8221; css=&#8221;.vc_custom_1778402217785{margin-left: 200px !important;background-color: #f6f9fc !important;border-radius: 4px !important;}&#8221;][vc_column_text]The Formula option helps you create dynamic payroll items that automatically change based on employee data.<\/p>\n<p>For example, you can:<\/p>\n<p>Calculate a bonus as a percentage of the employee\u2019s basic salary.<br \/>\nMultiply a value when a specific condition is met.<\/p>\n<p>The system automatically validates the entered data and applies the formula according to the defined conditions.<\/p>\n<h3>Testing the Formula Before Saving<\/h3>\n<p><span style=\"font-weight: 400;\">Before saving the payroll item, click \u201c<strong>Test Formula<\/strong>\u201d to verify the calculation results.<br \/>\nSelect the employee and define the required period, and the system will display:<br \/>\n<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\">The formula calculation result.<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">The condition status, if applicable.<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">The final payroll item value.<\/li>\n<\/ul>\n<p><b><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-48885 size-full\" src=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2026\/04\/image-4.png\" alt=\"\" width=\"1703\" height=\"867\" srcset=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2026\/04\/image-4.png 1703w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2026\/04\/image-4-300x153.png 300w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2026\/04\/image-4-1024x521.png 1024w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2026\/04\/image-4-768x391.png 768w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2026\/04\/image-4-1536x782.png 1536w\" sizes=\"auto, (max-width: 1703px) 100vw, 1703px\" \/><\/b>[\/vc_column_text][vc_message message_box_style=&#8221;3d&#8221; message_box_color=&#8221;alert-warning&#8221;]<strong>Important<\/strong>: Ensure the employee has an active contract with a defined basic salary, and that attendance records are available for the selected period to ensure accurate calculation results.[\/vc_message][vc_custom_heading text=&#8221;Creating Payroll Items Using AI&#8221; font_container=&#8221;tag:h2|font_size:28|text_align:center|color:%2304306b|line_height:2&#8243; use_theme_fonts=&#8221;yes&#8221; css=&#8221;.vc_custom_1778404209295{margin-left: 200px !important;background-color: #f6f9fc !important;border-radius: 4px !important;}&#8221;][vc_column_text]<span style=\"font-weight: 400;\">If you prefer not to write formulas manually, you can use the \u201c<strong>AI (Beta)<\/strong>\u201d option.<br \/>\nEnter a description of the payroll item you want to create, or click \u201c<strong>Ready Examples<\/strong>\u201d to use a predefined example, then click \u201c<strong>Generate &amp; Test<\/strong>.\u201d<br \/>\n<\/span><\/p>\n<p><span style=\"font-weight: 400;\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-48897 size-full\" src=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2026\/04\/Screenshot-2026-04-08-162459.png\" alt=\"\" width=\"1116\" height=\"406\" srcset=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2026\/04\/Screenshot-2026-04-08-162459.png 1116w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2026\/04\/Screenshot-2026-04-08-162459-300x109.png 300w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2026\/04\/Screenshot-2026-04-08-162459-1024x373.png 1024w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2026\/04\/Screenshot-2026-04-08-162459-768x279.png 768w\" sizes=\"auto, (max-width: 1116px) 100vw, 1116px\" \/><\/span><\/p>\n<p>After reviewing the generated results and confirming the calculations are correct, click \u201c<strong>Apply &amp; Save<\/strong>.\u201d<\/p>\n<p><span style=\"font-weight: 400;\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-48899 size-full\" src=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2026\/04\/Screenshot-2026-04-08-123717.png\" alt=\"\" width=\"1365\" height=\"633\" srcset=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2026\/04\/Screenshot-2026-04-08-123717.png 1365w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2026\/04\/Screenshot-2026-04-08-123717-300x139.png 300w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2026\/04\/Screenshot-2026-04-08-123717-1024x475.png 1024w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2026\/04\/Screenshot-2026-04-08-123717-768x356.png 768w\" sizes=\"auto, (max-width: 1365px) 100vw, 1365px\" \/><\/span>[\/vc_column_text][\/vc_column][\/vc_row][vc_row][vc_column][\/vc_column][\/vc_row]<\/p>\n<\/section>","protected":false},"author":29,"template":"","categories":[2200],"tags":[],"class_list":["post-136646","user_manual","type-user_manual","status-publish","hentry","category-manage-payrolls"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v17.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Adding Payroll Items Guide - 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\/user_manual\/payroll-items\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Adding Payroll Items Guide - Daftra Knowledge Base\" \/>\n<meta property=\"og:description\" content=\"[vc_row][vc_column][vc_column_text] The system allows you to create flexible payroll items based on employee data and attendance records, with the ability to test calculations before saving. [\/vc_column_text][vc_custom_heading text=&#8221;Accessing Payroll Items&#8221; font_container=&#8221;tag:h2|font_size:28|text_align:center|color:%2304306b|line_height:2&#8243; use_theme_fonts=&#8221;yes&#8221; css=&#8221;.vc_custom_1778396393887{margin-left: 200px !important;background-color: #f6f9fc !important;border-radius: 4px !important;}&#8221;][vc_column_text] From the main menu, go to \u201cPayroll\u201d, select \u201cPayroll Components\u201d, then click \u201cAdd Payroll Item.\u201d When the [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/docs.daftra.com\/en\/user_manual\/payroll-items\/\" \/>\n<meta property=\"og:site_name\" content=\"Daftra Knowledge Base\" \/>\n<meta property=\"article:modified_time\" content=\"2026-05-10T09:31:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2026\/04\/Salary-Components-.png\" \/>\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=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/docs.daftra.com\/#website\",\"url\":\"https:\/\/docs.daftra.com\/\",\"name\":\"Daftra Knowledge Base\",\"description\":\"Daftra\",\"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\":\"ImageObject\",\"@id\":\"https:\/\/docs.daftra.com\/en\/user_manual\/payroll-items\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2026\/04\/Salary-Components-.png\",\"contentUrl\":\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2026\/04\/Salary-Components-.png\",\"width\":1365,\"height\":628},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/docs.daftra.com\/en\/user_manual\/payroll-items\/#webpage\",\"url\":\"https:\/\/docs.daftra.com\/en\/user_manual\/payroll-items\/\",\"name\":\"Adding Payroll Items Guide - Daftra Knowledge Base\",\"isPartOf\":{\"@id\":\"https:\/\/docs.daftra.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/docs.daftra.com\/en\/user_manual\/payroll-items\/#primaryimage\"},\"datePublished\":\"2026-04-08T14:35:48+00:00\",\"dateModified\":\"2026-05-10T09:31:48+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/docs.daftra.com\/en\/user_manual\/payroll-items\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/docs.daftra.com\/en\/user_manual\/payroll-items\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/docs.daftra.com\/en\/user_manual\/payroll-items\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/docs.daftra.com\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Adding Payroll Items Guide\"}]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Adding Payroll Items Guide - 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\/user_manual\/payroll-items\/","og_locale":"en_US","og_type":"article","og_title":"Adding Payroll Items Guide - Daftra Knowledge Base","og_description":"[vc_row][vc_column][vc_column_text] The system allows you to create flexible payroll items based on employee data and attendance records, with the ability to test calculations before saving. [\/vc_column_text][vc_custom_heading text=&#8221;Accessing Payroll Items&#8221; font_container=&#8221;tag:h2|font_size:28|text_align:center|color:%2304306b|line_height:2&#8243; use_theme_fonts=&#8221;yes&#8221; css=&#8221;.vc_custom_1778396393887{margin-left: 200px !important;background-color: #f6f9fc !important;border-radius: 4px !important;}&#8221;][vc_column_text] From the main menu, go to \u201cPayroll\u201d, select \u201cPayroll Components\u201d, then click \u201cAdd Payroll Item.\u201d When the [&hellip;]","og_url":"https:\/\/docs.daftra.com\/en\/user_manual\/payroll-items\/","og_site_name":"Daftra Knowledge Base","article_modified_time":"2026-05-10T09:31:48+00:00","og_image":[{"url":"https:\/\/docs.daftra.com\/wp-content\/uploads\/2026\/04\/Salary-Components-.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/docs.daftra.com\/#website","url":"https:\/\/docs.daftra.com\/","name":"Daftra Knowledge Base","description":"Daftra","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":"ImageObject","@id":"https:\/\/docs.daftra.com\/en\/user_manual\/payroll-items\/#primaryimage","inLanguage":"en-US","url":"https:\/\/docs.daftra.com\/wp-content\/uploads\/2026\/04\/Salary-Components-.png","contentUrl":"https:\/\/docs.daftra.com\/wp-content\/uploads\/2026\/04\/Salary-Components-.png","width":1365,"height":628},{"@type":"WebPage","@id":"https:\/\/docs.daftra.com\/en\/user_manual\/payroll-items\/#webpage","url":"https:\/\/docs.daftra.com\/en\/user_manual\/payroll-items\/","name":"Adding Payroll Items Guide - Daftra Knowledge Base","isPartOf":{"@id":"https:\/\/docs.daftra.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/docs.daftra.com\/en\/user_manual\/payroll-items\/#primaryimage"},"datePublished":"2026-04-08T14:35:48+00:00","dateModified":"2026-05-10T09:31:48+00:00","breadcrumb":{"@id":"https:\/\/docs.daftra.com\/en\/user_manual\/payroll-items\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/docs.daftra.com\/en\/user_manual\/payroll-items\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/docs.daftra.com\/en\/user_manual\/payroll-items\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/docs.daftra.com\/en\/"},{"@type":"ListItem","position":2,"name":"Adding Payroll Items Guide"}]}]}},"_links":{"self":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/user_manual\/136646","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/user_manual"}],"about":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/types\/user_manual"}],"author":[{"embeddable":true,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/users\/29"}],"version-history":[{"count":3,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/user_manual\/136646\/revisions"}],"predecessor-version":[{"id":136703,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/user_manual\/136646\/revisions\/136703"}],"wp:attachment":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/media?parent=136646"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/categories?post=136646"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/tags?post=136646"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}