{"id":145310,"date":"2026-09-20T13:35:25","date_gmt":"2026-09-20T13:35:25","guid":{"rendered":"https:\/\/docs.daftra.com\/?post_type=faq&#038;p=145310"},"modified":"2026-09-20T13:35:39","modified_gmt":"2026-09-20T13:35:39","slug":"what-are-the-loyalty-points-variables-and-whats-the-difference-between-them","status":"publish","type":"faq","link":"https:\/\/docs.daftra.com\/en\/faq\/what-are-the-loyalty-points-variables-and-whats-the-difference-between-them\/","title":{"rendered":"What are the loyalty points variables, and what&#8217;s the difference between them?"},"content":{"rendered":"<div role=\"feed\" aria-label=\"Chat messages\" aria-describedby=\"_r_6q_\">\n<div tabindex=\"0\" role=\"article\" aria-setsize=\"374\" aria-posinset=\"374\" aria-label=\"Message 374 of 374\">\n<p dir=\"ltr\">The system allows you to add two loyalty points variables to sales invoice printable templates:<\/p>\n<ul dir=\"ltr\">\n<li><strong>Earned Loyalty Points<\/strong>: the number of points the client earned from this specific invoice.<\/li>\n<li><strong>Loyalty Points Balance<\/strong>: the client&#8217;s total loyalty points balance after this invoice.<\/li>\n<\/ul>\n<p dir=\"ltr\">The difference is that the first shows only the points from this invoice, while the second shows the client&#8217;s full cumulative balance. If the invoice doesn&#8217;t meet the conditions for earning points, or the client has no balance, both variables display as <strong>0<\/strong>.<\/p>\n<\/div>\n<\/div>\n","protected":false},"author":23,"template":"","categories":[2170],"tags":[15438,15439,14872,15435,14867,15436,15437,15431,15432,14855,15433,15434,14858],"class_list":{"0":"post-145310","1":"faq","2":"type-faq","3":"status-publish","4":"hentry","5":"category-loyalty-points-settings","6":"tag-and-whats-the-difference-between-them","7":"tag-custom-fields-in-templates","8":"tag-earned-loyalty-points-en","9":"tag-invoice-template-variables","10":"tag-loyalty-points-balance-en","11":"tag-loyalty-points-plugin","12":"tag-what-are-the-loyalty-points-variables","13":"tag-----en","14":"tag----en","16":"tag-------en"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v17.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>What are the loyalty points variables, and what&#039;s the difference between them? - 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\/faq\/what-are-the-loyalty-points-variables-and-whats-the-difference-between-them\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What are the loyalty points variables, and what&#039;s the difference between them? - Daftra Knowledge Base\" \/>\n<meta property=\"og:description\" content=\"The system allows you to add two loyalty points variables to sales invoice printable templates: Earned Loyalty Points: the number of points the client earned from this specific invoice. Loyalty Points Balance: the client&#8217;s total loyalty points balance after this invoice. The difference is that the first shows only the points from this invoice, while [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/docs.daftra.com\/en\/faq\/what-are-the-loyalty-points-variables-and-whats-the-difference-between-them\/\" \/>\n<meta property=\"og:site_name\" content=\"Daftra Knowledge Base\" \/>\n<meta property=\"article:modified_time\" content=\"2026-09-20T13:35:39+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\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\/faq\/what-are-the-loyalty-points-variables-and-whats-the-difference-between-them\/#webpage\",\"url\":\"https:\/\/docs.daftra.com\/en\/faq\/what-are-the-loyalty-points-variables-and-whats-the-difference-between-them\/\",\"name\":\"What are the loyalty points variables, and what's the difference between them? - Daftra Knowledge Base\",\"isPartOf\":{\"@id\":\"https:\/\/docs.daftra.com\/#website\"},\"datePublished\":\"2026-09-20T13:35:25+00:00\",\"dateModified\":\"2026-09-20T13:35:39+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/docs.daftra.com\/en\/faq\/what-are-the-loyalty-points-variables-and-whats-the-difference-between-them\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/docs.daftra.com\/en\/faq\/what-are-the-loyalty-points-variables-and-whats-the-difference-between-them\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/docs.daftra.com\/en\/faq\/what-are-the-loyalty-points-variables-and-whats-the-difference-between-them\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/docs.daftra.com\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"What are the loyalty points variables, and what&#8217;s the difference between them?\"}]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What are the loyalty points variables, and what's the difference between them? - 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\/faq\/what-are-the-loyalty-points-variables-and-whats-the-difference-between-them\/","og_locale":"en_US","og_type":"article","og_title":"What are the loyalty points variables, and what's the difference between them? - Daftra Knowledge Base","og_description":"The system allows you to add two loyalty points variables to sales invoice printable templates: Earned Loyalty Points: the number of points the client earned from this specific invoice. Loyalty Points Balance: the client&#8217;s total loyalty points balance after this invoice. The difference is that the first shows only the points from this invoice, while [&hellip;]","og_url":"https:\/\/docs.daftra.com\/en\/faq\/what-are-the-loyalty-points-variables-and-whats-the-difference-between-them\/","og_site_name":"Daftra Knowledge Base","article_modified_time":"2026-09-20T13:35:39+00:00","twitter_card":"summary_large_image","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\/faq\/what-are-the-loyalty-points-variables-and-whats-the-difference-between-them\/#webpage","url":"https:\/\/docs.daftra.com\/en\/faq\/what-are-the-loyalty-points-variables-and-whats-the-difference-between-them\/","name":"What are the loyalty points variables, and what's the difference between them? - Daftra Knowledge Base","isPartOf":{"@id":"https:\/\/docs.daftra.com\/#website"},"datePublished":"2026-09-20T13:35:25+00:00","dateModified":"2026-09-20T13:35:39+00:00","breadcrumb":{"@id":"https:\/\/docs.daftra.com\/en\/faq\/what-are-the-loyalty-points-variables-and-whats-the-difference-between-them\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/docs.daftra.com\/en\/faq\/what-are-the-loyalty-points-variables-and-whats-the-difference-between-them\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/docs.daftra.com\/en\/faq\/what-are-the-loyalty-points-variables-and-whats-the-difference-between-them\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/docs.daftra.com\/en\/"},{"@type":"ListItem","position":2,"name":"What are the loyalty points variables, and what&#8217;s the difference between them?"}]}]}},"_links":{"self":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/faq\/145310","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/faq"}],"about":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/types\/faq"}],"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\/faq\/145310\/revisions"}],"predecessor-version":[{"id":145311,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/faq\/145310\/revisions\/145311"}],"wp:attachment":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/media?parent=145310"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/categories?post=145310"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/tags?post=145310"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}