Specification
Service logic
Only authenticated and authorized user can use declaration request
The service returns only a declaration request that was created in the same legal entity as the user
Authentication
Verify the validity of access token
Return 401 in case validation fails
Check scopes in order to perform this action (scope = 'declaration_request:read')
Return 403 in case invalid scope(s)
Response
Print form is generated after approve declaration request, so in response on Get decl request by id show fields context
and data_to_be_signed
if DR approved.