Skip to content
  • Auto
  • Light
  • Dark
Talk to an expert

Regenerate

Regenerate an invoice
post/v1/invoices/regenerate

Regenerate a voided contract invoice

Body Parameters
idstring

The invoice id to regenerate

formatuuid
Returns
dataobject
optional
Hide ParametersShow Parameters
idstring

The new invoice id

formatuuid
curl https://api.metronome.com/v1/invoices/regenerate \
    -H 'Content-Type: application/json' \
    -H "Authorization: Bearer $METRONOME_BEARER_TOKEN" \
    -d '{
          "id": "6a37bb88-8538-48c5-b37b-a41c836328bd"
        }'
200 Example
{
  "data": {
    "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"
  }
}