Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel2
outlinefalse
typelist
printablefalse

...

  1. Call MAN service to render printout form

  2. Get template id from config (DECLARATION_REQUEST_PRINTOUT_FORM_TEMPLATE_ID)(PIS_DECLARATION_REQUEST_PRINTOUT_FORM_TEMPLATE_ID)

  3. Prepare printout content based on declaration request data

  4. Render printout form and save to declaration request

...

v3#Set

Parameter

Source

Comments

id

Autogenerated

data

  • start_date

  • end_date

  • person_id

  • Request.division_id

  • Request.employee_id

  • legal_entity_id

https://e-health-ua.atlassian.net/wiki/spaces/PCABEH/pages/1751344746517628660189/PIS.+Create+Declaration+request_EN#Calculaterequest#Calculate-declaration-start%2Fend-date

https://e-health-ua.atlassian.net/wiki/spaces/PCABEH/pages/1751344746517628660189/PIS.+Create+Declaration+request_EN#Validaterequest#Validate-Person

https://e-health-ua.atlassian.net/wiki/spaces/PCABEH/pages/1751344746517628660189/PIS.+Create+Declaration+request_EN#Validaterequest#Validate-legal-entity

status

Const: NEW

inserted_by

Authenticated user (id)

inserted_at

Current date-time

updated_at

Current date-time

authentication_method_current

https://e-health-ua.atlassian.net/wiki/spaces/PCAB/pages/17548050463/Create+declaration+request+v3+

EN#Set-auth_method_current

documents

Empty list

printout_content

https://e-health-ua.atlassian.net/wiki/spaces/PCABEH/pages/1751344746517628660189/PIS.+Create+Declaration+request_EN#Generaterequest#Generate-printout-form

updated_by

Authenticated user (id)

declaration_id

Autogenerated

mpi_id

person_id

https://e-health-ua.atlassian.net/wiki/spaces/PCABEH/pages/1751344746517628660189/PIS.+Create+Declaration+request_EN#Validaterequest#Validate-Person

overlimit

null

channel

Const: PIS

declaration_number

https://e-health-ua.atlassian.net/wiki/spaces/PCABEH/pages/1751344746517628660189/PIS.+Create+Declaration+request_EN#Generaterequest#Generate-human-readable-declaration-number

data_legal_entity_id

data.legal_entity_id

data_employee_id

data.employee_id

data_start_date_year

Extract year from data.start_date

data_person_tax_id

null

data_person_first_name

null

data_person_last_name

null

data_person_birth_date

null

data_person_documents

null

authorize_with

null

data_to_be_signed

https://e-health-ua.atlassian.net/wiki/spaces/PCABEH/pages/1751344746517628660189/PIS.+Create+Declaration+request_EN#Preparerequest#Prepare-data_to_be_signed

parent_declaration_id

null

status_reason

null

current_declaration_count

null

system_declaration_limit

null

is_shareable

Const: false

data_division_id

data.division_id