API Docs / Operations / Returns / Re-open Return

Re-open Return

DELETE /tenants/{tenant}/returns/{year}/{month}/submission

Re-opens an Accepted return (400 otherwise) so the month's payments can be corrected and the return submitted again (webhook return.opened). The submission record itself is kept. Returns the re-opened return.

Parameters

NameTypeDescription
tenant* path string

The tenant code (the organisation's URL stub)

The tenant code (the organisation's URL stub)

month* path integer (int32)
year* path integer (int32)

Responses

400 Bad Request
application/problem+json
401 Unauthorized – Invalid or missing API key
403 Forbidden
application/problem+json
404 Not Found
application/problem+json