Invoices and notes
Delete a draft
delete
https://your-business.qaydtech.com/api/v1/invoices/{id}
Deletes a draft. An issued invoice is never deleted: it is corrected by a credit note.
Permission: invoices.write
The user the key acts as also needs: Delete sales drafts
Request
Path parameters
-
idinteger requiredThe record’s number.
Example:
42
Headers
-
Authorizationstring requiredBearer followed by the API key.
Example:
Bearer qayd_… -
Accept-Languagestring optionalen for English error messages. Arabic by default.
Example:
en
Responses
- 204 Deleted
- 422 Refused
- Errors · 401 · 403 · 429