Reject Received Document

Reject a received document and send ACECF to emisor and DGII.

Args:
document_id: UUID of the document to reject
request: Rejection request with reason
session: Database session
user_id: Authenticated user ID
receptor_service: Receptor service instance

Returns:
Approval action response with status and approval ID

Raises:
HTTPException: If document not found or user doesn't have permission

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Body Params

Request model for rejecting a received document.

string
required
length between 1 and 250

Required rejection explanation

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json