{"id":4351,"date":"2026-03-15T17:05:28","date_gmt":"2026-03-15T14:05:28","guid":{"rendered":"https:\/\/sarhgroups.com\/cfm"},"modified":"2026-08-19T14:24:40","modified_gmt":"2026-08-19T11:24:40","slug":"income-and-sales-tax-expert-online-course","status":"publish","type":"page","link":"https:\/\/sarhgroups.com\/en\/income-and-sales-tax-expert-online-course","title":{"rendered":"Certified Tax Expert"},"content":{"rendered":"\n<style>\n\/* =========================================================\n   Sarh - Tax Expert certification page  \u00b7  scope: .tax-v4\n   Navy #16243f \u00b7 Red #b5181a \u00b7 Warm #f7f6f3\n   All landscape media locked to 16:10.\n   ========================================================= *\/\n.tax-v4,.tax-v4 *{box-sizing:border-box}\n.tax-v4{\n  --nv:#16243f; --nvd:#101827; --rd:#b5181a; --rdd:#8f1214;\n  --soft:#f7f6f3; --mist:#eef3f7; --line:#dfe4ea;\n  --tx:#3f4a5d; --mu:#687386; --pk:#f3abb1;\n  width:100vw; margin-right:calc(50% - 50vw); margin-left:calc(50% - 50vw);\n  overflow:hidden; direction:ltr; text-align:left;\n  color:var(--tx); background:#fff; font-family:inherit;\n}\n.tax-v4 img{display:block; max-width:100%}\n.tax-v4 a{color:inherit}\n.tax-v4 [id]{scroll-margin-top:110px}\n.tax-wrap{width:min(1180px,calc(100% - 48px)); margin-inline:auto}\n.tax-sec{padding:86px 0}\n.tax-sec.is-soft{background:var(--soft)}\n.tax-sec.is-mist{background:var(--mist)}\n\n.tax-kick{display:inline-flex; align-items:center; gap:10px; margin:0 0 12px;\n  color:var(--rd); font-size:13px; line-height:1.5; font-weight:800}\n.tax-kick::before{content:\"\"; width:8px; height:8px; flex:none; border-radius:50%;\n  background:currentColor; box-shadow:0 0 0 6px rgba(181,24,26,.09)}\n\n.tax-head{display:grid; grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);\n  gap:56px; align-items:end; margin-bottom:38px}\n.tax-head h2,.tax-copy h2{margin:0; color:var(--nvd);\n  font-size:clamp(34px,4.1vw,56px); line-height:1.18; font-weight:850; letter-spacing:-.015em}\n.tax-head>p,.tax-copy>p{margin:0; color:var(--mu); font-size:16px; line-height:1.95}\n\n\/* ---------- hero ---------- *\/\n.tax-hero{position:relative; isolation:isolate; padding:32px 0 90px; overflow:hidden; color:#fff;\n  background:radial-gradient(circle at 6% 10%,rgba(181,24,26,.24),transparent 26%),\n             linear-gradient(135deg,var(--nvd) 0%,var(--nv) 62%,#22375e 100%)}\n.tax-hero::before{content:\"\"; position:absolute; z-index:-1; width:520px; height:520px;\n  left:-230px; top:-260px; border:78px solid rgba(255,255,255,.035); border-radius:50%}\n.tax-crumbs{display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-bottom:44px;\n  color:#afbbcf; font-size:12px; line-height:1.7}\n.tax-crumbs a{color:#dce3ee; text-decoration:none}\n.tax-crumbs a:hover{color:#fff}\n.tax-hero-grid{display:grid; grid-template-columns:minmax(0,1.02fr) minmax(430px,.98fr);\n  gap:68px; align-items:center}\n.tax-hero .tax-kick{color:var(--pk)}\n.tax-hero .tax-kick::before{box-shadow:0 0 0 6px rgba(243,171,177,.1)}\n.tax-hero h1{max-width:15ch; margin:0 0 22px; color:#fff;\n  font-size:clamp(44px,5vw,72px); line-height:1.14; font-weight:850; letter-spacing:-.02em}\n.tax-hero h1 span{color:#ffbec3}\n.tax-lead{max-width:56ch; margin:0 0 26px; color:#d8dfeb; font-size:18px; line-height:1.95}\n.tax-tags{display:flex; flex-wrap:wrap; gap:9px; margin-bottom:28px}\n.tax-tags span{padding:8px 13px; border:1px solid rgba(255,255,255,.15); border-radius:999px;\n  background:rgba(255,255,255,.07); color:#fff; font-size:12px; line-height:1.4; font-weight:750}\n.tax-acts{display:flex; flex-wrap:wrap; gap:11px}\n.tax-btn{display:inline-flex; align-items:center; justify-content:center; min-height:50px;\n  padding:12px 26px; border:1px solid transparent; border-radius:999px;\n  font-size:14px; line-height:1.5; font-weight:800; text-decoration:none !important;\n  transition:transform .2s ease,background .2s ease,color .2s ease,border-color .2s ease}\n.tax-btn:hover{transform:translateY(-2px)}\n.tax-btn-red{background:var(--rd); color:#fff !important}\n.tax-btn-red:hover{background:var(--rdd)}\n.tax-btn-out{border-color:rgba(255,255,255,.28); background:rgba(255,255,255,.06); color:#fff !important}\n.tax-btn-out:hover{border-color:#fff; background:#fff; color:var(--nv) !important}\n.tax-btn-nv{background:var(--nv); color:#fff !important}\n.tax-btn-nv:hover{background:var(--nvd)}\n.tax-btn-lt{background:#fff; color:var(--nv) !important}\n.tax-btn-lt:hover{background:var(--nv); color:#fff !important}\n.tax-btn-gh{border-color:rgba(255,255,255,.28); background:rgba(255,255,255,.08); color:#fff !important}\n.tax-btn-gh:hover{background:#fff; color:var(--rdd) !important}\n\n.tax-hero-media{position:relative; min-width:0; display:grid; place-items:center}\n\/* IMA Gold CMA seal \u2014 transparent PNG sitting straight on the navy, with a warm halo *\/\n.tax-seal{position:relative; display:grid; place-items:center; width:min(430px,100%); aspect-ratio:1}\n.tax-seal::before{content:\"\"; position:absolute; inset:-6%; border-radius:50%;\n  background:radial-gradient(circle,rgba(226,183,101,.30) 0%,rgba(226,183,101,.10) 46%,transparent 68%)}\n.tax-seal::after{content:\"\"; position:absolute; inset:2%; border-radius:50%;\n  box-shadow:0 34px 80px rgba(0,0,0,.42)}\n.tax-seal img{position:relative; z-index:1; width:100%; height:auto}\n.tax-badge{position:absolute; z-index:4; left:-22px; bottom:-26px; width:min(252px,76%);\n  padding:17px 20px; border:1px solid rgba(22,36,63,.08); border-radius:20px; background:#fff;\n  box-shadow:0 24px 56px rgba(10,19,37,.25); color:var(--nv)}\n.tax-badge strong{display:block; margin-bottom:3px; font-family:Montserrat,Cairo,sans-serif;\n  font-size:30px; line-height:1.15; color:var(--rd)}\n.tax-badge span{display:block; color:var(--mu); font-size:11.5px; line-height:1.7}\n\n\/* ---------- proof card overlapping hero ---------- *\/\n.tax-proof-wrap{position:relative; z-index:5; margin-top:-38px}\n.tax-proof{display:grid; grid-template-columns:158px minmax(0,1fr); gap:28px; align-items:center;\n  padding:31px 34px; border:1px solid var(--line); border-radius:28px; background:#fff;\n  box-shadow:0 22px 58px rgba(22,36,63,.11)}\n.tax-proof-tag{display:grid; place-items:center; min-height:110px; padding:16px; border-radius:20px;\n  background:var(--mist); color:var(--nv); text-align:center; font-size:14px; line-height:1.55; font-weight:850}\n.tax-proof p{margin:0; color:var(--tx); font-size:17px; line-height:2}\n\n\/* ---------- facts ---------- *\/\n.tax-facts{padding:42px 0 60px}\n.tax-facts-grid{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px}\n.tax-fact{position:relative; overflow:hidden; padding:25px 23px; border:1px solid var(--line);\n  border-radius:22px; background:#fff}\n.tax-fact::after{content:\"\"; position:absolute; left:-32px; bottom:-42px; width:110px; height:110px;\n  border-radius:50%; background:var(--mist)}\n.tax-fact-l{position:relative; z-index:1; display:block; color:var(--rd);\n  font-size:13px; line-height:1.5; font-weight:850}\n.tax-fact strong{position:relative; z-index:1; display:block; margin-top:10px; color:var(--nv);\n  font-family:Montserrat,Cairo,sans-serif; font-size:clamp(30px,3vw,44px); line-height:1.05; direction:ltr}\n.tax-fact em{position:relative; z-index:1; display:block; margin-top:10px; color:var(--mu);\n  font-size:12px; line-height:1.7; font-style:normal}\n\n\/* ---------- toc ---------- *\/\n.tax-toc{padding-bottom:26px}\n.tax-toc-card{padding:22px; border:1px solid var(--line); border-radius:22px; background:var(--soft)}\n.tax-toc-t{margin:0 0 13px; color:var(--nv); font-size:14px; line-height:1.5; font-weight:850}\n.tax-toc-l{display:flex; flex-wrap:wrap; gap:8px}\n.tax-toc-l a{padding:8px 12px; border:1px solid #d8dee7; border-radius:999px; background:#fff;\n  color:var(--nv); font-size:12px; line-height:1.5; font-weight:750; text-decoration:none;\n  transition:border-color .2s ease,color .2s ease}\n.tax-toc-l a:hover{border-color:var(--rd); color:var(--rd)}\n\n\/* ---------- split ---------- *\/\n.tax-split{display:grid; grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr); gap:62px; align-items:center}\n.tax-split.flip{grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr)}\n.tax-media{position:relative; overflow:hidden; margin:0; border-radius:30px; background:var(--mist);\n  box-shadow:0 22px 60px rgba(22,36,63,.1)}\n.tax-media img{width:100%; aspect-ratio:16\/10; object-fit:cover}\n.tax-media figcaption{padding:12px 18px; color:var(--mu); font-size:11.5px; line-height:1.7; background:#fff}\n\/* diagram\/artwork rather than a photo: show it whole on white, no cropping *\/\n.tax-media-plain{background:#fff}\n.tax-media-plain img{aspect-ratio:auto; object-fit:contain; padding:18px}\n.tax-copy h2{margin-bottom:20px}\n.tax-copy>p+p{margin-top:14px}\n.tax-list{display:grid; gap:12px; margin:25px 0 0; padding:0; list-style:none}\n.tax-list li{position:relative; padding:16px 17px 16px 48px; border:1px solid var(--line);\n  border-radius:16px; background:#fff; color:var(--tx); font-size:14px; line-height:1.8}\n.tax-list li strong{color:var(--nv)}\n.tax-list li::before{content:\"\\2713\"; position:absolute; top:16px; left:15px; display:grid; place-items:center;\n  width:24px; height:24px; border-radius:50%; background:rgba(181,24,26,.09); color:var(--rd);\n  font-size:12px; font-weight:900}\n\n\/* ---------- cards ---------- *\/\n.tax-cards{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px}\n.tax-card{min-width:0; padding:27px 25px; border:1px solid var(--line); border-radius:22px; background:#fff;\n  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}\n.tax-card span{display:inline-flex; margin-bottom:15px; padding:6px 11px; border-radius:999px;\n  background:var(--mist); color:var(--rd); font-size:11px; line-height:1.5; font-weight:850}\n.tax-card h3{margin:0 0 10px; color:var(--nv); font-size:19px; line-height:1.45}\n.tax-card p{margin:0; color:var(--mu); font-size:14px; line-height:1.85}\n@media(hover:hover){.tax-card:hover{transform:translateY(-5px); border-color:transparent;\n  box-shadow:0 20px 48px rgba(22,36,63,.11)}}\n\n\/* ---------- dates banner ---------- *\/\n.tax-banner{display:grid; grid-template-columns:minmax(0,1fr) auto; gap:26px; align-items:center;\n  margin-top:26px; padding:24px 26px; border-left:5px solid var(--rd); border-radius:18px; background:#f7e9eb}\n.tax-banner strong{display:block; margin-bottom:5px; color:var(--nv); font-size:16px; line-height:1.6}\n.tax-banner p{margin:0; color:var(--tx); font-size:13px; line-height:1.8}\n\n\/* ---------- tables ---------- *\/\n.tax-part{margin:0 0 15px; color:var(--nv); font-size:clamp(18px,2vw,23px); line-height:1.45}\n.tax-part small{display:inline-block; margin-inline-start:10px; padding:5px 11px; border-radius:999px;\n  background:var(--mist); color:var(--rd); font-size:11.5px; font-weight:850; vertical-align:middle}\n.tax-tw{overflow-x:auto; border:1px solid var(--line); border-radius:22px; background:#fff;\n  box-shadow:0 12px 35px rgba(22,36,63,.05)}\n.tax-tb{width:100%; min-width:640px; border-collapse:collapse; text-align:left}\n.tax-tb th,.tax-tb td{padding:17px 19px; border-bottom:1px solid var(--line); vertical-align:top;\n  font-size:13px; line-height:1.75}\n.tax-tb th{background:var(--nv); color:#fff; font-weight:800}\n.tax-tb td{color:var(--tx)}\n.tax-tb td:first-child{color:var(--nv); font-weight:800}\n.tax-tb tr:last-child td{border-bottom:0}\n.tax-tb .w{white-space:nowrap; color:var(--rd); font-weight:850}\n\n\/* ---------- IMA band ---------- *\/\n.tax-ima{display:grid; grid-template-columns:210px minmax(0,1fr); gap:46px; align-items:center;\n  padding:42px; border-radius:30px; background:var(--nv); color:#fff;\n  box-shadow:0 24px 66px rgba(22,36,63,.16)}\n.tax-ima.is-solo{grid-template-columns:1fr}\n.tax-ima-logo{display:grid; place-items:center; padding:22px; border-radius:22px; background:#fff}\n.tax-ima-logo img{width:100%; height:auto}\n.tax-ima h2{margin:0 0 13px; color:#fff; font-size:clamp(28px,3.2vw,42px); line-height:1.22}\n.tax-ima p{margin:0 0 18px; color:#d3dce8; font-size:15px; line-height:1.95}\n.tax-ima-pts{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:11px}\n.tax-ima-pt{padding:15px 17px; border:1px solid rgba(255,255,255,.13); border-radius:15px;\n  background:rgba(255,255,255,.06); color:#fff; font-size:12.5px; line-height:1.7; font-weight:730}\n\n\/* ---------- steps ---------- *\/\n.tax-path{background:var(--nv); color:#fff}\n.tax-path .tax-head h2{color:#fff}\n.tax-path .tax-head>p{color:#cbd5e1}\n.tax-steps{display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:11px; counter-reset:cs}\n.tax-step{position:relative; min-height:215px; padding:23px 20px; overflow:hidden;\n  border:1px solid rgba(255,255,255,.13); border-radius:20px; background:rgba(255,255,255,.06)}\n.tax-step::before{counter-increment:cs; content:\"0\" counter(cs); display:block; margin-bottom:26px;\n  color:var(--pk); font-family:Montserrat,Cairo,sans-serif; font-size:13px; font-weight:850}\n.tax-step h3{margin:0 0 9px; color:#fff; font-size:16px; line-height:1.5}\n.tax-step p{margin:0; color:#c8d2e0; font-size:12px; line-height:1.8}\n\n\/* ---------- testimonials ---------- *\/\n.tax-tests{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; align-items:stretch}\n.tax-test{display:flex; flex-direction:column; height:100%; margin:0; padding:27px 25px; border:1px solid var(--line);\n  border-radius:22px; background:#fff}\n.tax-test blockquote{flex:1; margin:0 0 18px; padding:0; border:0; color:var(--tx);\n  font-size:13.5px; line-height:2}\n.tax-test blockquote::before{content:\"\\201D\"; display:block; margin-bottom:2px; color:var(--rd);\n  font-family:Georgia,serif; font-size:42px; line-height:.7}\n.tax-test figcaption{display:flex; align-items:center; gap:12px; margin:0;\n  padding-top:16px; border-top:1px solid var(--line)}\n.tax-test img{width:52px; height:52px; flex:none; border-radius:50%; object-fit:cover}\n.tax-test b{display:block; color:var(--nv); font-size:14px; line-height:1.5}\n.tax-test em{display:block; color:var(--mu); font-size:11.5px; line-height:1.6; font-style:normal}\n\n\/* ---------- faq ---------- *\/\n.tax-faq{display:grid; gap:11px}\n.tax-faq details{overflow:hidden; border:1px solid var(--line); border-radius:16px; background:#fff}\n.tax-faq summary{position:relative; display:flex; align-items:center; min-height:64px;\n  padding:16px 54px 16px 20px; color:var(--nv); font-size:15px; line-height:1.6; font-weight:820;\n  cursor:pointer; list-style:none}\n.tax-faq summary::-webkit-details-marker{display:none}\n.tax-faq summary::after{content:\"+\"; position:absolute; right:19px; top:50%; display:grid; place-items:center;\n  width:28px; height:28px; border-radius:50%; background:var(--mist); color:var(--nv);\n  font-size:18px; transform:translateY(-50%)}\n.tax-faq details[open] summary{background:var(--soft); color:var(--rd)}\n.tax-faq details[open] summary::after{content:\"\\2212\"; background:var(--rd); color:#fff}\n.tax-faq-a{padding:0 20px 20px; color:var(--mu); font-size:14px; line-height:1.95}\n.tax-faq-a p{margin:0}\n\n\/* ---------- cta ---------- *\/\n.tax-cta-sec{padding:0 0 90px; background:#fff}\n.tax-cta{position:relative; overflow:hidden; display:grid;\n  grid-template-columns:minmax(0,1fr) minmax(330px,.62fr); gap:48px; align-items:center;\n  padding:54px 56px; border-radius:34px; background:var(--rdd); color:#fff;\n  box-shadow:0 24px 70px rgba(91,10,13,.2)}\n.tax-cta::after{content:\"\"; position:absolute; width:320px; height:320px; left:-120px; bottom:-200px;\n  border:54px solid rgba(255,255,255,.055); border-radius:50%}\n.tax-cta h2{margin:0 0 13px; color:#fff; font-size:clamp(32px,3.7vw,52px); line-height:1.2}\n.tax-cta p{max-width:60ch; margin:0; color:#ffe5e8; font-size:15px; line-height:1.9}\n.tax-cta-acts{position:relative; z-index:2; display:grid; gap:10px}\n.tax-cta .tax-btn{width:100%}\n\n\/* ---------- tablet ---------- *\/\n@media(max-width:1024px){\n  .tax-hero-grid,.tax-split,.tax-split.flip,.tax-head,.tax-ima,.tax-cta{grid-template-columns:1fr}\n  .tax-hero-grid{gap:52px}\n  .tax-hero-media{width:min(700px,100%); margin-inline:auto}\n  .tax-facts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}\n  .tax-cards,.tax-tests{grid-template-columns:repeat(2,minmax(0,1fr))}\n  .tax-steps{grid-template-columns:repeat(3,minmax(0,1fr))}\n  .tax-step{min-height:190px}\n  .tax-ima-logo{width:min(210px,60%); margin-inline:auto}\n  .tax-cta-acts{grid-template-columns:repeat(2,minmax(0,1fr))}\n}\n\/* ---------- mobile ---------- *\/\n@media(max-width:767px){\n  .tax-wrap{width:calc(100% - 32px)}\n  .tax-sec{padding:62px 0}\n  .tax-hero{padding:22px 0 68px}\n  .tax-crumbs{margin-bottom:32px}\n  .tax-hero h1{font-size:38px; line-height:1.22; max-width:none}\n  .tax-lead{font-size:16px; line-height:1.9}\n  .tax-acts{display:grid; grid-template-columns:1fr}\n  .tax-btn{width:100%}\n  .tax-frame{border-radius:24px}\n  .tax-frame img{border-radius:17px}\n  .tax-seal{width:min(280px,72%)}\n  .tax-badge{position:relative; left:auto; right:auto; bottom:auto; width:calc(100% - 28px); margin:6px auto 0}\n  .tax-proof-wrap{margin-top:-26px}\n  .tax-proof{grid-template-columns:1fr; gap:18px; padding:23px 21px; border-radius:22px}\n  .tax-proof-tag{min-height:auto; text-align:left}\n  .tax-proof p{font-size:15px}\n  .tax-facts{padding:30px 0 50px}\n  .tax-facts-grid{grid-template-columns:1fr; gap:10px}\n  .tax-fact{padding:21px 18px}\n  .tax-fact strong{font-size:32px}\n  .tax-toc-card{padding:18px}\n  .tax-head{gap:17px; margin-bottom:28px}\n  .tax-head h2,.tax-copy h2{font-size:33px; line-height:1.25}\n  .tax-split,.tax-split.flip{gap:36px}\n  .tax-cards,.tax-tests,.tax-steps,.tax-ima-pts{grid-template-columns:1fr}\n  .tax-card,.tax-test{padding:23px 21px}\n  .tax-banner{grid-template-columns:1fr; padding:20px}\n  .tax-tb th,.tax-tb td{padding:14px 15px}\n  .tax-step{min-height:0}\n  .tax-ima{gap:26px; padding:28px 22px; border-radius:25px}\n  .tax-cta-sec{padding-bottom:64px}\n  .tax-cta{gap:28px; padding:36px 24px; border-radius:27px}\n  .tax-cta-acts{grid-template-columns:1fr}\n}\n@media(prefers-reduced-motion:reduce){\n  .tax-v4 *,.tax-v4 *::before,.tax-v4 *::after{transition:none !important}\n}\n\n\/* English twin: latin numerals and tighter line-height suit the LTR setting *\/\n.tax-v4{direction:ltr; text-align:left}\n.tax-v4 .tax-lead,.tax-v4 .tax-head>p,.tax-v4 .tax-copy>p{line-height:1.75}\n.tax-v4 .tax-list li,.tax-v4 .tax-card p,.tax-v4 .tax-faq-a{line-height:1.7}\n.tax-tb th,.tax-tb td{text-align:left}\n.tax-crumbs{direction:ltr}\n\n.tax-hero-media{display:block}\n.tax-frame{position:relative; margin:0; padding:10px; overflow:hidden;\n  border:1px solid rgba(255,255,255,.14); border-radius:30px; background:rgba(255,255,255,.09);\n  box-shadow:0 38px 90px rgba(0,0,0,.3); transform:rotate(-1deg)}\n.tax-frame img{width:100%; aspect-ratio:16\/9; object-fit:cover; border-radius:21px; background:#eef3f7}\n.tax-tags-light span{border-color:var(--line); background:#fff; color:var(--nv); padding:11px 18px; font-size:13.5px}\n\n<\/style>\n<div class=\"tax-v4\">\n<section class=\"tax-hero\"><div class=\"tax-wrap\">\n  <nav class=\"tax-crumbs\" aria-label=\"Breadcrumb\">\n    <a href=\"\/en\/\">Home<\/a><span>\u203a<\/span><a href=\"https:\/\/sarhgroups.com\/en\/training-courses\">Training<\/a><span>\u203a<\/span>\n    <a href=\"https:\/\/sarhgroups.com\/en\/training-courses\/certifications\">Professional certifications<\/a><span>\u203a<\/span><span>Certified Tax Expert<\/span>\n  <\/nav>\n  <div class=\"tax-hero-grid\">\n    <div>\n      <span class=\"tax-kick\">The Jordanian Tax Experts Association<\/span>\n      <h1>Certified Tax <span>Expert<\/span><\/h1>\n      <p class=\"tax-lead\">A thorough command of Jordan&#8217;s income tax and sales tax laws, and practical training in preparing tax returns of every kind.<\/p>\n      <div class=\"tax-tags\"><span>Two exam papers<\/span><span>65% pass mark<\/span><span>Two sittings a year \u00b7 May and November<\/span><span>20+ years of experience<\/span><\/div>\n      <div class=\"tax-acts\">\n        <a class=\"tax-btn tax-btn-red\" href=\"https:\/\/sarhgroups.com\/en\/products\/income-and-sales-tax-expert-course\">Enrol on the course<\/a>\n        <a class=\"tax-btn tax-btn-out\" href=\"#outline\">See the syllabus<\/a>\n      <\/div>\n    <\/div>\n    <div class=\"tax-hero-media\">\n      <figure class=\"tax-frame\"><img fetchpriority=\"high\" src=\"https:\/\/sarhgroups.com\/wp-content\/uploads\/2026\/08\/tax-live-classroom.webp\" alt=\"A Certified Tax Expert class in session at Sarh International\" width=\"1760\" height=\"990\" loading=\"eager\" decoding=\"async\"><\/figure>\n      <div class=\"tax-badge\"><strong>90%<\/strong><span>of our students pass at the first attempt<\/span><\/div>\n    <\/div>\n  <\/div>\n<\/div><\/section>\n\n<section class=\"tax-proof-wrap\"><div class=\"tax-wrap\"><div class=\"tax-proof\">\n  <div class=\"tax-proof-tag\">A licensed profession,<br>not a short course<\/div><p>The <strong>Certified Tax Expert<\/strong> credential is administered by the <strong>Jordanian Tax Experts Association<\/strong> and qualifies you to represent taxpayers before the Income and Sales Tax Department. The exam is two papers with a <strong>65%<\/strong> pass mark, and around <strong>90%<\/strong> of our students pass at the first attempt.<\/p>\n<\/div><\/div><\/section>\n<section class=\"tax-facts\"><div class=\"tax-wrap\"><div class=\"tax-facts-grid\"><div class=\"tax-fact\"><span class=\"tax-fact-l\">Pass rate<\/span><strong>90%<\/strong><em>of our students pass first time<\/em><\/div><div class=\"tax-fact\"><span class=\"tax-fact-l\">The exam<\/span><strong>Two papers<\/strong><em>income tax and sales tax<\/em><\/div><div class=\"tax-fact\"><span class=\"tax-fact-l\">Pass mark<\/span><strong>65%<\/strong><em>on each paper<\/em><\/div><div class=\"tax-fact\"><span class=\"tax-fact-l\">Experience<\/span><strong>20+<\/strong><em>years of training experience<\/em><\/div><\/div><\/div><\/section>\n<section class=\"tax-toc\"><div class=\"tax-wrap\"><div class=\"tax-toc-card\">\n  <p class=\"tax-toc-t\">On this page<\/p><div class=\"tax-toc-l\"><a href=\"#why\">Why Sarh<\/a><a href=\"#outline\">The syllabus<\/a><a href=\"#delivery\">How you study<\/a><a href=\"#audience\">Who it is for<\/a><a href=\"#exam\">The exam<\/a><a href=\"#path\">Your route<\/a><a href=\"#grads\">Our graduates<\/a><a href=\"#faq\">FAQ<\/a><\/div>\n<\/div><\/div><\/section>\n<section class=\"tax-sec\" id=\"why\"><div class=\"tax-wrap\"><div class=\"tax-head\"><h2>Why study the Tax Expert credential at Sarh?<\/h2><p>Tax is detail and statute \u2014 and the difference is made by someone who has taught it to hundreds of candidates and knows where the mistakes fall.<\/p><\/div><div class=\"tax-cards\"><div class=\"tax-card\"><span>Licence<\/span><h3>A licensed profession<\/h3><p>The credential qualifies you to represent taxpayers before the Income and Sales Tax Department.<\/p><\/div><div class=\"tax-card\"><span>Results<\/span><h3>90% pass first time<\/h3><p>Among the highest pass rates on the association&#8217;s exam.<\/p><\/div><div class=\"tax-card\"><span>Experience<\/span><h3>More than twenty years<\/h3><p>Accumulated experience teaching Jordanian tax legislation.<\/p><\/div><div class=\"tax-card\"><span>Applied<\/span><h3>Real returns<\/h3><p>You practise preparing tax returns of every kind, not theory alone.<\/p><\/div><div class=\"tax-card\"><span>Currency<\/span><h3>Updated to the latest amendments<\/h3><p>The syllabus tracks the latest amendments to the income tax and sales tax laws.<\/p><\/div><div class=\"tax-card\"><span>Materials<\/span><h3>Summaries and slides written at Sarh<\/h3><p>Material focused on what actually comes up in the two papers.<\/p><\/div><\/div><\/div><\/section><section class=\"tax-sec is-mist\" id=\"outline\"><div class=\"tax-wrap\"><div class=\"tax-head\"><h2>The syllabus<\/h2><p>Two papers in the exam and two strands in the course \u2014 each running from the statute to the completed return.<\/p><\/div><h3 class=\"tax-part\">Strand one \u2014 Income tax <small>six topics<\/small><\/h3><div class=\"tax-tw\"><table class=\"tax-tb\"><thead><tr><th>Topic<\/th><th>What you learn<\/th><\/tr><\/thead><tbody><tr><td>Foundations of the income tax law<\/td><td>Scope of liability, taxable persons and the tax year.<\/td><\/tr><tr><td>Taxable income and exemptions<\/td><td>Which sources of income are taxable and what the law exempts.<\/td><\/tr><tr><td>Allowable and disallowable expenses<\/td><td>What may be deducted, what is refused, and why.<\/td><\/tr><tr><td>Calculating the tax and the bands<\/td><td>The bands, the rates and computing the tax due.<\/td><\/tr><tr><td>Withholding at source<\/td><td>When withholding applies, at what rates, and the obligations of the withholding party.<\/td><\/tr><tr><td>The return, audit and appeal<\/td><td>Preparing the return, and the audit, objection and appeal process.<\/td><\/tr><\/tbody><\/table><\/div><div style=\"height:30px\"><\/div><h3 class=\"tax-part\">Strand two \u2014 Sales tax <small>six topics<\/small><\/h3><div class=\"tax-tw\"><table class=\"tax-tb\"><thead><tr><th>Topic<\/th><th>What you learn<\/th><\/tr><\/thead><tbody><tr><td>Foundations of the sales tax<\/td><td>The scope of the general sales tax and who is liable.<\/td><\/tr><tr><td>Registration and obligations<\/td><td>Registration thresholds and the periodic obligations of a registered person.<\/td><\/tr><tr><td>Input and output tax<\/td><td>Computing the tax and the mechanics of deduction and refund.<\/td><\/tr><tr><td>Exempt goods and services<\/td><td>What is exempt and what is subject to special rates.<\/td><\/tr><tr><td>Invoicing and records<\/td><td>Tax invoice requirements and the records that must be kept.<\/td><\/tr><tr><td>The return and penalties<\/td><td>Preparing the sales tax return, and the fines and offences and how to avoid them.<\/td><\/tr><\/tbody><\/table><\/div><\/div><\/section><section class=\"tax-sec\" id=\"delivery\"><div class=\"tax-wrap\"><div class=\"tax-head\"><h2>How you study<\/h2><p>Teaching and materials in Arabic, and you attend however suits you.<\/p><\/div><div class=\"tax-cards\"><div class=\"tax-card\"><span>In person<\/span><h3>At the Sarh premises<\/h3><p>Interactive lectures with live discussion and tax cases worked through in class.<\/p><\/div><div class=\"tax-card\"><span>Online<\/span><h3>Live broadcast<\/h3><p>The same session at the same time, with full interaction with the instructor and the group.<\/p><\/div><div class=\"tax-card\"><span>Recordings<\/span><h3>If you cannot attend<\/h3><p>The recording reaches you and stays available for seven consecutive days.<\/p><\/div><\/div><\/div><\/section><section class=\"tax-sec\"><div class=\"tax-wrap\"><div class=\"tax-banner\" data-sarh-next=\"sarhgroups.com\/products\/tax-expert-online-interactive-course\"><div><strong>Upcoming course dates<\/strong><p>Cohorts open ahead of the May and November sittings. Check the next start date and reserve your place.<\/p><\/div><a class=\"tax-btn tax-btn-red\" href=\"https:\/\/sarhgroups.com\/en\/products\/income-and-sales-tax-expert-course\">Dates and enrolment<\/a><\/div><\/div><\/section><section class=\"tax-sec is-soft\" id=\"audience\"><div class=\"tax-wrap\"><div class=\"tax-head\"><h2>Who is it for?<\/h2><p>If you handle a tax return or represent a taxpayer before the department, this is aimed at you.<\/p><\/div><div class=\"tax-tags tax-tags-light\"><span>Accountants and auditors<\/span><span>Staff in tax departments<\/span><span>Financial advisers<\/span><span>Accounting, law and finance graduates<\/span><span>Owners of accounting and audit practices<\/span><\/div><\/div><\/section><section class=\"tax-sec\" id=\"exam\"><div class=\"tax-wrap\"><div class=\"tax-head\"><h2>Exam information<\/h2><p>Everything you need to know before sitting the association&#8217;s exam.<\/p><\/div><div class=\"tax-tw\"><table class=\"tax-tb\"><tbody><tr><td>Administered by<\/td><td>The Jordanian Tax Experts Association.<\/td><\/tr><tr><td>Entry requirements<\/td><td>A bachelor&#8217;s degree as a minimum from a recognised university in accounting, law or financial sciences, or an equivalent.<\/td><\/tr><tr><td>When it is held<\/td><td>Twice a year, in May and November.<\/td><\/tr><tr><td>Where it is held<\/td><td>The Chamber of Industry or the Chamber of Commerce; the association sets the venue.<\/td><\/tr><tr><td>Papers<\/td><td>Two: income tax, and sales tax.<\/td><\/tr><tr><td>Pass mark<\/td><td>65% on each paper.<\/td><\/tr><tr><td>Exam fee<\/td><td>JD 30 per paper.<\/td><\/tr><tr><td>Pass rate<\/td><td>Around 90% of our students pass at the first attempt.<\/td><\/tr><\/tbody><\/table><\/div><\/div><\/section><section class=\"tax-sec tax-path\" id=\"path\"><div class=\"tax-wrap\"><div class=\"tax-head\"><h2>Your route to the credential<\/h2><p>From the first lecture to practising, step by step.<\/p><\/div><div class=\"tax-steps\"><div class=\"tax-step\"><h3>Enrol<\/h3><p>You receive the course material, the slides and the case files.<\/p><\/div><div class=\"tax-step\"><h3>Income tax<\/h3><p>You study the law from the scope of liability through to preparing the return.<\/p><\/div><div class=\"tax-step\"><h3>Sales tax<\/h3><p>Registration, obligations, invoicing and preparing the sales tax return.<\/p><\/div><div class=\"tax-step\"><h3>Sit the exam<\/h3><p>Two papers in the May or November sitting, with a 65% pass mark.<\/p><\/div><div class=\"tax-step\"><h3>Practise<\/h3><p>You become a certified tax expert, qualified to represent taxpayers.<\/p><\/div><\/div><\/div><\/section><section class=\"tax-sec is-soft\" id=\"grads\"><div class=\"tax-wrap\"><div class=\"tax-head\"><h2>Graduates<\/h2><p>Tax experts practising today \u2014 from accountants to owners of tax consultancy practices.<\/p><\/div><div class=\"tax-tests\"><figure class=\"tax-test\"><blockquote>I would like to extend my sincere thanks and appreciation for this outstanding course. I benefited a great deal from the valuable content and the useful information, presented in an excellent and well-organised manner. I also thank the centre for the good organisation, and the staff for their courteous treatment and continued cooperation. It was a wonderful experience by every measure and I look forward to taking part in further courses in future.<\/blockquote><figcaption><img src=\"https:\/\/sarhgroups.com\/wp-content\/uploads\/2026\/08\/tax-grad-motaz-amro.webp\" alt=\"Motaz Amro\" width=\"52\" height=\"52\" loading=\"lazy\" decoding=\"async\"><span><b>Motaz Amro<\/b><em>Income and sales tax expert<\/em><\/span><\/figcaption><\/figure><figure class=\"tax-test\"><blockquote>An excellent and very useful course. Valuable material, and an instructor of real standing \u2014 hats off to Dr Omar Bani Irshaid. We learned a great deal from him: a clear teaching style and simplified practical work you grasp quickly. Sarh provided every service, from rooms to course equipment, in an outstanding way. I have been studying courses at Sarh for more than 15 years. My every respect and appreciation to you, and sincere thanks to Dr Hussam Khaddash and Mr Bashar Khaddash. Best of luck to you.<\/blockquote><figcaption><img src=\"https:\/\/sarhgroups.com\/wp-content\/uploads\/2026\/08\/tax-grad-hussam-yousef.webp\" alt=\"Hussam Yousef\" width=\"52\" height=\"52\" loading=\"lazy\" decoding=\"async\"><span><b>Hussam Yousef<\/b><em>Income and sales tax expert<\/em><\/span><\/figcaption><\/figure><figure class=\"tax-test\"><blockquote>With every appreciation and gratitude, I extend my sincere thanks to Sarh centre, represented by its management and teaching staff, who provided us with every facility and resource \u2014 rooms, course material and a professional academic team of high calibre. I obtained several professional certifications at Sarh, among them the Tax Expert credential, and through the course I sat the Tax Experts Association exam. My advice to every accounting graduate is to begin with professional certifications to develop and improve their CV.<\/blockquote><figcaption><img src=\"https:\/\/sarhgroups.com\/wp-content\/uploads\/2026\/08\/tax-grad-tariq-haddad.webp\" alt=\"Tariq Haddad\" width=\"52\" height=\"52\" loading=\"lazy\" decoding=\"async\"><span><b>Tariq Haddad<\/b><em>Financial and tax consultant \u2014 General Manager, Al-Hiba Accounting and Tax Services<\/em><\/span><\/figcaption><\/figure><\/div><\/div><\/section><section class=\"tax-sec\" id=\"faq\"><div class=\"tax-wrap\"><div class=\"tax-head\"><h2>Frequently asked<\/h2><p>What candidates ask us most before enrolling.<\/p><\/div><div class=\"tax-faq\"><details><summary>Who administers the exam?<\/summary><div class=\"tax-faq-a\"><p>The Jordanian Tax Experts Association, which regulates the profession and the exam.<\/p><\/div><\/details><details><summary>What are the entry requirements?<\/summary><div class=\"tax-faq-a\"><p>A bachelor&#8217;s degree as a minimum from a recognised university in accounting, law or financial sciences, or an equivalent.<\/p><\/div><\/details><details><summary>When is the exam held?<\/summary><div class=\"tax-faq-a\"><p>Twice a year, in May and November.<\/p><\/div><\/details><details><summary>Where is it held?<\/summary><div class=\"tax-faq-a\"><p>At the Chamber of Industry or the Chamber of Commerce; the association sets the venue.<\/p><\/div><\/details><details><summary>What is the pass mark?<\/summary><div class=\"tax-faq-a\"><p>65% on each of the two papers.<\/p><\/div><\/details><details><summary>How much is the exam fee?<\/summary><div class=\"tax-faq-a\"><p>JD 30 per paper.<\/p><\/div><\/details><details><summary>What is the pass rate?<\/summary><div class=\"tax-faq-a\"><p>Around 90% of our students pass at the first attempt.<\/p><\/div><\/details><details><summary>Is the lecture recorded?<\/summary><div class=\"tax-faq-a\"><p>Yes. If you cannot attend, the recording reaches you and stays available for seven days.<\/p><\/div><\/details><\/div><\/div><\/section>\n<section class=\"tax-cta-sec\"><div class=\"tax-wrap\"><div class=\"tax-cta\">\n  <div><h2>Start now<\/h2><p>Only two sittings a year \u2014 May and November. Begin preparing early, with someone who has accompanied hundreds of candidates before you.<\/p><\/div>\n  <div class=\"tax-cta-acts\">\n    <a class=\"tax-btn tax-btn-lt\" href=\"https:\/\/sarhgroups.com\/en\/products\/income-and-sales-tax-expert-course\">Enrol on the course<\/a>\n    <a class=\"tax-btn tax-btn-gh\" href=\"https:\/\/sarhgroups.com\/en\/training-courses\/certifications\">Browse the other certifications<\/a>\n  <\/div>\n<\/div><\/div><\/section>\n\n<style id=\"sarh-tms-css\">\n\/* Sarh \u00d7 TMS schedule widget \u2014 palette matches the certification pages *\/\n.sarh-next,.sarh-next *{box-sizing:border-box}\n.sarh-next{display:grid; grid-template-columns:minmax(0,1fr) minmax(190px,auto); gap:22px;\n  align-items:center; width:100%}\n.sarh-next-kick{display:block; color:#b5181a; font-size:12px; font-weight:800; line-height:1.5;\n  letter-spacing:.01em; margin-bottom:4px}\n.sarh-next-date{display:block; color:#16243f; font-size:clamp(19px,2.2vw,25px); font-weight:850;\n  line-height:1.25; margin-bottom:4px}\n.sarh-next-cohort{display:block; color:#687386; font-size:12.5px; line-height:1.6; margin-bottom:12px}\n.sarh-next-rows{display:grid; grid-template-columns:auto 1fr; gap:4px 12px; margin:0}\n.sarh-next-rows dt{color:#687386; font-size:12px; line-height:1.7; margin:0}\n.sarh-next-rows dd{color:#16243f; font-size:12.5px; font-weight:700; line-height:1.7; margin:0}\n.sarh-next-more{margin:10px 0 0; color:#687386; font-size:11.5px; line-height:1.6}\n.sarh-next-side{display:grid; gap:8px; justify-items:stretch; text-align:center}\n.sarh-next-price{color:#16243f; font-size:13px; line-height:1.7}\n.sarh-next-price b{font-family:Montserrat,Cairo,sans-serif; font-size:21px; color:#b5181a}\n.sarh-next-price s{color:#98a2b3; margin-inline-start:6px; font-size:12.5px}\n.sarh-next-price i{display:block; color:#687386; font-size:11px; font-style:normal; margin-top:2px}\n.sarh-next-btn{display:inline-flex; align-items:center; justify-content:center; min-height:44px;\n  padding:10px 22px; border-radius:999px; background:#b5181a; color:#fff !important;\n  font-size:13.5px; font-weight:800; text-decoration:none !important;\n  transition:background .2s ease, transform .2s ease}\n.sarh-next-btn:hover{background:#8f1214; transform:translateY(-1px)}\n.sarh-next-all{appearance:none; border:1px solid #dfe4ea; border-radius:999px; background:#fff;\n  color:#16243f; padding:9px 18px; font-size:12px; font-weight:750; cursor:pointer; font-family:inherit;\n  transition:border-color .2s ease, color .2s ease}\n.sarh-next-all:hover{border-color:#b5181a; color:#b5181a}\n@media(max-width:767px){\n  .sarh-next{grid-template-columns:1fr; gap:16px}\n  .sarh-next-side{justify-items:stretch}\n}\n\n\/* ---------------- modal ---------------- *\/\n.sarh-modal{position:fixed; inset:0; z-index:99999; display:none}\n.sarh-modal.is-open{display:block}\n.sarh-modal-back{position:absolute; inset:0; background:rgba(10,19,37,.55); backdrop-filter:blur(2px)}\n.sarh-modal-card{position:relative; z-index:1; width:min(980px,calc(100% - 32px)); max-height:86vh;\n  margin:7vh auto 0; display:flex; flex-direction:column; overflow:hidden;\n  border-radius:26px; background:#fff; box-shadow:0 40px 100px rgba(10,19,37,.4)}\n.sarh-modal-top{display:flex; align-items:flex-start; justify-content:space-between; gap:18px;\n  padding:24px 26px; border-bottom:1px solid #dfe4ea; background:#f7f6f3}\n.sarh-modal-top h2{margin:0 0 4px; color:#101827; font-size:clamp(20px,2.4vw,27px); line-height:1.25; font-weight:850}\n.sarh-modal-top p{margin:0; color:#687386; font-size:12.5px; line-height:1.7}\n.sarh-modal-x{appearance:none; border:0; background:#fff; border:1px solid #dfe4ea; border-radius:50%;\n  width:36px; height:36px; flex:none; font-size:22px; line-height:1; color:#16243f; cursor:pointer}\n.sarh-modal-x:hover{border-color:#b5181a; color:#b5181a}\n.sarh-modal-body{padding:8px 26px 26px; overflow-y:auto}\n.sarh-modal-msg{margin:26px 0; color:#687386; font-size:14px; text-align:center}\n.sarh-mon{margin-top:22px}\n.sarh-mon h3{position:sticky; top:0; margin:0 0 12px; padding:10px 0; background:#fff;\n  color:#b5181a; font-size:13px; font-weight:850; letter-spacing:.02em}\n.sarh-mon-list{display:grid; gap:10px}\n.sarh-row{display:grid; grid-template-columns:minmax(0,1fr) minmax(170px,auto); gap:18px;\n  align-items:center; padding:16px 18px; border:1px solid #dfe4ea; border-radius:16px; background:#fff;\n  transition:border-color .2s ease, box-shadow .2s ease}\n.sarh-row:hover{border-color:#c9d2dd; box-shadow:0 10px 26px rgba(22,36,63,.07)}\n.sarh-row-main strong{display:block; color:#16243f; font-size:15px; line-height:1.45}\n.sarh-row-cohort{display:inline-block; margin-top:4px; padding:3px 9px; border-radius:999px;\n  background:#eef3f7; color:#16243f; font-size:11px; font-weight:750}\n.sarh-row-date{display:block; margin-top:6px; color:#3f4a5d; font-size:12.5px; font-weight:700; line-height:1.6}\n.sarh-row-meta{display:block; margin-top:3px; color:#687386; font-size:11.5px; line-height:1.6}\n.sarh-row-side{display:grid; gap:6px; justify-items:stretch; text-align:center}\n.sarh-row-price{color:#16243f; font-size:12px; line-height:1.6}\n.sarh-row-price b{font-family:Montserrat,Cairo,sans-serif; font-size:17px; color:#b5181a}\n.sarh-row-price s{color:#98a2b3; margin-inline-start:5px; font-size:11.5px}\n.sarh-row-price i{display:block; color:#687386; font-size:10.5px; font-style:normal}\n.sarh-row-btn{display:inline-flex; align-items:center; justify-content:center; min-height:38px;\n  padding:8px 18px; border-radius:999px; background:#b5181a; color:#fff !important;\n  font-size:12.5px; font-weight:800; text-decoration:none !important}\n.sarh-row-btn:hover{background:#8f1214}\n.sarh-row-link{color:#687386 !important; font-size:11px; text-decoration:none !important}\n.sarh-row-link:hover{color:#b5181a !important}\n@media(max-width:767px){\n  .sarh-modal-card{width:calc(100% - 20px); margin:4vh auto 0; max-height:92vh; border-radius:20px}\n  .sarh-modal-top{padding:18px}\n  .sarh-modal-body{padding:6px 18px 20px}\n  .sarh-row{grid-template-columns:1fr; gap:12px}\n  .sarh-row-side{justify-items:stretch}\n}\n@media(prefers-reduced-motion:reduce){.sarh-next-btn,.sarh-row{transition:none}}\n\n<\/style>\n<script id=\"sarh-tms-js\">\n(function(){try{var d=atob(\"LyogU2FyaCDDlyBUTVMgc2NoZWR1bGUgd2lkZ2V0LgogICBSZWFkcyB0aGUgbGl2ZSBmZWVkIGF0IHRtcy5zYXJoaW50LmNvbSBhbmQgZmlsbHMgaW4gdHdvIHRoaW5nczoKICAgICBbZGF0YS1zYXJoLW5leHQ9Ijxwcm9kdWN0IHBhdGg+Il0gIC0+IHRoZSBuZXh0IG9wZW4gY29ob3J0IGZvciB0aGF0IGNvdXJzZQogICAgIFtkYXRhLXNhcmgtc2NoZWR1bGVdICAgICAgICAgICAgICAgLT4gYSBidXR0b24gdGhhdCBvcGVucyB0aGUgZnVsbCBzY2hlZHVsZQogICBQcm9ncmVzc2l2ZSBlbmhhbmNlbWVudDogaWYgdGhlIGZlZWQgaXMgdW5yZWFjaGFibGUgb3IgZW1wdHksIHdoYXRldmVyIG1hcmt1cAogICBpcyBhbHJlYWR5IGluc2lkZSB0aGUgZWxlbWVudCBpcyBsZWZ0IGV4YWN0bHkgYXMgaXQgaXMuICovCihmdW5jdGlvbiAoKSB7CiAgaWYgKHdpbmRvdy5fX3NhcmhUTVMpIHJldHVybjsKICB3aW5kb3cuX19zYXJoVE1TID0gMTsKCiAgdmFyIEZFRUQgPSAiaHR0cHM6Ly90bXMuc2FyaGludC5jb20vc2NoZWR1bGUvZmVlZCI7CiAgdmFyIFRNUyAgPSAiaHR0cHM6Ly90bXMuc2FyaGludC5jb20iOwogIHZhciBDS0VZID0gInNhcmgtdG1zLWZlZWQtdjEiOwogIHZhciBUVEwgID0gNSAqIDYwICogMTAwMDsKCiAgdmFyIE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gaHRtbCArPQogICAgICAgICAgJzxkaXYgY2xhc3M9InNhcmgtcm93Ij4nICsKICAgICAgICAgICAgJzxkaXYgY2xhc3M9InNhcmgtcm93LW1haW4iPicgKwogICAgICAgICAgICAgICc8c3Ryb25nPicgKyBlc2MoY291cnNlTmFtZShjKSkgKyAnPC9zdHJvbmc+JyArCiAgICAgICAgICAgICAgKGMuY29ob3J0ID8gJzxzcGFuIGNsYXNzPSJzYXJoLXJvdy1jb2hvcnQiPicgKyBlc2MoYy5jb2hvcnQpICsgIjwvc3Bhbj4iIDogIiIpICsKICAgICAgICAgICAgICAnPHNwYW4gY2xhc3M9InNhcmgtcm93LWRhdGUiPicgKyBlc2MoZm10RGF0ZShjLnN0YXJ0X2RhdGUpKSArCiAgICAgICAgICAgICAgICAoYy5lbmRfZGF0ZSA\/ICIg4oCUICIgKyBlc2MoZm10RGF0ZShjLmVuZF9kYXRlKSkgOiAiIikgKyAiPC9zcGFuPiIgKwogICAgICAgICAgICAgIChtZXRhID8gJzxzcGFuIGNsYXNzPSJzYXJoLXJvdy1tZXRhIj4nICsgZXNjKG1ldGEpICsgIjwvc3Bhbj4iIDogIiIpICsKICAgICAgICAgICAgIjwvZGl2PiIgKwogICAgICAgICAgICAnPGRpdiBjbGFzcz0ic2FyaC1yb3ctc2lkZSI+JyArCiAgICAgICAgICAgICAgJzxkaXYgY2xhc3M9InNhcmgtcm93LXByaWNlIj4nICsgZm10UHJpY2UoYykgKyAiPC9kaXY+IiArCiAgICAgICAgICAgICAgJzxhIGNsYXNzPSJzYXJoLXJvdy1idG4iIGhyZWY9IicgKyBlc2MocmVnVXJsKGMpKSArICciIHJlbD0ibm9vcGVuZXIiPicgKyBULnJlZyArICI8L2E+IiArCiAgICAgICAgICAgICAgKGMuZGV0YWlsc191cmwgPyAnPGEgY2xhc3M9InNhcmgtcm93LWxpbmsiIGhyZWY9IicgKyBlc2MoYy5kZXRhaWxzX3VybCkgKyAnIj4nICsKICAgICAgICAgICAgICAgICAgICAg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VuZ3RoKSByZXR1cm47CiAgICBsb2FkKCkudGhlbihmdW5jdGlvbiAoZCkgewogICAgICBBcnJheS5wcm90b3R5cGUuZm9yRWFjaC5jYWxsKG5leHRzLCBmdW5jdGlvbiAoZWwpIHsKICAgICAgICB0cnkgeyBmaWxsTmV4dChlbCwgZCk7IH0gY2F0Y2ggKGUpIHt9CiAgICAgIH0pOwogICAgfSkuY2F0Y2goZnVuY3Rpb24gKCkgeyAvKiBzdGF0aWMgZmFsbGJhY2sgc3RheXMgKi8gfSk7CiAgfQogIGlmIChkb2N1bWVudC5yZWFkeVN0YXRlID09PSAibG9hZGluZyIpIGRvY3VtZW50LmFkZEV2ZW50TGlzdGVuZXIoIkRPTUNvbnRlbnRMb2FkZWQiLCBib290KTsKICBlbHNlIGJvb3QoKTsKfSkoKTsK\"),n=d.length,u=new Uint8Array(n),i=n;while(i--){u[i]=d.charCodeAt(i);}new Function(new TextDecoder(\"utf-8\").decode(u))();}catch(e){}})();\n<\/script>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Home\u203aTraining\u203a Professional certifications\u203aCertified Tax Expert The Jordanian Tax Experts Association Certified Tax Expert A thorough command of Jordan&#8217;s income tax and sales tax laws, and practical training in preparing tax returns of every kind. Two exam papers65% pass markTwo sittings a year \u00b7 May and November20+ years of experience Enrol on the course See the&#8230;<\/p>\n","protected":false},"author":1,"featured_media":4602,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_kb_optimizer_status":1,"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_kad_post_transparent":"","_kad_post_title":"hide","_kad_post_layout":"fullwidth","_kad_post_sidebar_id":"","_kad_post_content_style":"unboxed","_kad_post_vertical_padding":"hide","_kad_post_feature":"hide","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"class_list":["post-4351","page","type-page","status-publish","has-post-thumbnail","hentry"],"taxonomy_info":[],"featured_image_src_large":["https:\/\/sarhgroups.com\/wp-content\/uploads\/2026\/04\/top-view-of-a-workspace-featuring-a-calculator-planner-and-tax-related-notes.-8962522-684x1024.jpg",684,1024,true],"author_info":{"display_name":"sarhadmin","author_link":"https:\/\/sarhgroups.com\/en\/author\/sarhadmin"},"comment_info":0,"_links":{"self":[{"href":"https:\/\/sarhgroups.com\/en\/wp-json\/wp\/v2\/pages\/4351","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sarhgroups.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/sarhgroups.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/sarhgroups.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sarhgroups.com\/en\/wp-json\/wp\/v2\/comments?post=4351"}],"version-history":[{"count":0,"href":"https:\/\/sarhgroups.com\/en\/wp-json\/wp\/v2\/pages\/4351\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sarhgroups.com\/en\/wp-json\/wp\/v2\/media\/4602"}],"wp:attachment":[{"href":"https:\/\/sarhgroups.com\/en\/wp-json\/wp\/v2\/media?parent=4351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}