{"id":4354,"date":"2026-03-15T17:05:28","date_gmt":"2026-03-15T14:05:28","guid":{"rendered":"https:\/\/sarhgroups.com\/accounting"},"modified":"2026-08-19T14:24:47","modified_gmt":"2026-08-19T11:24:47","slug":"accounting","status":"publish","type":"page","link":"https:\/\/sarhgroups.com\/en\/accounting","title":{"rendered":"Preparing Accountants for the Job Market"},"content":{"rendered":"\n<style>\n\/* =========================================================\n   Sarh - practical accounting page  \u00b7  scope: .acct-v4\n   Navy #16243f \u00b7 Red #b5181a \u00b7 Warm #f7f6f3\n   All landscape media locked to 16:10.\n   ========================================================= *\/\n.acct-v4,.acct-v4 *{box-sizing:border-box}\n.acct-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.acct-v4 img{display:block; max-width:100%}\n.acct-v4 a{color:inherit}\n.acct-v4 [id]{scroll-margin-top:110px}\n.acct-wrap{width:min(1180px,calc(100% - 48px)); margin-inline:auto}\n.acct-sec{padding:86px 0}\n.acct-sec.is-soft{background:var(--soft)}\n.acct-sec.is-mist{background:var(--mist)}\n\n.acct-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.acct-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.acct-head{display:grid; grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);\n  gap:56px; align-items:end; margin-bottom:38px}\n.acct-head h2,.acct-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.acct-head>p,.acct-copy>p{margin:0; color:var(--mu); font-size:16px; line-height:1.95}\n\n\/* ---------- hero ---------- *\/\n.acct-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.acct-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.acct-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.acct-crumbs a{color:#dce3ee; text-decoration:none}\n.acct-crumbs a:hover{color:#fff}\n.acct-hero-grid{display:grid; grid-template-columns:minmax(0,1.02fr) minmax(430px,.98fr);\n  gap:68px; align-items:center}\n.acct-hero .acct-kick{color:var(--pk)}\n.acct-hero .acct-kick::before{box-shadow:0 0 0 6px rgba(243,171,177,.1)}\n.acct-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.acct-hero h1 span{color:#ffbec3}\n.acct-lead{max-width:56ch; margin:0 0 26px; color:#d8dfeb; font-size:18px; line-height:1.95}\n.acct-tags{display:flex; flex-wrap:wrap; gap:9px; margin-bottom:28px}\n.acct-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.acct-acts{display:flex; flex-wrap:wrap; gap:11px}\n.acct-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.acct-btn:hover{transform:translateY(-2px)}\n.acct-btn-red{background:var(--rd); color:#fff !important}\n.acct-btn-red:hover{background:var(--rdd)}\n.acct-btn-out{border-color:rgba(255,255,255,.28); background:rgba(255,255,255,.06); color:#fff !important}\n.acct-btn-out:hover{border-color:#fff; background:#fff; color:var(--nv) !important}\n.acct-btn-nv{background:var(--nv); color:#fff !important}\n.acct-btn-nv:hover{background:var(--nvd)}\n.acct-btn-lt{background:#fff; color:var(--nv) !important}\n.acct-btn-lt:hover{background:var(--nv); color:#fff !important}\n.acct-btn-gh{border-color:rgba(255,255,255,.28); background:rgba(255,255,255,.08); color:#fff !important}\n.acct-btn-gh:hover{background:#fff; color:var(--rdd) !important}\n\n.acct-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.acct-seal{position:relative; display:grid; place-items:center; width:min(430px,100%); aspect-ratio:1}\n.acct-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.acct-seal::after{content:\"\"; position:absolute; inset:2%; border-radius:50%;\n  box-shadow:0 34px 80px rgba(0,0,0,.42)}\n.acct-seal img{position:relative; z-index:1; width:100%; height:auto}\n.acct-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.acct-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.acct-badge span{display:block; color:var(--mu); font-size:11.5px; line-height:1.7}\n\n\/* ---------- proof card overlapping hero ---------- *\/\n.acct-proof-wrap{position:relative; z-index:5; margin-top:-38px}\n.acct-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.acct-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.acct-proof p{margin:0; color:var(--tx); font-size:17px; line-height:2}\n\n\/* ---------- facts ---------- *\/\n.acct-facts{padding:42px 0 60px}\n.acct-facts-grid{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px}\n.acct-fact{position:relative; overflow:hidden; padding:25px 23px; border:1px solid var(--line);\n  border-radius:22px; background:#fff}\n.acct-fact::after{content:\"\"; position:absolute; left:-32px; bottom:-42px; width:110px; height:110px;\n  border-radius:50%; background:var(--mist)}\n.acct-fact-l{position:relative; z-index:1; display:block; color:var(--rd);\n  font-size:13px; line-height:1.5; font-weight:850}\n.acct-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.acct-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.acct-toc{padding-bottom:26px}\n.acct-toc-card{padding:22px; border:1px solid var(--line); border-radius:22px; background:var(--soft)}\n.acct-toc-t{margin:0 0 13px; color:var(--nv); font-size:14px; line-height:1.5; font-weight:850}\n.acct-toc-l{display:flex; flex-wrap:wrap; gap:8px}\n.acct-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.acct-toc-l a:hover{border-color:var(--rd); color:var(--rd)}\n\n\/* ---------- split ---------- *\/\n.acct-split{display:grid; grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr); gap:62px; align-items:center}\n.acct-split.flip{grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr)}\n.acct-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.acct-media img{width:100%; aspect-ratio:16\/10; object-fit:cover}\n.acct-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.acct-media-plain{background:#fff}\n.acct-media-plain img{aspect-ratio:auto; object-fit:contain; padding:18px}\n.acct-copy h2{margin-bottom:20px}\n.acct-copy>p+p{margin-top:14px}\n.acct-list{display:grid; gap:12px; margin:25px 0 0; padding:0; list-style:none}\n.acct-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.acct-list li strong{color:var(--nv)}\n.acct-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.acct-cards{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px}\n.acct-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.acct-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.acct-card h3{margin:0 0 10px; color:var(--nv); font-size:19px; line-height:1.45}\n.acct-card p{margin:0; color:var(--mu); font-size:14px; line-height:1.85}\n@media(hover:hover){.acct-card:hover{transform:translateY(-5px); border-color:transparent;\n  box-shadow:0 20px 48px rgba(22,36,63,.11)}}\n\n\/* ---------- dates banner ---------- *\/\n.acct-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.acct-banner strong{display:block; margin-bottom:5px; color:var(--nv); font-size:16px; line-height:1.6}\n.acct-banner p{margin:0; color:var(--tx); font-size:13px; line-height:1.8}\n\n\/* ---------- tables ---------- *\/\n.acct-part{margin:0 0 15px; color:var(--nv); font-size:clamp(18px,2vw,23px); line-height:1.45}\n.acct-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.acct-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.acct-tb{width:100%; min-width:640px; border-collapse:collapse; text-align:left}\n.acct-tb th,.acct-tb td{padding:17px 19px; border-bottom:1px solid var(--line); vertical-align:top;\n  font-size:13px; line-height:1.75}\n.acct-tb th{background:var(--nv); color:#fff; font-weight:800}\n.acct-tb td{color:var(--tx)}\n.acct-tb td:first-child{color:var(--nv); font-weight:800}\n.acct-tb tr:last-child td{border-bottom:0}\n.acct-tb .w{white-space:nowrap; color:var(--rd); font-weight:850}\n\n\/* ---------- IMA band ---------- *\/\n.acct-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.acct-ima.is-solo{grid-template-columns:1fr}\n.acct-ima-logo{display:grid; place-items:center; padding:22px; border-radius:22px; background:#fff}\n.acct-ima-logo img{width:100%; height:auto}\n.acct-ima h2{margin:0 0 13px; color:#fff; font-size:clamp(28px,3.2vw,42px); line-height:1.22}\n.acct-ima p{margin:0 0 18px; color:#d3dce8; font-size:15px; line-height:1.95}\n.acct-ima-pts{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:11px}\n.acct-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.acct-path{background:var(--nv); color:#fff}\n.acct-path .acct-head h2{color:#fff}\n.acct-path .acct-head>p{color:#cbd5e1}\n.acct-steps{display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:11px; counter-reset:cs}\n.acct-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.acct-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.acct-step h3{margin:0 0 9px; color:#fff; font-size:16px; line-height:1.5}\n.acct-step p{margin:0; color:#c8d2e0; font-size:12px; line-height:1.8}\n\n\/* ---------- testimonials ---------- *\/\n.acct-tests{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; align-items:stretch}\n.acct-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.acct-test blockquote{flex:1; margin:0 0 18px; padding:0; border:0; color:var(--tx);\n  font-size:13.5px; line-height:2}\n.acct-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.acct-test figcaption{display:flex; align-items:center; gap:12px; margin:0;\n  padding-top:16px; border-top:1px solid var(--line)}\n.acct-test img{width:52px; height:52px; flex:none; border-radius:50%; object-fit:cover}\n.acct-test b{display:block; color:var(--nv); font-size:14px; line-height:1.5}\n.acct-test em{display:block; color:var(--mu); font-size:11.5px; line-height:1.6; font-style:normal}\n\n\/* ---------- faq ---------- *\/\n.acct-faq{display:grid; gap:11px}\n.acct-faq details{overflow:hidden; border:1px solid var(--line); border-radius:16px; background:#fff}\n.acct-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.acct-faq summary::-webkit-details-marker{display:none}\n.acct-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.acct-faq details[open] summary{background:var(--soft); color:var(--rd)}\n.acct-faq details[open] summary::after{content:\"\\2212\"; background:var(--rd); color:#fff}\n.acct-faq-a{padding:0 20px 20px; color:var(--mu); font-size:14px; line-height:1.95}\n.acct-faq-a p{margin:0}\n\n\/* ---------- cta ---------- *\/\n.acct-cta-sec{padding:0 0 90px; background:#fff}\n.acct-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.acct-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.acct-cta h2{margin:0 0 13px; color:#fff; font-size:clamp(32px,3.7vw,52px); line-height:1.2}\n.acct-cta p{max-width:60ch; margin:0; color:#ffe5e8; font-size:15px; line-height:1.9}\n.acct-cta-acts{position:relative; z-index:2; display:grid; gap:10px}\n.acct-cta .acct-btn{width:100%}\n\n\/* ---------- tablet ---------- *\/\n@media(max-width:1024px){\n  .acct-hero-grid,.acct-split,.acct-split.flip,.acct-head,.acct-ima,.acct-cta{grid-template-columns:1fr}\n  .acct-hero-grid{gap:52px}\n  .acct-hero-media{width:min(700px,100%); margin-inline:auto}\n  .acct-facts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}\n  .acct-cards,.acct-tests{grid-template-columns:repeat(2,minmax(0,1fr))}\n  .acct-steps{grid-template-columns:repeat(3,minmax(0,1fr))}\n  .acct-step{min-height:190px}\n  .acct-ima-logo{width:min(210px,60%); margin-inline:auto}\n  .acct-cta-acts{grid-template-columns:repeat(2,minmax(0,1fr))}\n}\n\/* ---------- mobile ---------- *\/\n@media(max-width:767px){\n  .acct-wrap{width:calc(100% - 32px)}\n  .acct-sec{padding:62px 0}\n  .acct-hero{padding:22px 0 68px}\n  .acct-crumbs{margin-bottom:32px}\n  .acct-hero h1{font-size:38px; line-height:1.22; max-width:none}\n  .acct-lead{font-size:16px; line-height:1.9}\n  .acct-acts{display:grid; grid-template-columns:1fr}\n  .acct-btn{width:100%}\n  .acct-frame{border-radius:24px}\n  .acct-frame img{border-radius:17px}\n  .acct-seal{width:min(280px,72%)}\n  .acct-badge{position:relative; left:auto; right:auto; bottom:auto; width:calc(100% - 28px); margin:6px auto 0}\n  .acct-proof-wrap{margin-top:-26px}\n  .acct-proof{grid-template-columns:1fr; gap:18px; padding:23px 21px; border-radius:22px}\n  .acct-proof-tag{min-height:auto; text-align:left}\n  .acct-proof p{font-size:15px}\n  .acct-facts{padding:30px 0 50px}\n  .acct-facts-grid{grid-template-columns:1fr; gap:10px}\n  .acct-fact{padding:21px 18px}\n  .acct-fact strong{font-size:32px}\n  .acct-toc-card{padding:18px}\n  .acct-head{gap:17px; margin-bottom:28px}\n  .acct-head h2,.acct-copy h2{font-size:33px; line-height:1.25}\n  .acct-split,.acct-split.flip{gap:36px}\n  .acct-cards,.acct-tests,.acct-steps,.acct-ima-pts{grid-template-columns:1fr}\n  .acct-card,.acct-test{padding:23px 21px}\n  .acct-banner{grid-template-columns:1fr; padding:20px}\n  .acct-tb th,.acct-tb td{padding:14px 15px}\n  .acct-step{min-height:0}\n  .acct-ima{gap:26px; padding:28px 22px; border-radius:25px}\n  .acct-cta-sec{padding-bottom:64px}\n  .acct-cta{gap:28px; padding:36px 24px; border-radius:27px}\n  .acct-cta-acts{grid-template-columns:1fr}\n}\n@media(prefers-reduced-motion:reduce){\n  .acct-v4 *,.acct-v4 *::before,.acct-v4 *::after{transition:none !important}\n}\n\n\/* English twin: latin numerals and tighter line-height suit the LTR setting *\/\n.acct-v4{direction:ltr; text-align:left}\n.acct-v4 .acct-lead,.acct-v4 .acct-head>p,.acct-v4 .acct-copy>p{line-height:1.75}\n.acct-v4 .acct-list li,.acct-v4 .acct-card p,.acct-v4 .acct-faq-a{line-height:1.7}\n.acct-tb th,.acct-tb td{text-align:left}\n.acct-crumbs{direction:ltr}\n\n.acct-hero-media{display:block}\n.acct-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.acct-frame img{width:100%; aspect-ratio:16\/9; object-fit:cover; border-radius:21px; background:#eef3f7}\n.acct-badge strong{font-size:26px}\n.acct-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=\"acct-v4\">\n<section class=\"acct-hero\"><div class=\"acct-wrap\">\n  <nav class=\"acct-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>Preparing Accountants for the Job Market<\/span>\n  <\/nav>\n  <div class=\"acct-hero-grid\">\n    <div>\n      <span class=\"acct-kick\">Also known as the Practical Accounting course<\/span>\n      <h1>Preparing Accountants <span>for the Job Market<\/span><\/h1>\n      <p class=\"acct-lead\">Skip the years of trial and error and start your first job knowing what you are doing \u2014 with an attendance certificate equivalent to a year&#8217;s experience.<\/p>\n      <div class=\"acct-tags\"><span>30 training hours<\/span><span>Hands-on QuickBooks<\/span><span>Real documents<\/span><span>No prerequisites<\/span><\/div>\n      <div class=\"acct-acts\">\n        <a class=\"acct-btn acct-btn-red\" href=\"https:\/\/sarhgroups.com\/en\/products\/accountant-job-market-preparation-course\">Enrol on the course<\/a>\n        <a class=\"acct-btn acct-btn-out\" href=\"#outline\">See the syllabus<\/a>\n      <\/div>\n    <\/div>\n    <div class=\"acct-hero-media\">\n      <figure class=\"acct-frame\"><img fetchpriority=\"high\" src=\"https:\/\/sarhgroups.com\/wp-content\/uploads\/2026\/08\/acct-classroom-hero.webp\" alt=\"Trainees on the job-market preparation course at Sarh International\" width=\"1600\" height=\"900\" loading=\"eager\" decoding=\"async\"><\/figure>\n      <div class=\"acct-badge\"><strong>1 year<\/strong><span>of experience the certificate is equivalent to<\/span><\/div>\n    <\/div>\n  <\/div>\n<\/div><\/section>\n\n<section class=\"acct-proof-wrap\"><div class=\"acct-wrap\"><div class=\"acct-proof\">\n  <div class=\"acct-proof-tag\">The gap between<br>university and the job<\/div><p>You graduate knowing the theory, and on your first day you are asked for things nobody taught you: a chart of accounts, a payroll run, a tax return, a bank reconciliation. This course closes that gap in <strong>30 hours<\/strong>, working on <strong>real documents<\/strong> and on <strong>QuickBooks<\/strong>.<\/p>\n<\/div><\/div><\/section>\n<section class=\"acct-facts\"><div class=\"acct-wrap\"><div class=\"acct-facts-grid\"><div class=\"acct-fact\"><span class=\"acct-fact-l\">Course length<\/span><strong>30<\/strong><em>training hours over one month<\/em><\/div><div class=\"acct-fact\"><span class=\"acct-fact-l\">Hands-on<\/span><strong>QuickBooks<\/strong><em>the most widely used accounting package<\/em><\/div><div class=\"acct-fact\"><span class=\"acct-fact-l\">Attendance certificate<\/span><strong>1 year<\/strong><em>of job-market experience equivalent<\/em><\/div><div class=\"acct-fact\"><span class=\"acct-fact-l\">Trainee rating<\/span><strong>4.75<\/strong><em>out of 5 on the course page<\/em><\/div><\/div><\/div><\/section>\n<section class=\"acct-toc\"><div class=\"acct-wrap\"><div class=\"acct-toc-card\">\n  <p class=\"acct-toc-t\">On this page<\/p><div class=\"acct-toc-l\"><a href=\"#why\">Why this course<\/a><a href=\"#outline\">The syllabus<\/a><a href=\"#delivery\">How you study<\/a><a href=\"#audience\">Who it is for<\/a><a href=\"#info\">Course details<\/a><a href=\"#path\">The course plan<\/a><a href=\"#grads\">Our graduates<\/a><a href=\"#faq\">FAQ<\/a><\/div>\n<\/div><\/div><\/section>\n<section class=\"acct-sec\" id=\"why\"><div class=\"acct-wrap\"><div class=\"acct-head\"><h2>Why this course?<\/h2><p>Because the hardest part of a first job is not the accounting itself, but the daily tasks nobody explained to you.<\/p><\/div><div class=\"acct-cards\"><div class=\"acct-card\"><span>Applied<\/span><h3>Real documents<\/h3><p>You work on authentic paperwork that mirrors what will actually land on your desk, not textbook examples.<\/p><\/div><div class=\"acct-card\"><span>Software<\/span><h3>Hands-on QuickBooks<\/h3><p>The most widely used accounting package in the market \u2014 you set up a company from scratch through to the trial balance.<\/p><\/div><div class=\"acct-card\"><span>Certificate<\/span><h3>Worth a year&#8217;s experience<\/h3><p>An attendance certificate from Sarh that saves a year of experience on your CV.<\/p><\/div><div class=\"acct-card\"><span>Opportunity<\/span><h3>Placements for the best<\/h3><p>Strong performers are put forward for training placements at accounting and tax consultancy practices.<\/p><\/div><div class=\"acct-card\"><span>Access<\/span><h3>No prerequisites<\/h3><p>Suitable for new graduates and for anyone returning to accounting work after a break.<\/p><\/div><div class=\"acct-card\"><span>Standing<\/span><h3>From Sarh<\/h3><p>A centre holding international accreditations from ACCA, IMA, PMI and others.<\/p><\/div><\/div><\/div><\/section><section class=\"acct-sec is-mist\" id=\"outline\"><div class=\"acct-wrap\"><div class=\"acct-head\"><h2>The syllabus<\/h2><p>Three sections ending with a trial balance you produced yourself on real accounting software.<\/p><\/div><h3 class=\"acct-part\">Section one \u2014 Fundamentals and setting up a company <small>four topics<\/small><\/h3><div class=\"acct-tw\"><table class=\"acct-tb\"><thead><tr><th>Topic<\/th><th>What you learn<\/th><\/tr><\/thead><tbody><tr><td>Revisiting the fundamentals<\/td><td>A full review of financial accounting fundamentals and the concepts the practical work rests on.<\/td><\/tr><tr><td>Bank accounts and cheques<\/td><td>Distinguishing the types of bank account and the types of cheque.<\/td><\/tr><tr><td>Setting up a company<\/td><td>Opening and establishing a company in accounting terms, completing the paperwork and building the chart of accounts.<\/td><\/tr><tr><td>Journal entries from documents<\/td><td>Entries for purchases, sales, and cheques paid and received.<\/td><\/tr><\/tbody><\/table><\/div><div style=\"height:30px\"><\/div><h3 class=\"acct-part\">Section two \u2014 Payroll, tax, reporting and the financial statements <small>six topics<\/small><\/h3><div class=\"acct-tw\"><table class=\"acct-tb\"><thead><tr><th>Topic<\/th><th>What you learn<\/th><\/tr><\/thead><tbody><tr><td>Payroll<\/td><td>Preparing the payroll with social security and income tax deductions.<\/td><\/tr><tr><td>Payroll entries<\/td><td>Recording the accounting entries for payroll with the deductions.<\/td><\/tr><tr><td>Income tax forms<\/td><td>Preparing income tax forms for individuals and businesses.<\/td><\/tr><tr><td>Sales tax remittance<\/td><td>Preparing the remittance statement for the Income and Sales Tax Department.<\/td><\/tr><tr><td>Bank reconciliation and cash flow<\/td><td>The bank reconciliation memorandum and the cash flow statement in Excel.<\/td><\/tr><tr><td>Financial statements and year-end<\/td><td>Preparing the financial statements, making the adjustments and closing the financial year.<\/td><\/tr><\/tbody><\/table><\/div><div style=\"height:30px\"><\/div><h3 class=\"acct-part\">Section three \u2014 Hands-on QuickBooks <small>four topics<\/small><\/h3><div class=\"acct-tw\"><table class=\"acct-tb\"><thead><tr><th>Topic<\/th><th>What you learn<\/th><\/tr><\/thead><tbody><tr><td>Training on QuickBooks<\/td><td>The commercial QuickBooks package as actually used in the market.<\/td><\/tr><tr><td>Chart of accounts and opening entry<\/td><td>Building the chart of accounts and making the opening entry.<\/td><\/tr><tr><td>Every type of entry<\/td><td>Receipts, payments and journals, for all real documents.<\/td><\/tr><tr><td>A complete company file<\/td><td>Establishing a running company from scratch through to the trial balance.<\/td><\/tr><\/tbody><\/table><\/div><\/div><\/section><section class=\"acct-sec\" id=\"delivery\"><div class=\"acct-wrap\"><div class=\"acct-head\"><h2>How you study<\/h2><p>Teaching and materials in Arabic, and you attend however suits you.<\/p><\/div><div class=\"acct-cards\"><div class=\"acct-card\"><span>In person<\/span><h3>At the Sarh premises<\/h3><p>Live classroom practice on the documents and on the computer alongside the instructor.<\/p><\/div><div class=\"acct-card\"><span>Online<\/span><h3>Live and interactive<\/h3><p>From home, the same broadcast at the same time, with screen sharing during the practical work.<\/p><\/div><div class=\"acct-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=\"acct-sec\"><div class=\"acct-wrap\"><div class=\"acct-banner\" data-sarh-next=\"sarhgroups.com\/products\/\u062f\u0648\u0631\u0629-\u0627\u0644\u0645\u062d\u0627\u0633\u0628\u0629-\u0627\u0644\u0639\u0645\u0644\u064a\u0629\"><div><strong>Upcoming course dates<\/strong><p>The course runs over one month, totalling 30 hours. Check the next start date and reserve your place.<\/p><\/div><a class=\"acct-btn acct-btn-red\" href=\"https:\/\/sarhgroups.com\/en\/products\/accountant-job-market-preparation-course\">Dates and enrolment<\/a><\/div><\/div><\/section><section class=\"acct-sec is-soft\" id=\"audience\"><div class=\"acct-wrap\"><div class=\"acct-head\"><h2>Who is it for?<\/h2><p>If your degree is in hand and your practical experience has not started yet, this is the starting point.<\/p><\/div><div class=\"acct-tags acct-tags-light\"><span>New graduates in accounting and related fields<\/span><span>People returning to accounting work after a break<\/span><span>Anyone wanting to strengthen their accounting skills<\/span><span>Anyone wanting to master accounting software<\/span><\/div><div class=\"acct-banner\" style=\"margin-top:26px;\"><div><strong>Thinking of a professional certification next?<\/strong><p>Many graduates of this course move on to the FMAA from the IMA as their next step.<\/p><\/div><a class=\"acct-btn acct-btn-red\" href=\"https:\/\/sarhgroups.com\/en\/fmaa\">About the FMAA<\/a><\/div><\/div><\/section><section class=\"acct-sec\" id=\"info\"><div class=\"acct-wrap\"><div class=\"acct-head\"><h2>Course details<\/h2><p>Everything you need to know before enrolling.<\/p><\/div><div class=\"acct-tw\"><table class=\"acct-tb\"><tbody><tr><td>Total hours<\/td><td>30 training hours.<\/td><\/tr><tr><td>Programme length<\/td><td>One month.<\/td><\/tr><tr><td>Where you attend<\/td><td>Live and interactive online from home, or in person at the Sarh premises.<\/td><\/tr><tr><td>Teaching language<\/td><td>Teaching and materials in Arabic.<\/td><\/tr><tr><td>Syllabus<\/td><td>Sarh&#8217;s own course material, built around what the job market requires.<\/td><\/tr><tr><td>Entry requirements<\/td><td>None.<\/td><\/tr><tr><td>Awarded by<\/td><td>A certificate from Sarh, which holds international accreditations from ACCA, IMA, PMI and others.<\/td><\/tr><tr><td>Accounting software<\/td><td>QuickBooks \u2014 full hands-on work within the course.<\/td><\/tr><\/tbody><\/table><\/div><\/div><\/section><section class=\"acct-sec acct-path\" id=\"path\"><div class=\"acct-wrap\"><div class=\"acct-head\"><h2>The course plan<\/h2><p>From the first lecture to a trial balance you produced yourself.<\/p><\/div><div class=\"acct-steps\"><div class=\"acct-step\"><h3>Enrol<\/h3><p>You receive Sarh&#8217;s own course material and the document files.<\/p><\/div><div class=\"acct-step\"><h3>Review and set up<\/h3><p>You revisit the fundamentals and learn to establish a company and build a chart of accounts.<\/p><\/div><div class=\"acct-step\"><h3>Payroll and tax<\/h3><p>Payroll and deductions, and income tax and sales tax forms.<\/p><\/div><div class=\"acct-step\"><h3>QuickBooks<\/h3><p>You set up a company on the software from scratch through to the trial balance.<\/p><\/div><div class=\"acct-step\"><h3>Certificate<\/h3><p>You receive a Sarh certificate equivalent to a year&#8217;s experience in the job market.<\/p><\/div><\/div><\/div><\/section><section class=\"acct-sec is-soft\" id=\"grads\"><div class=\"acct-wrap\"><div class=\"acct-head\"><h2>Graduates<\/h2><p>Graduates who entered the job market knowing what would be asked of them on day one.<\/p><\/div><figure class=\"acct-media\"><img src=\"https:\/\/sarhgroups.com\/wp-content\/uploads\/2026\/08\/acct-graduates.webp\" alt=\"Sarh International course graduates\" width=\"1600\" height=\"1000\" loading=\"lazy\" decoding=\"async\"><figcaption>From the graduates of Sarh International&#8217;s courses<\/figcaption><\/figure><div style=\"height:26px\"><\/div><div class=\"acct-tests\"><figure class=\"acct-test\"><blockquote>Sarh is one of the finest centres. Well-organised people and excellent instructors who get the idea across to the trainee and spare no effort, going over a topic more than once if someone has not understood it.<\/blockquote><figcaption><span><b>Murtadha Ibrahim<\/b><em>Accountant \u2014 Sawa Group<\/em><\/span><\/figcaption><\/figure><figure class=\"acct-test\"><blockquote>Before I started I had not imagined the practical accounting course could benefit me like this and give me practical knowledge we never had at university. What I liked most was the strength of the syllabus and the plan behind it.<\/blockquote><figcaption><span><b>Abdulkarim Al-Amour<\/b><\/span><\/figcaption><\/figure><figure class=\"acct-test\"><blockquote>A wonderful teaching team who get the information across in a remarkable way. I am now ready to go into the job market with full confidence in my abilities. Thanks to Sarh centre, and special thanks to Mohammad Al-Salman.<\/blockquote><figcaption><img src=\"https:\/\/sarhgroups.com\/wp-content\/uploads\/2026\/08\/acct-grad-mohammad-saadeh.webp\" alt=\"Mohammad Saadeh\" width=\"52\" height=\"52\" loading=\"lazy\" decoding=\"async\"><span><b>Mohammad Saadeh<\/b><em>Student<\/em><\/span><\/figcaption><\/figure><\/div><\/div><\/section><section class=\"acct-sec\" id=\"faq\"><div class=\"acct-wrap\"><div class=\"acct-head\"><h2>Frequently asked<\/h2><p>What candidates ask us most before enrolling.<\/p><\/div><div class=\"acct-faq\"><details><summary>Is this the practical accounting course?<\/summary><div class=\"acct-faq-a\"><p>Yes; the course goes by both names \u2014 &#8216;Preparing Accountants for the Job Market&#8217; and &#8216;the Practical Accounting course&#8217;.<\/p><\/div><\/details><details><summary>Are there entry requirements?<\/summary><div class=\"acct-faq-a\"><p>No; the course suits new graduates, accountants early in their careers, and people returning after a break.<\/p><\/div><\/details><details><summary>How long is the course?<\/summary><div class=\"acct-faq-a\"><p>30 training hours spread over one month.<\/p><\/div><\/details><details><summary>Which accounting software do I train on?<\/summary><div class=\"acct-faq-a\"><p>QuickBooks, one of the most widely used accounting packages in the market.<\/p><\/div><\/details><details><summary>Is the practical work on examples or real documents?<\/summary><div class=\"acct-faq-a\"><p>On authentic paperwork that mirrors the documents you will actually handle at work.<\/p><\/div><\/details><details><summary>What is the certificate worth?<\/summary><div class=\"acct-faq-a\"><p>An attendance certificate from Sarh equivalent to a year&#8217;s experience in the job market.<\/p><\/div><\/details><details><summary>Is the teaching in Arabic?<\/summary><div class=\"acct-faq-a\"><p>Yes, teaching and materials are in Arabic.<\/p><\/div><\/details><details><summary>What comes after the course?<\/summary><div class=\"acct-faq-a\"><p>Many graduates move on to the FMAA from the IMA, and then to the CMA.<\/p><\/div><\/details><\/div><\/div><\/section>\n<section class=\"acct-cta-sec\"><div class=\"acct-wrap\"><div class=\"acct-cta\">\n  <div><h2>Start your first job with confidence<\/h2><p>Thirty hours stand between a university degree and an accountant who knows what to do on day one.<\/p><\/div>\n  <div class=\"acct-cta-acts\">\n    <a class=\"acct-btn acct-btn-lt\" href=\"https:\/\/sarhgroups.com\/en\/products\/accountant-job-market-preparation-course\">Enrol on the course<\/a>\n    <a class=\"acct-btn acct-btn-gh\" href=\"https:\/\/sarhgroups.com\/en\/training-courses\/certifications\">Browse the other programmes<\/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+IHRoZSBuZXh0IG9wZW4gY29ob3J0IGZvciB0aGF0IGNvdXJzZQogICAgIFtkYXRhLXNhcmgtc2NoZWR1bGVdICAgICAgICAgICAgICAgLT4gYSBidXR0b24gdGhhdCBvcGVucyB0aGUgZnVsbCBzY2hlZHVsZQogICBQcm9ncmVzc2l2ZSBlbmhhbmNlbWVudDogaWYgdGhlIGZlZWQgaXMgdW5yZWFjaGFibGUgb3IgZW1wdHksIHdoYXRldmVyIG1hcmt1cAogICBpcyBhbHJlYWR5IGluc2lkZSB0aGUgZWxlbWVudCBpcyBsZWZ0IGV4YWN0bHkgYXMgaXQgaXMuICovCihmdW5jdGlvbiAoKSB7CiAgaWYgKHdpbmRvdy5fX3NhcmhUTVMpIHJldHVybjsKICB3aW5kb3cuX19zYX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GF5cyksCiAgICAgICAgICAgICAgICAgICAgYy5zdGFydF90aW1lID8gZm10VGltZShjLnN0YXJ0X3RpbWUpICsgIiDigJMgIiArIGZtdFRpbWUoYy5lbmRfdGltZSkgOiAiIiwKICAgICAgICAgICAgICAgICAgICBmbXRNb2RlKGMuZGVsaXZlcnlfbW9kZSldLmZpbHRlcihCb29sZWFuKS5qb2luKCIgwrcgIik7CiAgICAgICAgaHRtbCArPQogICAgICAgICAgJzxkaXYgY2xhc3M9InNhcmgtcm93Ij4nICsKICAgICAgICAgICAgJzxkaXYgY2xhc3M9InNhcmgtcm93LW1haW4iPicgKwogICAgICAgICAgICAgICc8c3Ryb25nPicgKyBlc2MoY291cnNlTmFtZShjKSkgKyAnPC9zdHJvbmc+JyArCiAgICAgICAgICAgICAgKGMuY29ob3J0ID8gJzxzcGFuIGNsYXNzPSJzYXJoLXJvdy1jb2hvcnQiPicgKyBlc2MoYy5jb2hvcnQpICsgIjwvc3Bhbj4iIDogIiIpICsKICAgICAgICAgICAgICAnPHNwYW4gY2xhc3M9InNhcmgtcm93LWRhdGUiPicgKyBlc2MoZm10RGF0ZShjLnN0YXJ0X2RhdGUpKSArCiAgICAgICAgICAgICAgICAoYy5lbmRfZGF0ZSA\/ICIg4oCUICIgKyBlc2MoZm10RGF0ZShjLmVuZF9kYXRlKSkgOiAiIikgKyAiPC9zcGFuPiIgKwogICAgICAgICAgICAgIChtZXRhID8gJzxzcGFuIGNsYXNzPSJzYXJoLXJvdy1tZXRhIj4nICsgZXNjKG1ldGEpICsgIjwvc3Bhbj4iIDogIiIpICsKICAgICAgICAgICAgIjwvZGl2PiIgKwogICAgICAgICAgICAnPGRpdiBjbGFzcz0ic2FyaC1yb3ctc2lkZSI+JyArCiAgICAgICAgICAgICAgJzxkaXYgY2xhc3M9InNhcmgtcm93LXByaWNlIj4nICsgZm10UHJpY2UoYykgKyAiPC9kaXY+IiArCiAgICAgICAgICAgICAgJzxhIGNsYXNzPSJzYXJoLXJvdy1idG4i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tc2NoZWR1bGVdIikgOiBudWxsOwogICAgaWYgKGIpIHsgZS5wcmV2ZW50RGVmYXVsdCgpOyBvcGVuKCk7IH0KICB9KTsKCiAgZnVuY3Rpb24gYm9vdCgpIHsKICAgIHZhciBuZXh0cyA9IGRvY3VtZW50LnF1ZXJ5U2VsZWN0b3JBbGwoIltkYXRhLXNhcmgtbmV4dF0iKTsKICAgIGlmICghbmV4dHMubGVuZ3RoKSByZXR1cm47CiAgICBsb2FkKCkudGhlbihmdW5jdGlvbiAoZCkgewogICAgICBBcnJheS5wcm90b3R5cGUuZm9yRWFjaC5jYWxsKG5leHRzLCBmdW5jdGlvbiAoZWwpIHsKICAgICAgICB0cnkgeyBmaWxsTmV4dChlbCwgZCk7IH0gY2F0Y2ggKGUpIHt9CiAgICAgIH0pOwogICAgfSkuY2F0Y2goZnVuY3Rpb24gKCkgeyAvKiBzdGF0aWMgZmFsbGJhY2sgc3RheXMgKi8gfSk7CiAgfQogIGlmIChkb2N1bWVudC5yZWFkeVN0YXRlID09PSAibG9hZGluZyIpIGRvY3VtZW50LmFkZEV2ZW50TGlzdGVuZXIoIkRPTUNvbnRlbnRMb2FkZWQiLCBib290KTsKICBlbHNlIGJvb3QoKTsKfSkoKTsK\"),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\u203aPreparing Accountants for the Job Market Also known as the Practical Accounting course Preparing Accountants for the Job Market Skip the years of trial and error and start your first job knowing what you are doing \u2014 with an attendance certificate equivalent to a year&#8217;s experience. 30 training hoursHands-on QuickBooksReal documentsNo prerequisites Enrol&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"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-4354","page","type-page","status-publish","hentry"],"taxonomy_info":[],"featured_image_src_large":false,"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\/4354","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=4354"}],"version-history":[{"count":0,"href":"https:\/\/sarhgroups.com\/en\/wp-json\/wp\/v2\/pages\/4354\/revisions"}],"wp:attachment":[{"href":"https:\/\/sarhgroups.com\/en\/wp-json\/wp\/v2\/media?parent=4354"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}