{"id":29633,"date":"2025-02-12T14:42:05","date_gmt":"2025-02-12T14:42:05","guid":{"rendered":"https:\/\/docs.daftra.com\/tutorial\/%d8%aa%d8%ba%d9%8a%d9%8a%d8%b1-%d8%b9%d9%86%d9%88%d8%a7%d9%86-%d8%a7%d9%84%d9%81%d8%a7%d8%aa%d9%88%d8%b1%d8%a9-%d8%aa%d9%84%d9%82%d8%a7%d8%a6%d9%8a%d9%8b%d8%a7-%d8%a8%d8%ad%d8%b3%d8%a8-%d9%86%d9%88\/"},"modified":"2025-03-09T08:37:37","modified_gmt":"2025-03-09T08:37:37","slug":"automatically-changing-the-invoice-title-based-on-the-client-type","status":"publish","type":"tutorial","link":"https:\/\/docs.daftra.com\/en\/tutorial\/automatically-changing-the-invoice-title-based-on-the-client-type\/","title":{"rendered":"Automatically Changing the Invoice Title based on the Client type"},"content":{"rendered":"<p>In addition to the manual method, you can also set a variable that automatically labels the invoice as\u00a0<strong>\u201cTax Invoice\u201d<\/strong>\u00a0for business\/ commercial clients or<strong>\u00a0\u201cSimplified Tax Invoice\u201d<\/strong>\u00a0for individual clients, without the need for separate templates for each type.<\/p>\n<p><strong>To automatically change the invoice title to \u201cTax Invoice\u201d or \u201cSimplified Tax Invoice\u201d based on the client type, follow these steps:<\/strong><\/p>\n<ol>\n<li aria-level=\"1\">From the main menu, click on<strong>\u00a0\u201cTemplates\u201d<\/strong>.<\/li>\n<li aria-level=\"1\">Choose\u00a0<strong>\u201cPrintable Templates\u201d<\/strong>\u00a0from the menu.<\/li>\n<li aria-level=\"1\">Click on the<strong>\u00a0\u201cInvoice\/ Estimate Layouts\u201d<\/strong>\u00a0card.<\/li>\n<li aria-level=\"1\">Click on the desired invoice template for modification, or click on the<strong>\u00a0\u201cNew Layout\u201d<\/strong>\u00a0button to create a new template for your account.<\/li>\n<li aria-level=\"1\">Inside the invoice design screen, click on the<strong>\u00a0\u201cTitles\u201d<\/strong>\u00a0tab.<\/li>\n<li aria-level=\"1\">Delete the existing title in the\u00a0<strong>\u201cInvoice Title\u201d<\/strong>\u00a0field.<\/li>\n<li aria-level=\"1\">Add the following variable\u00a0<em><strong>{%sa_auto_invoice_title%}<\/strong><\/em>\u00a0in the\u00a0<b>\u201cInvoice Title\u201d\u00a0<\/b>field instead of the deleted title.<\/li>\n<li aria-level=\"1\">Click on the\u00a0<strong>\u201cSave\u201d<\/strong>\u00a0button below the tab items.<\/li>\n<li aria-level=\"1\">Click on the\u00a0<strong>\u201cSave\u201d<\/strong>\u00a0button at the top right of the invoice design screen.<\/li>\n<\/ol>\n<ul>\n<li>Now, when you\u00a0<a href=\"https:\/\/docs.daftra.com\/en\/tutorial\/creating-an-invoice\/\">create a sales invoice<\/a>\u00a0for an\u00a0<strong>\u201cIndividual\u201d<\/strong>\u00a0client, you will find the invoice title as<strong>\u00a0\u201cSimplified Tax Invoice\u201d<\/strong>. Similarly, when you create a sales invoice for a\u00a0<strong>\u201cBusiness\/ Commercial\u201d<\/strong>\u00a0client, you will find the invoice title as\u00a0<strong>\u201cTax Invoice\u201d<\/strong>\u00a0without the need for separate templates for each client type.<\/li>\n<\/ul>\n","protected":false},"author":23,"featured_media":0,"template":"","categories":[2036,8122],"tags":[],"class_list":["post-29633","tutorial","type-tutorial","status-publish","hentry","category-sales","category-e-invoicing-saudi-arabia"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v17.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Automatically Changing the Invoice Title based on the Client type - 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\/automatically-changing-the-invoice-title-based-on-the-client-type\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Automatically Changing the Invoice Title based on the Client type - Daftra Knowledge Base\" \/>\n<meta property=\"og:description\" content=\"In addition to the manual method, you can also set a variable that automatically labels the invoice as\u00a0\u201cTax Invoice\u201d\u00a0for business\/ commercial clients or\u00a0\u201cSimplified Tax Invoice\u201d\u00a0for individual clients, without the need for separate templates for each type. To automatically change the invoice title to \u201cTax Invoice\u201d or \u201cSimplified Tax Invoice\u201d based on the client type, follow [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/docs.daftra.com\/en\/tutorial\/automatically-changing-the-invoice-title-based-on-the-client-type\/\" \/>\n<meta property=\"og:site_name\" content=\"Daftra Knowledge Base\" \/>\n<meta property=\"article:modified_time\" content=\"2025-03-09T08:37:37+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=\"1 minute\" \/>\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\/tutorial\/automatically-changing-the-invoice-title-based-on-the-client-type\/#webpage\",\"url\":\"https:\/\/docs.daftra.com\/en\/tutorial\/automatically-changing-the-invoice-title-based-on-the-client-type\/\",\"name\":\"Automatically Changing the Invoice Title based on the Client type - Daftra Knowledge Base\",\"isPartOf\":{\"@id\":\"https:\/\/docs.daftra.com\/#website\"},\"datePublished\":\"2025-02-12T14:42:05+00:00\",\"dateModified\":\"2025-03-09T08:37:37+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/docs.daftra.com\/en\/tutorial\/automatically-changing-the-invoice-title-based-on-the-client-type\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/docs.daftra.com\/en\/tutorial\/automatically-changing-the-invoice-title-based-on-the-client-type\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/docs.daftra.com\/en\/tutorial\/automatically-changing-the-invoice-title-based-on-the-client-type\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/docs.daftra.com\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Automatically Changing the Invoice Title based on the Client type\"}]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Automatically Changing the Invoice Title based on the Client type - 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\/automatically-changing-the-invoice-title-based-on-the-client-type\/","og_locale":"en_US","og_type":"article","og_title":"Automatically Changing the Invoice Title based on the Client type - Daftra Knowledge Base","og_description":"In addition to the manual method, you can also set a variable that automatically labels the invoice as\u00a0\u201cTax Invoice\u201d\u00a0for business\/ commercial clients or\u00a0\u201cSimplified Tax Invoice\u201d\u00a0for individual clients, without the need for separate templates for each type. To automatically change the invoice title to \u201cTax Invoice\u201d or \u201cSimplified Tax Invoice\u201d based on the client type, follow [&hellip;]","og_url":"https:\/\/docs.daftra.com\/en\/tutorial\/automatically-changing-the-invoice-title-based-on-the-client-type\/","og_site_name":"Daftra Knowledge Base","article_modified_time":"2025-03-09T08:37:37+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"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\/tutorial\/automatically-changing-the-invoice-title-based-on-the-client-type\/#webpage","url":"https:\/\/docs.daftra.com\/en\/tutorial\/automatically-changing-the-invoice-title-based-on-the-client-type\/","name":"Automatically Changing the Invoice Title based on the Client type - Daftra Knowledge Base","isPartOf":{"@id":"https:\/\/docs.daftra.com\/#website"},"datePublished":"2025-02-12T14:42:05+00:00","dateModified":"2025-03-09T08:37:37+00:00","breadcrumb":{"@id":"https:\/\/docs.daftra.com\/en\/tutorial\/automatically-changing-the-invoice-title-based-on-the-client-type\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/docs.daftra.com\/en\/tutorial\/automatically-changing-the-invoice-title-based-on-the-client-type\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/docs.daftra.com\/en\/tutorial\/automatically-changing-the-invoice-title-based-on-the-client-type\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/docs.daftra.com\/en\/"},{"@type":"ListItem","position":2,"name":"Automatically Changing the Invoice Title based on the Client type"}]}]}},"_links":{"self":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/tutorial\/29633","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\/23"}],"version-history":[{"count":1,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/tutorial\/29633\/revisions"}],"predecessor-version":[{"id":29634,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/tutorial\/29633\/revisions\/29634"}],"wp:attachment":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/media?parent=29633"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/categories?post=29633"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/tags?post=29633"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}