---
agentTools:
  projectIndex: https://developer.bill.com/llms.txt
---

# Set an invoice date when you create or update an invoice

You can now set an invoice date in your create an invoice (`POST /v3/invoices`), replace an invoice (`PUT /v3/invoices/{invoiceId}`), and update an invoice (`PATCH /v3/invoices/{invoiceId}`) requests.

Set the `invoiceDate` field as the invoice creation date. This value is in the `yyyy-MM-dd` format. If you do not set this value, `invoiceDate` is set as the date when the invoice is created.

See [POST /v3/invoices](https://developer.bill.com/reference/createinvoice) in the API reference for more information.