Invoice
Deletes a draft invoice, discarding it completely.
Changed onOnly an invoice that was never finalized can be deleted — a draft, or a generation attempt that failed. The invoice disappears from the payment provider as well, and its billing period returns to Open so it can be invoiced again. A finalized invoice must be voided through POST /invoice/{invoiceId}/void instead; deleting one responds 409 Conflict, as does deleting while generation is still in progress.
delete/invoice/{invoiceId}
Request
- Base URLhttps://api.rapidata.ai
- URLhttps://api.rapidata.ai/invoice/{invoiceId}
- AuthOpenID Connect (https://auth.rapidata.ai/.well-known/openid-configuration, scopes: openid, profile, email, offline_access, api)
Path parameters
invoiceIdstring required
The invoice to delete.
Response
No Content
Changes
- info
the security scope
apiwas added to the endpoint's security schemeOpenIdConnect
- info
- info
endpoint added
- info