---
title: Set the Expiration Time for Public Invoice Links
url: https://docs.maxio.com/billing/invoicing/settings/set-the-expiration-time-for-public-invoice-links
applies_to: Advanced Billing
updated: 2026-10-21
---

# Set the Expiration Time for Public Invoice Links

Control how long your public invoice links remain accessible by setting an expiration time. This helps protect sensitive billing data and limits how long external users can view an Invoice. Using public invoice link expiration reduces risk and improves financial data control.

Only users assigned the **Owner** or **Admin** role can view or edit public invoice link expiration settings.

## Why set an expiration time?

Public invoice links make it easy to share billing details externally, but they can also expose confidential information if left active indefinitely. Setting an expiration window allows you to:

- **Protect invoice data** by limiting how long links can be used.
- **Prevent unauthorized access** to outdated or shared links.

*Example use cases:*

- An Admin wants to limit how long Customers can access a public invoice link for security reasons.
- An Owner needs to update expiration settings to comply with company policy.

## Configure the expiration time

You can configure how many *seconds* a public invoice link remains valid. By default, the expiration is set to 60 days (5,184,000 seconds). The minimum allowed value is also 60 days. The maximum allowed value is two years (63,115,200 seconds).

Changing this setting only affects new public Invoice links created after the change. Links already shared with a Customer keep the expiration they were issued with.

![Invoice settings with numbered steps: 1 the Settings link, 2 the Invoices tab, 3 the Public URL Expiration Time field showing the value 5184000, with the whole section outlined](https://docs.maxio.com/content-images/billing/invoicing/settings/set-the-expiration-time-for-public-invoice-links/41026667111565_co_ConfigSettingInvoices_PublicURLExpiration.png)

*Public URL Expiration Time field on the Invoices settings page*

Only **Admins** and **Owners** can set or change the expiration time for public invoice links.

**To set or update invoice link expiration**

1. Log in as an **Admin** or **Owner**.
2. From Advanced Billing, go to **Config** > **Settings**, then click **Invoices**.
3. Scroll down to the **Public URL Expiration Time** field.
4. Enter the number of **seconds** to set your preferred expiration time.
5. **Save** your setting.
