1(2(4(5(6)+)+)+8)*9 - RecordType M 1n FileHeader - RecordType M 1n =1 U32 DeductionInstitution M 7n # =0040031 (ΜΤΠΥ) U32 ProductCode O 5n # ίδιο με GroupHeader.OrgId (Κωδικός αντίστοιχος της ΕΑΠ του Φορέα που στέλνει το αρχείο) C FileType M 4x # =DAO1 U32 CreationDate M 8n # YYYYMMDD U8 SeqNo M 2n # Sequence number within the day (01-99) U32 SettlementDate M 8n # Ίδιο με CreationDate. Προτείνεται να μπαίνει η ημερομηνία Μισθοδοσίας (YYYYMMDD) GroupHeader - RecordType M 1n =2 U8 PeriodType M 2n # Είδος περιόδου για την αποστολή στην ΕΑΠ (βλέπε παρατηρήσεις) U8 PeriodMonth M 2n # Period month of the PSP U16 PeriodYear M 4n # Period Year of the PSP U64 OrgId M 7n # Κωδικός αντίστοιχος της ΕΑΠ Φορέα που στέλνει το αρχείο U32 OrganizationTIN M 9n # ΑΦΜ Φορέα U32 GroupId M 7n # ίδιο με OrgId U32 DCT_OrgCode M 5n # Κωδικός φορέα τον οποίο βαραίνει η πληρωμή C OrgName M 64x # Περιγραφή οργανισμού DetailRecordEmployee - RecordType M 1n =4 C EmployeeTIN M 10x # Employee.TIN (ΑΦΜ) C EmployeeAMKA M 12x # Employee.AMKA C FirstName M 50x # Employee.FirstName C LastName M 50x # Employee.LastName U8 NewEmployee M 1n # Employee.NewInsured DetailRecordIncome - RecordType M 1n =5 U32 IncomeStartDate O 8n # Income.StartDate (YYYYMMDD) U32 IncomeEndDate O 8n # Income.EndDate (YYYYMMDD) U16 IncomePeriodYear O 4n # Income.PeriodYear U8 IncomePeriodMonth O 2n # Income.PeriodMonth U64 GrossAmount M 18n # Sum of all the Gross Types (in cents) DetailRecordGross - RecordType M 1n =6 U8 DetailType M 1n =4 # 4='Gross' U16 GrossType M 4n # Gross.GrossTypeID - Κωδικοποίηση αμοιβών και επιδομάτων (ΚΑΕ) από ΕΑΠ U8 KAE M 5x # Gross.KAE - - Κωδικοποίηση αμοιβών και επιδομάτων (ΚΑΕ) από ΕΑΠ U64 GrossAmount M 18n # Gross.Amount (in cents) DetailRecordDeduction - RecordType M 1n =6 U8 DetailType M 1n # 1='Deduction' 2='Deduction with Loan Number' 3='Employer Tax' U32 DeductionCode M 7n # Contains the Employer Tax Code when DetailType=3 C LoanNumber O 25x # Deduction.LoanNumber (when DetailType=2) U64 DeductionAmount M 18n # Deduction.Amount or EmployerTax.Amount (in cents) GroupTrailer - RecordType M 1n =8 U64 GrossGroupTotals M 18n # Sum of DetailRecordIncome.GrossAmount U64 DeductionsGroupTotals M 18n # Sum of DetailRecordDeduction.DeductionAmount for DetailType=1 U64 DeductionsForLoansGT M 18n # Sum of DetailRecordDeduction.DeductionAmount for DetailType=2 U64 EmployerTaxGroupTotals M 18n # Sum of DetailRecordDeduction.DeductionAmount for DetailType=3 FileTrailer - RecordType M 1n =9 U32 NumberOfGroups M 8n U64 GrossFileTotals M 18n # Sum of GroupTrailer.GrossGroupTotals U64 DeductionsFileTotals M 18n # Sum of GroupTrailer.DeductionsGroupTotals U64 DeductionsForLoansFT M 18n # Sum of GroupTrailer.DeductionsForLoansGT U64 EmployerTaxFileTotals M 18n # Sum of GroupTrailer.EmployerTaxGroupTotals