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

# Updating bills with duplicate invoice numbers

When updating a bill (`PATCH /v3/bills/{billId}`) or replacing a bill (`PUT /v3/bills/{billId}`), we learned that there was an error response if the bill had a duplicate invoice number. We have now fixed this issue.