{"id":15825,"date":"2021-03-11T21:55:29","date_gmt":"2021-03-11T21:55:29","guid":{"rendered":"https:\/\/synder.com\/help\/?p=15825"},"modified":"2026-08-13T15:37:31","modified_gmt":"2026-08-13T15:37:31","slug":"apply-classes-to-expenses-automatically","status":"publish","type":"post","link":"https:\/\/synder.com\/help\/apply-classes-to-expenses-automatically\/","title":{"rendered":"How to Apply Classes to Expenses Automatically"},"content":{"rendered":"\n<p>Expenses \u2014 no one likes them, but everyone needs to categorize them. Now Synder can apply classes to your expenses automatically, so you don\u2019t have to do it by hand. This guide shows you how to apply classes to expenses with Synder\u2019s <a rel=\"noreferrer noopener\" href=\"https:\/\/synder.com\/help\/how-rules-work-in-synder\/\" target=\"_blank\">Smart Rules feature<\/a>.<\/p>\n\n\n\n<div style=\"background:#e8f5e9;border-left:4px solid #43a047;padding:12px 16px;margin-bottom:20px;\">\n<strong>Using Xero?<\/strong> Xero doesn\u2019t have Classes \u2014 the Xero equivalent is a <strong>Tracking Category<\/strong> (Xero allows up to two). Smart Rules apply them on the matching Xero entity \u2014 a <strong>Bill<\/strong> instead of an Expense. The steps below are the same in principle. See <a href=\"https:\/\/synder.com\/help\/how-to-assign-xero-tracking-categories-using-smart-rules\/\">How to Automatically Assign Xero Tracking Categories Using Smart Rules<\/a> for the Xero-specific setup.\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Deciding which condition to use<\/h2>\n\n\n\n<p>First, you need a way to tell your expenses apart. Say you sell two products: one costs $20, and the other costs $400. You want to apply the <em>Minor fees<\/em> class to the fees on the first product, and the <em>Major fees<\/em> class to the fees on the second one.<\/p>\n\n\n\n<p>In this example, the fee on the first product will rarely go above $10. The fee on the second product, on the other hand, will rarely fall below $10. So we\u2019ll use the <strong>fee amount<\/strong> as the rule\u2019s condition. Of course, you can pick any condition that fits your own business flow.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Creating your Smart Rule<\/h2>\n\n\n\n<ol class=\"wp-block-list\"><li>Go to <strong>Smart Rules \u2192 Rules \u2192 Create Rule<\/strong>.<\/li><li>Choose the trigger that starts your rule: <strong>Expense \u2192 Created<\/strong>. Now, each time Synder creates an expense in your QuickBooks, this rule fires.<\/li><li>Choose the condition that tells your expenses apart: <strong>Total amount \u2192 Less or equals \u2192 10<\/strong>. This way, Synder checks the condition and applies the rule when it matches.<br><strong>Note<\/strong>: for your case, feel free to use any other condition that suits your business flow.<\/li><li>Finally, choose the action: <strong>QuickBooks action \u2192 Expense \u2192 Update current<\/strong>. This tells Synder to update the exact expense that triggered the rule.<\/li><li>Synder then shows you an expense template, where you select the class.<br><strong>Note<\/strong>: set your classes up in QuickBooks first. If QuickBooks has no classes, this field won\u2019t appear in Synder either.<\/li><li>Finally, repeat the action for the opposite case \u2014 when the condition isn\u2019t met \u2014 if you also want Synder to update those expenses.<\/li><\/ol>\n\n\n\n<div class=\"wp-block-advgb-images-slider advgb-images-slider-block\"><div class=\"advgb-images-slider\" data-slick=\"{&quot;rtl&quot;: false}\"><div class=\"advgb-image-slider-item\"><img decoding=\"async\" src=\"https:\/\/synder.com\/help\/wp-content\/uploads\/sites\/2\/2021\/03\/Classes-on-expenses-1.png\" class=\"advgb-image-slider-img\" alt=\"Applying classes to expenses using Synder Smart Rules\" style=\"width:100%;height:auto\"\/><div class=\"advgb-image-slider-item-info\" style=\"justify-content:center;align-items:center\"><\/div><\/div><div class=\"advgb-image-slider-item\"><img decoding=\"async\" src=\"https:\/\/synder.com\/help\/wp-content\/uploads\/sites\/2\/2021\/03\/Classes-on-expenses-2.png\" class=\"advgb-image-slider-img\" alt=\"Applying classes to expenses using Synder Smart Rules\" style=\"width:100%;height:auto\"\/><div class=\"advgb-image-slider-item-info\" style=\"justify-content:center;align-items:center\"><\/div><\/div><div class=\"advgb-image-slider-item\"><img decoding=\"async\" src=\"https:\/\/synder.com\/help\/wp-content\/uploads\/sites\/2\/2021\/03\/Classes-on-expenses-3.png\" class=\"advgb-image-slider-img\" alt=\"Applying classes to expenses using Synder Smart Rules\" style=\"width:100%;height:auto\"\/><div class=\"advgb-image-slider-item-info\" style=\"justify-content:center;align-items:center\"><\/div><\/div><\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Check the results<\/h2>\n\n\n\n<p>That\u2019s it! Now sync a few transactions in the <em>Platform transactions<\/em> tab, and Synder applies the right class to each expense for you.<\/p>\n\n\n\n<div class=\"wp-block-advgb-images-slider advgb-images-slider-block\"><div class=\"advgb-images-slider\" data-slick=\"{&quot;rtl&quot;: false}\"><div class=\"advgb-image-slider-item\"><img decoding=\"async\" src=\"https:\/\/synder.com\/help\/wp-content\/uploads\/sites\/2\/2021\/03\/Classes-on-expenses-4.png\" class=\"advgb-image-slider-img\" alt=\"Applying classes to expenses using Synder Smart Rules\" style=\"width:100%;height:auto\"\/><div class=\"advgb-image-slider-item-info\" style=\"justify-content:center;align-items:center\"><\/div><\/div><div class=\"advgb-image-slider-item\"><img decoding=\"async\" src=\"https:\/\/synder.com\/help\/wp-content\/uploads\/sites\/2\/2021\/03\/Classes-on-expenses-5.png\" class=\"advgb-image-slider-img\" alt=\"Applying classes to expenses using Synder Smart Rules\" style=\"width:100%;height:auto\"\/><div class=\"advgb-image-slider-item-info\" style=\"justify-content:center;align-items:center\"><\/div><\/div><\/div><\/div>\n\n\n\n<p><a href=\"https:\/\/synder.com\/contact\/\"><em>Reach out to the Synder team<\/em><\/a>&nbsp;via online support chat, phone, or email with any questions you have \u2013 we\u2019re always happy to help you!<\/p>\n\n\n\n<script>\nif (window.convertflow == undefined) {\nvar script = document.createElement('script'); \nscript.async = true;\nscript.src = \"https:\/\/js.convertflow.co\/production\/websites\/11040.js\"; \ndocument.body.appendChild(script); \n};\n<\/script>\n<div class=\"cf-cta-snippet cta74541\" website-id=\"11040\" cta-id=\"74541\"><\/div>\n\n\n\n<p><br><\/p>\n\n\n\n<p><\/p>\n\n","protected":false},"excerpt":{"rendered":"<p>Expenses \u2014 no one likes them, but everyone needs to categorize them. Now Synder can apply classes to your expenses automatically, so you don\u2019t have to do it by hand. This guide shows you how to apply classes to expenses with Synder\u2019s Smart Rules feature. Using Xero? Xero doesn\u2019t have Classes \u2014 the Xero equivalent [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","advgb_blocks_editor_width":"","advgb_blocks_columns_visual_guide":"","footnotes":""},"categories":[369,264,374],"tags":[],"ppma_author":[341],"class_list":["post-15825","post","type-post","status-publish","format-standard","hentry","category-transaction-recording-per-transaction","category-smart-rules","category-categorization-pt"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Apply Classes to Expenses Automatically with Synder<\/title>\n<meta name=\"description\" content=\"Learn how to apply classes to expenses automatically in QuickBooks with Synder Smart Rules \u2014 set the condition once and each expense gets the right class.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/synder.com\/help\/apply-classes-to-expenses-automatically\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Apply Classes to Expenses Automatically with Synder\" \/>\n<meta property=\"og:description\" content=\"Learn how to apply classes to expenses automatically in QuickBooks with Synder Smart Rules \u2014 set the condition once and each expense gets the right class.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/synder.com\/help\/apply-classes-to-expenses-automatically\/\" \/>\n<meta property=\"og:site_name\" content=\"Synder\" \/>\n<meta property=\"article:published_time\" content=\"2021-03-11T21:55:29+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-08-13T15:37:31+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/synder.com\/help\/wp-content\/uploads\/sites\/2\/2021\/03\/Classes-on-expenses-1.png\" \/>\n<meta name=\"author\" content=\"Synder team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Synder team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Apply Classes to Expenses Automatically with Synder","description":"Learn how to apply classes to expenses automatically in QuickBooks with Synder Smart Rules \u2014 set the condition once and each expense gets the right class.","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:\/\/synder.com\/help\/apply-classes-to-expenses-automatically\/","og_locale":"en_US","og_type":"article","og_title":"Apply Classes to Expenses Automatically with Synder","og_description":"Learn how to apply classes to expenses automatically in QuickBooks with Synder Smart Rules \u2014 set the condition once and each expense gets the right class.","og_url":"https:\/\/synder.com\/help\/apply-classes-to-expenses-automatically\/","og_site_name":"Synder","article_published_time":"2021-03-11T21:55:29+00:00","article_modified_time":"2026-08-13T15:37:31+00:00","og_image":[{"url":"https:\/\/synder.com\/help\/wp-content\/uploads\/sites\/2\/2021\/03\/Classes-on-expenses-1.png"}],"author":"Synder team","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Synder team","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/synder.com\/help\/apply-classes-to-expenses-automatically\/","url":"https:\/\/synder.com\/help\/apply-classes-to-expenses-automatically\/","name":"Apply Classes to Expenses Automatically with Synder","isPartOf":{"@id":"https:\/\/synder.com\/help\/#website"},"primaryImageOfPage":{"@id":"https:\/\/synder.com\/help\/apply-classes-to-expenses-automatically\/#primaryimage"},"image":{"@id":"https:\/\/synder.com\/help\/apply-classes-to-expenses-automatically\/#primaryimage"},"thumbnailUrl":"https:\/\/synder.com\/help\/wp-content\/uploads\/sites\/2\/2021\/03\/Classes-on-expenses-1.png","datePublished":"2021-03-11T21:55:29+00:00","dateModified":"2026-08-13T15:37:31+00:00","author":{"@id":"https:\/\/synder.com\/help\/#\/schema\/person\/0e6dc15bf3c37e5fd2191cf85a06d0ee"},"description":"Learn how to apply classes to expenses automatically in QuickBooks with Synder Smart Rules \u2014 set the condition once and each expense gets the right class.","breadcrumb":{"@id":"https:\/\/synder.com\/help\/apply-classes-to-expenses-automatically\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/synder.com\/help\/apply-classes-to-expenses-automatically\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/synder.com\/help\/apply-classes-to-expenses-automatically\/#primaryimage","url":"https:\/\/synder.com\/help\/wp-content\/uploads\/sites\/2\/2021\/03\/Classes-on-expenses-1.png","contentUrl":"https:\/\/synder.com\/help\/wp-content\/uploads\/sites\/2\/2021\/03\/Classes-on-expenses-1.png","width":1442,"height":825},{"@type":"BreadcrumbList","@id":"https:\/\/synder.com\/help\/apply-classes-to-expenses-automatically\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/synder.com\/help\/"},{"@type":"ListItem","position":2,"name":"How to Apply Classes to Expenses Automatically"}]},{"@type":"WebSite","@id":"https:\/\/synder.com\/help\/#website","url":"https:\/\/synder.com\/help\/","name":"Synder","description":"Articles &amp; FAQ","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/synder.com\/help\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/synder.com\/help\/#\/schema\/person\/0e6dc15bf3c37e5fd2191cf85a06d0ee","name":"Synder Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/synder.com\/help\/#\/schema\/person\/image\/28c9df0b77cacb6a823782b17762a398","url":"https:\/\/secure.gravatar.com\/avatar\/1d9e8e852d116169f23d7d6cec4fe349?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1d9e8e852d116169f23d7d6cec4fe349?s=96&d=mm&r=g","caption":"Synder Team"},"url":"https:\/\/synder.com\/help\/author\/help\/"}]}},"author_meta":{"display_name":"Synder team","author_link":"https:\/\/synder.com\/help\/author\/help\/"},"featured_img":null,"coauthors":[{"link":"https:\/\/synder.com\/help\/author\/help\/","display_name":"Synder team"}],"tax_additional":{"categories":{"linked":["<a href=\"https:\/\/synder.com\/help\/category\/transaction-recording-per-transaction\/\" class=\"advgb-post-tax-term\">Transaction Recording: Per Transaction (PT)<\/a>","<a href=\"https:\/\/synder.com\/help\/category\/advanced-features\/smart-rules\/\" class=\"advgb-post-tax-term\">Smart Rules<\/a>","<a href=\"https:\/\/synder.com\/help\/category\/transaction-recording-per-transaction\/categorization-pt\/\" class=\"advgb-post-tax-term\">Categorization PT<\/a>"],"unlinked":["<span class=\"advgb-post-tax-term\">Transaction Recording: Per Transaction (PT)<\/span>","<span class=\"advgb-post-tax-term\">Smart Rules<\/span>","<span class=\"advgb-post-tax-term\">Categorization PT<\/span>"]}},"comment_count":"0","relative_dates":{"created":"Posted 5 years ago","modified":"Updated 1 day ago"},"absolute_dates":{"created":"Posted on March 11, 2021","modified":"Updated on August 13, 2026"},"absolute_dates_time":{"created":"Posted on March 11, 2021 9:55 pm","modified":"Updated on August 13, 2026 3:37 pm"},"featured_img_caption":"","series_order":"","authors":[{"term_id":341,"user_id":2,"is_guest":0,"slug":"help","display_name":"Synder team","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/1d9e8e852d116169f23d7d6cec4fe349?s=96&d=mm&r=g","author_category":"","first_name":"Synder","last_name":"team","user_url":"","job_title":"","description":""}],"_links":{"self":[{"href":"https:\/\/synder.com\/help\/wp-json\/wp\/v2\/posts\/15825"}],"collection":[{"href":"https:\/\/synder.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/synder.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/synder.com\/help\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/synder.com\/help\/wp-json\/wp\/v2\/comments?post=15825"}],"version-history":[{"count":3,"href":"https:\/\/synder.com\/help\/wp-json\/wp\/v2\/posts\/15825\/revisions"}],"predecessor-version":[{"id":31184,"href":"https:\/\/synder.com\/help\/wp-json\/wp\/v2\/posts\/15825\/revisions\/31184"}],"wp:attachment":[{"href":"https:\/\/synder.com\/help\/wp-json\/wp\/v2\/media?parent=15825"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/synder.com\/help\/wp-json\/wp\/v2\/categories?post=15825"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/synder.com\/help\/wp-json\/wp\/v2\/tags?post=15825"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/synder.com\/help\/wp-json\/wp\/v2\/ppma_author?post=15825"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}