# Customer Document Expiry

<p class="doc-lead">Active customers whose trade license expires within 45 days or has already expired. Use it for compliance follow-up before you bill those accounts.</p>

<div class="doc-toc">
<p class="doc-toc-title">On this page</p>
<div class="doc-toc-links">
<a href="#/sales/reports/customer-document-expiry?id=overview">Overview</a>
<a href="#/sales/reports/customer-document-expiry?id=use-cases">Use Cases</a>
<a href="#/sales/reports/customer-document-expiry?id=filters">Filters</a>
<a href="#/sales/reports/customer-document-expiry?id=layout">Layout &amp; columns</a>
<a href="#/sales/reports/customer-document-expiry?id=actions">Actions</a>
<a href="#/sales/reports/customer-document-expiry?id=faq">FAQ</a>
</div>
</div>

<hr class="doc-section-divider">

<h2 id="overview">Overview</h2>

Go to <b>Sales → Customer Reports → Customer Document Expiry</b>.

Report title in ERP: <b>Customer Document Expiry (45 days)</b>

<p><b>What it shows.</b> One row per active customer whose <b>Trade License</b> expiry is within 45 days or in the past. Columns include <b>Trade License No.</b>, <b>Trade License Expiry</b>, <b>Days Left</b>, and <b>Status</b> (<b>Expired</b> or <b>Near Expiry</b>). Other document types are not listed.</p>

<p><b>When to use it.</b> Run a compliance check before month-end billing, and give sales a renewal list for licenses that are about to lapse.</p>

<p><b>How amounts are calculated.</b> There are no amounts. The report includes active customers with a trade license expiry date on or before today plus 45 days. <b>Status</b> is <b>Expired</b> when the expiry date is before today, otherwise <b>Near Expiry</b>. <b>Days Left</b> is days from today to the expiry date (negative when already expired).</p>

<img src="sales/images/customer-document-expiry.webp" alt="Customer Document Expiry report with documents due in the next 45 days" loading="lazy">

<hr class="doc-section-divider">

<h2 id="use-cases">Use Cases</h2>

<ul>
<li><b>Renewal list</b> — Give sales the Near Expiry rows to collect updated licenses.</li>
<li><b>Credit control</b> — Review Expired rows before approving further credit sales.</li>
<li><b>Onboarding audit</b> — Confirm trade license number and expiry are filled on active customers.</li>
</ul>

<hr class="doc-section-divider">

<h2 id="filters">Filters</h2>

<p>There are no header filters and no Advanced Filter. The 45-day window is fixed.</p>

<p>Tap <b>Generate</b> to refresh the list.</p>

<hr class="doc-section-divider">

<h2 id="layout">Layout &amp; columns</h2>

| **Column** | **Description** |
|------------|-----------------|
| Customer | Customer name. Tap to open the customer. |
| Code | Party code. |
| Customer Group | Customer group. |
| Customer Category | Customer category. |
| Phone | Customer phone. |
| Trade License No. | Trade license number on the customer. |
| Trade License Expiry | Expiry date. |
| Days Left | Days remaining until expiry (negative if expired). |
| Status | <b>Expired</b> or <b>Near Expiry</b>. |

<p>Expired rows are highlighted as danger; Near Expiry rows as warning.</p>

<hr class="doc-section-divider">

<h2 id="actions">Actions</h2>

<ul>
<li><b>Generate</b> — load the 45-day trade license list</li>
<li><b>Export</b> — export to Excel</li>
<li><b>Print</b> — print the report</li>
</ul>

<hr class="doc-section-divider">

<h2 id="faq">FAQ</h2>

<p><b>Where is the trade license entered?</b><br>On the customer master. Update <b>Trade License No.</b> and expiry there, then Generate again.</p>

<p><b>Can I change the 45-day window or filter by customer?</b><br>No. The report has no filters. The window is fixed at 45 days.</p>

<p><b>Are other documents included?</b><br>No. Trade license only — not tax registrations, contracts, or attachments.</p>

<p><b>Why was an invoice blocked for an expired license?</b><br>When prevent-invoice-if-trade-license-expired is on in Sale Settings, approve can fail for customers with an expired trade license.</p>

<p><b>Are inactive customers listed?</b><br>No. Only active customers.</p>

<hr class="doc-section-divider">

<h2 id="related">Related</h2>

<ul>
<li><a href="#/sales/customers">Customers</a></li>
<li><a href="#/sales/reports/customer-reports">Customer Reports</a></li>
</ul>
