{"id":145528,"date":"2026-09-09T10:44:17","date_gmt":"2026-09-09T10:44:17","guid":{"rendered":"https:\/\/docs.daftra.com\/?post_type=user_manual&#038;p=145528"},"modified":"2026-09-09T11:35:50","modified_gmt":"2026-09-09T11:35:50","slug":"how-to-add-an-end-of-service-bonus-salary-component-using-ai","status":"publish","type":"user_manual","link":"https:\/\/docs.daftra.com\/en\/user_manual\/how-to-add-an-end-of-service-bonus-salary-component-using-ai\/","title":{"rendered":"How to Add an End of Service Bonus Salary Component Using AI"},"content":{"rendered":"<section class=\"wpb-content-wrapper\"><p>[vc_row][vc_column][vc_column_text]<\/p>\n<p style=\"text-align: left;\">The system allows you to automatically generate salary components using AI, without the need to manually write a calculation formula. In this article, we explain the steps to create an &#8220;End of Service Bonus&#8221; component using one of the ready-made examples available in the system.<\/p>\n<p>[\/vc_column_text][vc_custom_heading text=&#8221;How to Add an End of Service Bonus Salary Component 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_1{margin-left: 200px !important;background-color: #F6F9FC !important;border-radius: 4px !important;}&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_custom_heading text=&#8221;First: Accessing the Salary Components Screen&#8221; font_container=&#8221;tag:h3|font_size:22|text_align:left|color:%2304306b|line_height:1.8&#8243; use_theme_fonts=&#8221;yes&#8221;][vc_column_text]<\/p>\n<p style=\"text-align: left;\"><strong>Step 1: Open the Salary Components Screen<\/strong><\/p>\n<p style=\"text-align: left;\">From the main menu, click on &#8220;Payroll,&#8221; then&#8221;Salary Components&#8221;, then click on &#8220;New Salary Components&#8221; button.<\/p>\n<p>[\/vc_column_text][vc_single_image image=&#8221;145537&#8243; img_size=&#8221;full&#8221; alignment=&#8221;center&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_custom_heading text=&#8221;Second: Determining the Component Type&#8221; font_container=&#8221;tag:h3|font_size:22|text_align:left|color:%2304306b|line_height:1.8&#8243; use_theme_fonts=&#8221;yes&#8221;][vc_column_text]<\/p>\n<p dir=\"ltr\"><strong>Step 2: Select the Type<\/strong><\/p>\n<p dir=\"ltr\">From the &#8220;Salary Component Information&#8221; section, select &#8220;Earnings&#8221; as the Type \u2014 since the End of Service Bonus is a value added to the salary, not a deduction from it.<\/p>\n<p>[\/vc_column_text][vc_single_image image=&#8221;145540&#8243; img_size=&#8221;full&#8221; alignment=&#8221;center&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_custom_heading text=&#8221;Third: Selecting the AI Calculation Method&#8221; font_container=&#8221;tag:h3|font_size:22|text_align:left|color:%2304306b|line_height:1.8&#8243; use_theme_fonts=&#8221;yes&#8221;][vc_column_text]<\/p>\n<p style=\"text-align: left;\"><strong>Step 3: Select &#8220;AI&#8221;<\/strong><\/p>\n<p style=\"text-align: left;\">From the &#8220;Salary Component Calculation Method&#8221; section, select &#8220;AI.&#8221;<\/p>\n<p>[\/vc_column_text][vc_single_image image=&#8221;145542&#8243; img_size=&#8221;full&#8221; alignment=&#8221;center&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_custom_heading text=&#8221;Fourth: Setting Up the Description&#8221; font_container=&#8221;tag:h3|font_size:22|text_align:left|color:%2304306b|line_height:1.8&#8243; use_theme_fonts=&#8221;yes&#8221;][vc_column_text]<\/p>\n<p style=\"text-align: left;\"><strong>Step 4: Choose the End of Service Bonus Example<\/strong><\/p>\n<p style=\"text-align: left;\">&#8220;Example Prompts&#8221; button appears, containing a list of ready-made examples suitable for the &#8220;Earnings&#8221; type. Look for the &#8220;End of Service Bonus&#8221; example and click on it.<\/p>\n<p>[\/vc_column_text][vc_single_image image=&#8221;145544&#8243; img_size=&#8221;full&#8221; alignment=&#8221;center&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<p dir=\"ltr\">The following text is automatically inserted into the instructions field:<\/p>\n<p dir=\"ltr\">&#8220;Calculate the employee\u2019s end of service bonus based on the employee\u2019s joining date. For each completed year of service, add an amount equal to one month of the employee\u2019s basic salary. Only fully completed years of employment should be considered when calculating the bonus.&#8221;<\/p>\n<p dir=\"ltr\">You can edit this text manually if you&#8217;d like to customize the bonus&#8217;s description.<\/p>\n<p>[\/vc_column_text][vc_single_image image=&#8221;145546&#8243; img_size=&#8221;full&#8221; alignment=&#8221;center&#8221;][vc_column_text]<\/p>\n<p style=\"text-align: left;\"><strong>Step 5: Select the Employee and Define the Time Period<\/strong><\/p>\n<p style=\"text-align: left;\">Select the employee and define the time period to use for testing the component.<\/p>\n<p>[\/vc_column_text][vc_single_image image=&#8221;145550&#8243; img_size=&#8221;full&#8221; alignment=&#8221;center&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<p style=\"text-align: left;\"><strong>Step 6: Generate and Test the Component<\/strong><\/p>\n<p style=\"text-align: left;\">Click on &#8220;Generate &amp; Test.&#8221; After reviewing the result, you can save the component to use it as a salary component.<\/p>\n<p>[\/vc_column_text][\/vc_column][\/vc_row]<\/p>\n<\/section>","protected":false},"author":39,"template":"","categories":[2200,10393],"tags":[15679,15681,15680,15682,15686,15683,15685,15684],"class_list":["post-145528","user_manual","type-user_manual","status-publish","hentry","category-manage-payrolls","category-salary-components","tag-adding-an-end-of-service-bonus-salary-component","tag-ai-calculation-method-for-salary-components","tag-creating-a-salary-component-using-ai","tag-example-prompts-for-salary-components","tag-generate-and-test-a-salary-component","tag-how-do-i-add-an-end-of-service-bonus","tag-select-employee-and-time-period","tag-testing-a-salary-component-before-saving"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v17.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Add an End of Service Bonus Salary Component Using AI - Daftra Knowledge Base<\/title>\n<meta name=\"description\" content=\"Learn how to add an End of Service Bonus salary component using AI in Daftra.\" \/>\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\/how-to-add-an-end-of-service-bonus-salary-component-using-ai\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Add an End of Service Bonus Salary Component Using AI - Daftra Knowledge Base\" \/>\n<meta property=\"og:description\" content=\"Learn how to add an End of Service Bonus salary component using AI in Daftra.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/docs.daftra.com\/en\/user_manual\/how-to-add-an-end-of-service-bonus-salary-component-using-ai\/\" \/>\n<meta property=\"og:site_name\" content=\"Daftra Knowledge Base\" \/>\n<meta property=\"article:modified_time\" content=\"2026-09-09T11:35:50+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=\"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\":\"WebPage\",\"@id\":\"https:\/\/docs.daftra.com\/en\/user_manual\/how-to-add-an-end-of-service-bonus-salary-component-using-ai\/#webpage\",\"url\":\"https:\/\/docs.daftra.com\/en\/user_manual\/how-to-add-an-end-of-service-bonus-salary-component-using-ai\/\",\"name\":\"How to Add an End of Service Bonus Salary Component Using AI - Daftra Knowledge Base\",\"isPartOf\":{\"@id\":\"https:\/\/docs.daftra.com\/#website\"},\"datePublished\":\"2026-09-09T10:44:17+00:00\",\"dateModified\":\"2026-09-09T11:35:50+00:00\",\"description\":\"Learn how to add an End of Service Bonus salary component using AI in Daftra.\",\"breadcrumb\":{\"@id\":\"https:\/\/docs.daftra.com\/en\/user_manual\/how-to-add-an-end-of-service-bonus-salary-component-using-ai\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/docs.daftra.com\/en\/user_manual\/how-to-add-an-end-of-service-bonus-salary-component-using-ai\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/docs.daftra.com\/en\/user_manual\/how-to-add-an-end-of-service-bonus-salary-component-using-ai\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/docs.daftra.com\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Add an End of Service Bonus Salary Component Using AI\"}]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Add an End of Service Bonus Salary Component Using AI - Daftra Knowledge Base","description":"Learn how to add an End of Service Bonus salary component using AI in Daftra.","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\/how-to-add-an-end-of-service-bonus-salary-component-using-ai\/","og_locale":"en_US","og_type":"article","og_title":"How to Add an End of Service Bonus Salary Component Using AI - Daftra Knowledge Base","og_description":"Learn how to add an End of Service Bonus salary component using AI in Daftra.","og_url":"https:\/\/docs.daftra.com\/en\/user_manual\/how-to-add-an-end-of-service-bonus-salary-component-using-ai\/","og_site_name":"Daftra Knowledge Base","article_modified_time":"2026-09-09T11:35:50+00:00","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":"WebPage","@id":"https:\/\/docs.daftra.com\/en\/user_manual\/how-to-add-an-end-of-service-bonus-salary-component-using-ai\/#webpage","url":"https:\/\/docs.daftra.com\/en\/user_manual\/how-to-add-an-end-of-service-bonus-salary-component-using-ai\/","name":"How to Add an End of Service Bonus Salary Component Using AI - Daftra Knowledge Base","isPartOf":{"@id":"https:\/\/docs.daftra.com\/#website"},"datePublished":"2026-09-09T10:44:17+00:00","dateModified":"2026-09-09T11:35:50+00:00","description":"Learn how to add an End of Service Bonus salary component using AI in Daftra.","breadcrumb":{"@id":"https:\/\/docs.daftra.com\/en\/user_manual\/how-to-add-an-end-of-service-bonus-salary-component-using-ai\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/docs.daftra.com\/en\/user_manual\/how-to-add-an-end-of-service-bonus-salary-component-using-ai\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/docs.daftra.com\/en\/user_manual\/how-to-add-an-end-of-service-bonus-salary-component-using-ai\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/docs.daftra.com\/en\/"},{"@type":"ListItem","position":2,"name":"How to Add an End of Service Bonus Salary Component Using AI"}]}]}},"_links":{"self":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/user_manual\/145528","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\/39"}],"version-history":[{"count":7,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/user_manual\/145528\/revisions"}],"predecessor-version":[{"id":145558,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/user_manual\/145528\/revisions\/145558"}],"wp:attachment":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/media?parent=145528"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/categories?post=145528"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/tags?post=145528"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}