Receipts
Cancel a receipt
https://your-business.qaydtech.com/api/v1/receipts/{id}/cancel
Reverses the receipt’s entry on the cancellation date, and the invoices it settled are owed again.
The user the key acts as also needs: Cancel receipt vouchers
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 -
Content-Typestring requiredapplication/json with every request that has a body.
Example:
application/json -
Idempotency-Keystring optionalA unique value so a request sent again creates nothing twice.
Example:
order-10045
Request body application/json
-
datedate optionalThe date; today when not sent.
Example:
2026-11-12
Responses
- 200 OK
- Errors · 401 · 403 · 429