Invoices
Convert upcoming invoice to draft
Updates to DRAFT status and recalculates invoice. Returns 409 when an earlier billing run this document corrects has no document yet: PRIOR_RUN_STILL_IN_FLIGHT means retry shortly, OLD_BILLING_RUN_INCOMPLETE means escalate, as the earlier run needs repair. SUPERSEDED_BY_CREDIT_NOTE means the recalculation turned the invoice into a credit note.
POST
Convert upcoming invoice to draft
Headers
Your API credentials. Eg. Basic {credentials}.
Response
OK