Invoices

Recalculate invoice (voided invoice)

Starts an async workflow that creates a fresh replacement invoice for a voided SUBSCRIPTION invoice (same billing period). Returns workflow_id and run_id; poll workflow status or GET the new invoice via recalculated_invoice_id after completion.

post/invoices/{id}/recalculate

Request

  • Base URL
    https://us.api.flexprice.io/v1
  • URL
    https://us.api.flexprice.io/v1/invoices/{id}/recalculate
  • Auth
    API key in header x-api-key

Path parameters

idstring required

Invoice ID

Response

Accepted

messagestring
run_idstring
workflow_idstring

Changes