Invoices

Revert Invoice to Draft

POST
/orgs/{organizationId}/invoices/{id}/revert-to-draft

Reverts a booked invoice to DRAFT state, preserving the original displayId for rebooking. By default, only if no notifications have been sent, not on Peppol, and within one week. With force: true, super admins may bypass those rules.

Authorization

ApiKeyAuth
headerx-api-key<token>

API key for authentication

Path Parameters

organizationId*string

The ID or slug of the organization

id*string

Request Body

application/json
  1. body
force?boolean

Response Body

OK

application/json
  1. response
curl -X POST 'https://api.tillor.eu/orgs/string/invoices/string/revert-to-draft' \  -H 'Content-Type: application/json' \  -d '{}'
null