---
title: Invoice Templates
slug: invoice-templates
createdAt: 2026-10-27T19:23:04.523Z
---

:::Iframe{iframeHeight="0" code="<style>&#xA;.cp{font-family:Inter,-apple-system,&#x22;Segoe UI&#x22;,Helvetica,Arial,sans-serif;color:#1f1f23;line-height:1.65;white-space:normal}&#xA;.cp *{box-sizing:border-box}&#xA;.cp-hero{background:#499EDA;color:#3A1250;border-radius:16px;padding:30px 32px 28px}&#xA;.cp-pill{display:inline-block;background:#3A1250;color:#fff;border-radius:999px;padding:6px 14px;font-size:14px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}&#xA;.cp-hero p{margin:14px 0 0;font-size:23px;font-weight:600;line-height:1.5}&#xA;.cp-prog{display:grid;grid-template-columns:repeat(auto-fill,minmax(178px,1fr));gap:10px;margin:16px 0 8px}&#xA;.cp-prog a{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#E4F1FB;border:2px solid #499EDA;border-radius:12px;padding:12px 14px;font-size:18px;font-weight:700;color:#3A1250;text-decoration:none;line-height:1.3;transition:background .15s,transform .15s}&#xA;.cp-prog a:hover{background:#499EDA;transform:translateY(-2px)}&#xA;.cp-prog span{display:block;font-size:14px;letter-spacing:.08em;text-transform:uppercase;color:#2B6FA3;margin-bottom:3px}&#xA;.cp-prog a:hover span{color:#3A1250}&#xA;.cp-prog svg{flex:none;width:24px;height:24px}&#xA;.cp-stage{display:flex;align-items:center;gap:14px;margin:42px 0 16px;scroll-margin-top:80px}&#xA;.cp-badge{flex:none;width:54px;height:54px;border-radius:12px;background:#499EDA;color:#3A1250;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:26px}&#xA;.cp-stage h2{font-size:30px;font-weight:800;margin:0;color:#3A1250;line-height:1.2;border:none;padding:0}&#xA;.cp-step{display:flex;gap:16px;background:#fff;border:3px solid #499EDA;border-radius:14px;padding:18px 20px;margin:0 0 14px;box-shadow:0 1px 3px rgba(0,0,0,.05)}&#xA;.cp-num{flex:none;width:42px;height:42px;border-radius:50%;background:#3A1250;color:#fff;font-weight:800;font-size:19px;display:flex;align-items:center;justify-content:center}&#xA;.cp-txt{font-size:21px;flex:1;min-width:0;padding-top:4px}&#xA;.cp-txt b{color:#3A1250}&#xA;.cp-shot{display:block;margin-top:14px;border-radius:10px;overflow:hidden;border:1px solid #e4e4ea}&#xA;.cp-shot img{display:block;width:100%;height:auto;margin:0}&#xA;.cp-tip{display:flex;gap:14px;background:#E4F1FB;border:1px solid #C3DFF4;border-radius:14px;padding:16px 20px;margin:0 0 14px 58px;font-size:20px;color:#3A1250}&#xA;.cp-tip svg{flex:none;width:26px;height:26px;margin-top:2px}&#xA;.cp-tip b{font-weight:800}&#xA;.cp-next{display:flex;justify-content:space-between;align-items:center;gap:14px;background:#499EDA;color:#1f1f23;border-radius:14px;padding:20px 24px;margin-top:36px;text-decoration:none !important;transition:transform .15s,box-shadow .15s}&#xA;.cp-next:hover{transform:translateY(-2px);box-shadow:0 6px 14px rgba(0,0,0,.15)}&#xA;.cp-next small{display:block;font-size:14px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#3A1250}&#xA;.cp-next strong{font-size:23px;color:#3A1250}&#xA;.cp-btn{flex:none;background:#3A1250;color:#fff;border-radius:10px;padding:10px 18px;font-size:18px;font-weight:700}&#xA;h1.ab-doc-name{color:#3A1250 !important}&#xA;.ab-toc-wrapper-root{display:none !important}&#xA;@media (min-width:1280px){div.max-w-\[680px\]:has(.cp){max-width:1300px !important;width:calc(100vw - 440px) !important}}&#xA;@media (min-width:1600px){div.max-w-\[680px\]:has(.cp){width:calc(100vw - 640px) !important}}&#xA;h1.ab-doc-name .cp-hl{background:linear-gradient(transparent 55%,#C3DFF4 55%,#C3DFF4 92%,transparent 92%);padding:0 4px;color:inherit}&#xA;@media (max-width:640px){.cp-prog{grid-template-columns:repeat(2,1fr)}.cp-card{padding:16px}.cp-set{margin-left:0}.cp-tip{margin-left:0}.cp-hero{padding:24px 20px}.cp-step{padding:14px}.cp-next{flex-direction:column;align-items:flex-start}}&#xA;.cp-toc{position:fixed;right:24px;top:110px;width:260px;z-index:60;background:#fff;border:1px solid #C3DFF4;border-radius:14px;box-shadow:0 8px 24px rgba(58,18,80,.12);font-family:Inter,-apple-system,&#x22;Segoe UI&#x22;,Helvetica,Arial,sans-serif;transition:transform .2s ease,opacity .2s ease}&#xA;.cp-toc-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 12px 10px 16px;border-bottom:1px solid #E4F1FB}&#xA;.cp-toc-head span{font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#3A1250}&#xA;.cp-toc-x{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:8px;border:none;background:#E4F1FB;color:#3A1250;cursor:pointer}&#xA;.cp-toc-x:hover{background:#C3DFF4}&#xA;.cp-toc-x svg{width:18px;height:18px}&#xA;.cp-toc ul{list-style:none;margin:0;padding:8px}&#xA;.cp-toc li{margin:0}&#xA;.cp-toc a{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:8px;border-left:4px solid transparent;font-size:16px;font-weight:600;line-height:1.35;color:#3A1250 !important;text-decoration:none !important}&#xA;.cp-toc a i{flex:none;font-style:normal;width:28px;height:28px;border-radius:7px;background:#499EDA;color:#3A1250;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:15px}&#xA;.cp-toc a:hover{background:#E4F1FB}&#xA;.cp-toc a.on{background:#E4F1FB;border-left-color:#499EDA}&#xA;.cp-toc-tab{position:fixed;right:0;top:120px;z-index:60;display:none;align-items:center;gap:8px;background:#3A1250;color:#fff;border:none;border-radius:12px 0 0 12px;padding:12px 14px 12px 12px;font-family:Inter,-apple-system,&#x22;Segoe UI&#x22;,Helvetica,Arial,sans-serif;font-size:15px;font-weight:700;cursor:pointer;box-shadow:0 6px 16px rgba(0,0,0,.18)}&#xA;.cp-toc-tab svg{width:20px;height:20px}&#xA;.cp-toc-tab:hover{background:#4D1A69}&#xA;.cp-toc.closed{transform:translateX(calc(100% + 40px));opacity:0;pointer-events:none}&#xA;.cp-toc.closed + .cp-toc-tab{display:inline-flex}&#xA;@media (max-width:1599px){.cp-toc{right:12px;top:100px;width:280px;max-width:calc(100vw - 24px)}}&#xA;@media print{.cp-toc,.cp-toc-tab{display:none !important}}&#xA;&#xA;.cp-card{background:#fff;border:3px solid #499EDA;border-radius:14px;padding:20px 22px;margin:0 0 14px;box-shadow:0 1px 3px rgba(0,0,0,.05);font-size:21px}&#xA;.cp-card p{margin:0 0 12px}&#xA;.cp-card b{color:#3A1250}&#xA;.cp-abc{list-style:none;margin:4px 0 12px;padding:0}&#xA;.cp-abc li{display:flex;gap:12px;align-items:flex-start;margin:0 0 10px}&#xA;.cp-abc li>i{flex:none;font-style:normal;width:32px;height:32px;border-radius:50%;background:#E4F1FB;border:2px solid #499EDA;color:#3A1250;font-weight:800;font-size:16px;display:flex;align-items:center;justify-content:center;margin-top:1px}&#xA;.cp-abc ul{margin:6px 0 0;padding-left:22px}&#xA;.cp-abc ul li{display:list-item;margin:4px 0}&#xA;.cp-set{background:#F4F9FD;border:1px solid #D6E9F8;border-radius:12px;padding:14px 18px;margin:0 0 12px}&#xA;.cp-set em{display:block;font-style:normal;font-size:19px;color:#4a4560;margin-top:6px}&#xA;.cp-set em b{color:#2B6FA3}&#xA;.cp-cont{display:inline-block;margin:4px 0 0;font-weight:600}&#xA;.cp-imp{display:flex;gap:14px;background:#FBF7D8;border:2px solid #E6D65A;border-radius:14px;padding:16px 20px;margin:0 0 14px;font-size:20px;color:#3A1250}&#xA;.cp-imp svg{flex:none;width:28px;height:28px;margin-top:2px}&#xA;.cp-done{display:flex;align-items:center;gap:14px;background:#E4F1FB;border:2px solid #499EDA;border-radius:14px;padding:18px 22px;margin:22px 0 0;font-size:24px;font-weight:800;color:#3A1250}&#xA;.cp-done svg{flex:none;width:34px;height:34px}&#xA;.cp-badge.cp-go svg{width:28px;height:28px}&#xA;.cp-tip.cp-flat{margin-left:0}&#xA;.cp details.cp-set{padding:0}&#xA;.cp details.cp-set summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;font-weight:800;color:#3A1250}&#xA;.cp details.cp-set summary::-webkit-details-marker{display:none}&#xA;.cp details.cp-set summary:after{content:&#x22;+&#x22;;flex:none;width:30px;height:30px;border-radius:50%;background:#499EDA;color:#3A1250;font-size:22px;line-height:30px;text-align:center;font-weight:800}&#xA;.cp details.cp-set[open] summary:after{content:&#x22;\2212&#x22;}&#xA;.cp details.cp-set summary:hover{background:#E4F1FB;border-radius:12px}&#xA;.cp details.cp-set .cp-set-b{padding:0 18px 14px}&#xA;.cp-hint{font-size:18px;font-style:italic;color:#2B6FA3;margin:0 0 10px !important}&#xA;@media (min-width:641px){.cp-card .cp-shot{margin-left:-22px;margin-right:-22px;border-radius:0;border-left:none;border-right:none}}&#xA;</style>&#xA;<div class=&#x22;cp&#x22;>&#xA;<div class=&#x22;cp-hero&#x22;><span class=&#x22;cp-pill&#x22;>Templates guide · Invoice Templates</span><p>Choose how your invoices look, from the colors and fonts to what shows on each part of the invoice.</p></div>&#xA;<div class=&#x22;cp-prog&#x22;><a href=&#x22;#cp-start&#x22;><div><span>Start</span>Get started</div><svg viewBox=&#x22;0 0 24 24&#x22; fill=&#x22;none&#x22; aria-hidden=&#x22;true&#x22;><path d=&#x22;M7 6l5 5 5-5M7 13l5 5 5-5&#x22; stroke=&#x22;#3A1250&#x22; stroke-width=&#x22;2.5&#x22; stroke-linecap=&#x22;round&#x22; stroke-linejoin=&#x22;round&#x22;/></svg></a><a href=&#x22;#cp-step-1&#x22;><div><span>Step 1</span>Know your template list</div><svg viewBox=&#x22;0 0 24 24&#x22; fill=&#x22;none&#x22; aria-hidden=&#x22;true&#x22;><path d=&#x22;M7 6l5 5 5-5M7 13l5 5 5-5&#x22; stroke=&#x22;#3A1250&#x22; stroke-width=&#x22;2.5&#x22; stroke-linecap=&#x22;round&#x22; stroke-linejoin=&#x22;round&#x22;/></svg></a><a href=&#x22;#cp-step-2&#x22;><div><span>Step 2</span>Open the editor</div><svg viewBox=&#x22;0 0 24 24&#x22; fill=&#x22;none&#x22; aria-hidden=&#x22;true&#x22;><path d=&#x22;M7 6l5 5 5-5M7 13l5 5 5-5&#x22; stroke=&#x22;#3A1250&#x22; stroke-width=&#x22;2.5&#x22; stroke-linecap=&#x22;round&#x22; stroke-linejoin=&#x22;round&#x22;/></svg></a><a href=&#x22;#cp-step-3&#x22;><div><span>Step 3</span>Set the overall look</div><svg viewBox=&#x22;0 0 24 24&#x22; fill=&#x22;none&#x22; aria-hidden=&#x22;true&#x22;><path d=&#x22;M7 6l5 5 5-5M7 13l5 5 5-5&#x22; stroke=&#x22;#3A1250&#x22; stroke-width=&#x22;2.5&#x22; stroke-linecap=&#x22;round&#x22; stroke-linejoin=&#x22;round&#x22;/></svg></a><a href=&#x22;#cp-step-4&#x22;><div><span>Step 4</span>Customize each section</div><svg viewBox=&#x22;0 0 24 24&#x22; fill=&#x22;none&#x22; aria-hidden=&#x22;true&#x22;><path d=&#x22;M7 6l5 5 5-5M7 13l5 5 5-5&#x22; stroke=&#x22;#3A1250&#x22; stroke-width=&#x22;2.5&#x22; stroke-linecap=&#x22;round&#x22; stroke-linejoin=&#x22;round&#x22;/></svg></a><a href=&#x22;#cp-step-5&#x22;><div><span>Step 5</span>Save</div><svg viewBox=&#x22;0 0 24 24&#x22; fill=&#x22;none&#x22; aria-hidden=&#x22;true&#x22;><path d=&#x22;M7 6l5 5 5-5M7 13l5 5 5-5&#x22; stroke=&#x22;#3A1250&#x22; stroke-width=&#x22;2.5&#x22; stroke-linecap=&#x22;round&#x22; stroke-linejoin=&#x22;round&#x22;/></svg></a></div>&#xA;<div class=&#x22;cp-stage&#x22; id=&#x22;cp-start&#x22;><div class=&#x22;cp-badge cp-go&#x22;><svg viewBox=&#x22;0 0 24 24&#x22; fill=&#x22;#3A1250&#x22; aria-hidden=&#x22;true&#x22;><path d=&#x22;M8 5v14l11-7z&#x22;/></svg></div><h2>Get started</h2></div>&#xA;<div class=&#x22;cp-card&#x22;><p><b>File</b> <span style=&#x22;color:#2B6FA3;font-weight:800&#x22;>&#x26;rarr;</span> <b>Email</b> <span style=&#x22;color:#2B6FA3;font-weight:800&#x22;>&#x26;rarr;</span> <b>Transactional</b> <span style=&#x22;color:#2B6FA3;font-weight:800&#x22;>&#x26;rarr;</span> <b>Invoice Templates</b></p><a class=&#x22;cp-shot&#x22; style=&#x22;max-width:480px;margin:14px auto 0;border:1px solid #e4e4ea;border-radius:10px&#x22; href=&#x22;https://cdn.images.archbee.com/H2jwYkUNe53jp9ap36wJm/lkkMHIWKQvVXZzJQj_609_is-tpl-menu.png&#x22; target=&#x22;_blank&#x22; rel=&#x22;noopener&#x22;><img src=&#x22;https://cdn.images.archbee.com/H2jwYkUNe53jp9ap36wJm/lkkMHIWKQvVXZzJQj_609_is-tpl-menu.png?format=webp&#x22; alt=&#x22;File menu with Email, Transactional and Invoice Templates&#x22; loading=&#x22;lazy&#x22;></a></div>&#xA;<div class=&#x22;cp-stage&#x22; id=&#x22;cp-step-1&#x22;><div class=&#x22;cp-badge&#x22;>1</div><h2>Know your template list</h2></div>&#xA;<div class=&#x22;cp-card&#x22;><p>TixPro 8 comes with ready-made templates. You can:</p><ul><li><b>Use one as is</b></li><li><b>Edit one</b> to match your venue</li><li><b>Create a new one</b> with the green <b>Create Template</b> button</li></ul><p>The <b>Default</b> template is used unless you pick another when you send an invoice.</p><a class=&#x22;cp-shot&#x22; style=&#x22;max-width:620px;margin:14px auto 0;border:1px solid #e4e4ea;border-radius:10px&#x22; href=&#x22;https://cdn.images.archbee.com/H2jwYkUNe53jp9ap36wJm/CK3bZVBhQodDakz62kfeo_it-list.png&#x22; target=&#x22;_blank&#x22; rel=&#x22;noopener&#x22;><img src=&#x22;https://cdn.images.archbee.com/H2jwYkUNe53jp9ap36wJm/CK3bZVBhQodDakz62kfeo_it-list.png?format=webp&#x22; alt=&#x22;Invoice Templates list with the Create Template button and action buttons&#x22; loading=&#x22;lazy&#x22;></a><p style=&#x22;margin:18px 0 6px;font-weight:800;color:#3A1250&#x22;>The buttons on each row</p><ul><li><b>Pencil:</b> edit the template.</li><li><b>Copy:</b> make a copy to start your own version.</li><li><b>Green check:</b> turn the template on so it can be used. (An <b>X</b> turns it off.)</li><li><b>Star:</b> make it the default template.</li><li><b>$:</b> attach a payment method. If it&#x26;rsquo;s <b>orange</b>, no payment method is attached yet, so invoices can&#x26;rsquo;t be sent with it.</li><li><b>Trash can:</b> delete the template.</li></ul></div>&#xA;<div class=&#x22;cp-imp&#x22;><svg viewBox=&#x22;0 0 24 24&#x22; fill=&#x22;none&#x22; stroke=&#x22;#B08900&#x22; stroke-width=&#x22;2&#x22; stroke-linecap=&#x22;round&#x22; stroke-linejoin=&#x22;round&#x22; aria-hidden=&#x22;true&#x22;><path d=&#x22;M10.3 3.9 1.8 18a2 2 0 0 0 1.7 3h17a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0zM12 9v4M12 17h.01&#x22;/></svg><div><b>Important:</b> Click the orange <b>$</b>, choose <b>Credit card</b> under <b>Payplan</b>, then save.<a class=&#x22;cp-shot&#x22; style=&#x22;max-width:760px;margin:14px auto 0;border:1px solid #e4e4ea;border-radius:10px&#x22; href=&#x22;https://cdn.images.archbee.com/H2jwYkUNe53jp9ap36wJm/8gs4UAOoSkNY5y_as3Rlh_is-tpl-warn.png&#x22; target=&#x22;_blank&#x22; rel=&#x22;noopener&#x22;><img src=&#x22;https://cdn.images.archbee.com/H2jwYkUNe53jp9ap36wJm/8gs4UAOoSkNY5y_as3Rlh_is-tpl-warn.png?format=webp&#x22; alt=&#x22;Orange dollar sign button with the No payment method message&#x22; loading=&#x22;lazy&#x22;></a><a class=&#x22;cp-shot&#x22; style=&#x22;max-width:480px;margin:14px auto 0;border:1px solid #e4e4ea;border-radius:10px&#x22; href=&#x22;https://cdn.images.archbee.com/H2jwYkUNe53jp9ap36wJm/9wlUn7DXw5UGJdBR49QGq_is-tpl-payplan.png&#x22; target=&#x22;_blank&#x22; rel=&#x22;noopener&#x22;><img src=&#x22;https://cdn.images.archbee.com/H2jwYkUNe53jp9ap36wJm/9wlUn7DXw5UGJdBR49QGq_is-tpl-payplan.png?format=webp&#x22; alt=&#x22;Pay Portal Payplan box with Credit card&#x22; loading=&#x22;lazy&#x22;></a></div></div>&#xA;<div class=&#x22;cp-stage&#x22; id=&#x22;cp-step-2&#x22;><div class=&#x22;cp-badge&#x22;>2</div><h2>Open the editor</h2></div>&#xA;<div class=&#x22;cp-card&#x22;><p>Click the <b>pencil</b> on a template to open it.</p><a class=&#x22;cp-shot&#x22; href=&#x22;https://cdn.images.archbee.com/H2jwYkUNe53jp9ap36wJm/PY9grAYQ31tA0ZKR8LP9D_it-editor.png&#x22; target=&#x22;_blank&#x22; rel=&#x22;noopener&#x22;><img src=&#x22;https://cdn.images.archbee.com/H2jwYkUNe53jp9ap36wJm/PY9grAYQ31tA0ZKR8LP9D_it-editor.png?format=webp&#x22; alt=&#x22;The invoice template editor&#x22; loading=&#x22;lazy&#x22;></a><p style=&#x22;margin:18px 0 6px;font-weight:800;color:#3A1250&#x22;>Top bar</p><ul><li><b>Name:</b> the template&#x26;rsquo;s name.</li><li><b>Subject:</b> the email subject line.</li><li><b>Reply-To:</b> where customer replies go.</li><li><b>Assign Shows:</b> choose which shows, packages or classes use this template.</li><li><b>Save</b> keeps your changes. <b>Discard</b> undoes them.</li></ul><p style=&#x22;margin:18px 0 6px;font-weight:800;color:#3A1250&#x22;>Assign Shows</p><ul><li>Pick the <b>Shows</b>, <b>Packages</b> or <b>Classes</b> tab.</li><li>Check the ones you want. Click the arrow next to a show to pick single performances.</li><li>Click <b>Save Assignments</b>.</li></ul><a class=&#x22;cp-shot&#x22; style=&#x22;max-width:560px;margin:14px auto 0;border:1px solid #e4e4ea;border-radius:10px&#x22; href=&#x22;https://cdn.images.archbee.com/H2jwYkUNe53jp9ap36wJm/7kd0rj1Gh95R7FXkbhHKR_it-assign.png&#x22; target=&#x22;_blank&#x22; rel=&#x22;noopener&#x22;><img src=&#x22;https://cdn.images.archbee.com/H2jwYkUNe53jp9ap36wJm/7kd0rj1Gh95R7FXkbhHKR_it-assign.png?format=webp&#x22; alt=&#x22;Assign Shows box with the Shows, Packages and Classes tabs&#x22; loading=&#x22;lazy&#x22;></a></div>&#xA;<div class=&#x22;cp-tip cp-flat&#x22;><svg viewBox=&#x22;0 0 24 24&#x22; fill=&#x22;none&#x22; stroke=&#x22;#2B6FA3&#x22; stroke-width=&#x22;2&#x22; stroke-linecap=&#x22;round&#x22; stroke-linejoin=&#x22;round&#x22; aria-hidden=&#x22;true&#x22;><path d=&#x22;M9 18h6M10 22h4M12 2a7 7 0 0 0-4 12.7c.6.5 1 1.3 1 2.1V17h6v-.2c0-.8.4-1.6 1-2.1A7 7 0 0 0 12 2z&#x22;/></svg><div><b>Tip:</b> If a performance has its own template, it uses that one first. Next comes the show&#x26;rsquo;s template, then the default template.</div></div>&#xA;<div class=&#x22;cp-card&#x22;><p style=&#x22;margin:0 0 6px;font-weight:800;color:#3A1250&#x22;>Sections (left)</p><ul><li>Drag a section by its lines to move it.</li><li>Click the <b>eye</b> to hide a section.</li><li>Click the <b>trash can</b> to remove it.</li><li>Click <b>+ Add</b> to add a section. Grayed-out sections are already on your invoice.</li></ul><p style=&#x22;margin-top:12px&#x22;>Other sections you can add:</p><ul><li><b>Order Blocks:</b> each sale&#x26;rsquo;s items grouped together, such as tickets, packages, gift cards and merchandise.</li><li><b>Line Items:</b> a simple table of each item, with quantity, price and amount.</li><li><b>Payment Summary:</b> the payments made so far, with the card type and date.</li><li><b>E-Ticket Notice:</b> a &#x26;ldquo;Your Tickets Are Ready&#x26;rdquo; message with a button to view the tickets.</li><li><b>Custom Sale Message:</b> shows a personal note you type when you email a receipt.</li><li><b>Custom Content:</b> your own text, with any formatting you like.</li><li><b>Divider</b> and <b>Spacer:</b> add a line or extra space between sections.</li></ul><a class=&#x22;cp-shot&#x22; style=&#x22;max-width:400px;margin:14px auto 0;border:1px solid #e4e4ea;border-radius:10px&#x22; href=&#x22;https://cdn.images.archbee.com/H2jwYkUNe53jp9ap36wJm/_6g5nKYS3fYQ_NzcX-xAw_it-add.png&#x22; target=&#x22;_blank&#x22; rel=&#x22;noopener&#x22;><img src=&#x22;https://cdn.images.archbee.com/H2jwYkUNe53jp9ap36wJm/_6g5nKYS3fYQ_NzcX-xAw_it-add.png?format=webp&#x22; alt=&#x22;Add Section box&#x22; loading=&#x22;lazy&#x22;></a><p style=&#x22;margin:18px 0 6px;font-weight:800;color:#3A1250&#x22;>Preview (middle)</p><ul><li>Switch between <b>Desktop</b> and <b>Mobile</b>.</li><li>Use the drop-down to preview a <b>Reserved Seating</b>, <b>General Admission</b>, <b>Gift Card</b> or <b>Season Package</b> sale.</li></ul><p style=&#x22;margin:18px 0 6px;font-weight:800;color:#3A1250&#x22;>Settings (right)</p><ul><li>Click any section to change its settings here.</li></ul></div>&#xA;<div class=&#x22;cp-tip cp-flat&#x22;><svg viewBox=&#x22;0 0 24 24&#x22; fill=&#x22;none&#x22; stroke=&#x22;#2B6FA3&#x22; stroke-width=&#x22;2&#x22; stroke-linecap=&#x22;round&#x22; stroke-linejoin=&#x22;round&#x22; aria-hidden=&#x22;true&#x22;><path d=&#x22;M9 18h6M10 22h4M12 2a7 7 0 0 0-4 12.7c.6.5 1 1.3 1 2.1V17h6v-.2c0-.8.4-1.6 1-2.1A7 7 0 0 0 12 2z&#x22;/></svg><div><b>Tip:</b> Words in double curly brackets, like <b>{{ VENUE_NAME }}</b>, fill in on their own when the invoice is sent.</div></div>&#xA;<div class=&#x22;cp-stage&#x22; id=&#x22;cp-step-3&#x22;><div class=&#x22;cp-badge&#x22;>3</div><h2>Set the overall look</h2></div>&#xA;<div class=&#x22;cp-card&#x22;><p>When no section is selected, the right side shows <b>Global Styles</b>. These settings apply to the whole invoice:</p><ul><li><b>Colors:</b> text, accent, backgrounds and borders. Click a color square to pick a color, or type a color code.</li><li><b>Typography:</b> the fonts and text sizes.</li><li><b>Borders:</b> how rounded, thick and colored the borders are.</li><li><b>Spacing:</b> how wide the invoice is and how much space goes around each section.</li></ul><p>Click a heading to open or close it.</p><a class=&#x22;cp-shot&#x22; style=&#x22;max-width:320px;margin:14px auto 0;border:1px solid #e4e4ea;border-radius:10px&#x22; href=&#x22;https://cdn.images.archbee.com/H2jwYkUNe53jp9ap36wJm/i2EKWzvAaXV_XXlOhKUyy_it-global.png&#x22; target=&#x22;_blank&#x22; rel=&#x22;noopener&#x22;><img src=&#x22;https://cdn.images.archbee.com/H2jwYkUNe53jp9ap36wJm/i2EKWzvAaXV_XXlOhKUyy_it-global.png?format=webp&#x22; alt=&#x22;Global Styles colors&#x22; loading=&#x22;lazy&#x22;></a></div>&#xA;<div class=&#x22;cp-tip cp-flat&#x22;><svg viewBox=&#x22;0 0 24 24&#x22; fill=&#x22;none&#x22; stroke=&#x22;#2B6FA3&#x22; stroke-width=&#x22;2&#x22; stroke-linecap=&#x22;round&#x22; stroke-linejoin=&#x22;round&#x22; aria-hidden=&#x22;true&#x22;><path d=&#x22;M9 18h6M10 22h4M12 2a7 7 0 0 0-4 12.7c.6.5 1 1.3 1 2.1V17h6v-.2c0-.8.4-1.6 1-2.1A7 7 0 0 0 12 2z&#x22;/></svg><div><b>Tip:</b> Changes here show up right away in the preview.</div></div>&#xA;<div class=&#x22;cp-stage&#x22; id=&#x22;cp-step-4&#x22;><div class=&#x22;cp-badge&#x22;>4</div><h2>Customize each section</h2></div>&#xA;<div class=&#x22;cp-card&#x22;><p>Click a section on the left to see its settings on the right. Click <b>Enabled</b> to turn a section off without removing it.</p><p class=&#x22;cp-hint&#x22;>Click a section name below to open it.</p><details class=&#x22;cp-set&#x22;><summary>Header</summary><div class=&#x22;cp-set-b&#x22;><ul><li><b>Layout:</b> Centered, Left, Split or Logo Only.</li><li><b>Upload Logo:</b> add your venue&#x26;rsquo;s logo.</li><li><b>Show:</b> choose which venue details appear, such as the name, address and phone.</li></ul><a class=&#x22;cp-shot&#x22; style=&#x22;max-width:320px;margin:14px auto 0;border:1px solid #e4e4ea;border-radius:10px&#x22; href=&#x22;https://cdn.images.archbee.com/H2jwYkUNe53jp9ap36wJm/2Km6mKM0YSFrcCzaaYRo8_it-header.png&#x22; target=&#x22;_blank&#x22; rel=&#x22;noopener&#x22;><img src=&#x22;https://cdn.images.archbee.com/H2jwYkUNe53jp9ap36wJm/2Km6mKM0YSFrcCzaaYRo8_it-header.png?format=webp&#x22; alt=&#x22;Header settings&#x22; loading=&#x22;lazy&#x22;></a></div></details><details class=&#x22;cp-set&#x22;><summary>Rich Text Content</summary><div class=&#x22;cp-set-b&#x22;><ul><li>Type a message for the top of the invoice, like &#x26;ldquo;Thank you, {{ CUSTOMER_FIRST_NAME }}!&#x26;rdquo;</li><li>Use <b>Variable</b> to add details that fill in on their own.</li></ul><a class=&#x22;cp-shot&#x22; style=&#x22;max-width:320px;margin:14px auto 0;border:1px solid #e4e4ea;border-radius:10px&#x22; href=&#x22;https://cdn.images.archbee.com/H2jwYkUNe53jp9ap36wJm/em6muRkbydkSxtub6ULnj_it-richtext.png&#x22; target=&#x22;_blank&#x22; rel=&#x22;noopener&#x22;><img src=&#x22;https://cdn.images.archbee.com/H2jwYkUNe53jp9ap36wJm/em6muRkbydkSxtub6ULnj_it-richtext.png?format=webp&#x22; alt=&#x22;Rich Text Content settings&#x22; loading=&#x22;lazy&#x22;></a></div></details><details class=&#x22;cp-set&#x22;><summary>Invoice Details</summary><div class=&#x22;cp-set-b&#x22;><ul><li><b>Layout:</b> Default or Split.</li><li><b>Document Label:</b> the big title, like &#x26;ldquo;INVOICE.&#x26;rdquo;</li><li><b>Fields:</b> choose what shows, such as the invoice number, issue date, due date and terms.</li><li>Also shows the status badge (like <b>Balance Due</b>) and the amount due.</li></ul><a class=&#x22;cp-shot&#x22; style=&#x22;max-width:320px;margin:14px auto 0;border:1px solid #e4e4ea;border-radius:10px&#x22; href=&#x22;https://cdn.images.archbee.com/H2jwYkUNe53jp9ap36wJm/R0MtghsTRB_pT1dPq6TZf_it-details.png&#x22; target=&#x22;_blank&#x22; rel=&#x22;noopener&#x22;><img src=&#x22;https://cdn.images.archbee.com/H2jwYkUNe53jp9ap36wJm/R0MtghsTRB_pT1dPq6TZf_it-details.png?format=webp&#x22; alt=&#x22;Invoice Details settings&#x22; loading=&#x22;lazy&#x22;></a></div></details><details class=&#x22;cp-set&#x22;><summary>Customer Information</summary><div class=&#x22;cp-set-b&#x22;><ul><li><b>Layout:</b> Standard, Compact, Inline or Table.</li><li><b>Title Text:</b> the heading, like &#x26;ldquo;Bill To.&#x26;rdquo;</li><li><b>Show Fields:</b> name, company, address, phone, email and account number.</li><li><b>Show Field Labels:</b> adds labels like &#x26;ldquo;Phone:&#x26;rdquo; before each line.</li></ul><a class=&#x22;cp-shot&#x22; style=&#x22;max-width:320px;margin:14px auto 0;border:1px solid #e4e4ea;border-radius:10px&#x22; href=&#x22;https://cdn.images.archbee.com/H2jwYkUNe53jp9ap36wJm/uCS6VXz1_vAkmhuoSBPCV_it-customer.png&#x22; target=&#x22;_blank&#x22; rel=&#x22;noopener&#x22;><img src=&#x22;https://cdn.images.archbee.com/H2jwYkUNe53jp9ap36wJm/uCS6VXz1_vAkmhuoSBPCV_it-customer.png?format=webp&#x22; alt=&#x22;Customer Information settings&#x22; loading=&#x22;lazy&#x22;></a></div></details><details class=&#x22;cp-set&#x22;><summary>Events</summary><div class=&#x22;cp-set-b&#x22;><ul><li><b>Title Text:</b> the heading, like &#x26;ldquo;Tickets.&#x26;rdquo;</li><li><b>Event Fields:</b> show the event name and date.</li><li><b>Columns:</b> show the quantity and unit price.</li><li><b>Zebra Striping:</b> shades every other row in light gray, so long lists are easier to read.</li><li><b>Seats:</b> show seat numbers as <b>Inline</b>, <b>List</b>, <b>Badges</b> or <b>Grouped</b>.</li></ul><a class=&#x22;cp-shot&#x22; style=&#x22;max-width:320px;margin:14px auto 0;border:1px solid #e4e4ea;border-radius:10px&#x22; href=&#x22;https://cdn.images.archbee.com/H2jwYkUNe53jp9ap36wJm/kOwkg7e9en0rj-xqm1zCT_it-events.png&#x22; target=&#x22;_blank&#x22; rel=&#x22;noopener&#x22;><img src=&#x22;https://cdn.images.archbee.com/H2jwYkUNe53jp9ap36wJm/kOwkg7e9en0rj-xqm1zCT_it-events.png?format=webp&#x22; alt=&#x22;Events settings&#x22; loading=&#x22;lazy&#x22;></a></div></details><details class=&#x22;cp-set&#x22;><summary>Classes</summary><div class=&#x22;cp-set-b&#x22;><ul><li><b>Title Text:</b> the heading, like &#x26;ldquo;Classes &#x26;amp; Registrations.&#x26;rdquo;</li><li><b>Columns:</b> show the quantity and unit price.</li><li><b>Zebra Striping:</b> shades every other row in light gray, so long lists are easier to read.</li><li><b>Column Labels:</b> rename the column headings.</li></ul><a class=&#x22;cp-shot&#x22; style=&#x22;max-width:320px;margin:14px auto 0;border:1px solid #e4e4ea;border-radius:10px&#x22; href=&#x22;https://cdn.images.archbee.com/H2jwYkUNe53jp9ap36wJm/3pgK_qRWaqIaycx3ls2IU_it-classes.png&#x22; target=&#x22;_blank&#x22; rel=&#x22;noopener&#x22;><img src=&#x22;https://cdn.images.archbee.com/H2jwYkUNe53jp9ap36wJm/3pgK_qRWaqIaycx3ls2IU_it-classes.png?format=webp&#x22; alt=&#x22;Classes settings&#x22; loading=&#x22;lazy&#x22;></a></div></details><details class=&#x22;cp-set&#x22;><summary>Sale Items</summary><div class=&#x22;cp-set-b&#x22;><ul><li><b>Title Text:</b> the heading, like &#x26;ldquo;Merchandise.&#x26;rdquo;</li><li><b>Columns:</b> show the quantity and unit price.</li><li><b>Zebra Striping:</b> shades every other row in light gray, so long lists are easier to read.</li><li><b>Column Labels:</b> rename the column headings.</li></ul><a class=&#x22;cp-shot&#x22; style=&#x22;max-width:320px;margin:14px auto 0;border:1px solid #e4e4ea;border-radius:10px&#x22; href=&#x22;https://cdn.images.archbee.com/H2jwYkUNe53jp9ap36wJm/eKgl2oBSv9t0jmvvGktLq_it-saleitems.png&#x22; target=&#x22;_blank&#x22; rel=&#x22;noopener&#x22;><img src=&#x22;https://cdn.images.archbee.com/H2jwYkUNe53jp9ap36wJm/eKgl2oBSv9t0jmvvGktLq_it-saleitems.png?format=webp&#x22; alt=&#x22;Sale Items settings&#x22; loading=&#x22;lazy&#x22;></a></div></details><details class=&#x22;cp-set&#x22;><summary>Order Totals</summary><div class=&#x22;cp-set-b&#x22;><ul><li><b>Layout:</b> Standard, Compact, Invoice or Centered.</li><li><b>Hide When Only One Sale:</b> hides the totals when there&#x26;rsquo;s only one sale, since that sale already shows its total.</li><li><b>Row Visibility:</b> choose which rows show, such as Subtotal, Discounts, Service Charges, Delivery, Tax and Grand Total. Rows with $0 hide on their own.</li><li><b>Row Labels:</b> rename the rows.</li></ul><a class=&#x22;cp-shot&#x22; style=&#x22;max-width:320px;margin:14px auto 0;border:1px solid #e4e4ea;border-radius:10px&#x22; href=&#x22;https://cdn.images.archbee.com/H2jwYkUNe53jp9ap36wJm/5u_4eSommY0tGlHUKS1A0_it-totals.png&#x22; target=&#x22;_blank&#x22; rel=&#x22;noopener&#x22;><img src=&#x22;https://cdn.images.archbee.com/H2jwYkUNe53jp9ap36wJm/5u_4eSommY0tGlHUKS1A0_it-totals.png?format=webp&#x22; alt=&#x22;Order Totals settings&#x22; loading=&#x22;lazy&#x22;></a></div></details><details class=&#x22;cp-set&#x22;><summary>Pay Portal</summary><div class=&#x22;cp-set-b&#x22;><p style=&#x22;margin:0 0 8px&#x22;>The box with the <b>Pay Invoice</b> button that customers click to pay online.</p><ul><li><b>Variant:</b> Banner, Card or Button.</li><li><b>Heading, Body Text</b> and <b>Button Text:</b> the words in the box.</li><li><b>Show Amount On Button:</b> adds the amount due to the button.</li><li><b>Button Style:</b> the button&#x26;rsquo;s colors and shape.</li><li><b>Due Date &#x26;amp; Notes:</b> show the due date (&#x26;ldquo;Please remit by&#x26;rdquo;), the accepted cards and the secure payment note.</li></ul><a class=&#x22;cp-shot&#x22; style=&#x22;max-width:320px;margin:14px auto 0;border:1px solid #e4e4ea;border-radius:10px&#x22; href=&#x22;https://cdn.images.archbee.com/H2jwYkUNe53jp9ap36wJm/iR3IUing8sEBi3Naid8qd_it-payportal.png&#x22; target=&#x22;_blank&#x22; rel=&#x22;noopener&#x22;><img src=&#x22;https://cdn.images.archbee.com/H2jwYkUNe53jp9ap36wJm/iR3IUing8sEBi3Naid8qd_it-payportal.png?format=webp&#x22; alt=&#x22;Pay Portal settings&#x22; loading=&#x22;lazy&#x22;></a></div></details><details class=&#x22;cp-set&#x22;><summary>Payment Schedule</summary><div class=&#x22;cp-set-b&#x22;><p style=&#x22;margin:0 0 8px&#x22;>Shows deposits and payments with their due dates, plus a bar showing how much has been paid.</p><ul><li><b>Title:</b> the heading.</li><li><b>Show Progress Bar:</b> turn the bar on or off.</li><li><b>Column Headers:</b> rename the columns.</li></ul><a class=&#x22;cp-shot&#x22; style=&#x22;max-width:320px;margin:14px auto 0;border:1px solid #e4e4ea;border-radius:10px&#x22; href=&#x22;https://cdn.images.archbee.com/H2jwYkUNe53jp9ap36wJm/jCEbmv22sunfd-pSQuAkc_it-schedule.png&#x22; target=&#x22;_blank&#x22; rel=&#x22;noopener&#x22;><img src=&#x22;https://cdn.images.archbee.com/H2jwYkUNe53jp9ap36wJm/jCEbmv22sunfd-pSQuAkc_it-schedule.png?format=webp&#x22; alt=&#x22;Payment Schedule settings&#x22; loading=&#x22;lazy&#x22;></a></div></details><details class=&#x22;cp-set&#x22;><summary>Terms &#x26;amp; Conditions</summary><div class=&#x22;cp-set-b&#x22;><ul><li><b>Title Text:</b> the heading.</li><li><b>Content:</b> type your payment or refund policy. If this box is empty, the section won&#x26;rsquo;t show.</li></ul><a class=&#x22;cp-shot&#x22; style=&#x22;max-width:320px;margin:14px auto 0;border:1px solid #e4e4ea;border-radius:10px&#x22; href=&#x22;https://cdn.images.archbee.com/H2jwYkUNe53jp9ap36wJm/q9OvRoOEWIUEOGQYKOFUZ_it-terms.png&#x22; target=&#x22;_blank&#x22; rel=&#x22;noopener&#x22;><img src=&#x22;https://cdn.images.archbee.com/H2jwYkUNe53jp9ap36wJm/q9OvRoOEWIUEOGQYKOFUZ_it-terms.png?format=webp&#x22; alt=&#x22;Terms &#x26;amp; Conditions settings&#x22; loading=&#x22;lazy&#x22;></a></div></details><details class=&#x22;cp-set&#x22;><summary>Footer</summary><div class=&#x22;cp-set-b&#x22;><ul><li><b>Layout:</b> Standard, Compact or Minimal.</li><li><b>Visible Fields:</b> choose which venue details show, such as the name, address, email, phone, website, social links and copyright.</li><li><b>Copyright Text:</b> the line at the bottom. {{ YEAR }} and {{ VENUE_NAME }} fill in on their own.</li></ul><a class=&#x22;cp-shot&#x22; style=&#x22;max-width:320px;margin:14px auto 0;border:1px solid #e4e4ea;border-radius:10px&#x22; href=&#x22;https://cdn.images.archbee.com/H2jwYkUNe53jp9ap36wJm/q4jqyLBWgR5N5rK9dYkRn_it-footer.png&#x22; target=&#x22;_blank&#x22; rel=&#x22;noopener&#x22;><img src=&#x22;https://cdn.images.archbee.com/H2jwYkUNe53jp9ap36wJm/q4jqyLBWgR5N5rK9dYkRn_it-footer.png?format=webp&#x22; alt=&#x22;Footer settings&#x22; loading=&#x22;lazy&#x22;></a></div></details></div>&#xA;<div class=&#x22;cp-tip cp-flat&#x22;><svg viewBox=&#x22;0 0 24 24&#x22; fill=&#x22;none&#x22; stroke=&#x22;#2B6FA3&#x22; stroke-width=&#x22;2&#x22; stroke-linecap=&#x22;round&#x22; stroke-linejoin=&#x22;round&#x22; aria-hidden=&#x22;true&#x22;><path d=&#x22;M9 18h6M10 22h4M12 2a7 7 0 0 0-4 12.7c.6.5 1 1.3 1 2.1V17h6v-.2c0-.8.4-1.6 1-2.1A7 7 0 0 0 12 2z&#x22;/></svg><div><b>Tip:</b> Most sections also have <b>Typography</b> settings (fonts and sizes for each part) and <b>Custom Content Slots</b> (extra text above, below or in place of the section). Leave them blank to keep the template&#x26;rsquo;s normal look.</div></div>&#xA;<div class=&#x22;cp-stage&#x22; id=&#x22;cp-step-5&#x22;><div class=&#x22;cp-badge&#x22;>5</div><h2>Save</h2></div>&#xA;<div class=&#x22;cp-card&#x22;><ul><li>Click <b>Save</b> in the top right.</li><li>Click <b>Discard</b> to undo changes you haven&#x26;rsquo;t saved.</li><li>Click the <b>back arrow</b> next to Name to return to your template list.</li></ul></div>&#xA;<div class=&#x22;cp-tip cp-flat&#x22;><svg viewBox=&#x22;0 0 24 24&#x22; fill=&#x22;none&#x22; stroke=&#x22;#2B6FA3&#x22; stroke-width=&#x22;2&#x22; stroke-linecap=&#x22;round&#x22; stroke-linejoin=&#x22;round&#x22; aria-hidden=&#x22;true&#x22;><path d=&#x22;M9 18h6M10 22h4M12 2a7 7 0 0 0-4 12.7c.6.5 1 1.3 1 2.1V17h6v-.2c0-.8.4-1.6 1-2.1A7 7 0 0 0 12 2z&#x22;/></svg><div><b>Tip:</b> Make sure the template has a payment method attached (the <b>$</b> isn&#x26;rsquo;t orange). Then it&#x26;rsquo;s ready to use when you invoice a sale. <a href=&#x22;https://support.csstix.com/invoicing-a-sale&#x22; target=&#x22;_top&#x22; style=&#x22;color:#2B6FA3 !important;font-weight:800;text-decoration:underline !important&#x22;>See Invoicing a Sale &#x26;rarr;</a></div></div>&#xA;<nav class=&#x22;cp-toc closed&#x22; id=&#x22;cpToc&#x22; aria-label=&#x22;On this page&#x22;><div class=&#x22;cp-toc-head&#x22;><span>On this page</span><button type=&#x22;button&#x22; class=&#x22;cp-toc-x&#x22; id=&#x22;cpTocClose&#x22; aria-label=&#x22;Hide the list&#x22;><svg viewBox=&#x22;0 0 24 24&#x22; fill=&#x22;none&#x22; stroke=&#x22;currentColor&#x22; stroke-width=&#x22;2.5&#x22; stroke-linecap=&#x22;round&#x22; stroke-linejoin=&#x22;round&#x22; aria-hidden=&#x22;true&#x22;><path d=&#x22;m9 18 6-6-6-6&#x22;/></svg></button></div><ul><li><a href=&#x22;#cp-start&#x22;><i>▶</i>Get started</a></li><li><a href=&#x22;#cp-step-1&#x22;><i>1</i>Know your template list</a></li><li><a href=&#x22;#cp-step-2&#x22;><i>2</i>Open the editor</a></li><li><a href=&#x22;#cp-step-3&#x22;><i>3</i>Set the overall look</a></li><li><a href=&#x22;#cp-step-4&#x22;><i>4</i>Customize each section</a></li><li><a href=&#x22;#cp-step-5&#x22;><i>5</i>Save</a></li></ul></nav><button type=&#x22;button&#x22; class=&#x22;cp-toc-tab&#x22; id=&#x22;cpTocOpen&#x22; aria-controls=&#x22;cpToc&#x22;><svg viewBox=&#x22;0 0 24 24&#x22; fill=&#x22;none&#x22; stroke=&#x22;currentColor&#x22; stroke-width=&#x22;2.5&#x22; stroke-linecap=&#x22;round&#x22; stroke-linejoin=&#x22;round&#x22; aria-hidden=&#x22;true&#x22;><path d=&#x22;M8 6h13M8 12h13M8 18h13M3 6h.01M3 12h.01M3 18h.01&#x22;/></svg>On this page</button>&#xA;</div>&#xA;<script>&#xA;function cpHl(){var h=document.querySelector('h1.ab-doc-name');if(h&&!h.querySelector('.cp-hl')&&h.textContent.indexOf('Invoice Templates')>-1){h.innerHTML=h.textContent.replace('Invoice Templates','<span class=&#x22;cp-hl&#x22;>Invoice Templates</span>');}}&#xA;cpHl();[300,1000,2500].forEach(function(t){setTimeout(cpHl,t);});&#xA;var cpTok=0;['wheel','touchstart','keydown','mousedown'].forEach(function(ev){document.addEventListener(ev,function(){cpTok++},{passive:true,capture:true})});&#xA;function cpGo(d){var k=++cpTok;d.scrollIntoView({behavior:'smooth',block:'start'});[700,1400,2200].forEach(function(ms){setTimeout(function(){if(k===cpTok&&Math.abs(d.getBoundingClientRect().top-80)>40)d.scrollIntoView({behavior:'smooth',block:'start'})},ms)})}&#xA;document.querySelectorAll('.cp-prog a').forEach(function(a){a.addEventListener('click',function(e){var t=document.querySelector(a.getAttribute('href'));if(t){e.preventDefault();cpGo(t);}});});&#xA;(function(){document.querySelectorAll('body > .cp-toc, body > .cp-toc-tab').forEach(function(x){x.remove()});var t=document.getElementById('cpToc'),o=document.getElementById('cpTocOpen'),c=document.getElementById('cpTocClose');if(!t||!o)return;&#xA;document.body.appendChild(t);document.body.appendChild(o);&#xA;var wide=window.matchMedia('(min-width:1600px)');var pref=null;try{pref=localStorage.getItem('cpToc')}catch(e){}&#xA;function set(open,save){t.classList.toggle('closed',!open);o.setAttribute('aria-expanded',open?'true':'false');if(save){pref=open?'open':'closed';try{localStorage.setItem('cpToc',pref)}catch(e){}}}&#xA;function init(){set(wide.matches?(pref?pref==='open':true):false,false)}init();&#xA;if(wide.addEventListener)wide.addEventListener('change',init);&#xA;o.addEventListener('click',function(e){e.stopPropagation();set(true,wide.matches)});c.addEventListener('click',function(){set(false,wide.matches)});&#xA;document.addEventListener('click',function(e){if(!wide.matches&&!t.classList.contains('closed')&&!t.contains(e.target))set(false,false)});&#xA;var links=[].slice.call(t.querySelectorAll('a'));var secs=links.map(function(a){return document.querySelector('.cp '+a.getAttribute('href'))});&#xA;var forced=null;['wheel','touchstart','keydown','mousedown'].forEach(function(ev){document.addEventListener(ev,function(e){if(!t.contains(e.target))forced=null},{passive:true,capture:true})});&#xA;links.forEach(function(a,i){a.addEventListener('click',function(e){var d=secs[i];if(d){e.preventDefault();cpGo(d);}forced=i;spy();if(!wide.matches)set(false,false);});});&#xA;function spy(){var cur=-1;if(forced!==null){cur=forced}else{secs.forEach(function(s,i){if(s&&s.getBoundingClientRect().top-120<=0)cur=i});var se=document.scrollingElement;if(se&&se.scrollHeight>se.clientHeight+10&&se.scrollTop+se.clientHeight>=se.scrollHeight-4)cur=secs.length-1;}links.forEach(function(a,i){a.classList.toggle('on',i===cur)})}&#xA;window.addEventListener('scroll',spy,{passive:true});document.addEventListener('scroll',spy,{passive:true,capture:true});spy();&#xA;var w=setInterval(function(){if(!document.querySelector('.cp')||!document.body.contains(t)){t.remove();o.remove();window.removeEventListener('scroll',spy);document.removeEventListener('scroll',spy,true);clearInterval(w);}},700);&#xA;})();&#xA;&#xA;</script>"}

:::

