Skip to main content
PUT
/
api
/
v1
/
invoices
/
{invoice_id}
Update Invoice
curl --request PUT \
  --url https://api.example.com/api/v1/invoices/{invoice_id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "due_date": "<string>",
  "line_items": [
    {}
  ],
  "customer_id": "<string>"
}
'
invoice_id
string
required
UUID of the invoice (must be in DRAFT status)
due_date
string
New payment due date
line_items
array
Replacement line items (replaces all existing items)
customer_id
string
Change the billed customer
Only DRAFT invoices can be updated. Tax is recalculated automatically when line items change.