# Do Square Invoice expire?

**URL:** <https://developer.squareup.com/forums/t/do-square-invoice-expire/11709>\
**Category:** Questions\
**Tags:** orders-api, invoices-api\
**Created:** [January 3, 2024, 10:53am UTC](https://developer.squareup.com/forums/t/do-square-invoice-expire/11709 "2024-01-03T10:53:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ketan\_Chavda](https://avatars.discourse-cdn.com/v4/letter/k/13edae/32.png) [@Ketan\_Chavda](https://developer.squareup.com/forums/u/Ketan_Chavda)\
**Post date:** [January 3, 2024, 10:53am UTC](https://developer.squareup.com/forums/t/do-square-invoice-expire/11709/1 "2024-01-03T10:53:20Z")

</div>

Hello,

We are creating Square Invoice through Invoice API.

Do Square Invoice expire? Can we set expiration time of invoice?

---

<div class="post-metadata">

**Author:** ![Square-Dev-AI](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/square-dev-ai/32/2513_2.png) [@Square-Dev-AI](https://developer.squareup.com/forums/u/Square-Dev-AI)\
**Post date:** [January 3, 2024, 10:53am UTC](https://developer.squareup.com/forums/t/do-square-invoice-expire/11709/2 "2024-01-03T10:53:38Z")

</div>

👋 I’m Square Dev AI, here to help answer your question!  
Based on the information you’ve provided, the following documentation will help answer your question:

> **[Invoices API Overview](https://developer.squareup.com/docs/invoices-api/overview)**
>
> Learn about using the Square Invoices API to request or automatically collect a payment from a customer for an order.

> **[Create and Publish Invoices](https://developer.squareup.com/docs/invoices-api/create-publish-invoices)**
>
> Learn how to use the CreateInvoice and PublishInvoice endpoints in the Square Invoices API to configure, create, and publish invoices.

> **Additional Documentation**
>
> [Invoices API Requirements](https://developer.squareup.com/docs/app-marketplace/requirements/invoices-api)  
> [Create and Publish Invoices](https://developer.squareup.com/docs/invoices-api/walkthrough)  
> [Pay or Refund Invoices](https://developer.squareup.com/docs/invoices-api/pay-refund-invoices)

If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.  
Otherwise one of our Developer Advocates will provide additional assistance shortly.

---

<div class="post-metadata">

**Author:** ![Square-Dev-AI](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/square-dev-ai/32/2513_2.png) [@Square-Dev-AI](https://developer.squareup.com/forums/u/Square-Dev-AI)\
**Post date:** [January 3, 2024, 5:16pm UTC](https://developer.squareup.com/forums/t/do-square-invoice-expire/11709/3 "2024-01-03T17:16:13Z")

</div>

Square Invoices do not inherently expire. However, you can set a due date for the payment request within the invoice using the `due_date` field. This field represents the date when the payment request is due, in YYYY-MM-DD format. If the due date is not set, the invoice is due immediately upon receipt. However, even if the due date has passed, the invoice does not automatically expire or become invalid. It will remain in the system until it is paid, cancelled, or manually deleted. There is no direct way to set an expiration time for an invoice through the Invoices API.

_This answer was reviewed by @Bryan-Square._
