nenoDevelopers
⌘K
v1

Invoices

Delete a draft invoice

DELETE/invoices/{id}

Only Neno-issued documents in draft status can be deleted. Issue a credit note to reverse a sent invoice.

Path parameters

idstring · uuidrequired

Public document UUID. This is distinct from the customer-facing share token.

Headers

Idempotency-Keystring · max 255required

Client-generated key that identifies one write for 24 hours. Reuse it only when retrying the same method, path, query, and body.

Responses

204
No content. Deleted.
400
Bad request. Malformed request.
401
Unauthorized. Missing, invalid, revoked, or expired API key.
403
Forbidden. The API key lacks a required scope or the creator lacks a required permission.
404
Not found. Resource not found (or not in this workspace).
409
Conflict. The request is already in progress or the invoice cannot make the requested transition.
429
Too many requests. Rate limit exceeded.

400 Response fields

errorobjectrequired

401 Response fields

errorobjectrequired

403 Response fields

errorobjectrequired

404 Response fields

errorobjectrequired

429 Response fields

errorobjectrequired
Request
curl -X DELETE https://api.neno.build/public/v1/invoices/9b2f6c1e-4a7d-4f0e-8c3b-2d51e7a0f4c9 \
-H "Authorization: Bearer $NENO_API_KEY" \
-H "Idempotency-Key: $(uuidgen)"
204 No content
// No response body