diff --git "a/logs_directory/app_20250420.log" "b/logs_directory/app_20250420.log" new file mode 100644--- /dev/null +++ "b/logs_directory/app_20250420.log" @@ -0,0 +1,7503 @@ +2025-04-20 16:24:26 - utils.process_files - INFO - [process_files.py:37] - file_path: /tmp/tmp8rs1ofw5/Doc_set_4.zip, uploaded_file.type : application/zip +2025-04-20 16:24:26 - utils.process_files - INFO - [process_files.py:68] - application_form: 0 1 +0 full_name Sarah Meredyth Morgan +1 bank_name HSBC +2 employer_name Morrisons +3 complete_address 122 BURNS CRESCENT EDINBURGH EH1 9GP +2025-04-20 16:24:28 - utils.tabs.document_validation_tab - INFO - [document_validation_tab.py:52] - full_data : None +2025-04-20 16:24:29 - llm.document_analyzer - INFO - [document_analyzer.py:28] - file_name : /tmp/tmp8rs1ofw5/Doc_set_4/Doc_set_4/UK_DL_ID_Proof_11.pdf_page_0.png +2025-04-20 16:24:29 - llm.document_analyzer - INFO - [document_analyzer.py:34] - Starting analysis for /tmp/tmp8rs1ofw5/Doc_set_4/Doc_set_4/UK_DL_ID_Proof_11.pdf_page_0.png +2025-04-20 16:24:36 - llm.llm - INFO - [llm.py:40] - Json is being formatted +2025-04-20 16:24:36 - llm.document_analyzer - INFO - [document_analyzer.py:53] - File name: /tmp/tmp8rs1ofw5/Doc_set_4/Doc_set_4/UK_DL_ID_Proof_11.pdf_page_0.png, Results: {'document_category': 'identity_verification_document', 'document_type': 'driving_license'} +2025-04-20 16:24:42 - llm.llm - INFO - [llm.py:40] - Json is being formatted +2025-04-20 16:24:42 - llm.document_analyzer - INFO - [document_analyzer.py:82] - /tmp/tmp8rs1ofw5/Doc_set_4/Doc_set_4/UK_DL_ID_Proof_11.pdf_page_0.png: {'surname': 'MORGAN', 'first_name': 'SARAH MEREDYTH', 'date_of_birth': '1976-03-11', 'place_of_birth': 'UNITED KINGDOM', 'date_of_issue': '2021-01-01', 'date_of_expiry': '2030-12-31', 'issuing_authority': 'DVLA', 'driver_number': 'MORGA753116SM9IJ', 'signature': 'A. Sample', 'address': {'line_1': '122 BURNS CRESCENT', 'city': 'EDINBURGH', 'postcode': 'EH1 9GP'}, 'entitlements': ['AM', 'A', 'B1', 'B', 'BE', 'f', 'k', 'l', 'n', 'p', 'q']} +2025-04-20 16:24:42 - llm.document_analyzer - INFO - [document_analyzer.py:28] - file_name : /tmp/tmp8rs1ofw5/Doc_set_4/Doc_set_4/HSBC_Statement_11.pdf_page_0.png +2025-04-20 16:24:42 - llm.document_analyzer - INFO - [document_analyzer.py:34] - Starting analysis for /tmp/tmp8rs1ofw5/Doc_set_4/Doc_set_4/HSBC_Statement_11.pdf_page_0.png +2025-04-20 16:24:47 - llm.llm - INFO - [llm.py:40] - Json is being formatted +2025-04-20 16:24:47 - llm.document_analyzer - INFO - [document_analyzer.py:53] - File name: /tmp/tmp8rs1ofw5/Doc_set_4/Doc_set_4/HSBC_Statement_11.pdf_page_0.png, Results: {'document_category': 'bank_statement', 'document_type': 'bank_statement'} +2025-04-20 16:24:52 - llm.llm - INFO - [llm.py:40] - Json is being formatted +2025-04-20 16:24:52 - llm.document_analyzer - INFO - [document_analyzer.py:82] - /tmp/tmp8rs1ofw5/Doc_set_4/Doc_set_4/HSBC_Statement_11.pdf_page_0.png: {'account_holder_name': 'Morgan Sarah Meregyth', 'account_holder_address': '8 Canada Square, London, E14 5HQ', 'bank_name': 'HSBC Bank', 'account_number': '40001234', 'sort_code': '40-25-55', 'statement_start_date': '2025-01-01', 'statement_end_date': '2025-03-31', 'salary_credits': [{'date': '10 Jan', 'amount': '1362.61', 'from': 'Winsford Farmers Boy', 'description': 'Salary - Winsford Farmers Boy'}, {'date': '10 Feb', 'amount': '1362.61', 'from': 'Winsford Farmers Boy', 'description': 'Salary - Winsford Farmers Boy'}, {'date': '10 Mar', 'amount': '1362.61', 'from': 'Winsford Farmers Boy', 'description': 'Salary - Winsford Farmers Boy'}]} +2025-04-20 16:24:52 - llm.document_analyzer - INFO - [document_analyzer.py:28] - file_name : /tmp/tmp8rs1ofw5/Doc_set_4/Doc_set_4/Contract_of_Employment_11.pdf_page_0.png +2025-04-20 16:24:52 - llm.document_analyzer - INFO - [document_analyzer.py:34] - Starting analysis for /tmp/tmp8rs1ofw5/Doc_set_4/Doc_set_4/Contract_of_Employment_11.pdf_page_0.png +2025-04-20 16:24:56 - llm.llm - INFO - [llm.py:40] - Json is being formatted +2025-04-20 16:24:56 - llm.document_analyzer - INFO - [document_analyzer.py:53] - File name: /tmp/tmp8rs1ofw5/Doc_set_4/Doc_set_4/Contract_of_Employment_11.pdf_page_0.png, Results: {'document_category': 'income_document', 'document_type': 'contract_of_employment'} +2025-04-20 16:25:02 - llm.llm - INFO - [llm.py:40] - Json is being formatted +2025-04-20 16:25:02 - llm.document_analyzer - INFO - [document_analyzer.py:82] - /tmp/tmp8rs1ofw5/Doc_set_4/Doc_set_4/Contract_of_Employment_11.pdf_page_0.png: {'Contract of Employment': {'Employee Name': 'Morgan Sarah Meregyth', 'Employee Address': '122 BURNS CRESCENT EDINBURGH EH1 9GP', 'Employer': 'Morrisons', 'Employer Address': 'Winsford CW7 3BB, United Kingdom', '1. Commencement of Employment': "The employee's employment shall commence on 16th December 2023. Continuous employment will begin from this date.", '2. Job Title': 'You are employed as a Production Associate in Morrisons.', '3. Type of Employment': 'This is a permanent, full-time employment contract. There is no fixed end date.', '4. Place of Work': 'Your primary place of work shall be at:\nWinsford - Farmers Boy, Production Facility\nFurther location assignments may be made within reasonable commuting distance with appropriate notice.', '5. Hours of Work': 'Your standard working hours are 37.5 hours per week, subject to scheduling needs. You may be required to work additional hours where necessary for the proper performance of your duties.', '6. Salary': 'You shall be paid at the rate of £12.05 per hour. Wages will be paid monthly in arrears on or around the 10th of each month, directly into your designated bank account.\nYour salary includes holiday pay, and your taxable earnings are subject to Income Tax and National Insurance deductions as required by law.', '7. Holidays': 'You are entitled to 28 days of paid annual leave (inclusive of public holidays), calculated on a pro-rata basis if applicable.', '8. Sick Pay': 'You are entitled to Statutory Sick Pay (SSP) in accordance with government regulations.'}} +2025-04-20 16:25:02 - llm.document_analyzer - INFO - [document_analyzer.py:28] - file_name : /tmp/tmp8rs1ofw5/Doc_set_4/Doc_set_4/Contract_of_Employment_11.pdf_page_1.png +2025-04-20 16:25:02 - llm.document_analyzer - INFO - [document_analyzer.py:34] - Starting analysis for /tmp/tmp8rs1ofw5/Doc_set_4/Doc_set_4/Contract_of_Employment_11.pdf_page_1.png +2025-04-20 16:25:06 - llm.document_analyzer - INFO - [document_analyzer.py:53] - File name: /tmp/tmp8rs1ofw5/Doc_set_4/Doc_set_4/Contract_of_Employment_11.pdf_page_1.png, Results: {'document_category': 'income_document', 'document_type': 'contract_of_employment'} +2025-04-20 16:25:11 - llm.llm - INFO - [llm.py:40] - Json is being formatted +2025-04-20 16:25:11 - llm.document_analyzer - INFO - [document_analyzer.py:82] - /tmp/tmp8rs1ofw5/Doc_set_4/Doc_set_4/Contract_of_Employment_11.pdf_page_1.png: {'document_sections': [{'section_title': 'Pension', 'section_number': '9', 'content': 'You will be automatically enrolled into the company pension scheme as per applicable legislation. You may opt out in accordance with the rules of the pension scheme.'}, {'section_title': 'Notice Period', 'section_number': '10', 'content': "Following the probationary period, either party may terminate this contract by giving 1 month's written notice."}, {'section_title': 'Confidentiality', 'section_number': '11', 'content': 'During and after your employment, you shall not disclose any confidential information relating to the employer or its operations.'}, {'section_title': 'Governing Law', 'section_number': '12', 'content': 'This contract is governed by the laws of England and Wales.'}, {'section_title': 'Employer Signature', 'content': 'Signed for and on behalf of the Employer:\nName:\nTitle:\nSignature:\nDate:'}, {'section_title': 'Employee Signature', 'content': 'Signed by the Employee:\nName: Morgan Sarah Meregyth\nSignature:\nDate:'}]} +2025-04-20 16:25:11 - llm.document_analyzer - INFO - [document_analyzer.py:28] - file_name : /tmp/tmp8rs1ofw5/Doc_set_4/Doc_set_4/P60_11.pdf_page_0.png +2025-04-20 16:25:11 - llm.document_analyzer - INFO - [document_analyzer.py:34] - Starting analysis for /tmp/tmp8rs1ofw5/Doc_set_4/Doc_set_4/P60_11.pdf_page_0.png +2025-04-20 16:25:16 - llm.llm - INFO - [llm.py:40] - Json is being formatted +2025-04-20 16:25:16 - llm.document_analyzer - INFO - [document_analyzer.py:53] - File name: /tmp/tmp8rs1ofw5/Doc_set_4/Doc_set_4/P60_11.pdf_page_0.png, Results: {'document_category': 'income_document', 'document_type': 'p60'} +2025-04-20 16:25:22 - llm.llm - INFO - [llm.py:40] - Json is being formatted +2025-04-20 16:25:22 - llm.document_analyzer - INFO - [document_analyzer.py:82] - /tmp/tmp8rs1ofw5/Doc_set_4/Doc_set_4/P60_11.pdf_page_0.png: {'employee_details': {'surname': 'Meregyth', 'forenames_or_initials': 'Morgan Sarah', 'national_insurance_number': 'HN377910C', 'works_payroll_number': '100410638'}, 'pay_and_income_tax_details': {'previous_employments': {'pay': 0.0, 'tax_deducted': 0.0}, 'current_employment': {'pay': 4363.17, 'tax_deducted': 872.2}, 'total_for_year': {'pay': 4363.17, 'tax_deducted': 872.2}, 'final_tax_code': 'OT'}, 'national_insurance_contributions': [{'nic_letter': 'M', 'earnings': {'at_or_above_lel': 0.0, 'above_lel_up_to_pt': 0.0, 'above_pt_up_to_uel': 0.0}, 'employee_contributions_above_pt': 120.91}], 'statutory_payments': {'maternity_pay': None, 'paternity_pay': None, 'adoption_pay': None, 'shared_parental_pay': None}, 'other_details': {'student_loan_deductions': None}, 'employer_details': {'employer_name_and_address': 'Winsford - Farmers Boy\nProduction Department', 'paye_reference': '072/M2A'}} +2025-04-20 16:25:22 - llm.document_analyzer - INFO - [document_analyzer.py:28] - file_name : /tmp/tmp8rs1ofw5/Doc_set_4/Doc_set_4/Salary_slip_11.pdf_page_0.png +2025-04-20 16:25:22 - llm.document_analyzer - INFO - [document_analyzer.py:34] - Starting analysis for /tmp/tmp8rs1ofw5/Doc_set_4/Doc_set_4/Salary_slip_11.pdf_page_0.png +2025-04-20 16:25:27 - llm.llm - INFO - [llm.py:40] - Json is being formatted +2025-04-20 16:25:27 - llm.document_analyzer - INFO - [document_analyzer.py:53] - File name: /tmp/tmp8rs1ofw5/Doc_set_4/Doc_set_4/Salary_slip_11.pdf_page_0.png, Results: {'document_category': 'income_document', 'document_type': 'payslip'} +2025-04-20 16:25:32 - llm.llm - INFO - [llm.py:40] - Json is being formatted +2025-04-20 16:25:32 - llm.document_analyzer - INFO - [document_analyzer.py:82] - /tmp/tmp8rs1ofw5/Doc_set_4/Doc_set_4/Salary_slip_11.pdf_page_0.png: {'employee_name': 'Morgan Meregyth', 'employer_name': 'Morrisons', 'employee_id': '100410638', 'employee_address': None, 'employer_address': 'Winsford - Farmers Boy', 'tax_code': '0T', 'payslip_date': '2025-01-10', 'pay_period_start': '2024-12-09', 'pay_period_end': '2025-01-05', 'payment_frequency': 'weekly', 'basic_pay': '1375.65', 'net_pay': '1362.61', 'gross_pay': '1784.84', 'salary_components': [{'name': 'Holiday', 'amount': '273.63'}, {'name': 'Additional Basic', 'amount': '135.56'}], 'ni_contribution': '65.43', 'tax_deduction': '356.80', 'other_deductions': []} +2025-04-20 16:25:32 - utils.document_display.document_display - INFO - [document_display.py:154] - analysis_results_for_id : {'document_category': 'identity_verification_document', 'document_type': 'driving_license', 'surname': 'MORGAN', 'first_name': 'SARAH MEREDYTH', 'date_of_birth': '1976-03-11', 'place_of_birth': 'UNITED KINGDOM', 'date_of_issue': '2021-01-01', 'date_of_expiry': '2030-12-31', 'issuing_authority': 'DVLA', 'driver_number': 'MORGA753116SM9IJ', 'signature': 'A. Sample', 'address': {'line_1': '122 BURNS CRESCENT', 'city': 'EDINBURGH', 'postcode': 'EH1 9GP'}, 'entitlements': ['AM', 'A', 'B1', 'B', 'BE', 'f', 'k', 'l', 'n', 'p', 'q']} +2025-04-20 16:25:32 - utils.document_display.document_display - INFO - [document_display.py:171] - document_type for /tmp/tmp8rs1ofw5/Doc_set_4/Doc_set_4/UK_DL_ID_Proof_11.pdf: driving_license +2025-04-20 16:25:32 - utils.document_display.driving_license - INFO - [driving_license.py:43] - file_path while displaying: ['/tmp/tmp8rs1ofw5/Doc_set_4/Doc_set_4/UK_DL_ID_Proof_11.pdf_page_0.png'] +2025-04-20 16:25:32 - utils.document_display.driving_license - INFO - [driving_license.py:56] - analysis_results_pruned : {'document_category': 'identity_verification_document', 'document_type': 'driving_license', 'surname': 'MORGAN', 'first_name': 'SARAH MEREDYTH', 'date_of_birth': '1976-03-11', 'place_of_birth': 'UNITED KINGDOM', 'date_of_issue': '2021-01-01', 'date_of_expiry': '2030-12-31', 'issuing_authority': 'DVLA', 'driver_number': 'MORGA753116SM9IJ', 'address': {'line_1': '122 BURNS CRESCENT', 'city': 'EDINBURGH', 'postcode': 'EH1 9GP'}, 'entitlements': ['AM', 'A', 'B1', 'B', 'BE', 'f', 'k', 'l', 'n', 'p', 'q']} +2025-04-20 16:25:32 - utils.document_display.document_display - INFO - [document_display.py:154] - analysis_results_for_id : {'document_category': 'bank_statement', 'document_type': 'bank_statement', 'account_holder_name': 'Morgan Sarah Meregyth', 'account_holder_address': '8 Canada Square, London, E14 5HQ', 'bank_name': 'HSBC Bank', 'account_number': '40001234', 'sort_code': '40-25-55', 'statement_start_date': '2025-01-01', 'statement_end_date': '2025-03-31', 'salary_credits': [{'date': '10 Jan', 'amount': '1362.61', 'from': 'Winsford Farmers Boy', 'description': 'Salary - Winsford Farmers Boy'}, {'date': '10 Feb', 'amount': '1362.61', 'from': 'Winsford Farmers Boy', 'description': 'Salary - Winsford Farmers Boy'}, {'date': '10 Mar', 'amount': '1362.61', 'from': 'Winsford Farmers Boy', 'description': 'Salary - Winsford Farmers Boy'}]} +2025-04-20 16:25:32 - utils.document_display.document_display - INFO - [document_display.py:171] - document_type for /tmp/tmp8rs1ofw5/Doc_set_4/Doc_set_4/HSBC_Statement_11.pdf: bank_statement +2025-04-20 16:25:32 - utils.document_display.bank_statement - INFO - [bank_statement.py:40] - file_path while displaying: ['/tmp/tmp8rs1ofw5/Doc_set_4/Doc_set_4/HSBC_Statement_11.pdf_page_0.png'] +2025-04-20 16:25:32 - utils.document_display.bank_statement - INFO - [bank_statement.py:53] - analysis_results_pruned : {'document_category': 'bank_statement', 'document_type': 'bank_statement', 'account_holder_name': 'Morgan Sarah Meregyth', 'account_holder_address': '8 Canada Square, London, E14 5HQ', 'bank_name': 'HSBC Bank', 'account_number': '40001234', 'sort_code': '40-25-55', 'statement_start_date': '2025-01-01', 'statement_end_date': '2025-03-31', 'salary_credits': [{'date': '10 Jan', 'amount': '1362.61', 'from': 'Winsford Farmers Boy', 'description': 'Salary - Winsford Farmers Boy'}, {'date': '10 Feb', 'amount': '1362.61', 'from': 'Winsford Farmers Boy', 'description': 'Salary - Winsford Farmers Boy'}, {'date': '10 Mar', 'amount': '1362.61', 'from': 'Winsford Farmers Boy', 'description': 'Salary - Winsford Farmers Boy'}]} +2025-04-20 16:25:32 - utils.document_display.bank_statement - INFO - [bank_statement.py:75] - salary_dict : [{'date': '10 Jan', 'amount': '1362.61', 'from': 'Winsford Farmers Boy', 'description': 'Salary - Winsford Farmers Boy'}, {'date': '10 Feb', 'amount': '1362.61', 'from': 'Winsford Farmers Boy', 'description': 'Salary - Winsford Farmers Boy'}, {'date': '10 Mar', 'amount': '1362.61', 'from': 'Winsford Farmers Boy', 'description': 'Salary - Winsford Farmers Boy'}] +2025-04-20 16:25:32 - utils.document_display.bank_statement - INFO - [bank_statement.py:85] - simple_df: Key Value +1 date 10 Mar +2 amount 1362.61 +3 from Winsford Farmers Boy +4 description Salary - Winsford Farmers Boy +2025-04-20 16:25:32 - utils.document_display.document_display - INFO - [document_display.py:154] - analysis_results_for_id : {'document_category': 'income_document', 'document_type': 'contract_of_employment', 'document_sections': [{'section_title': 'Pension', 'section_number': '9', 'content': 'You will be automatically enrolled into the company pension scheme as per applicable legislation. You may opt out in accordance with the rules of the pension scheme.'}, {'section_title': 'Notice Period', 'section_number': '10', 'content': "Following the probationary period, either party may terminate this contract by giving 1 month's written notice."}, {'section_title': 'Confidentiality', 'section_number': '11', 'content': 'During and after your employment, you shall not disclose any confidential information relating to the employer or its operations.'}, {'section_title': 'Governing Law', 'section_number': '12', 'content': 'This contract is governed by the laws of England and Wales.'}, {'section_title': 'Employer Signature', 'content': 'Signed for and on behalf of the Employer:\nName:\nTitle:\nSignature:\nDate:'}, {'section_title': 'Employee Signature', 'content': 'Signed by the Employee:\nName: Morgan Sarah Meregyth\nSignature:\nDate:'}], 'Contract of Employment': {'Employee Name': 'Morgan Sarah Meregyth', 'Employee Address': '122 BURNS CRESCENT EDINBURGH EH1 9GP', 'Employer': 'Morrisons', 'Employer Address': 'Winsford CW7 3BB, United Kingdom', '1. Commencement of Employment': "The employee's employment shall commence on 16th December 2023. Continuous employment will begin from this date.", '2. Job Title': 'You are employed as a Production Associate in Morrisons.', '3. Type of Employment': 'This is a permanent, full-time employment contract. There is no fixed end date.', '4. Place of Work': 'Your primary place of work shall be at:\nWinsford - Farmers Boy, Production Facility\nFurther location assignments may be made within reasonable commuting distance with appropriate notice.', '5. Hours of Work': 'Your standard working hours are 37.5 hours per week, subject to scheduling needs. You may be required to work additional hours where necessary for the proper performance of your duties.', '6. Salary': 'You shall be paid at the rate of £12.05 per hour. Wages will be paid monthly in arrears on or around the 10th of each month, directly into your designated bank account.\nYour salary includes holiday pay, and your taxable earnings are subject to Income Tax and National Insurance deductions as required by law.', '7. Holidays': 'You are entitled to 28 days of paid annual leave (inclusive of public holidays), calculated on a pro-rata basis if applicable.', '8. Sick Pay': 'You are entitled to Statutory Sick Pay (SSP) in accordance with government regulations.'}} +2025-04-20 16:25:32 - utils.document_display.document_display - INFO - [document_display.py:171] - document_type for /tmp/tmp8rs1ofw5/Doc_set_4/Doc_set_4/Contract_of_Employment_11.pdf: contract_of_employment +2025-04-20 16:25:32 - utils.document_display.others - INFO - [others.py:50] - file_path while displaying: ['/tmp/tmp8rs1ofw5/Doc_set_4/Doc_set_4/Contract_of_Employment_11.pdf_page_0.png', '/tmp/tmp8rs1ofw5/Doc_set_4/Doc_set_4/Contract_of_Employment_11.pdf_page_1.png'] +2025-04-20 16:25:32 - utils.document_display.others - INFO - [others.py:63] - analysis_results_pruned: {'document_category': 'income_document', 'document_type': 'contract_of_employment', 'document_sections': [{'section_title': 'Pension', 'section_number': '9', 'content': 'You will be automatically enrolled into the company pension scheme as per applicable legislation. You may opt out in accordance with the rules of the pension scheme.'}, {'section_title': 'Notice Period', 'section_number': '10', 'content': "Following the probationary period, either party may terminate this contract by giving 1 month's written notice."}, {'section_title': 'Confidentiality', 'section_number': '11', 'content': 'During and after your employment, you shall not disclose any confidential information relating to the employer or its operations.'}, {'section_title': 'Governing Law', 'section_number': '12', 'content': 'This contract is governed by the laws of England and Wales.'}, {'section_title': 'Employer Signature', 'content': 'Signed for and on behalf of the Employer:\nName:\nTitle:\nSignature:\nDate:'}, {'section_title': 'Employee Signature', 'content': 'Signed by the Employee:\nName: Morgan Sarah Meregyth\nSignature:\nDate:'}], 'Contract of Employment': {'Employee Name': 'Morgan Sarah Meregyth', 'Employee Address': '122 BURNS CRESCENT EDINBURGH EH1 9GP', 'Employer': 'Morrisons', 'Employer Address': 'Winsford CW7 3BB, United Kingdom', '1. Commencement of Employment': "The employee's employment shall commence on 16th December 2023. Continuous employment will begin from this date.", '2. Job Title': 'You are employed as a Production Associate in Morrisons.', '3. Type of Employment': 'This is a permanent, full-time employment contract. There is no fixed end date.', '4. Place of Work': 'Your primary place of work shall be at:\nWinsford - Farmers Boy, Production Facility\nFurther location assignments may be made within reasonable commuting distance with appropriate notice.', '5. Hours of Work': 'Your standard working hours are 37.5 hours per week, subject to scheduling needs. You may be required to work additional hours where necessary for the proper performance of your duties.', '6. Salary': 'You shall be paid at the rate of £12.05 per hour. Wages will be paid monthly in arrears on or around the 10th of each month, directly into your designated bank account.\nYour salary includes holiday pay, and your taxable earnings are subject to Income Tax and National Insurance deductions as required by law.', '7. Holidays': 'You are entitled to 28 days of paid annual leave (inclusive of public holidays), calculated on a pro-rata basis if applicable.', '8. Sick Pay': 'You are entitled to Statutory Sick Pay (SSP) in accordance with government regulations.'}} +2025-04-20 16:25:32 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 income_document +Name: Value, dtype: object +2025-04-20 16:25:32 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 contract_of_employment +Name: Value, dtype: object +2025-04-20 16:25:32 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 [{'section_title': 'Pension', 'section_number'... +Name: Value, dtype: object +2025-04-20 16:25:32 - utils.document_display.others - INFO - [others.py:111] - simple_df: Key Value +1 document_sections [{'section_title': 'Pension', 'section_number'... +2025-04-20 16:25:32 - utils.document_display.document_display - INFO - [document_display.py:154] - analysis_results_for_id : {'document_category': 'income_document', 'document_type': 'p60', 'employee_details': {'surname': 'Meregyth', 'forenames_or_initials': 'Morgan Sarah', 'national_insurance_number': 'HN377910C', 'works_payroll_number': '100410638'}, 'pay_and_income_tax_details': {'previous_employments': {'pay': 0.0, 'tax_deducted': 0.0}, 'current_employment': {'pay': 4363.17, 'tax_deducted': 872.2}, 'total_for_year': {'pay': 4363.17, 'tax_deducted': 872.2}, 'final_tax_code': 'OT'}, 'national_insurance_contributions': [{'nic_letter': 'M', 'earnings': {'at_or_above_lel': 0.0, 'above_lel_up_to_pt': 0.0, 'above_pt_up_to_uel': 0.0}, 'employee_contributions_above_pt': 120.91}], 'statutory_payments': {'maternity_pay': None, 'paternity_pay': None, 'adoption_pay': None, 'shared_parental_pay': None}, 'other_details': {'student_loan_deductions': None}, 'employer_details': {'employer_name_and_address': 'Winsford - Farmers Boy\nProduction Department', 'paye_reference': '072/M2A'}} +2025-04-20 16:25:32 - utils.document_display.document_display - INFO - [document_display.py:171] - document_type for /tmp/tmp8rs1ofw5/Doc_set_4/Doc_set_4/P60_11.pdf: p60 +2025-04-20 16:25:32 - utils.document_display.p60 - INFO - [p60.py:58] - file_path while displaying: ['/tmp/tmp8rs1ofw5/Doc_set_4/Doc_set_4/P60_11.pdf_page_0.png'] +2025-04-20 16:25:33 - utils.document_display.p60 - INFO - [p60.py:71] - analysis_results_pruned : {'document_category': 'income_document', 'document_type': 'p60', 'surname': 'Meregyth', 'forenames_or_initials': 'Morgan Sarah', 'national_insurance_number': 'HN377910C', 'works_payroll_number': '100410638', 'previous_employments': {'pay': 0.0, 'tax_deducted': 0.0}, 'current_employment': {'pay': 4363.17, 'tax_deducted': 872.2}, 'total_for_year': {'pay': 4363.17, 'tax_deducted': 872.2}, 'final_tax_code': 'OT', 'national_insurance_contributions': [{'nic_letter': 'M', 'earnings': {'at_or_above_lel': 0.0, 'above_lel_up_to_pt': 0.0, 'above_pt_up_to_uel': 0.0}, 'employee_contributions_above_pt': 120.91}], 'employer_name_and_address': 'Winsford - Farmers Boy\nProduction Department', 'paye_reference': '072/M2A'} +2025-04-20 16:25:33 - utils.document_display.p60 - INFO - [p60.py:103] - simple_df: Key Value +1 document_category income_document +2 document_type p60 +3 surname Meregyth +4 forenames_or_initials Morgan Sarah +5 national_insurance_number HN377910C +6 works_payroll_number 100410638 +7 previous_employments {'pay': 0.0, 'tax_deducted': 0.0} +8 current_employment {'pay': 4363.17, 'tax_deducted': 872.2} +9 total_for_year {'pay': 4363.17, 'tax_deducted': 872.2} +10 final_tax_code OT +11 national_insurance_contributions [{'nic_letter': 'M', 'earnings': {'at_or_above... +12 employer_name_and_address Winsford - Farmers Boy\nProduction Department +13 paye_reference 072/M2A +2025-04-20 16:25:33 - utils.document_display.document_display - INFO - [document_display.py:154] - analysis_results_for_id : {'document_category': 'income_document', 'document_type': 'payslip', 'employee_name': 'Morgan Meregyth', 'employer_name': 'Morrisons', 'employee_id': '100410638', 'employee_address': None, 'employer_address': 'Winsford - Farmers Boy', 'tax_code': '0T', 'payslip_date': '2025-01-10', 'pay_period_start': '2024-12-09', 'pay_period_end': '2025-01-05', 'payment_frequency': 'weekly', 'basic_pay': '1375.65', 'net_pay': '1362.61', 'gross_pay': '1784.84', 'salary_components': [{'name': 'Holiday', 'amount': '273.63'}, {'name': 'Additional Basic', 'amount': '135.56'}], 'ni_contribution': '65.43', 'tax_deduction': '356.80', 'other_deductions': []} +2025-04-20 16:25:33 - utils.document_display.document_display - INFO - [document_display.py:171] - document_type for /tmp/tmp8rs1ofw5/Doc_set_4/Doc_set_4/Salary_slip_11.pdf: payslip +2025-04-20 16:25:33 - utils.document_display.payslip - INFO - [payslip.py:58] - file_path while displaying: ['/tmp/tmp8rs1ofw5/Doc_set_4/Doc_set_4/Salary_slip_11.pdf_page_0.png'] +2025-04-20 16:25:33 - utils.document_display.payslip - INFO - [payslip.py:71] - analysis_results_pruned : {'document_category': 'income_document', 'document_type': 'payslip', 'employee_name': 'Morgan Meregyth', 'employer_name': 'Morrisons', 'employee_id': '100410638', 'employee_address': None, 'employer_address': 'Winsford - Farmers Boy', 'tax_code': '0T', 'payslip_date': '2025-01-10', 'pay_period_start': '2024-12-09', 'pay_period_end': '2025-01-05', 'payment_frequency': 'weekly', 'basic_pay': '1375.65', 'net_pay': '1362.61', 'gross_pay': '1784.84', 'salary_components': [{'name': 'Holiday', 'amount': '273.63'}, {'name': 'Additional Basic', 'amount': '135.56'}], 'ni_contribution': '65.43', 'tax_deduction': '356.80', 'other_deductions': []} +2025-04-20 16:25:33 - utils.document_display.payslip - INFO - [payslip.py:93] - other_deductions_dict : [] +2025-04-20 16:25:33 - utils.document_display.payslip - INFO - [payslip.py:103] - simple_df: Key Value +1 document_category income_document +2 document_type payslip +3 employee_name Morgan Meregyth +4 employer_name Morrisons +5 employee_id 100410638 +6 employee_address Missing +7 employer_address Winsford - Farmers Boy +8 tax_code 0T +9 payslip_date 2025-01-10 +10 pay_period_start 2024-12-09 +11 pay_period_end 2025-01-05 +12 payment_frequency weekly +13 basic_pay 1375.65 +14 net_pay 1362.61 +15 gross_pay 1784.84 +16 ni_contribution 65.43 +17 tax_deduction 356.80 +2025-04-20 16:25:33 - utils.tabs.document_validation_tab - INFO - [document_validation_tab.py:52] - full_data : {'/tmp/tmp8rs1ofw5/Doc_set_4/Doc_set_4/UK_DL_ID_Proof_11.pdf': {'/tmp/tmp8rs1ofw5/Doc_set_4/Doc_set_4/UK_DL_ID_Proof_11.pdf_page_0.png': {'document_category': 'identity_verification_document', 'document_type': 'driving_license', 'surname': 'MORGAN', 'first_name': 'SARAH MEREDYTH', 'date_of_birth': '1976-03-11', 'place_of_birth': 'UNITED KINGDOM', 'date_of_issue': '2021-01-01', 'date_of_expiry': '2030-12-31', 'issuing_authority': 'DVLA', 'driver_number': 'MORGA753116SM9IJ', 'signature': 'A. Sample', 'address': {'line_1': '122 BURNS CRESCENT', 'city': 'EDINBURGH', 'postcode': 'EH1 9GP'}, 'entitlements': ['AM', 'A', 'B1', 'B', 'BE', 'f', 'k', 'l', 'n', 'p', 'q']}}, '/tmp/tmp8rs1ofw5/Doc_set_4/Doc_set_4/HSBC_Statement_11.pdf': {'/tmp/tmp8rs1ofw5/Doc_set_4/Doc_set_4/HSBC_Statement_11.pdf_page_0.png': {'document_category': 'bank_statement', 'document_type': 'bank_statement', 'account_holder_name': 'Morgan Sarah Meregyth', 'account_holder_address': '8 Canada Square, London, E14 5HQ', 'bank_name': 'HSBC Bank', 'account_number': '40001234', 'sort_code': '40-25-55', 'statement_start_date': '2025-01-01', 'statement_end_date': '2025-03-31', 'salary_credits': [{'date': '10 Jan', 'amount': '1362.61', 'from': 'Winsford Farmers Boy', 'description': 'Salary - Winsford Farmers Boy'}, {'date': '10 Feb', 'amount': '1362.61', 'from': 'Winsford Farmers Boy', 'description': 'Salary - Winsford Farmers Boy'}, {'date': '10 Mar', 'amount': '1362.61', 'from': 'Winsford Farmers Boy', 'description': 'Salary - Winsford Farmers Boy'}]}}, '/tmp/tmp8rs1ofw5/Doc_set_4/Doc_set_4/Contract_of_Employment_11.pdf': {'/tmp/tmp8rs1ofw5/Doc_set_4/Doc_set_4/Contract_of_Employment_11.pdf_page_0.png': {'document_category': 'income_document', 'document_type': 'contract_of_employment', 'Contract of Employment': {'Employee Name': 'Morgan Sarah Meregyth', 'Employee Address': '122 BURNS CRESCENT EDINBURGH EH1 9GP', 'Employer': 'Morrisons', 'Employer Address': 'Winsford CW7 3BB, United Kingdom', '1. Commencement of Employment': "The employee's employment shall commence on 16th December 2023. Continuous employment will begin from this date.", '2. Job Title': 'You are employed as a Production Associate in Morrisons.', '3. Type of Employment': 'This is a permanent, full-time employment contract. There is no fixed end date.', '4. Place of Work': 'Your primary place of work shall be at:\nWinsford - Farmers Boy, Production Facility\nFurther location assignments may be made within reasonable commuting distance with appropriate notice.', '5. Hours of Work': 'Your standard working hours are 37.5 hours per week, subject to scheduling needs. You may be required to work additional hours where necessary for the proper performance of your duties.', '6. Salary': 'You shall be paid at the rate of £12.05 per hour. Wages will be paid monthly in arrears on or around the 10th of each month, directly into your designated bank account.\nYour salary includes holiday pay, and your taxable earnings are subject to Income Tax and National Insurance deductions as required by law.', '7. Holidays': 'You are entitled to 28 days of paid annual leave (inclusive of public holidays), calculated on a pro-rata basis if applicable.', '8. Sick Pay': 'You are entitled to Statutory Sick Pay (SSP) in accordance with government regulations.'}}, '/tmp/tmp8rs1ofw5/Doc_set_4/Doc_set_4/Contract_of_Employment_11.pdf_page_1.png': {'document_category': 'income_document', 'document_type': 'contract_of_employment', 'document_sections': [{'section_title': 'Pension', 'section_number': '9', 'content': 'You will be automatically enrolled into the company pension scheme as per applicable legislation. You may opt out in accordance with the rules of the pension scheme.'}, {'section_title': 'Notice Period', 'section_number': '10', 'content': "Following the probationary period, either party may terminate this contract by giving 1 month's written notice."}, {'section_title': 'Confidentiality', 'section_number': '11', 'content': 'During and after your employment, you shall not disclose any confidential information relating to the employer or its operations.'}, {'section_title': 'Governing Law', 'section_number': '12', 'content': 'This contract is governed by the laws of England and Wales.'}, {'section_title': 'Employer Signature', 'content': 'Signed for and on behalf of the Employer:\nName:\nTitle:\nSignature:\nDate:'}, {'section_title': 'Employee Signature', 'content': 'Signed by the Employee:\nName: Morgan Sarah Meregyth\nSignature:\nDate:'}]}}, '/tmp/tmp8rs1ofw5/Doc_set_4/Doc_set_4/P60_11.pdf': {'/tmp/tmp8rs1ofw5/Doc_set_4/Doc_set_4/P60_11.pdf_page_0.png': {'document_category': 'income_document', 'document_type': 'p60', 'employee_details': {'surname': 'Meregyth', 'forenames_or_initials': 'Morgan Sarah', 'national_insurance_number': 'HN377910C', 'works_payroll_number': '100410638'}, 'pay_and_income_tax_details': {'previous_employments': {'pay': 0.0, 'tax_deducted': 0.0}, 'current_employment': {'pay': 4363.17, 'tax_deducted': 872.2}, 'total_for_year': {'pay': 4363.17, 'tax_deducted': 872.2}, 'final_tax_code': 'OT'}, 'national_insurance_contributions': [{'nic_letter': 'M', 'earnings': {'at_or_above_lel': 0.0, 'above_lel_up_to_pt': 0.0, 'above_pt_up_to_uel': 0.0}, 'employee_contributions_above_pt': 120.91}], 'statutory_payments': {'maternity_pay': None, 'paternity_pay': None, 'adoption_pay': None, 'shared_parental_pay': None}, 'other_details': {'student_loan_deductions': None}, 'employer_details': {'employer_name_and_address': 'Winsford - Farmers Boy\nProduction Department', 'paye_reference': '072/M2A'}}}, '/tmp/tmp8rs1ofw5/Doc_set_4/Doc_set_4/Salary_slip_11.pdf': {'/tmp/tmp8rs1ofw5/Doc_set_4/Doc_set_4/Salary_slip_11.pdf_page_0.png': {'document_category': 'income_document', 'document_type': 'payslip', 'employee_name': 'Morgan Meregyth', 'employer_name': 'Morrisons', 'employee_id': '100410638', 'employee_address': None, 'employer_address': 'Winsford - Farmers Boy', 'tax_code': '0T', 'payslip_date': '2025-01-10', 'pay_period_start': '2024-12-09', 'pay_period_end': '2025-01-05', 'payment_frequency': 'weekly', 'basic_pay': '1375.65', 'net_pay': '1362.61', 'gross_pay': '1784.84', 'salary_components': [{'name': 'Holiday', 'amount': '273.63'}, {'name': 'Additional Basic', 'amount': '135.56'}], 'ni_contribution': '65.43', 'tax_deduction': '356.80', 'other_deductions': []}}} +2025-04-20 16:25:33 - utils.tabs.document_validation_tab - INFO - [document_validation_tab.py:56] - full_data_transformed : {'identity_verification_document': [{'driving_license': {'uploaded_file_path': 'UK_DL_ID_Proof_11.pdf', 'uploaded_file_extracted_images': ['UK_DL_ID_Proof_11.pdf_page_0.png'], 'document_category': 'identity_verification_document', 'document_type': 'driving_license', 'surname': 'MORGAN', 'first_name': 'SARAH MEREDYTH', 'date_of_birth': '1976-03-11', 'place_of_birth': 'UNITED KINGDOM', 'date_of_issue': '2021-01-01', 'date_of_expiry': '2030-12-31', 'issuing_authority': 'DVLA', 'driver_number': 'MORGA753116SM9IJ', 'signature': 'A. Sample', 'address': {'line_1': '122 BURNS CRESCENT', 'city': 'EDINBURGH', 'postcode': 'EH1 9GP'}, 'entitlements': ['AM', 'A', 'B1', 'B', 'BE', 'f', 'k', 'l', 'n', 'p', 'q']}}], 'bank_statement': [{'bank_statement': {'uploaded_file_path': 'HSBC_Statement_11.pdf', 'uploaded_file_extracted_images': ['HSBC_Statement_11.pdf_page_0.png'], 'document_category': 'bank_statement', 'document_type': 'bank_statement', 'account_holder_name': 'Morgan Sarah Meregyth', 'account_holder_address': '8 Canada Square, London, E14 5HQ', 'bank_name': 'HSBC Bank', 'account_number': '40001234', 'sort_code': '40-25-55', 'statement_start_date': '2025-01-01', 'statement_end_date': '2025-03-31', 'salary_credits': [{'date': '10 Jan', 'amount': '1362.61', 'from': 'Winsford Farmers Boy', 'description': 'Salary - Winsford Farmers Boy'}, {'date': '10 Feb', 'amount': '1362.61', 'from': 'Winsford Farmers Boy', 'description': 'Salary - Winsford Farmers Boy'}, {'date': '10 Mar', 'amount': '1362.61', 'from': 'Winsford Farmers Boy', 'description': 'Salary - Winsford Farmers Boy'}]}}], 'income_document': [{'contract_of_employment': {'uploaded_file_path': 'Contract_of_Employment_11.pdf', 'uploaded_file_extracted_images': ['Contract_of_Employment_11.pdf_page_0.png'], 'document_category': 'income_document', 'document_type': 'contract_of_employment', 'Contract of Employment': {'Employee Name': 'Morgan Sarah Meregyth', 'Employee Address': '122 BURNS CRESCENT EDINBURGH EH1 9GP', 'Employer': 'Morrisons', 'Employer Address': 'Winsford CW7 3BB, United Kingdom', '1. Commencement of Employment': "The employee's employment shall commence on 16th December 2023. Continuous employment will begin from this date.", '2. Job Title': 'You are employed as a Production Associate in Morrisons.', '3. Type of Employment': 'This is a permanent, full-time employment contract. There is no fixed end date.', '4. Place of Work': 'Your primary place of work shall be at:\nWinsford - Farmers Boy, Production Facility\nFurther location assignments may be made within reasonable commuting distance with appropriate notice.', '5. Hours of Work': 'Your standard working hours are 37.5 hours per week, subject to scheduling needs. You may be required to work additional hours where necessary for the proper performance of your duties.', '6. Salary': 'You shall be paid at the rate of £12.05 per hour. Wages will be paid monthly in arrears on or around the 10th of each month, directly into your designated bank account.\nYour salary includes holiday pay, and your taxable earnings are subject to Income Tax and National Insurance deductions as required by law.', '7. Holidays': 'You are entitled to 28 days of paid annual leave (inclusive of public holidays), calculated on a pro-rata basis if applicable.', '8. Sick Pay': 'You are entitled to Statutory Sick Pay (SSP) in accordance with government regulations.'}}}, {'contract_of_employment': {'uploaded_file_path': 'Contract_of_Employment_11.pdf', 'uploaded_file_extracted_images': ['Contract_of_Employment_11.pdf_page_1.png'], 'document_category': 'income_document', 'document_type': 'contract_of_employment', 'document_sections': [{'section_title': 'Pension', 'section_number': '9', 'content': 'You will be automatically enrolled into the company pension scheme as per applicable legislation. You may opt out in accordance with the rules of the pension scheme.'}, {'section_title': 'Notice Period', 'section_number': '10', 'content': "Following the probationary period, either party may terminate this contract by giving 1 month's written notice."}, {'section_title': 'Confidentiality', 'section_number': '11', 'content': 'During and after your employment, you shall not disclose any confidential information relating to the employer or its operations.'}, {'section_title': 'Governing Law', 'section_number': '12', 'content': 'This contract is governed by the laws of England and Wales.'}, {'section_title': 'Employer Signature', 'content': 'Signed for and on behalf of the Employer:\nName:\nTitle:\nSignature:\nDate:'}, {'section_title': 'Employee Signature', 'content': 'Signed by the Employee:\nName: Morgan Sarah Meregyth\nSignature:\nDate:'}]}}, {'p60': {'uploaded_file_path': 'P60_11.pdf', 'uploaded_file_extracted_images': ['P60_11.pdf_page_0.png'], 'document_category': 'income_document', 'document_type': 'p60', 'employee_details': {'surname': 'Meregyth', 'forenames_or_initials': 'Morgan Sarah', 'national_insurance_number': 'HN377910C', 'works_payroll_number': '100410638'}, 'pay_and_income_tax_details': {'previous_employments': {'pay': 0.0, 'tax_deducted': 0.0}, 'current_employment': {'pay': 4363.17, 'tax_deducted': 872.2}, 'total_for_year': {'pay': 4363.17, 'tax_deducted': 872.2}, 'final_tax_code': 'OT'}, 'national_insurance_contributions': [{'nic_letter': 'M', 'earnings': {'at_or_above_lel': 0.0, 'above_lel_up_to_pt': 0.0, 'above_pt_up_to_uel': 0.0}, 'employee_contributions_above_pt': 120.91}], 'statutory_payments': {'maternity_pay': None, 'paternity_pay': None, 'adoption_pay': None, 'shared_parental_pay': None}, 'other_details': {'student_loan_deductions': None}, 'employer_details': {'employer_name_and_address': 'Winsford - Farmers Boy\nProduction Department', 'paye_reference': '072/M2A'}}}, {'payslip': {'uploaded_file_path': 'Salary_slip_11.pdf', 'uploaded_file_extracted_images': ['Salary_slip_11.pdf_page_0.png'], 'document_category': 'income_document', 'document_type': 'payslip', 'employee_name': 'Morgan Meregyth', 'employer_name': 'Morrisons', 'employee_id': '100410638', 'employee_address': None, 'employer_address': 'Winsford - Farmers Boy', 'tax_code': '0T', 'payslip_date': '2025-01-10', 'pay_period_start': '2024-12-09', 'pay_period_end': '2025-01-05', 'payment_frequency': 'weekly', 'basic_pay': '1375.65', 'net_pay': '1362.61', 'gross_pay': '1784.84', 'salary_components': [{'name': 'Holiday', 'amount': '273.63'}, {'name': 'Additional Basic', 'amount': '135.56'}], 'ni_contribution': '65.43', 'tax_deduction': '356.80', 'other_deductions': []}}]} +2025-04-20 16:25:33 - utils.json_utils - INFO - [json_utils.py:92] - df: document_category Uploaded document_types +1 bank_statement True bank_statement +2 income_document True contract_of_employment, p60, payslip +3 identity_verification_document True driving_license +2025-04-20 16:29:01 - utils.process_files - INFO - [process_files.py:37] - file_path: /tmp/tmp_x0xhcw6/Doc_set_3.zip, uploaded_file.type : application/zip +2025-04-20 16:29:01 - utils.process_files - INFO - [process_files.py:68] - application_form: 0 1 +0 full_name Andrea Joan Campbell +1 bank_name Barclays Bank PLC +2 employer_name UK Legal Entity +3 complete_address 123, CASTLEROCK ROAD, COLERAINE, LONDONDERRY,B... +2025-04-20 16:29:03 - utils.tabs.document_validation_tab - INFO - [document_validation_tab.py:52] - full_data : None +2025-04-20 16:29:08 - llm.document_analyzer - INFO - [document_analyzer.py:28] - file_name : /tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Pay_Slip_22.pdf_page_0.png +2025-04-20 16:29:08 - llm.document_analyzer - INFO - [document_analyzer.py:34] - Starting analysis for /tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Pay_Slip_22.pdf_page_0.png +2025-04-20 16:29:12 - llm.document_analyzer - INFO - [document_analyzer.py:53] - File name: /tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Pay_Slip_22.pdf_page_0.png, Results: {'document_category': 'income_document', 'document_type': 'payslip'} +2025-04-20 16:29:17 - llm.llm - INFO - [llm.py:40] - Json is being formatted +2025-04-20 16:29:17 - llm.document_analyzer - INFO - [document_analyzer.py:82] - /tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Pay_Slip_22.pdf_page_0.png: {'employee_name': 'CAMPBELL ANDREA', 'employer_name': 'UK Legal Entity', 'employee_id': '300000055080542', 'employee_address': '123 CASTLEROCK ROAD\nCOLERAINE LONDONDERRY\nBT51 3TB\nUK', 'employer_address': '196 Bishopsgate\nLondon\nLondon\nEC2M 4NR\nUnited Kingdom', 'tax_code': '504L', 'payslip_date': '2024-03-31', 'pay_period_start': '2024-03-01', 'pay_period_end': '2024-03-31', 'payment_frequency': 'monthly', 'basic_pay': '4,270.52', 'net_pay': None, 'gross_pay': None, 'salary_components': [{'name': 'Basic Salary UK', 'amount': '4,270.52'}], 'ni_contribution': None, 'tax_deduction': None, 'other_deductions': []} +2025-04-20 16:29:17 - llm.document_analyzer - INFO - [document_analyzer.py:28] - file_name : /tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Pay_Slip_22.pdf_page_1.png +2025-04-20 16:29:17 - llm.document_analyzer - INFO - [document_analyzer.py:34] - Starting analysis for /tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Pay_Slip_22.pdf_page_1.png +2025-04-20 16:29:21 - llm.document_analyzer - INFO - [document_analyzer.py:53] - File name: /tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Pay_Slip_22.pdf_page_1.png, Results: {'document_category': 'income_document', 'document_type': 'payslip'} +2025-04-20 16:29:27 - llm.llm - INFO - [llm.py:40] - Json is being formatted +2025-04-20 16:29:27 - llm.document_analyzer - INFO - [document_analyzer.py:82] - /tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Pay_Slip_22.pdf_page_1.png: {'employee_name': None, 'employer_name': 'ORACLE', 'employee_id': None, 'employee_address': None, 'employer_address': None, 'tax_code': None, 'payslip_date': '2024-03-31', 'pay_period_start': None, 'pay_period_end': None, 'payment_frequency': None, 'basic_pay': None, 'net_pay': '2817.53', 'gross_pay': '4270.52', 'salary_components': [{'name': 'PAYE', 'amount': '864.20'}], 'ni_contribution': '415.83', 'tax_deduction': None, 'other_deductions': [{'name': 'UK Ben Life Assurance EE', 'amount': '51.67'}, {'name': 'UK Dental EE', 'amount': '47.50'}, {'name': 'UK Vision EE', 'amount': '27.55'}, {'name': 'UK Ben Health Screening', 'amount': '36.24'}, {'name': 'UK Club Membership', 'amount': '10.00'}]} +2025-04-20 16:29:27 - llm.document_analyzer - INFO - [document_analyzer.py:28] - file_name : /tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Pay_Slip_22.pdf_page_2.png +2025-04-20 16:29:27 - llm.document_analyzer - INFO - [document_analyzer.py:34] - Starting analysis for /tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Pay_Slip_22.pdf_page_2.png +2025-04-20 16:29:30 - llm.llm - INFO - [llm.py:40] - Json is being formatted +2025-04-20 16:29:30 - llm.document_analyzer - INFO - [document_analyzer.py:53] - File name: /tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Pay_Slip_22.pdf_page_2.png, Results: {'document_category': 'income_document', 'document_type': 'payslip'} +2025-04-20 16:29:35 - llm.llm - INFO - [llm.py:40] - Json is being formatted +2025-04-20 16:29:35 - llm.document_analyzer - INFO - [document_analyzer.py:82] - /tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Pay_Slip_22.pdf_page_2.png: {'employee_name': None, 'employer_name': 'ORACLE', 'employee_id': None, 'employee_address': None, 'employer_address': None, 'tax_code': None, 'payslip_date': '2024-03-31', 'pay_period_start': None, 'pay_period_end': None, 'payment_frequency': None, 'basic_pay': None, 'net_pay': None, 'gross_pay': '4270.52', 'salary_components': [{'name': 'Gross Earnings', 'amount': '4270.52'}], 'ni_contribution': '4143.80', 'tax_deduction': '864.20', 'other_deductions': []} +2025-04-20 16:29:35 - llm.document_analyzer - INFO - [document_analyzer.py:28] - file_name : /tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/driving_license_22.pdf_page_0.png +2025-04-20 16:29:35 - llm.document_analyzer - INFO - [document_analyzer.py:34] - Starting analysis for /tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/driving_license_22.pdf_page_0.png +2025-04-20 16:29:40 - llm.llm - INFO - [llm.py:40] - Json is being formatted +2025-04-20 16:29:40 - llm.document_analyzer - INFO - [document_analyzer.py:53] - File name: /tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/driving_license_22.pdf_page_0.png, Results: {'document_category': 'identity_verification_document', 'document_type': 'driving_license'} +2025-04-20 16:29:45 - llm.llm - INFO - [llm.py:40] - Json is being formatted +2025-04-20 16:29:45 - llm.document_analyzer - INFO - [document_analyzer.py:82] - /tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/driving_license_22.pdf_page_0.png: {'surname': 'CAMPBELL', 'first_name': 'ANDREA JOAN', 'date_of_birth': '1964-07-05', 'place_of_birth': 'BELFAST', 'date_of_issue': '2021-12-01', 'date_of_expiry': '2031-11-30', 'issuing_authority': 'DVA', 'driver_number': '99999999', 'signature': 'Jones', 'address': {'line_1': '123 CASTLEROCK ROAD, COLERAINE', 'city': 'LONDONDERRY', 'postcode': 'BT51 3TB'}, 'entitlements': ['AM', 'A', 'B1', 'B', 'f', 'k', 'p', 'q']} +2025-04-20 16:29:45 - llm.document_analyzer - INFO - [document_analyzer.py:28] - file_name : /tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/P60_22.pdf_page_0.png +2025-04-20 16:29:45 - llm.document_analyzer - INFO - [document_analyzer.py:34] - Starting analysis for /tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/P60_22.pdf_page_0.png +2025-04-20 16:29:50 - llm.llm - INFO - [llm.py:40] - Json is being formatted +2025-04-20 16:29:50 - llm.document_analyzer - INFO - [document_analyzer.py:53] - File name: /tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/P60_22.pdf_page_0.png, Results: {'document_category': 'income_document', 'document_type': 'p60'} +2025-04-20 16:29:57 - llm.llm - INFO - [llm.py:40] - Json is being formatted +2025-04-20 16:29:57 - llm.document_analyzer - INFO - [document_analyzer.py:82] - /tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/P60_22.pdf_page_0.png: {'employee_details': {'surname': 'Andrea Joan', 'forenames_or_initials': 'Campbell', 'national_insurance_number': 'WA765843B', 'works_payroll_number': '353'}, 'pay_and_income_tax_details': {'previous_employments': {'pay': None, 'tax_deducted': None}, 'current_employment': {'pay': 29934.41, 'tax_deducted': 6059.4}, 'total_for_year': {'pay': 29934.41, 'tax_deducted': 6059.4}, 'final_tax_code': '504L'}, 'national_insurance_contributions': [{'nic_letter': 'A', 'earnings': {'at_or_above_lel': 0.0, 'above_lel_up_to_pt': 0.0, 'above_pt_up_to_uel': 0.0}, 'employee_contributions_above_pt': 2931.94}], 'statutory_payments': {'maternity_pay': None, 'paternity_pay': None, 'adoption_pay': None, 'shared_parental_pay': None}, 'other_details': {'student_loan_deductions': None}, 'employer_details': {'employer_name_and_address': 'UK Legal Entity\n196 Bishopsgate, London,\nEC2M 4NR, United Kingdom', 'paye_reference': '123/0987'}} +2025-04-20 16:29:57 - llm.document_analyzer - INFO - [document_analyzer.py:28] - file_name : /tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Contract_of_Employment_22.pdf_page_0.png +2025-04-20 16:29:57 - llm.document_analyzer - INFO - [document_analyzer.py:34] - Starting analysis for /tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Contract_of_Employment_22.pdf_page_0.png +2025-04-20 16:30:01 - llm.llm - INFO - [llm.py:40] - Json is being formatted +2025-04-20 16:30:01 - llm.document_analyzer - INFO - [document_analyzer.py:53] - File name: /tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Contract_of_Employment_22.pdf_page_0.png, Results: {'document_category': 'income_document', 'document_type': 'contract_of_employment'} +2025-04-20 16:30:07 - llm.llm - INFO - [llm.py:40] - Json is being formatted +2025-04-20 16:30:07 - llm.document_analyzer - INFO - [document_analyzer.py:82] - /tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Contract_of_Employment_22.pdf_page_0.png: {'Contract': {'title': 'Contract of Employment'}, 'Parties': {'Employer': {'name': 'UK Legal Entity', 'address': '196 Bishopsgate, London, EC2M 4NR, United Kingdom', 'PAYE Reference': '123/0987'}, 'Employee': {'name': 'Campbell Andrea Joan', 'address': '123 Castlerock Road, Coleraine, Londonderry, UK, BT51 3TB', 'NI Number': 'WA765843B', 'Payroll Number': '353'}}, 'Terms': {'Commencement of Employment': {'start_date': '1st January 2024'}, 'Job Title': {'description': 'permanent full-time employee under UK Legal Entity'}, 'Type of Employment': {'description': 'permanent, full-time employment contract with no fixed end date'}, 'Place of Work': {'primary_location': 'UK Legal Entity, 196 Bishopsgate, London, EC2M 4NR'}, 'Hours of Work': {'description': 'standard working hours based on a monthly schedule'}, 'Salary': {'gross_salary_per_month': '£4,270.52', 'payment_method': 'BACS', 'total_taxable_pay_for_year': '£29,934.41'}, 'Deductions': {'PAYE_YTD': '£6,059.40', 'NI_contributions_YTD': '£2,931.94', 'other_benefits': ['dental', 'life', 'vision coverage']}}} +2025-04-20 16:30:07 - llm.document_analyzer - INFO - [document_analyzer.py:28] - file_name : /tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Contract_of_Employment_22.pdf_page_1.png +2025-04-20 16:30:07 - llm.document_analyzer - INFO - [document_analyzer.py:34] - Starting analysis for /tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Contract_of_Employment_22.pdf_page_1.png +2025-04-20 16:30:11 - llm.llm - INFO - [llm.py:40] - Json is being formatted +2025-04-20 16:30:11 - llm.document_analyzer - INFO - [document_analyzer.py:53] - File name: /tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Contract_of_Employment_22.pdf_page_1.png, Results: {'document_category': 'income_document', 'document_type': 'contract_of_employment'} +2025-04-20 16:30:17 - llm.llm - INFO - [llm.py:40] - Json is being formatted +2025-04-20 16:30:17 - llm.document_analyzer - INFO - [document_analyzer.py:82] - /tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Contract_of_Employment_22.pdf_page_1.png: {'sections': [{'section_number': '8', 'title': 'Holidays', 'content': 'You are entitled to 28 days of paid annual leave (inclusive of public holidays), calculated on a pro-rata basis if applicable.'}, {'section_number': '9', 'title': 'Sick Pay', 'content': 'You are entitled to Statutory Sick Pay (SSP) in accordance with UK regulations. To date, SSP paid is £37.26.'}, {'section_number': '10', 'title': 'Pension', 'content': "You will be automatically enrolled in the company's pension scheme under applicable laws."}, {'section_number': '11', 'title': 'Notice Period', 'content': "Following the probationary period, either party may terminate this agreement with one month's written notice."}, {'section_number': '12', 'title': 'Confidentiality', 'content': 'During and after your employment, you must not disclose any confidential information related to your work or the company.'}, {'section_number': '13', 'title': 'Governing Law', 'content': 'This agreement is governed by and shall be construed in accordance with the laws of England and Wales.'}, {'title': 'Employer Signature', 'fields': {'Name': '', 'Title': '', 'Signature': '', 'Date': ''}}, {'title': 'Employee Signature', 'fields': {'Name': 'Campbell Andrea Joan', 'Signature': '', 'Date': ''}}]} +2025-04-20 16:30:17 - llm.document_analyzer - INFO - [document_analyzer.py:28] - file_name : /tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Barclays_Bank_Statement_22.pdf_page_0.png +2025-04-20 16:30:17 - llm.document_analyzer - INFO - [document_analyzer.py:34] - Starting analysis for /tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Barclays_Bank_Statement_22.pdf_page_0.png +2025-04-20 16:30:22 - llm.llm - INFO - [llm.py:40] - Json is being formatted +2025-04-20 16:30:22 - llm.document_analyzer - INFO - [document_analyzer.py:53] - File name: /tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Barclays_Bank_Statement_22.pdf_page_0.png, Results: {'document_category': 'bank_statement', 'document_type': 'bank_statement'} +2025-04-20 16:30:27 - llm.llm - INFO - [llm.py:40] - Json is being formatted +2025-04-20 16:30:27 - llm.document_analyzer - INFO - [document_analyzer.py:82] - /tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Barclays_Bank_Statement_22.pdf_page_0.png: {'account_holder_name': 'Campbell Andrea Joan', 'account_holder_address': '1 Churchill Place, London, E14 5HP', 'bank_name': 'Barclays Bank PLC', 'account_number': '10293847', 'sort_code': '20-19-97', 'statement_start_date': '2024-01-01', 'statement_end_date': '2024-03-31', 'salary_credits': [{'date': '2024-01-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}, {'date': '2024-02-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}, {'date': '2024-03-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}]} +2025-04-20 16:30:27 - utils.document_display.document_display - INFO - [document_display.py:154] - analysis_results_for_id : {'pay_period_end': '2024-03-31', 'tax_deduction': '864.20', 'other_deductions': [[[], [{'name': 'UK Ben Life Assurance EE', 'amount': '51.67'}, {'name': 'UK Dental EE', 'amount': '47.50'}, {'name': 'UK Vision EE', 'amount': '27.55'}, {'name': 'UK Ben Health Screening', 'amount': '36.24'}, {'name': 'UK Club Membership', 'amount': '10.00'}]], []], 'salary_components': [[[{'name': 'Basic Salary UK', 'amount': '4,270.52'}], [{'name': 'PAYE', 'amount': '864.20'}]], [{'name': 'Gross Earnings', 'amount': '4270.52'}]], 'employee_id': '300000055080542', 'employer_address': '196 Bishopsgate\nLondon\nLondon\nEC2M 4NR\nUnited Kingdom', 'payslip_date': '2024-03-31', 'net_pay': '2817.53', 'document_category': 'income_document', 'document_type': 'payslip', 'gross_pay': '4270.52', 'payment_frequency': 'monthly', 'employee_name': 'CAMPBELL ANDREA', 'ni_contribution': ['415.83', '4143.80'], 'employee_address': '123 CASTLEROCK ROAD\nCOLERAINE LONDONDERRY\nBT51 3TB\nUK', 'basic_pay': '4,270.52', 'pay_period_start': '2024-03-01', 'employer_name': [['UK Legal Entity', 'ORACLE'], 'ORACLE'], 'tax_code': '504L'} +2025-04-20 16:30:27 - utils.document_display.document_display - INFO - [document_display.py:171] - document_type for /tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Pay_Slip_22.pdf: payslip +2025-04-20 16:30:27 - utils.document_display.payslip - INFO - [payslip.py:58] - file_path while displaying: ['/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Pay_Slip_22.pdf_page_0.png', '/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Pay_Slip_22.pdf_page_1.png', '/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Pay_Slip_22.pdf_page_2.png'] +2025-04-20 16:30:27 - utils.document_display.payslip - INFO - [payslip.py:71] - analysis_results_pruned : {'document_category': 'income_document', 'document_type': 'payslip', 'employee_name': 'CAMPBELL ANDREA', 'employer_name': [['UK Legal Entity', 'ORACLE'], 'ORACLE'], 'employee_id': '300000055080542', 'employee_address': '123 CASTLEROCK ROAD\nCOLERAINE LONDONDERRY\nBT51 3TB\nUK', 'employer_address': '196 Bishopsgate\nLondon\nLondon\nEC2M 4NR\nUnited Kingdom', 'tax_code': '504L', 'payslip_date': '2024-03-31', 'pay_period_start': '2024-03-01', 'pay_period_end': '2024-03-31', 'payment_frequency': 'monthly', 'basic_pay': '4,270.52', 'net_pay': '2817.53', 'gross_pay': '4270.52', 'salary_components': [[[{'name': 'Basic Salary UK', 'amount': '4,270.52'}], [{'name': 'PAYE', 'amount': '864.20'}]], [{'name': 'Gross Earnings', 'amount': '4270.52'}]], 'ni_contribution': ['415.83', '4143.80'], 'tax_deduction': '864.20', 'other_deductions': [[[], [{'name': 'UK Ben Life Assurance EE', 'amount': '51.67'}, {'name': 'UK Dental EE', 'amount': '47.50'}, {'name': 'UK Vision EE', 'amount': '27.55'}, {'name': 'UK Ben Health Screening', 'amount': '36.24'}, {'name': 'UK Club Membership', 'amount': '10.00'}]], []]} +2025-04-20 16:30:27 - utils.document_display.payslip - INFO - [payslip.py:93] - other_deductions_dict : [[[], [{'name': 'UK Ben Life Assurance EE', 'amount': '51.67'}, {'name': 'UK Dental EE', 'amount': '47.50'}, {'name': 'UK Vision EE', 'amount': '27.55'}, {'name': 'UK Ben Health Screening', 'amount': '36.24'}, {'name': 'UK Club Membership', 'amount': '10.00'}]], []] +2025-04-20 16:30:27 - utils.document_display.document_display - INFO - [document_display.py:221] - Exception for processing analysis results of {'pay_period_end': '2024-03-31', 'tax_deduction': '864.20', 'other_deductions': [[[], [{'name': 'UK Ben Life Assurance EE', 'amount': '51.67'}, {'name': 'UK Dental EE', 'amount': '47.50'}, {'name': 'UK Vision EE', 'amount': '27.55'}, {'name': 'UK Ben Health Screening', 'amount': '36.24'}, {'name': 'UK Club Membership', 'amount': '10.00'}]], []], 'salary_components': [[[{'name': 'Basic Salary UK', 'amount': '4,270.52'}], [{'name': 'PAYE', 'amount': '864.20'}]], [{'name': 'Gross Earnings', 'amount': '4270.52'}]], 'employee_id': '300000055080542', 'employer_address': '196 Bishopsgate\nLondon\nLondon\nEC2M 4NR\nUnited Kingdom', 'payslip_date': '2024-03-31', 'net_pay': '2817.53', 'document_category': 'income_document', 'document_type': 'payslip', 'gross_pay': '4270.52', 'payment_frequency': 'monthly', 'employee_name': 'CAMPBELL ANDREA', 'ni_contribution': ['415.83', '4143.80'], 'employee_address': '123 CASTLEROCK ROAD\nCOLERAINE LONDONDERRY\nBT51 3TB\nUK', 'basic_pay': '4,270.52', 'pay_period_start': '2024-03-01', 'employer_name': [['UK Legal Entity', 'ORACLE'], 'ORACLE'], 'tax_code': '504L'}: 'list' object has no attribute 'values' +2025-04-20 16:30:27 - utils.document_display.others - INFO - [others.py:50] - file_path while displaying: ['/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Pay_Slip_22.pdf_page_0.png', '/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Pay_Slip_22.pdf_page_1.png', '/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Pay_Slip_22.pdf_page_2.png'] +2025-04-20 16:30:28 - utils.document_display.others - INFO - [others.py:63] - analysis_results_pruned: {'pay_period_end': '2024-03-31', 'tax_deduction': '864.20', 'other_deductions': [[[], [{'name': 'UK Ben Life Assurance EE', 'amount': '51.67'}, {'name': 'UK Dental EE', 'amount': '47.50'}, {'name': 'UK Vision EE', 'amount': '27.55'}, {'name': 'UK Ben Health Screening', 'amount': '36.24'}, {'name': 'UK Club Membership', 'amount': '10.00'}]], []], 'salary_components': [[[{'name': 'Basic Salary UK', 'amount': '4,270.52'}], [{'name': 'PAYE', 'amount': '864.20'}]], [{'name': 'Gross Earnings', 'amount': '4270.52'}]], 'employee_id': '300000055080542', 'employer_address': '196 Bishopsgate\nLondon\nLondon\nEC2M 4NR\nUnited Kingdom', 'payslip_date': '2024-03-31', 'net_pay': '2817.53', 'document_category': 'income_document', 'document_type': 'payslip', 'gross_pay': '4270.52', 'payment_frequency': 'monthly', 'employee_name': 'CAMPBELL ANDREA', 'ni_contribution': ['415.83', '4143.80'], 'employee_address': '123 CASTLEROCK ROAD\nCOLERAINE LONDONDERRY\nBT51 3TB\nUK', 'basic_pay': '4,270.52', 'pay_period_start': '2024-03-01', 'employer_name': [['UK Legal Entity', 'ORACLE'], 'ORACLE'], 'tax_code': '504L'} +2025-04-20 16:30:28 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 2024-03-31 +Name: Value, dtype: object +2025-04-20 16:30:28 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 864.20 +Name: Value, dtype: object +2025-04-20 16:30:28 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 [[[], [{'name': 'UK Ben Life Assurance EE', 'a... +Name: Value, dtype: object +2025-04-20 16:30:28 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 [[[{'name': 'Basic Salary UK', 'amount': '4,27... +Name: Value, dtype: object +2025-04-20 16:30:28 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 300000055080542 +Name: Value, dtype: object +2025-04-20 16:30:28 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 196 Bishopsgate\nLondon\nLondon\nEC2M 4NR\nUni... +Name: Value, dtype: object +2025-04-20 16:30:28 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 2024-03-31 +Name: Value, dtype: object +2025-04-20 16:30:28 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 2817.53 +Name: Value, dtype: object +2025-04-20 16:30:28 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 income_document +Name: Value, dtype: object +2025-04-20 16:30:28 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 payslip +Name: Value, dtype: object +2025-04-20 16:30:28 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 4270.52 +Name: Value, dtype: object +2025-04-20 16:30:28 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 monthly +Name: Value, dtype: object +2025-04-20 16:30:28 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 CAMPBELL ANDREA +Name: Value, dtype: object +2025-04-20 16:30:28 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 [415.83, 4143.80] +Name: Value, dtype: object +2025-04-20 16:30:28 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 123 CASTLEROCK ROAD\nCOLERAINE LONDONDERRY\nBT... +Name: Value, dtype: object +2025-04-20 16:30:28 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 4,270.52 +Name: Value, dtype: object +2025-04-20 16:30:28 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 2024-03-01 +Name: Value, dtype: object +2025-04-20 16:30:28 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 [[UK Legal Entity, ORACLE], ORACLE] +Name: Value, dtype: object +2025-04-20 16:30:28 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 504L +Name: Value, dtype: object +2025-04-20 16:30:28 - utils.document_display.others - INFO - [others.py:111] - simple_df: Key Value +1 tax_code 504L +2025-04-20 16:30:28 - utils.document_display.document_display - INFO - [document_display.py:154] - analysis_results_for_id : {'document_category': 'identity_verification_document', 'document_type': 'driving_license', 'surname': 'CAMPBELL', 'first_name': 'ANDREA JOAN', 'date_of_birth': '1964-07-05', 'place_of_birth': 'BELFAST', 'date_of_issue': '2021-12-01', 'date_of_expiry': '2031-11-30', 'issuing_authority': 'DVA', 'driver_number': '99999999', 'signature': 'Jones', 'address': {'line_1': '123 CASTLEROCK ROAD, COLERAINE', 'city': 'LONDONDERRY', 'postcode': 'BT51 3TB'}, 'entitlements': ['AM', 'A', 'B1', 'B', 'f', 'k', 'p', 'q']} +2025-04-20 16:30:28 - utils.document_display.document_display - INFO - [document_display.py:171] - document_type for /tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/driving_license_22.pdf: driving_license +2025-04-20 16:30:28 - utils.document_display.driving_license - INFO - [driving_license.py:43] - file_path while displaying: ['/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/driving_license_22.pdf_page_0.png'] +2025-04-20 16:30:28 - utils.document_display.driving_license - INFO - [driving_license.py:56] - analysis_results_pruned : {'document_category': 'identity_verification_document', 'document_type': 'driving_license', 'surname': 'CAMPBELL', 'first_name': 'ANDREA JOAN', 'date_of_birth': '1964-07-05', 'place_of_birth': 'BELFAST', 'date_of_issue': '2021-12-01', 'date_of_expiry': '2031-11-30', 'issuing_authority': 'DVA', 'driver_number': '99999999', 'address': {'line_1': '123 CASTLEROCK ROAD, COLERAINE', 'city': 'LONDONDERRY', 'postcode': 'BT51 3TB'}, 'entitlements': ['AM', 'A', 'B1', 'B', 'f', 'k', 'p', 'q']} +2025-04-20 16:30:28 - utils.document_display.document_display - INFO - [document_display.py:154] - analysis_results_for_id : {'document_category': 'income_document', 'document_type': 'p60', 'employee_details': {'surname': 'Andrea Joan', 'forenames_or_initials': 'Campbell', 'national_insurance_number': 'WA765843B', 'works_payroll_number': '353'}, 'pay_and_income_tax_details': {'previous_employments': {'pay': None, 'tax_deducted': None}, 'current_employment': {'pay': 29934.41, 'tax_deducted': 6059.4}, 'total_for_year': {'pay': 29934.41, 'tax_deducted': 6059.4}, 'final_tax_code': '504L'}, 'national_insurance_contributions': [{'nic_letter': 'A', 'earnings': {'at_or_above_lel': 0.0, 'above_lel_up_to_pt': 0.0, 'above_pt_up_to_uel': 0.0}, 'employee_contributions_above_pt': 2931.94}], 'statutory_payments': {'maternity_pay': None, 'paternity_pay': None, 'adoption_pay': None, 'shared_parental_pay': None}, 'other_details': {'student_loan_deductions': None}, 'employer_details': {'employer_name_and_address': 'UK Legal Entity\n196 Bishopsgate, London,\nEC2M 4NR, United Kingdom', 'paye_reference': '123/0987'}} +2025-04-20 16:30:28 - utils.document_display.document_display - INFO - [document_display.py:171] - document_type for /tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/P60_22.pdf: p60 +2025-04-20 16:30:28 - utils.document_display.p60 - INFO - [p60.py:58] - file_path while displaying: ['/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/P60_22.pdf_page_0.png'] +2025-04-20 16:30:28 - utils.document_display.p60 - INFO - [p60.py:71] - analysis_results_pruned : {'document_category': 'income_document', 'document_type': 'p60', 'surname': 'Andrea Joan', 'forenames_or_initials': 'Campbell', 'national_insurance_number': 'WA765843B', 'works_payroll_number': '353', 'previous_employments': {'pay': None, 'tax_deducted': None}, 'current_employment': {'pay': 29934.41, 'tax_deducted': 6059.4}, 'total_for_year': {'pay': 29934.41, 'tax_deducted': 6059.4}, 'final_tax_code': '504L', 'national_insurance_contributions': [{'nic_letter': 'A', 'earnings': {'at_or_above_lel': 0.0, 'above_lel_up_to_pt': 0.0, 'above_pt_up_to_uel': 0.0}, 'employee_contributions_above_pt': 2931.94}], 'employer_name_and_address': 'UK Legal Entity\n196 Bishopsgate, London,\nEC2M 4NR, United Kingdom', 'paye_reference': '123/0987'} +2025-04-20 16:30:28 - utils.document_display.p60 - INFO - [p60.py:103] - simple_df: Key Value +1 document_category income_document +2 document_type p60 +3 surname Andrea Joan +4 forenames_or_initials Campbell +5 national_insurance_number WA765843B +6 works_payroll_number 353 +7 previous_employments {'pay': None, 'tax_deducted': None} +8 current_employment {'pay': 29934.41, 'tax_deducted': 6059.4} +9 total_for_year {'pay': 29934.41, 'tax_deducted': 6059.4} +10 final_tax_code 504L +11 national_insurance_contributions [{'nic_letter': 'A', 'earnings': {'at_or_above... +12 employer_name_and_address UK Legal Entity\n196 Bishopsgate, London,\nEC2... +13 paye_reference 123/0987 +2025-04-20 16:30:28 - utils.document_display.document_display - INFO - [document_display.py:154] - analysis_results_for_id : {'Terms': {'Commencement of Employment': {'start_date': '1st January 2024'}, 'Job Title': {'description': 'permanent full-time employee under UK Legal Entity'}, 'Type of Employment': {'description': 'permanent, full-time employment contract with no fixed end date'}, 'Place of Work': {'primary_location': 'UK Legal Entity, 196 Bishopsgate, London, EC2M 4NR'}, 'Hours of Work': {'description': 'standard working hours based on a monthly schedule'}, 'Salary': {'gross_salary_per_month': '£4,270.52', 'payment_method': 'BACS', 'total_taxable_pay_for_year': '£29,934.41'}, 'Deductions': {'PAYE_YTD': '£6,059.40', 'NI_contributions_YTD': '£2,931.94', 'other_benefits': ['dental', 'life', 'vision coverage']}}, 'Contract': {'title': 'Contract of Employment'}, 'Parties': {'Employer': {'name': 'UK Legal Entity', 'address': '196 Bishopsgate, London, EC2M 4NR, United Kingdom', 'PAYE Reference': '123/0987'}, 'Employee': {'name': 'Campbell Andrea Joan', 'address': '123 Castlerock Road, Coleraine, Londonderry, UK, BT51 3TB', 'NI Number': 'WA765843B', 'Payroll Number': '353'}}, 'sections': [{'section_number': '8', 'title': 'Holidays', 'content': 'You are entitled to 28 days of paid annual leave (inclusive of public holidays), calculated on a pro-rata basis if applicable.'}, {'section_number': '9', 'title': 'Sick Pay', 'content': 'You are entitled to Statutory Sick Pay (SSP) in accordance with UK regulations. To date, SSP paid is £37.26.'}, {'section_number': '10', 'title': 'Pension', 'content': "You will be automatically enrolled in the company's pension scheme under applicable laws."}, {'section_number': '11', 'title': 'Notice Period', 'content': "Following the probationary period, either party may terminate this agreement with one month's written notice."}, {'section_number': '12', 'title': 'Confidentiality', 'content': 'During and after your employment, you must not disclose any confidential information related to your work or the company.'}, {'section_number': '13', 'title': 'Governing Law', 'content': 'This agreement is governed by and shall be construed in accordance with the laws of England and Wales.'}, {'title': 'Employer Signature', 'fields': {'Name': '', 'Title': '', 'Signature': '', 'Date': ''}}, {'title': 'Employee Signature', 'fields': {'Name': 'Campbell Andrea Joan', 'Signature': '', 'Date': ''}}], 'document_category': 'income_document', 'document_type': 'contract_of_employment'} +2025-04-20 16:30:28 - utils.document_display.document_display - INFO - [document_display.py:171] - document_type for /tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Contract_of_Employment_22.pdf: contract_of_employment +2025-04-20 16:30:28 - utils.document_display.others - INFO - [others.py:50] - file_path while displaying: ['/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Contract_of_Employment_22.pdf_page_0.png', '/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Contract_of_Employment_22.pdf_page_1.png'] +2025-04-20 16:30:28 - utils.document_display.others - INFO - [others.py:63] - analysis_results_pruned: {'Terms': {'Commencement of Employment': {'start_date': '1st January 2024'}, 'Job Title': {'description': 'permanent full-time employee under UK Legal Entity'}, 'Type of Employment': {'description': 'permanent, full-time employment contract with no fixed end date'}, 'Place of Work': {'primary_location': 'UK Legal Entity, 196 Bishopsgate, London, EC2M 4NR'}, 'Hours of Work': {'description': 'standard working hours based on a monthly schedule'}, 'Salary': {'gross_salary_per_month': '£4,270.52', 'payment_method': 'BACS', 'total_taxable_pay_for_year': '£29,934.41'}, 'Deductions': {'PAYE_YTD': '£6,059.40', 'NI_contributions_YTD': '£2,931.94', 'other_benefits': ['dental', 'life', 'vision coverage']}}, 'Contract': {'title': 'Contract of Employment'}, 'Parties': {'Employer': {'name': 'UK Legal Entity', 'address': '196 Bishopsgate, London, EC2M 4NR, United Kingdom', 'PAYE Reference': '123/0987'}, 'Employee': {'name': 'Campbell Andrea Joan', 'address': '123 Castlerock Road, Coleraine, Londonderry, UK, BT51 3TB', 'NI Number': 'WA765843B', 'Payroll Number': '353'}}, 'sections': [{'section_number': '8', 'title': 'Holidays', 'content': 'You are entitled to 28 days of paid annual leave (inclusive of public holidays), calculated on a pro-rata basis if applicable.'}, {'section_number': '9', 'title': 'Sick Pay', 'content': 'You are entitled to Statutory Sick Pay (SSP) in accordance with UK regulations. To date, SSP paid is £37.26.'}, {'section_number': '10', 'title': 'Pension', 'content': "You will be automatically enrolled in the company's pension scheme under applicable laws."}, {'section_number': '11', 'title': 'Notice Period', 'content': "Following the probationary period, either party may terminate this agreement with one month's written notice."}, {'section_number': '12', 'title': 'Confidentiality', 'content': 'During and after your employment, you must not disclose any confidential information related to your work or the company.'}, {'section_number': '13', 'title': 'Governing Law', 'content': 'This agreement is governed by and shall be construed in accordance with the laws of England and Wales.'}, {'title': 'Employer Signature', 'fields': {'Name': '', 'Title': '', 'Signature': '', 'Date': ''}}, {'title': 'Employee Signature', 'fields': {'Name': 'Campbell Andrea Joan', 'Signature': '', 'Date': ''}}], 'document_category': 'income_document', 'document_type': 'contract_of_employment'} +2025-04-20 16:30:28 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 [{'section_number': '8', 'title': 'Holidays', ... +Name: Value, dtype: object +2025-04-20 16:30:28 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 income_document +Name: Value, dtype: object +2025-04-20 16:30:28 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 contract_of_employment +Name: Value, dtype: object +2025-04-20 16:30:28 - utils.document_display.others - INFO - [others.py:111] - simple_df: Key Value +1 document_type contract_of_employment +2025-04-20 16:30:28 - utils.document_display.document_display - INFO - [document_display.py:154] - analysis_results_for_id : {'document_category': 'bank_statement', 'document_type': 'bank_statement', 'account_holder_name': 'Campbell Andrea Joan', 'account_holder_address': '1 Churchill Place, London, E14 5HP', 'bank_name': 'Barclays Bank PLC', 'account_number': '10293847', 'sort_code': '20-19-97', 'statement_start_date': '2024-01-01', 'statement_end_date': '2024-03-31', 'salary_credits': [{'date': '2024-01-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}, {'date': '2024-02-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}, {'date': '2024-03-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}]} +2025-04-20 16:30:28 - utils.document_display.document_display - INFO - [document_display.py:171] - document_type for /tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Barclays_Bank_Statement_22.pdf: bank_statement +2025-04-20 16:30:28 - utils.document_display.bank_statement - INFO - [bank_statement.py:40] - file_path while displaying: ['/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Barclays_Bank_Statement_22.pdf_page_0.png'] +2025-04-20 16:30:28 - utils.document_display.bank_statement - INFO - [bank_statement.py:53] - analysis_results_pruned : {'document_category': 'bank_statement', 'document_type': 'bank_statement', 'account_holder_name': 'Campbell Andrea Joan', 'account_holder_address': '1 Churchill Place, London, E14 5HP', 'bank_name': 'Barclays Bank PLC', 'account_number': '10293847', 'sort_code': '20-19-97', 'statement_start_date': '2024-01-01', 'statement_end_date': '2024-03-31', 'salary_credits': [{'date': '2024-01-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}, {'date': '2024-02-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}, {'date': '2024-03-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}]} +2025-04-20 16:30:28 - utils.document_display.bank_statement - INFO - [bank_statement.py:75] - salary_dict : [{'date': '2024-01-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}, {'date': '2024-02-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}, {'date': '2024-03-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}] +2025-04-20 16:30:28 - utils.document_display.bank_statement - INFO - [bank_statement.py:85] - simple_df: Key Value +1 date 2024-03-10 +2 amount 2817.53 +3 from Missing +4 description Salary - UK Legal Entity +2025-04-20 16:30:28 - utils.tabs.document_validation_tab - INFO - [document_validation_tab.py:52] - full_data : {'/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Pay_Slip_22.pdf': {'/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Pay_Slip_22.pdf_page_0.png': {'document_category': 'income_document', 'document_type': 'payslip', 'employee_name': 'CAMPBELL ANDREA', 'employer_name': 'UK Legal Entity', 'employee_id': '300000055080542', 'employee_address': '123 CASTLEROCK ROAD\nCOLERAINE LONDONDERRY\nBT51 3TB\nUK', 'employer_address': '196 Bishopsgate\nLondon\nLondon\nEC2M 4NR\nUnited Kingdom', 'tax_code': '504L', 'payslip_date': '2024-03-31', 'pay_period_start': '2024-03-01', 'pay_period_end': '2024-03-31', 'payment_frequency': 'monthly', 'basic_pay': '4,270.52', 'net_pay': None, 'gross_pay': None, 'salary_components': [{'name': 'Basic Salary UK', 'amount': '4,270.52'}], 'ni_contribution': None, 'tax_deduction': None, 'other_deductions': []}, '/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Pay_Slip_22.pdf_page_1.png': {'document_category': 'income_document', 'document_type': 'payslip', 'employee_name': None, 'employer_name': 'ORACLE', 'employee_id': None, 'employee_address': None, 'employer_address': None, 'tax_code': None, 'payslip_date': '2024-03-31', 'pay_period_start': None, 'pay_period_end': None, 'payment_frequency': None, 'basic_pay': None, 'net_pay': '2817.53', 'gross_pay': '4270.52', 'salary_components': [{'name': 'PAYE', 'amount': '864.20'}], 'ni_contribution': '415.83', 'tax_deduction': None, 'other_deductions': [{'name': 'UK Ben Life Assurance EE', 'amount': '51.67'}, {'name': 'UK Dental EE', 'amount': '47.50'}, {'name': 'UK Vision EE', 'amount': '27.55'}, {'name': 'UK Ben Health Screening', 'amount': '36.24'}, {'name': 'UK Club Membership', 'amount': '10.00'}]}, '/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Pay_Slip_22.pdf_page_2.png': {'document_category': 'income_document', 'document_type': 'payslip', 'employee_name': None, 'employer_name': 'ORACLE', 'employee_id': None, 'employee_address': None, 'employer_address': None, 'tax_code': None, 'payslip_date': '2024-03-31', 'pay_period_start': None, 'pay_period_end': None, 'payment_frequency': None, 'basic_pay': None, 'net_pay': None, 'gross_pay': '4270.52', 'salary_components': [{'name': 'Gross Earnings', 'amount': '4270.52'}], 'ni_contribution': '4143.80', 'tax_deduction': '864.20', 'other_deductions': []}}, '/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/driving_license_22.pdf': {'/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/driving_license_22.pdf_page_0.png': {'document_category': 'identity_verification_document', 'document_type': 'driving_license', 'surname': 'CAMPBELL', 'first_name': 'ANDREA JOAN', 'date_of_birth': '1964-07-05', 'place_of_birth': 'BELFAST', 'date_of_issue': '2021-12-01', 'date_of_expiry': '2031-11-30', 'issuing_authority': 'DVA', 'driver_number': '99999999', 'signature': 'Jones', 'address': {'line_1': '123 CASTLEROCK ROAD, COLERAINE', 'city': 'LONDONDERRY', 'postcode': 'BT51 3TB'}, 'entitlements': ['AM', 'A', 'B1', 'B', 'f', 'k', 'p', 'q']}}, '/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/P60_22.pdf': {'/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/P60_22.pdf_page_0.png': {'document_category': 'income_document', 'document_type': 'p60', 'employee_details': {'surname': 'Andrea Joan', 'forenames_or_initials': 'Campbell', 'national_insurance_number': 'WA765843B', 'works_payroll_number': '353'}, 'pay_and_income_tax_details': {'previous_employments': {'pay': None, 'tax_deducted': None}, 'current_employment': {'pay': 29934.41, 'tax_deducted': 6059.4}, 'total_for_year': {'pay': 29934.41, 'tax_deducted': 6059.4}, 'final_tax_code': '504L'}, 'national_insurance_contributions': [{'nic_letter': 'A', 'earnings': {'at_or_above_lel': 0.0, 'above_lel_up_to_pt': 0.0, 'above_pt_up_to_uel': 0.0}, 'employee_contributions_above_pt': 2931.94}], 'statutory_payments': {'maternity_pay': None, 'paternity_pay': None, 'adoption_pay': None, 'shared_parental_pay': None}, 'other_details': {'student_loan_deductions': None}, 'employer_details': {'employer_name_and_address': 'UK Legal Entity\n196 Bishopsgate, London,\nEC2M 4NR, United Kingdom', 'paye_reference': '123/0987'}}}, '/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Contract_of_Employment_22.pdf': {'/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Contract_of_Employment_22.pdf_page_0.png': {'document_category': 'income_document', 'document_type': 'contract_of_employment', 'Contract': {'title': 'Contract of Employment'}, 'Parties': {'Employer': {'name': 'UK Legal Entity', 'address': '196 Bishopsgate, London, EC2M 4NR, United Kingdom', 'PAYE Reference': '123/0987'}, 'Employee': {'name': 'Campbell Andrea Joan', 'address': '123 Castlerock Road, Coleraine, Londonderry, UK, BT51 3TB', 'NI Number': 'WA765843B', 'Payroll Number': '353'}}, 'Terms': {'Commencement of Employment': {'start_date': '1st January 2024'}, 'Job Title': {'description': 'permanent full-time employee under UK Legal Entity'}, 'Type of Employment': {'description': 'permanent, full-time employment contract with no fixed end date'}, 'Place of Work': {'primary_location': 'UK Legal Entity, 196 Bishopsgate, London, EC2M 4NR'}, 'Hours of Work': {'description': 'standard working hours based on a monthly schedule'}, 'Salary': {'gross_salary_per_month': '£4,270.52', 'payment_method': 'BACS', 'total_taxable_pay_for_year': '£29,934.41'}, 'Deductions': {'PAYE_YTD': '£6,059.40', 'NI_contributions_YTD': '£2,931.94', 'other_benefits': ['dental', 'life', 'vision coverage']}}}, '/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Contract_of_Employment_22.pdf_page_1.png': {'document_category': 'income_document', 'document_type': 'contract_of_employment', 'sections': [{'section_number': '8', 'title': 'Holidays', 'content': 'You are entitled to 28 days of paid annual leave (inclusive of public holidays), calculated on a pro-rata basis if applicable.'}, {'section_number': '9', 'title': 'Sick Pay', 'content': 'You are entitled to Statutory Sick Pay (SSP) in accordance with UK regulations. To date, SSP paid is £37.26.'}, {'section_number': '10', 'title': 'Pension', 'content': "You will be automatically enrolled in the company's pension scheme under applicable laws."}, {'section_number': '11', 'title': 'Notice Period', 'content': "Following the probationary period, either party may terminate this agreement with one month's written notice."}, {'section_number': '12', 'title': 'Confidentiality', 'content': 'During and after your employment, you must not disclose any confidential information related to your work or the company.'}, {'section_number': '13', 'title': 'Governing Law', 'content': 'This agreement is governed by and shall be construed in accordance with the laws of England and Wales.'}, {'title': 'Employer Signature', 'fields': {'Name': '', 'Title': '', 'Signature': '', 'Date': ''}}, {'title': 'Employee Signature', 'fields': {'Name': 'Campbell Andrea Joan', 'Signature': '', 'Date': ''}}]}}, '/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Barclays_Bank_Statement_22.pdf': {'/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Barclays_Bank_Statement_22.pdf_page_0.png': {'document_category': 'bank_statement', 'document_type': 'bank_statement', 'account_holder_name': 'Campbell Andrea Joan', 'account_holder_address': '1 Churchill Place, London, E14 5HP', 'bank_name': 'Barclays Bank PLC', 'account_number': '10293847', 'sort_code': '20-19-97', 'statement_start_date': '2024-01-01', 'statement_end_date': '2024-03-31', 'salary_credits': [{'date': '2024-01-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}, {'date': '2024-02-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}, {'date': '2024-03-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}]}}} +2025-04-20 16:30:28 - utils.tabs.document_validation_tab - INFO - [document_validation_tab.py:56] - full_data_transformed : {'income_document': [{'payslip': {'uploaded_file_path': 'Pay_Slip_22.pdf', 'uploaded_file_extracted_images': ['Pay_Slip_22.pdf_page_0.png'], 'document_category': 'income_document', 'document_type': 'payslip', 'employee_name': 'CAMPBELL ANDREA', 'employer_name': 'UK Legal Entity', 'employee_id': '300000055080542', 'employee_address': '123 CASTLEROCK ROAD\nCOLERAINE LONDONDERRY\nBT51 3TB\nUK', 'employer_address': '196 Bishopsgate\nLondon\nLondon\nEC2M 4NR\nUnited Kingdom', 'tax_code': '504L', 'payslip_date': '2024-03-31', 'pay_period_start': '2024-03-01', 'pay_period_end': '2024-03-31', 'payment_frequency': 'monthly', 'basic_pay': '4,270.52', 'net_pay': None, 'gross_pay': None, 'salary_components': [{'name': 'Basic Salary UK', 'amount': '4,270.52'}], 'ni_contribution': None, 'tax_deduction': None, 'other_deductions': []}}, {'payslip': {'uploaded_file_path': 'Pay_Slip_22.pdf', 'uploaded_file_extracted_images': ['Pay_Slip_22.pdf_page_1.png'], 'document_category': 'income_document', 'document_type': 'payslip', 'employee_name': None, 'employer_name': 'ORACLE', 'employee_id': None, 'employee_address': None, 'employer_address': None, 'tax_code': None, 'payslip_date': '2024-03-31', 'pay_period_start': None, 'pay_period_end': None, 'payment_frequency': None, 'basic_pay': None, 'net_pay': '2817.53', 'gross_pay': '4270.52', 'salary_components': [{'name': 'PAYE', 'amount': '864.20'}], 'ni_contribution': '415.83', 'tax_deduction': None, 'other_deductions': [{'name': 'UK Ben Life Assurance EE', 'amount': '51.67'}, {'name': 'UK Dental EE', 'amount': '47.50'}, {'name': 'UK Vision EE', 'amount': '27.55'}, {'name': 'UK Ben Health Screening', 'amount': '36.24'}, {'name': 'UK Club Membership', 'amount': '10.00'}]}}, {'payslip': {'uploaded_file_path': 'Pay_Slip_22.pdf', 'uploaded_file_extracted_images': ['Pay_Slip_22.pdf_page_2.png'], 'document_category': 'income_document', 'document_type': 'payslip', 'employee_name': None, 'employer_name': 'ORACLE', 'employee_id': None, 'employee_address': None, 'employer_address': None, 'tax_code': None, 'payslip_date': '2024-03-31', 'pay_period_start': None, 'pay_period_end': None, 'payment_frequency': None, 'basic_pay': None, 'net_pay': None, 'gross_pay': '4270.52', 'salary_components': [{'name': 'Gross Earnings', 'amount': '4270.52'}], 'ni_contribution': '4143.80', 'tax_deduction': '864.20', 'other_deductions': []}}, {'p60': {'uploaded_file_path': 'P60_22.pdf', 'uploaded_file_extracted_images': ['P60_22.pdf_page_0.png'], 'document_category': 'income_document', 'document_type': 'p60', 'employee_details': {'surname': 'Andrea Joan', 'forenames_or_initials': 'Campbell', 'national_insurance_number': 'WA765843B', 'works_payroll_number': '353'}, 'pay_and_income_tax_details': {'previous_employments': {'pay': None, 'tax_deducted': None}, 'current_employment': {'pay': 29934.41, 'tax_deducted': 6059.4}, 'total_for_year': {'pay': 29934.41, 'tax_deducted': 6059.4}, 'final_tax_code': '504L'}, 'national_insurance_contributions': [{'nic_letter': 'A', 'earnings': {'at_or_above_lel': 0.0, 'above_lel_up_to_pt': 0.0, 'above_pt_up_to_uel': 0.0}, 'employee_contributions_above_pt': 2931.94}], 'statutory_payments': {'maternity_pay': None, 'paternity_pay': None, 'adoption_pay': None, 'shared_parental_pay': None}, 'other_details': {'student_loan_deductions': None}, 'employer_details': {'employer_name_and_address': 'UK Legal Entity\n196 Bishopsgate, London,\nEC2M 4NR, United Kingdom', 'paye_reference': '123/0987'}}}, {'contract_of_employment': {'uploaded_file_path': 'Contract_of_Employment_22.pdf', 'uploaded_file_extracted_images': ['Contract_of_Employment_22.pdf_page_0.png'], 'document_category': 'income_document', 'document_type': 'contract_of_employment', 'Contract': {'title': 'Contract of Employment'}, 'Parties': {'Employer': {'name': 'UK Legal Entity', 'address': '196 Bishopsgate, London, EC2M 4NR, United Kingdom', 'PAYE Reference': '123/0987'}, 'Employee': {'name': 'Campbell Andrea Joan', 'address': '123 Castlerock Road, Coleraine, Londonderry, UK, BT51 3TB', 'NI Number': 'WA765843B', 'Payroll Number': '353'}}, 'Terms': {'Commencement of Employment': {'start_date': '1st January 2024'}, 'Job Title': {'description': 'permanent full-time employee under UK Legal Entity'}, 'Type of Employment': {'description': 'permanent, full-time employment contract with no fixed end date'}, 'Place of Work': {'primary_location': 'UK Legal Entity, 196 Bishopsgate, London, EC2M 4NR'}, 'Hours of Work': {'description': 'standard working hours based on a monthly schedule'}, 'Salary': {'gross_salary_per_month': '£4,270.52', 'payment_method': 'BACS', 'total_taxable_pay_for_year': '£29,934.41'}, 'Deductions': {'PAYE_YTD': '£6,059.40', 'NI_contributions_YTD': '£2,931.94', 'other_benefits': ['dental', 'life', 'vision coverage']}}}}, {'contract_of_employment': {'uploaded_file_path': 'Contract_of_Employment_22.pdf', 'uploaded_file_extracted_images': ['Contract_of_Employment_22.pdf_page_1.png'], 'document_category': 'income_document', 'document_type': 'contract_of_employment', 'sections': [{'section_number': '8', 'title': 'Holidays', 'content': 'You are entitled to 28 days of paid annual leave (inclusive of public holidays), calculated on a pro-rata basis if applicable.'}, {'section_number': '9', 'title': 'Sick Pay', 'content': 'You are entitled to Statutory Sick Pay (SSP) in accordance with UK regulations. To date, SSP paid is £37.26.'}, {'section_number': '10', 'title': 'Pension', 'content': "You will be automatically enrolled in the company's pension scheme under applicable laws."}, {'section_number': '11', 'title': 'Notice Period', 'content': "Following the probationary period, either party may terminate this agreement with one month's written notice."}, {'section_number': '12', 'title': 'Confidentiality', 'content': 'During and after your employment, you must not disclose any confidential information related to your work or the company.'}, {'section_number': '13', 'title': 'Governing Law', 'content': 'This agreement is governed by and shall be construed in accordance with the laws of England and Wales.'}, {'title': 'Employer Signature', 'fields': {'Name': '', 'Title': '', 'Signature': '', 'Date': ''}}, {'title': 'Employee Signature', 'fields': {'Name': 'Campbell Andrea Joan', 'Signature': '', 'Date': ''}}]}}], 'identity_verification_document': [{'driving_license': {'uploaded_file_path': 'driving_license_22.pdf', 'uploaded_file_extracted_images': ['driving_license_22.pdf_page_0.png'], 'document_category': 'identity_verification_document', 'document_type': 'driving_license', 'surname': 'CAMPBELL', 'first_name': 'ANDREA JOAN', 'date_of_birth': '1964-07-05', 'place_of_birth': 'BELFAST', 'date_of_issue': '2021-12-01', 'date_of_expiry': '2031-11-30', 'issuing_authority': 'DVA', 'driver_number': '99999999', 'signature': 'Jones', 'address': {'line_1': '123 CASTLEROCK ROAD, COLERAINE', 'city': 'LONDONDERRY', 'postcode': 'BT51 3TB'}, 'entitlements': ['AM', 'A', 'B1', 'B', 'f', 'k', 'p', 'q']}}], 'bank_statement': [{'bank_statement': {'uploaded_file_path': 'Barclays_Bank_Statement_22.pdf', 'uploaded_file_extracted_images': ['Barclays_Bank_Statement_22.pdf_page_0.png'], 'document_category': 'bank_statement', 'document_type': 'bank_statement', 'account_holder_name': 'Campbell Andrea Joan', 'account_holder_address': '1 Churchill Place, London, E14 5HP', 'bank_name': 'Barclays Bank PLC', 'account_number': '10293847', 'sort_code': '20-19-97', 'statement_start_date': '2024-01-01', 'statement_end_date': '2024-03-31', 'salary_credits': [{'date': '2024-01-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}, {'date': '2024-02-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}, {'date': '2024-03-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}]}}]} +2025-04-20 16:30:28 - utils.json_utils - INFO - [json_utils.py:92] - df: document_category Uploaded document_types +1 bank_statement True bank_statement +2 income_document True contract_of_employment, p60, payslip +3 identity_verification_document True driving_license +2025-04-20 16:32:10 - utils.document_display.document_display - INFO - [document_display.py:154] - analysis_results_for_id : {'pay_period_end': '2024-03-31', 'tax_deduction': '864.20', 'other_deductions': [[[], [{'name': 'UK Ben Life Assurance EE', 'amount': '51.67'}, {'name': 'UK Dental EE', 'amount': '47.50'}, {'name': 'UK Vision EE', 'amount': '27.55'}, {'name': 'UK Ben Health Screening', 'amount': '36.24'}, {'name': 'UK Club Membership', 'amount': '10.00'}]], []], 'salary_components': [[[{'name': 'Basic Salary UK', 'amount': '4,270.52'}], [{'name': 'PAYE', 'amount': '864.20'}]], [{'name': 'Gross Earnings', 'amount': '4270.52'}]], 'employee_id': '300000055080542', 'employer_address': '196 Bishopsgate\nLondon\nLondon\nEC2M 4NR\nUnited Kingdom', 'payslip_date': '2024-03-31', 'net_pay': '2817.53', 'document_category': 'income_document', 'document_type': 'payslip', 'gross_pay': '4270.52', 'payment_frequency': 'monthly', 'employee_name': 'CAMPBELL ANDREA', 'ni_contribution': ['415.83', '4143.80'], 'employee_address': '123 CASTLEROCK ROAD\nCOLERAINE LONDONDERRY\nBT51 3TB\nUK', 'basic_pay': '4,270.52', 'pay_period_start': '2024-03-01', 'employer_name': [['UK Legal Entity', 'ORACLE'], 'ORACLE'], 'tax_code': '504L'} +2025-04-20 16:32:10 - utils.document_display.document_display - INFO - [document_display.py:171] - document_type for /tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Pay_Slip_22.pdf: payslip +2025-04-20 16:32:10 - utils.document_display.payslip - INFO - [payslip.py:58] - file_path while displaying: ['/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Pay_Slip_22.pdf_page_0.png', '/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Pay_Slip_22.pdf_page_1.png', '/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Pay_Slip_22.pdf_page_2.png'] +2025-04-20 16:32:11 - utils.document_display.payslip - INFO - [payslip.py:71] - analysis_results_pruned : {'document_category': 'income_document', 'document_type': 'payslip', 'employee_name': 'CAMPBELL ANDREA', 'employer_name': [['UK Legal Entity', 'ORACLE'], 'ORACLE'], 'employee_id': '300000055080542', 'employee_address': '123 CASTLEROCK ROAD\nCOLERAINE LONDONDERRY\nBT51 3TB\nUK', 'employer_address': '196 Bishopsgate\nLondon\nLondon\nEC2M 4NR\nUnited Kingdom', 'tax_code': '504L', 'payslip_date': '2024-03-31', 'pay_period_start': '2024-03-01', 'pay_period_end': '2024-03-31', 'payment_frequency': 'monthly', 'basic_pay': '4,270.52', 'net_pay': '2817.53', 'gross_pay': '4270.52', 'salary_components': [[[{'name': 'Basic Salary UK', 'amount': '4,270.52'}], [{'name': 'PAYE', 'amount': '864.20'}]], [{'name': 'Gross Earnings', 'amount': '4270.52'}]], 'ni_contribution': ['415.83', '4143.80'], 'tax_deduction': '864.20', 'other_deductions': [[[], [{'name': 'UK Ben Life Assurance EE', 'amount': '51.67'}, {'name': 'UK Dental EE', 'amount': '47.50'}, {'name': 'UK Vision EE', 'amount': '27.55'}, {'name': 'UK Ben Health Screening', 'amount': '36.24'}, {'name': 'UK Club Membership', 'amount': '10.00'}]], []]} +2025-04-20 16:32:11 - utils.document_display.payslip - INFO - [payslip.py:93] - other_deductions_dict : [[[], [{'name': 'UK Ben Life Assurance EE', 'amount': '51.67'}, {'name': 'UK Dental EE', 'amount': '47.50'}, {'name': 'UK Vision EE', 'amount': '27.55'}, {'name': 'UK Ben Health Screening', 'amount': '36.24'}, {'name': 'UK Club Membership', 'amount': '10.00'}]], []] +2025-04-20 16:32:11 - utils.document_display.document_display - INFO - [document_display.py:221] - Exception for processing analysis results of {'pay_period_end': '2024-03-31', 'tax_deduction': '864.20', 'other_deductions': [[[], [{'name': 'UK Ben Life Assurance EE', 'amount': '51.67'}, {'name': 'UK Dental EE', 'amount': '47.50'}, {'name': 'UK Vision EE', 'amount': '27.55'}, {'name': 'UK Ben Health Screening', 'amount': '36.24'}, {'name': 'UK Club Membership', 'amount': '10.00'}]], []], 'salary_components': [[[{'name': 'Basic Salary UK', 'amount': '4,270.52'}], [{'name': 'PAYE', 'amount': '864.20'}]], [{'name': 'Gross Earnings', 'amount': '4270.52'}]], 'employee_id': '300000055080542', 'employer_address': '196 Bishopsgate\nLondon\nLondon\nEC2M 4NR\nUnited Kingdom', 'payslip_date': '2024-03-31', 'net_pay': '2817.53', 'document_category': 'income_document', 'document_type': 'payslip', 'gross_pay': '4270.52', 'payment_frequency': 'monthly', 'employee_name': 'CAMPBELL ANDREA', 'ni_contribution': ['415.83', '4143.80'], 'employee_address': '123 CASTLEROCK ROAD\nCOLERAINE LONDONDERRY\nBT51 3TB\nUK', 'basic_pay': '4,270.52', 'pay_period_start': '2024-03-01', 'employer_name': [['UK Legal Entity', 'ORACLE'], 'ORACLE'], 'tax_code': '504L'}: 'list' object has no attribute 'values' +2025-04-20 16:32:11 - utils.document_display.others - INFO - [others.py:50] - file_path while displaying: ['/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Pay_Slip_22.pdf_page_0.png', '/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Pay_Slip_22.pdf_page_1.png', '/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Pay_Slip_22.pdf_page_2.png'] +2025-04-20 16:32:11 - utils.document_display.others - INFO - [others.py:63] - analysis_results_pruned: {'pay_period_end': '2024-03-31', 'tax_deduction': '864.20', 'other_deductions': [[[], [{'name': 'UK Ben Life Assurance EE', 'amount': '51.67'}, {'name': 'UK Dental EE', 'amount': '47.50'}, {'name': 'UK Vision EE', 'amount': '27.55'}, {'name': 'UK Ben Health Screening', 'amount': '36.24'}, {'name': 'UK Club Membership', 'amount': '10.00'}]], []], 'salary_components': [[[{'name': 'Basic Salary UK', 'amount': '4,270.52'}], [{'name': 'PAYE', 'amount': '864.20'}]], [{'name': 'Gross Earnings', 'amount': '4270.52'}]], 'employee_id': '300000055080542', 'employer_address': '196 Bishopsgate\nLondon\nLondon\nEC2M 4NR\nUnited Kingdom', 'payslip_date': '2024-03-31', 'net_pay': '2817.53', 'document_category': 'income_document', 'document_type': 'payslip', 'gross_pay': '4270.52', 'payment_frequency': 'monthly', 'employee_name': 'CAMPBELL ANDREA', 'ni_contribution': ['415.83', '4143.80'], 'employee_address': '123 CASTLEROCK ROAD\nCOLERAINE LONDONDERRY\nBT51 3TB\nUK', 'basic_pay': '4,270.52', 'pay_period_start': '2024-03-01', 'employer_name': [['UK Legal Entity', 'ORACLE'], 'ORACLE'], 'tax_code': '504L'} +2025-04-20 16:32:11 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 2024-03-31 +Name: Value, dtype: object +2025-04-20 16:32:11 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 864.20 +Name: Value, dtype: object +2025-04-20 16:32:11 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 [[[], [{'name': 'UK Ben Life Assurance EE', 'a... +Name: Value, dtype: object +2025-04-20 16:32:11 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 [[[{'name': 'Basic Salary UK', 'amount': '4,27... +Name: Value, dtype: object +2025-04-20 16:32:11 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 300000055080542 +Name: Value, dtype: object +2025-04-20 16:32:11 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 196 Bishopsgate\nLondon\nLondon\nEC2M 4NR\nUni... +Name: Value, dtype: object +2025-04-20 16:32:11 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 2024-03-31 +Name: Value, dtype: object +2025-04-20 16:32:11 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 2817.53 +Name: Value, dtype: object +2025-04-20 16:32:11 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 income_document +Name: Value, dtype: object +2025-04-20 16:32:11 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 payslip +Name: Value, dtype: object +2025-04-20 16:32:11 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 4270.52 +Name: Value, dtype: object +2025-04-20 16:32:11 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 monthly +Name: Value, dtype: object +2025-04-20 16:32:11 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 CAMPBELL ANDREA +Name: Value, dtype: object +2025-04-20 16:32:11 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 [415.83, 4143.80] +Name: Value, dtype: object +2025-04-20 16:32:11 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 123 CASTLEROCK ROAD\nCOLERAINE LONDONDERRY\nBT... +Name: Value, dtype: object +2025-04-20 16:32:11 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 4,270.52 +Name: Value, dtype: object +2025-04-20 16:32:11 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 2024-03-01 +Name: Value, dtype: object +2025-04-20 16:32:11 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 [[UK Legal Entity, ORACLE], ORACLE] +Name: Value, dtype: object +2025-04-20 16:32:11 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 504L +Name: Value, dtype: object +2025-04-20 16:32:11 - utils.document_display.others - INFO - [others.py:111] - simple_df: Key Value +1 tax_code 504L +2025-04-20 16:32:11 - utils.document_display.document_display - INFO - [document_display.py:154] - analysis_results_for_id : {'document_category': 'identity_verification_document', 'document_type': 'driving_license', 'surname': 'CAMPBELL', 'first_name': 'ANDREA JOAN', 'date_of_birth': '1964-07-05', 'place_of_birth': 'BELFAST', 'date_of_issue': '2021-12-01', 'date_of_expiry': '2031-11-30', 'issuing_authority': 'DVA', 'driver_number': '99999999', 'signature': 'Jones', 'address': {'line_1': '123 CASTLEROCK ROAD, COLERAINE', 'city': 'LONDONDERRY', 'postcode': 'BT51 3TB'}, 'entitlements': ['AM', 'A', 'B1', 'B', 'f', 'k', 'p', 'q']} +2025-04-20 16:32:11 - utils.document_display.document_display - INFO - [document_display.py:171] - document_type for /tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/driving_license_22.pdf: driving_license +2025-04-20 16:32:11 - utils.document_display.driving_license - INFO - [driving_license.py:43] - file_path while displaying: ['/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/driving_license_22.pdf_page_0.png'] +2025-04-20 16:32:11 - utils.document_display.driving_license - INFO - [driving_license.py:56] - analysis_results_pruned : {'document_category': 'identity_verification_document', 'document_type': 'driving_license', 'surname': 'CAMPBELL', 'first_name': 'ANDREA JOAN', 'date_of_birth': '1964-07-05', 'place_of_birth': 'BELFAST', 'date_of_issue': '2021-12-01', 'date_of_expiry': '2031-11-30', 'issuing_authority': 'DVA', 'driver_number': '99999999', 'address': {'line_1': '123 CASTLEROCK ROAD, COLERAINE', 'city': 'LONDONDERRY', 'postcode': 'BT51 3TB'}, 'entitlements': ['AM', 'A', 'B1', 'B', 'f', 'k', 'p', 'q']} +2025-04-20 16:32:11 - utils.document_display.document_display - INFO - [document_display.py:154] - analysis_results_for_id : {'document_category': 'income_document', 'document_type': 'p60', 'employee_details': {'surname': 'Andrea Joan', 'forenames_or_initials': 'Campbell', 'national_insurance_number': 'WA765843B', 'works_payroll_number': '353'}, 'pay_and_income_tax_details': {'previous_employments': {'pay': None, 'tax_deducted': None}, 'current_employment': {'pay': 29934.41, 'tax_deducted': 6059.4}, 'total_for_year': {'pay': 29934.41, 'tax_deducted': 6059.4}, 'final_tax_code': '504L'}, 'national_insurance_contributions': [{'nic_letter': 'A', 'earnings': {'at_or_above_lel': 0.0, 'above_lel_up_to_pt': 0.0, 'above_pt_up_to_uel': 0.0}, 'employee_contributions_above_pt': 2931.94}], 'statutory_payments': {'maternity_pay': None, 'paternity_pay': None, 'adoption_pay': None, 'shared_parental_pay': None}, 'other_details': {'student_loan_deductions': None}, 'employer_details': {'employer_name_and_address': 'UK Legal Entity\n196 Bishopsgate, London,\nEC2M 4NR, United Kingdom', 'paye_reference': '123/0987'}} +2025-04-20 16:32:11 - utils.document_display.document_display - INFO - [document_display.py:171] - document_type for /tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/P60_22.pdf: p60 +2025-04-20 16:32:11 - utils.document_display.p60 - INFO - [p60.py:58] - file_path while displaying: ['/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/P60_22.pdf_page_0.png'] +2025-04-20 16:32:11 - utils.document_display.p60 - INFO - [p60.py:71] - analysis_results_pruned : {'document_category': 'income_document', 'document_type': 'p60', 'surname': 'Andrea Joan', 'forenames_or_initials': 'Campbell', 'national_insurance_number': 'WA765843B', 'works_payroll_number': '353', 'previous_employments': {'pay': None, 'tax_deducted': None}, 'current_employment': {'pay': 29934.41, 'tax_deducted': 6059.4}, 'total_for_year': {'pay': 29934.41, 'tax_deducted': 6059.4}, 'final_tax_code': '504L', 'national_insurance_contributions': [{'nic_letter': 'A', 'earnings': {'at_or_above_lel': 0.0, 'above_lel_up_to_pt': 0.0, 'above_pt_up_to_uel': 0.0}, 'employee_contributions_above_pt': 2931.94}], 'employer_name_and_address': 'UK Legal Entity\n196 Bishopsgate, London,\nEC2M 4NR, United Kingdom', 'paye_reference': '123/0987'} +2025-04-20 16:32:12 - utils.document_display.p60 - INFO - [p60.py:103] - simple_df: Key Value +1 document_category income_document +2 document_type p60 +3 surname Andrea Joan +4 forenames_or_initials Campbell +5 national_insurance_number WA765843B +6 works_payroll_number 353 +7 previous_employments {'pay': None, 'tax_deducted': None} +8 current_employment {'pay': 29934.41, 'tax_deducted': 6059.4} +9 total_for_year {'pay': 29934.41, 'tax_deducted': 6059.4} +10 final_tax_code 504L +11 national_insurance_contributions [{'nic_letter': 'A', 'earnings': {'at_or_above... +12 employer_name_and_address UK Legal Entity\n196 Bishopsgate, London,\nEC2... +13 paye_reference 123/0987 +2025-04-20 16:32:12 - utils.document_display.document_display - INFO - [document_display.py:154] - analysis_results_for_id : {'Terms': {'Commencement of Employment': {'start_date': '1st January 2024'}, 'Job Title': {'description': 'permanent full-time employee under UK Legal Entity'}, 'Type of Employment': {'description': 'permanent, full-time employment contract with no fixed end date'}, 'Place of Work': {'primary_location': 'UK Legal Entity, 196 Bishopsgate, London, EC2M 4NR'}, 'Hours of Work': {'description': 'standard working hours based on a monthly schedule'}, 'Salary': {'gross_salary_per_month': '£4,270.52', 'payment_method': 'BACS', 'total_taxable_pay_for_year': '£29,934.41'}, 'Deductions': {'PAYE_YTD': '£6,059.40', 'NI_contributions_YTD': '£2,931.94', 'other_benefits': ['dental', 'life', 'vision coverage']}}, 'Contract': {'title': 'Contract of Employment'}, 'Parties': {'Employer': {'name': 'UK Legal Entity', 'address': '196 Bishopsgate, London, EC2M 4NR, United Kingdom', 'PAYE Reference': '123/0987'}, 'Employee': {'name': 'Campbell Andrea Joan', 'address': '123 Castlerock Road, Coleraine, Londonderry, UK, BT51 3TB', 'NI Number': 'WA765843B', 'Payroll Number': '353'}}, 'sections': [{'section_number': '8', 'title': 'Holidays', 'content': 'You are entitled to 28 days of paid annual leave (inclusive of public holidays), calculated on a pro-rata basis if applicable.'}, {'section_number': '9', 'title': 'Sick Pay', 'content': 'You are entitled to Statutory Sick Pay (SSP) in accordance with UK regulations. To date, SSP paid is £37.26.'}, {'section_number': '10', 'title': 'Pension', 'content': "You will be automatically enrolled in the company's pension scheme under applicable laws."}, {'section_number': '11', 'title': 'Notice Period', 'content': "Following the probationary period, either party may terminate this agreement with one month's written notice."}, {'section_number': '12', 'title': 'Confidentiality', 'content': 'During and after your employment, you must not disclose any confidential information related to your work or the company.'}, {'section_number': '13', 'title': 'Governing Law', 'content': 'This agreement is governed by and shall be construed in accordance with the laws of England and Wales.'}, {'title': 'Employer Signature', 'fields': {'Name': '', 'Title': '', 'Signature': '', 'Date': ''}}, {'title': 'Employee Signature', 'fields': {'Name': 'Campbell Andrea Joan', 'Signature': '', 'Date': ''}}], 'document_category': 'income_document', 'document_type': 'contract_of_employment'} +2025-04-20 16:32:12 - utils.document_display.document_display - INFO - [document_display.py:171] - document_type for /tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Contract_of_Employment_22.pdf: contract_of_employment +2025-04-20 16:32:12 - utils.document_display.others - INFO - [others.py:50] - file_path while displaying: ['/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Contract_of_Employment_22.pdf_page_0.png', '/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Contract_of_Employment_22.pdf_page_1.png'] +2025-04-20 16:32:12 - utils.document_display.others - INFO - [others.py:63] - analysis_results_pruned: {'Terms': {'Commencement of Employment': {'start_date': '1st January 2024'}, 'Job Title': {'description': 'permanent full-time employee under UK Legal Entity'}, 'Type of Employment': {'description': 'permanent, full-time employment contract with no fixed end date'}, 'Place of Work': {'primary_location': 'UK Legal Entity, 196 Bishopsgate, London, EC2M 4NR'}, 'Hours of Work': {'description': 'standard working hours based on a monthly schedule'}, 'Salary': {'gross_salary_per_month': '£4,270.52', 'payment_method': 'BACS', 'total_taxable_pay_for_year': '£29,934.41'}, 'Deductions': {'PAYE_YTD': '£6,059.40', 'NI_contributions_YTD': '£2,931.94', 'other_benefits': ['dental', 'life', 'vision coverage']}}, 'Contract': {'title': 'Contract of Employment'}, 'Parties': {'Employer': {'name': 'UK Legal Entity', 'address': '196 Bishopsgate, London, EC2M 4NR, United Kingdom', 'PAYE Reference': '123/0987'}, 'Employee': {'name': 'Campbell Andrea Joan', 'address': '123 Castlerock Road, Coleraine, Londonderry, UK, BT51 3TB', 'NI Number': 'WA765843B', 'Payroll Number': '353'}}, 'sections': [{'section_number': '8', 'title': 'Holidays', 'content': 'You are entitled to 28 days of paid annual leave (inclusive of public holidays), calculated on a pro-rata basis if applicable.'}, {'section_number': '9', 'title': 'Sick Pay', 'content': 'You are entitled to Statutory Sick Pay (SSP) in accordance with UK regulations. To date, SSP paid is £37.26.'}, {'section_number': '10', 'title': 'Pension', 'content': "You will be automatically enrolled in the company's pension scheme under applicable laws."}, {'section_number': '11', 'title': 'Notice Period', 'content': "Following the probationary period, either party may terminate this agreement with one month's written notice."}, {'section_number': '12', 'title': 'Confidentiality', 'content': 'During and after your employment, you must not disclose any confidential information related to your work or the company.'}, {'section_number': '13', 'title': 'Governing Law', 'content': 'This agreement is governed by and shall be construed in accordance with the laws of England and Wales.'}, {'title': 'Employer Signature', 'fields': {'Name': '', 'Title': '', 'Signature': '', 'Date': ''}}, {'title': 'Employee Signature', 'fields': {'Name': 'Campbell Andrea Joan', 'Signature': '', 'Date': ''}}], 'document_category': 'income_document', 'document_type': 'contract_of_employment'} +2025-04-20 16:32:12 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 [{'section_number': '8', 'title': 'Holidays', ... +Name: Value, dtype: object +2025-04-20 16:32:12 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 income_document +Name: Value, dtype: object +2025-04-20 16:32:12 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 contract_of_employment +Name: Value, dtype: object +2025-04-20 16:32:12 - utils.document_display.others - INFO - [others.py:111] - simple_df: Key Value +1 document_type contract_of_employment +2025-04-20 16:32:12 - utils.document_display.document_display - INFO - [document_display.py:154] - analysis_results_for_id : {'document_category': 'bank_statement', 'document_type': 'bank_statement', 'account_holder_name': 'Campbell Andrea Joan', 'account_holder_address': '1 Churchill Place, London, E14 5HP', 'bank_name': 'Barclays Bank PLC', 'account_number': '10293847', 'sort_code': '20-19-97', 'statement_start_date': '2024-01-01', 'statement_end_date': '2024-03-31', 'salary_credits': [{'date': '2024-01-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}, {'date': '2024-02-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}, {'date': '2024-03-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}]} +2025-04-20 16:32:12 - utils.document_display.document_display - INFO - [document_display.py:171] - document_type for /tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Barclays_Bank_Statement_22.pdf: bank_statement +2025-04-20 16:32:12 - utils.document_display.bank_statement - INFO - [bank_statement.py:40] - file_path while displaying: ['/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Barclays_Bank_Statement_22.pdf_page_0.png'] +2025-04-20 16:32:12 - utils.document_display.bank_statement - INFO - [bank_statement.py:53] - analysis_results_pruned : {'document_category': 'bank_statement', 'document_type': 'bank_statement', 'account_holder_name': 'Campbell Andrea Joan', 'account_holder_address': '1 Churchill Place, London, E14 5HP', 'bank_name': 'Barclays Bank PLC', 'account_number': '10293847', 'sort_code': '20-19-97', 'statement_start_date': '2024-01-01', 'statement_end_date': '2024-03-31', 'salary_credits': [{'date': '2024-01-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}, {'date': '2024-02-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}, {'date': '2024-03-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}]} +2025-04-20 16:32:12 - utils.document_display.bank_statement - INFO - [bank_statement.py:75] - salary_dict : [{'date': '2024-01-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}, {'date': '2024-02-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}, {'date': '2024-03-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}] +2025-04-20 16:32:12 - utils.document_display.bank_statement - INFO - [bank_statement.py:85] - simple_df: Key Value +1 date 2024-03-10 +2 amount 2817.53 +3 from Missing +4 description Salary - UK Legal Entity +2025-04-20 16:32:12 - utils.tabs.document_validation_tab - INFO - [document_validation_tab.py:52] - full_data : {'/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Pay_Slip_22.pdf': {'/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Pay_Slip_22.pdf_page_0.png': {'document_category': 'income_document', 'document_type': 'payslip', 'employee_name': 'CAMPBELL ANDREA', 'employer_name': 'UK Legal Entity', 'employee_id': '300000055080542', 'employee_address': '123 CASTLEROCK ROAD\nCOLERAINE LONDONDERRY\nBT51 3TB\nUK', 'employer_address': '196 Bishopsgate\nLondon\nLondon\nEC2M 4NR\nUnited Kingdom', 'tax_code': '504L', 'payslip_date': '2024-03-31', 'pay_period_start': '2024-03-01', 'pay_period_end': '2024-03-31', 'payment_frequency': 'monthly', 'basic_pay': '4,270.52', 'net_pay': None, 'gross_pay': None, 'salary_components': [{'name': 'Basic Salary UK', 'amount': '4,270.52'}], 'ni_contribution': None, 'tax_deduction': None, 'other_deductions': []}, '/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Pay_Slip_22.pdf_page_1.png': {'document_category': 'income_document', 'document_type': 'payslip', 'employee_name': None, 'employer_name': 'ORACLE', 'employee_id': None, 'employee_address': None, 'employer_address': None, 'tax_code': None, 'payslip_date': '2024-03-31', 'pay_period_start': None, 'pay_period_end': None, 'payment_frequency': None, 'basic_pay': None, 'net_pay': '2817.53', 'gross_pay': '4270.52', 'salary_components': [{'name': 'PAYE', 'amount': '864.20'}], 'ni_contribution': '415.83', 'tax_deduction': None, 'other_deductions': [{'name': 'UK Ben Life Assurance EE', 'amount': '51.67'}, {'name': 'UK Dental EE', 'amount': '47.50'}, {'name': 'UK Vision EE', 'amount': '27.55'}, {'name': 'UK Ben Health Screening', 'amount': '36.24'}, {'name': 'UK Club Membership', 'amount': '10.00'}]}, '/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Pay_Slip_22.pdf_page_2.png': {'document_category': 'income_document', 'document_type': 'payslip', 'employee_name': None, 'employer_name': 'ORACLE', 'employee_id': None, 'employee_address': None, 'employer_address': None, 'tax_code': None, 'payslip_date': '2024-03-31', 'pay_period_start': None, 'pay_period_end': None, 'payment_frequency': None, 'basic_pay': None, 'net_pay': None, 'gross_pay': '4270.52', 'salary_components': [{'name': 'Gross Earnings', 'amount': '4270.52'}], 'ni_contribution': '4143.80', 'tax_deduction': '864.20', 'other_deductions': []}}, '/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/driving_license_22.pdf': {'/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/driving_license_22.pdf_page_0.png': {'document_category': 'identity_verification_document', 'document_type': 'driving_license', 'surname': 'CAMPBELL', 'first_name': 'ANDREA JOAN', 'date_of_birth': '1964-07-05', 'place_of_birth': 'BELFAST', 'date_of_issue': '2021-12-01', 'date_of_expiry': '2031-11-30', 'issuing_authority': 'DVA', 'driver_number': '99999999', 'signature': 'Jones', 'address': {'line_1': '123 CASTLEROCK ROAD, COLERAINE', 'city': 'LONDONDERRY', 'postcode': 'BT51 3TB'}, 'entitlements': ['AM', 'A', 'B1', 'B', 'f', 'k', 'p', 'q']}}, '/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/P60_22.pdf': {'/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/P60_22.pdf_page_0.png': {'document_category': 'income_document', 'document_type': 'p60', 'employee_details': {'surname': 'Andrea Joan', 'forenames_or_initials': 'Campbell', 'national_insurance_number': 'WA765843B', 'works_payroll_number': '353'}, 'pay_and_income_tax_details': {'previous_employments': {'pay': None, 'tax_deducted': None}, 'current_employment': {'pay': 29934.41, 'tax_deducted': 6059.4}, 'total_for_year': {'pay': 29934.41, 'tax_deducted': 6059.4}, 'final_tax_code': '504L'}, 'national_insurance_contributions': [{'nic_letter': 'A', 'earnings': {'at_or_above_lel': 0.0, 'above_lel_up_to_pt': 0.0, 'above_pt_up_to_uel': 0.0}, 'employee_contributions_above_pt': 2931.94}], 'statutory_payments': {'maternity_pay': None, 'paternity_pay': None, 'adoption_pay': None, 'shared_parental_pay': None}, 'other_details': {'student_loan_deductions': None}, 'employer_details': {'employer_name_and_address': 'UK Legal Entity\n196 Bishopsgate, London,\nEC2M 4NR, United Kingdom', 'paye_reference': '123/0987'}}}, '/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Contract_of_Employment_22.pdf': {'/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Contract_of_Employment_22.pdf_page_0.png': {'document_category': 'income_document', 'document_type': 'contract_of_employment', 'Contract': {'title': 'Contract of Employment'}, 'Parties': {'Employer': {'name': 'UK Legal Entity', 'address': '196 Bishopsgate, London, EC2M 4NR, United Kingdom', 'PAYE Reference': '123/0987'}, 'Employee': {'name': 'Campbell Andrea Joan', 'address': '123 Castlerock Road, Coleraine, Londonderry, UK, BT51 3TB', 'NI Number': 'WA765843B', 'Payroll Number': '353'}}, 'Terms': {'Commencement of Employment': {'start_date': '1st January 2024'}, 'Job Title': {'description': 'permanent full-time employee under UK Legal Entity'}, 'Type of Employment': {'description': 'permanent, full-time employment contract with no fixed end date'}, 'Place of Work': {'primary_location': 'UK Legal Entity, 196 Bishopsgate, London, EC2M 4NR'}, 'Hours of Work': {'description': 'standard working hours based on a monthly schedule'}, 'Salary': {'gross_salary_per_month': '£4,270.52', 'payment_method': 'BACS', 'total_taxable_pay_for_year': '£29,934.41'}, 'Deductions': {'PAYE_YTD': '£6,059.40', 'NI_contributions_YTD': '£2,931.94', 'other_benefits': ['dental', 'life', 'vision coverage']}}}, '/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Contract_of_Employment_22.pdf_page_1.png': {'document_category': 'income_document', 'document_type': 'contract_of_employment', 'sections': [{'section_number': '8', 'title': 'Holidays', 'content': 'You are entitled to 28 days of paid annual leave (inclusive of public holidays), calculated on a pro-rata basis if applicable.'}, {'section_number': '9', 'title': 'Sick Pay', 'content': 'You are entitled to Statutory Sick Pay (SSP) in accordance with UK regulations. To date, SSP paid is £37.26.'}, {'section_number': '10', 'title': 'Pension', 'content': "You will be automatically enrolled in the company's pension scheme under applicable laws."}, {'section_number': '11', 'title': 'Notice Period', 'content': "Following the probationary period, either party may terminate this agreement with one month's written notice."}, {'section_number': '12', 'title': 'Confidentiality', 'content': 'During and after your employment, you must not disclose any confidential information related to your work or the company.'}, {'section_number': '13', 'title': 'Governing Law', 'content': 'This agreement is governed by and shall be construed in accordance with the laws of England and Wales.'}, {'title': 'Employer Signature', 'fields': {'Name': '', 'Title': '', 'Signature': '', 'Date': ''}}, {'title': 'Employee Signature', 'fields': {'Name': 'Campbell Andrea Joan', 'Signature': '', 'Date': ''}}]}}, '/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Barclays_Bank_Statement_22.pdf': {'/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Barclays_Bank_Statement_22.pdf_page_0.png': {'document_category': 'bank_statement', 'document_type': 'bank_statement', 'account_holder_name': 'Campbell Andrea Joan', 'account_holder_address': '1 Churchill Place, London, E14 5HP', 'bank_name': 'Barclays Bank PLC', 'account_number': '10293847', 'sort_code': '20-19-97', 'statement_start_date': '2024-01-01', 'statement_end_date': '2024-03-31', 'salary_credits': [{'date': '2024-01-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}, {'date': '2024-02-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}, {'date': '2024-03-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}]}}} +2025-04-20 16:32:12 - utils.tabs.document_validation_tab - INFO - [document_validation_tab.py:56] - full_data_transformed : {'income_document': [{'payslip': {'uploaded_file_path': 'Pay_Slip_22.pdf', 'uploaded_file_extracted_images': ['Pay_Slip_22.pdf_page_0.png'], 'document_category': 'income_document', 'document_type': 'payslip', 'employee_name': 'CAMPBELL ANDREA', 'employer_name': 'UK Legal Entity', 'employee_id': '300000055080542', 'employee_address': '123 CASTLEROCK ROAD\nCOLERAINE LONDONDERRY\nBT51 3TB\nUK', 'employer_address': '196 Bishopsgate\nLondon\nLondon\nEC2M 4NR\nUnited Kingdom', 'tax_code': '504L', 'payslip_date': '2024-03-31', 'pay_period_start': '2024-03-01', 'pay_period_end': '2024-03-31', 'payment_frequency': 'monthly', 'basic_pay': '4,270.52', 'net_pay': None, 'gross_pay': None, 'salary_components': [{'name': 'Basic Salary UK', 'amount': '4,270.52'}], 'ni_contribution': None, 'tax_deduction': None, 'other_deductions': []}}, {'payslip': {'uploaded_file_path': 'Pay_Slip_22.pdf', 'uploaded_file_extracted_images': ['Pay_Slip_22.pdf_page_1.png'], 'document_category': 'income_document', 'document_type': 'payslip', 'employee_name': None, 'employer_name': 'ORACLE', 'employee_id': None, 'employee_address': None, 'employer_address': None, 'tax_code': None, 'payslip_date': '2024-03-31', 'pay_period_start': None, 'pay_period_end': None, 'payment_frequency': None, 'basic_pay': None, 'net_pay': '2817.53', 'gross_pay': '4270.52', 'salary_components': [{'name': 'PAYE', 'amount': '864.20'}], 'ni_contribution': '415.83', 'tax_deduction': None, 'other_deductions': [{'name': 'UK Ben Life Assurance EE', 'amount': '51.67'}, {'name': 'UK Dental EE', 'amount': '47.50'}, {'name': 'UK Vision EE', 'amount': '27.55'}, {'name': 'UK Ben Health Screening', 'amount': '36.24'}, {'name': 'UK Club Membership', 'amount': '10.00'}]}}, {'payslip': {'uploaded_file_path': 'Pay_Slip_22.pdf', 'uploaded_file_extracted_images': ['Pay_Slip_22.pdf_page_2.png'], 'document_category': 'income_document', 'document_type': 'payslip', 'employee_name': None, 'employer_name': 'ORACLE', 'employee_id': None, 'employee_address': None, 'employer_address': None, 'tax_code': None, 'payslip_date': '2024-03-31', 'pay_period_start': None, 'pay_period_end': None, 'payment_frequency': None, 'basic_pay': None, 'net_pay': None, 'gross_pay': '4270.52', 'salary_components': [{'name': 'Gross Earnings', 'amount': '4270.52'}], 'ni_contribution': '4143.80', 'tax_deduction': '864.20', 'other_deductions': []}}, {'p60': {'uploaded_file_path': 'P60_22.pdf', 'uploaded_file_extracted_images': ['P60_22.pdf_page_0.png'], 'document_category': 'income_document', 'document_type': 'p60', 'employee_details': {'surname': 'Andrea Joan', 'forenames_or_initials': 'Campbell', 'national_insurance_number': 'WA765843B', 'works_payroll_number': '353'}, 'pay_and_income_tax_details': {'previous_employments': {'pay': None, 'tax_deducted': None}, 'current_employment': {'pay': 29934.41, 'tax_deducted': 6059.4}, 'total_for_year': {'pay': 29934.41, 'tax_deducted': 6059.4}, 'final_tax_code': '504L'}, 'national_insurance_contributions': [{'nic_letter': 'A', 'earnings': {'at_or_above_lel': 0.0, 'above_lel_up_to_pt': 0.0, 'above_pt_up_to_uel': 0.0}, 'employee_contributions_above_pt': 2931.94}], 'statutory_payments': {'maternity_pay': None, 'paternity_pay': None, 'adoption_pay': None, 'shared_parental_pay': None}, 'other_details': {'student_loan_deductions': None}, 'employer_details': {'employer_name_and_address': 'UK Legal Entity\n196 Bishopsgate, London,\nEC2M 4NR, United Kingdom', 'paye_reference': '123/0987'}}}, {'contract_of_employment': {'uploaded_file_path': 'Contract_of_Employment_22.pdf', 'uploaded_file_extracted_images': ['Contract_of_Employment_22.pdf_page_0.png'], 'document_category': 'income_document', 'document_type': 'contract_of_employment', 'Contract': {'title': 'Contract of Employment'}, 'Parties': {'Employer': {'name': 'UK Legal Entity', 'address': '196 Bishopsgate, London, EC2M 4NR, United Kingdom', 'PAYE Reference': '123/0987'}, 'Employee': {'name': 'Campbell Andrea Joan', 'address': '123 Castlerock Road, Coleraine, Londonderry, UK, BT51 3TB', 'NI Number': 'WA765843B', 'Payroll Number': '353'}}, 'Terms': {'Commencement of Employment': {'start_date': '1st January 2024'}, 'Job Title': {'description': 'permanent full-time employee under UK Legal Entity'}, 'Type of Employment': {'description': 'permanent, full-time employment contract with no fixed end date'}, 'Place of Work': {'primary_location': 'UK Legal Entity, 196 Bishopsgate, London, EC2M 4NR'}, 'Hours of Work': {'description': 'standard working hours based on a monthly schedule'}, 'Salary': {'gross_salary_per_month': '£4,270.52', 'payment_method': 'BACS', 'total_taxable_pay_for_year': '£29,934.41'}, 'Deductions': {'PAYE_YTD': '£6,059.40', 'NI_contributions_YTD': '£2,931.94', 'other_benefits': ['dental', 'life', 'vision coverage']}}}}, {'contract_of_employment': {'uploaded_file_path': 'Contract_of_Employment_22.pdf', 'uploaded_file_extracted_images': ['Contract_of_Employment_22.pdf_page_1.png'], 'document_category': 'income_document', 'document_type': 'contract_of_employment', 'sections': [{'section_number': '8', 'title': 'Holidays', 'content': 'You are entitled to 28 days of paid annual leave (inclusive of public holidays), calculated on a pro-rata basis if applicable.'}, {'section_number': '9', 'title': 'Sick Pay', 'content': 'You are entitled to Statutory Sick Pay (SSP) in accordance with UK regulations. To date, SSP paid is £37.26.'}, {'section_number': '10', 'title': 'Pension', 'content': "You will be automatically enrolled in the company's pension scheme under applicable laws."}, {'section_number': '11', 'title': 'Notice Period', 'content': "Following the probationary period, either party may terminate this agreement with one month's written notice."}, {'section_number': '12', 'title': 'Confidentiality', 'content': 'During and after your employment, you must not disclose any confidential information related to your work or the company.'}, {'section_number': '13', 'title': 'Governing Law', 'content': 'This agreement is governed by and shall be construed in accordance with the laws of England and Wales.'}, {'title': 'Employer Signature', 'fields': {'Name': '', 'Title': '', 'Signature': '', 'Date': ''}}, {'title': 'Employee Signature', 'fields': {'Name': 'Campbell Andrea Joan', 'Signature': '', 'Date': ''}}]}}], 'identity_verification_document': [{'driving_license': {'uploaded_file_path': 'driving_license_22.pdf', 'uploaded_file_extracted_images': ['driving_license_22.pdf_page_0.png'], 'document_category': 'identity_verification_document', 'document_type': 'driving_license', 'surname': 'CAMPBELL', 'first_name': 'ANDREA JOAN', 'date_of_birth': '1964-07-05', 'place_of_birth': 'BELFAST', 'date_of_issue': '2021-12-01', 'date_of_expiry': '2031-11-30', 'issuing_authority': 'DVA', 'driver_number': '99999999', 'signature': 'Jones', 'address': {'line_1': '123 CASTLEROCK ROAD, COLERAINE', 'city': 'LONDONDERRY', 'postcode': 'BT51 3TB'}, 'entitlements': ['AM', 'A', 'B1', 'B', 'f', 'k', 'p', 'q']}}], 'bank_statement': [{'bank_statement': {'uploaded_file_path': 'Barclays_Bank_Statement_22.pdf', 'uploaded_file_extracted_images': ['Barclays_Bank_Statement_22.pdf_page_0.png'], 'document_category': 'bank_statement', 'document_type': 'bank_statement', 'account_holder_name': 'Campbell Andrea Joan', 'account_holder_address': '1 Churchill Place, London, E14 5HP', 'bank_name': 'Barclays Bank PLC', 'account_number': '10293847', 'sort_code': '20-19-97', 'statement_start_date': '2024-01-01', 'statement_end_date': '2024-03-31', 'salary_credits': [{'date': '2024-01-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}, {'date': '2024-02-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}, {'date': '2024-03-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}]}}]} +2025-04-20 16:32:12 - utils.json_utils - INFO - [json_utils.py:92] - df: document_category Uploaded document_types +1 bank_statement True bank_statement +2 income_document True contract_of_employment, p60, payslip +3 identity_verification_document True driving_license +2025-04-20 16:33:58 - utils.document_display.document_display - INFO - [document_display.py:154] - analysis_results_for_id : {'pay_period_end': '2024-03-31', 'tax_deduction': '864.20', 'other_deductions': [[[], [{'name': 'UK Ben Life Assurance EE', 'amount': '51.67'}, {'name': 'UK Dental EE', 'amount': '47.50'}, {'name': 'UK Vision EE', 'amount': '27.55'}, {'name': 'UK Ben Health Screening', 'amount': '36.24'}, {'name': 'UK Club Membership', 'amount': '10.00'}]], []], 'salary_components': [[[{'name': 'Basic Salary UK', 'amount': '4,270.52'}], [{'name': 'PAYE', 'amount': '864.20'}]], [{'name': 'Gross Earnings', 'amount': '4270.52'}]], 'employee_id': '300000055080542', 'employer_address': '196 Bishopsgate\nLondon\nLondon\nEC2M 4NR\nUnited Kingdom', 'payslip_date': '2024-03-31', 'net_pay': '2817.53', 'document_category': 'income_document', 'document_type': 'payslip', 'gross_pay': '4270.52', 'payment_frequency': 'monthly', 'employee_name': 'CAMPBELL ANDREA', 'ni_contribution': ['415.83', '4143.80'], 'employee_address': '123 CASTLEROCK ROAD\nCOLERAINE LONDONDERRY\nBT51 3TB\nUK', 'basic_pay': '4,270.52', 'pay_period_start': '2024-03-01', 'employer_name': [['UK Legal Entity', 'ORACLE'], 'ORACLE'], 'tax_code': '504L'} +2025-04-20 16:33:58 - utils.document_display.document_display - INFO - [document_display.py:171] - document_type for /tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Pay_Slip_22.pdf: payslip +2025-04-20 16:33:58 - utils.document_display.payslip - INFO - [payslip.py:58] - file_path while displaying: ['/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Pay_Slip_22.pdf_page_0.png', '/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Pay_Slip_22.pdf_page_1.png', '/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Pay_Slip_22.pdf_page_2.png'] +2025-04-20 16:33:58 - utils.document_display.payslip - INFO - [payslip.py:71] - analysis_results_pruned : {'document_category': 'income_document', 'document_type': 'payslip', 'employee_name': 'CAMPBELL ANDREA', 'employer_name': [['UK Legal Entity', 'ORACLE'], 'ORACLE'], 'employee_id': '300000055080542', 'employee_address': '123 CASTLEROCK ROAD\nCOLERAINE LONDONDERRY\nBT51 3TB\nUK', 'employer_address': '196 Bishopsgate\nLondon\nLondon\nEC2M 4NR\nUnited Kingdom', 'tax_code': '504L', 'payslip_date': '2024-03-31', 'pay_period_start': '2024-03-01', 'pay_period_end': '2024-03-31', 'payment_frequency': 'monthly', 'basic_pay': '4,270.52', 'net_pay': '2817.53', 'gross_pay': '4270.52', 'salary_components': [[[{'name': 'Basic Salary UK', 'amount': '4,270.52'}], [{'name': 'PAYE', 'amount': '864.20'}]], [{'name': 'Gross Earnings', 'amount': '4270.52'}]], 'ni_contribution': ['415.83', '4143.80'], 'tax_deduction': '864.20', 'other_deductions': [[[], [{'name': 'UK Ben Life Assurance EE', 'amount': '51.67'}, {'name': 'UK Dental EE', 'amount': '47.50'}, {'name': 'UK Vision EE', 'amount': '27.55'}, {'name': 'UK Ben Health Screening', 'amount': '36.24'}, {'name': 'UK Club Membership', 'amount': '10.00'}]], []]} +2025-04-20 16:33:58 - utils.document_display.payslip - INFO - [payslip.py:93] - other_deductions_dict : [[[], [{'name': 'UK Ben Life Assurance EE', 'amount': '51.67'}, {'name': 'UK Dental EE', 'amount': '47.50'}, {'name': 'UK Vision EE', 'amount': '27.55'}, {'name': 'UK Ben Health Screening', 'amount': '36.24'}, {'name': 'UK Club Membership', 'amount': '10.00'}]], []] +2025-04-20 16:33:58 - utils.document_display.document_display - INFO - [document_display.py:221] - Exception for processing analysis results of {'pay_period_end': '2024-03-31', 'tax_deduction': '864.20', 'other_deductions': [[[], [{'name': 'UK Ben Life Assurance EE', 'amount': '51.67'}, {'name': 'UK Dental EE', 'amount': '47.50'}, {'name': 'UK Vision EE', 'amount': '27.55'}, {'name': 'UK Ben Health Screening', 'amount': '36.24'}, {'name': 'UK Club Membership', 'amount': '10.00'}]], []], 'salary_components': [[[{'name': 'Basic Salary UK', 'amount': '4,270.52'}], [{'name': 'PAYE', 'amount': '864.20'}]], [{'name': 'Gross Earnings', 'amount': '4270.52'}]], 'employee_id': '300000055080542', 'employer_address': '196 Bishopsgate\nLondon\nLondon\nEC2M 4NR\nUnited Kingdom', 'payslip_date': '2024-03-31', 'net_pay': '2817.53', 'document_category': 'income_document', 'document_type': 'payslip', 'gross_pay': '4270.52', 'payment_frequency': 'monthly', 'employee_name': 'CAMPBELL ANDREA', 'ni_contribution': ['415.83', '4143.80'], 'employee_address': '123 CASTLEROCK ROAD\nCOLERAINE LONDONDERRY\nBT51 3TB\nUK', 'basic_pay': '4,270.52', 'pay_period_start': '2024-03-01', 'employer_name': [['UK Legal Entity', 'ORACLE'], 'ORACLE'], 'tax_code': '504L'}: 'list' object has no attribute 'values' +2025-04-20 16:33:58 - utils.document_display.others - INFO - [others.py:50] - file_path while displaying: ['/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Pay_Slip_22.pdf_page_0.png', '/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Pay_Slip_22.pdf_page_1.png', '/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Pay_Slip_22.pdf_page_2.png'] +2025-04-20 16:33:58 - utils.document_display.others - INFO - [others.py:63] - analysis_results_pruned: {'pay_period_end': '2024-03-31', 'tax_deduction': '864.20', 'other_deductions': [[[], [{'name': 'UK Ben Life Assurance EE', 'amount': '51.67'}, {'name': 'UK Dental EE', 'amount': '47.50'}, {'name': 'UK Vision EE', 'amount': '27.55'}, {'name': 'UK Ben Health Screening', 'amount': '36.24'}, {'name': 'UK Club Membership', 'amount': '10.00'}]], []], 'salary_components': [[[{'name': 'Basic Salary UK', 'amount': '4,270.52'}], [{'name': 'PAYE', 'amount': '864.20'}]], [{'name': 'Gross Earnings', 'amount': '4270.52'}]], 'employee_id': '300000055080542', 'employer_address': '196 Bishopsgate\nLondon\nLondon\nEC2M 4NR\nUnited Kingdom', 'payslip_date': '2024-03-31', 'net_pay': '2817.53', 'document_category': 'income_document', 'document_type': 'payslip', 'gross_pay': '4270.52', 'payment_frequency': 'monthly', 'employee_name': 'CAMPBELL ANDREA', 'ni_contribution': ['415.83', '4143.80'], 'employee_address': '123 CASTLEROCK ROAD\nCOLERAINE LONDONDERRY\nBT51 3TB\nUK', 'basic_pay': '4,270.52', 'pay_period_start': '2024-03-01', 'employer_name': [['UK Legal Entity', 'ORACLE'], 'ORACLE'], 'tax_code': '504L'} +2025-04-20 16:33:58 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 2024-03-31 +Name: Value, dtype: object +2025-04-20 16:33:58 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 864.20 +Name: Value, dtype: object +2025-04-20 16:33:58 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 [[[], [{'name': 'UK Ben Life Assurance EE', 'a... +Name: Value, dtype: object +2025-04-20 16:33:58 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 [[[{'name': 'Basic Salary UK', 'amount': '4,27... +Name: Value, dtype: object +2025-04-20 16:33:58 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 300000055080542 +Name: Value, dtype: object +2025-04-20 16:33:58 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 196 Bishopsgate\nLondon\nLondon\nEC2M 4NR\nUni... +Name: Value, dtype: object +2025-04-20 16:33:58 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 2024-03-31 +Name: Value, dtype: object +2025-04-20 16:33:58 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 2817.53 +Name: Value, dtype: object +2025-04-20 16:33:58 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 income_document +Name: Value, dtype: object +2025-04-20 16:33:58 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 payslip +Name: Value, dtype: object +2025-04-20 16:33:58 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 4270.52 +Name: Value, dtype: object +2025-04-20 16:33:58 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 monthly +Name: Value, dtype: object +2025-04-20 16:33:58 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 CAMPBELL ANDREA +Name: Value, dtype: object +2025-04-20 16:33:58 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 [415.83, 4143.80] +Name: Value, dtype: object +2025-04-20 16:33:58 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 123 CASTLEROCK ROAD\nCOLERAINE LONDONDERRY\nBT... +Name: Value, dtype: object +2025-04-20 16:33:58 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 4,270.52 +Name: Value, dtype: object +2025-04-20 16:33:58 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 2024-03-01 +Name: Value, dtype: object +2025-04-20 16:33:58 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 [[UK Legal Entity, ORACLE], ORACLE] +Name: Value, dtype: object +2025-04-20 16:33:58 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 504L +Name: Value, dtype: object +2025-04-20 16:33:58 - utils.document_display.others - INFO - [others.py:111] - simple_df: Key Value +1 tax_code 504L +2025-04-20 16:33:58 - utils.document_display.document_display - INFO - [document_display.py:154] - analysis_results_for_id : {'document_category': 'identity_verification_document', 'document_type': 'driving_license', 'surname': 'CAMPBELL', 'first_name': 'ANDREA JOAN', 'date_of_birth': '1964-07-05', 'place_of_birth': 'BELFAST', 'date_of_issue': '2021-12-01', 'date_of_expiry': '2031-11-30', 'issuing_authority': 'DVA', 'driver_number': '99999999', 'signature': 'Jones', 'address': {'line_1': '123 CASTLEROCK ROAD, COLERAINE', 'city': 'LONDONDERRY', 'postcode': 'BT51 3TB'}, 'entitlements': ['AM', 'A', 'B1', 'B', 'f', 'k', 'p', 'q']} +2025-04-20 16:33:58 - utils.document_display.document_display - INFO - [document_display.py:171] - document_type for /tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/driving_license_22.pdf: driving_license +2025-04-20 16:33:58 - utils.document_display.driving_license - INFO - [driving_license.py:43] - file_path while displaying: ['/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/driving_license_22.pdf_page_0.png'] +2025-04-20 16:33:59 - utils.document_display.driving_license - INFO - [driving_license.py:56] - analysis_results_pruned : {'document_category': 'identity_verification_document', 'document_type': 'driving_license', 'surname': 'CAMPBELL', 'first_name': 'ANDREA JOAN', 'date_of_birth': '1964-07-05', 'place_of_birth': 'BELFAST', 'date_of_issue': '2021-12-01', 'date_of_expiry': '2031-11-30', 'issuing_authority': 'DVA', 'driver_number': '99999999', 'address': {'line_1': '123 CASTLEROCK ROAD, COLERAINE', 'city': 'LONDONDERRY', 'postcode': 'BT51 3TB'}, 'entitlements': ['AM', 'A', 'B1', 'B', 'f', 'k', 'p', 'q']} +2025-04-20 16:33:59 - utils.document_display.document_display - INFO - [document_display.py:154] - analysis_results_for_id : {'document_category': 'income_document', 'document_type': 'p60', 'employee_details': {'surname': 'Andrea Joan', 'forenames_or_initials': 'Campbell', 'national_insurance_number': 'WA765843B', 'works_payroll_number': '353'}, 'pay_and_income_tax_details': {'previous_employments': {'pay': None, 'tax_deducted': None}, 'current_employment': {'pay': 29934.41, 'tax_deducted': 6059.4}, 'total_for_year': {'pay': 29934.41, 'tax_deducted': 6059.4}, 'final_tax_code': '504L'}, 'national_insurance_contributions': [{'nic_letter': 'A', 'earnings': {'at_or_above_lel': 0.0, 'above_lel_up_to_pt': 0.0, 'above_pt_up_to_uel': 0.0}, 'employee_contributions_above_pt': 2931.94}], 'statutory_payments': {'maternity_pay': None, 'paternity_pay': None, 'adoption_pay': None, 'shared_parental_pay': None}, 'other_details': {'student_loan_deductions': None}, 'employer_details': {'employer_name_and_address': 'UK Legal Entity\n196 Bishopsgate, London,\nEC2M 4NR, United Kingdom', 'paye_reference': '123/0987'}} +2025-04-20 16:33:59 - utils.document_display.document_display - INFO - [document_display.py:171] - document_type for /tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/P60_22.pdf: p60 +2025-04-20 16:33:59 - utils.document_display.p60 - INFO - [p60.py:58] - file_path while displaying: ['/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/P60_22.pdf_page_0.png'] +2025-04-20 16:33:59 - utils.document_display.p60 - INFO - [p60.py:71] - analysis_results_pruned : {'document_category': 'income_document', 'document_type': 'p60', 'surname': 'Andrea Joan', 'forenames_or_initials': 'Campbell', 'national_insurance_number': 'WA765843B', 'works_payroll_number': '353', 'previous_employments': {'pay': None, 'tax_deducted': None}, 'current_employment': {'pay': 29934.41, 'tax_deducted': 6059.4}, 'total_for_year': {'pay': 29934.41, 'tax_deducted': 6059.4}, 'final_tax_code': '504L', 'national_insurance_contributions': [{'nic_letter': 'A', 'earnings': {'at_or_above_lel': 0.0, 'above_lel_up_to_pt': 0.0, 'above_pt_up_to_uel': 0.0}, 'employee_contributions_above_pt': 2931.94}], 'employer_name_and_address': 'UK Legal Entity\n196 Bishopsgate, London,\nEC2M 4NR, United Kingdom', 'paye_reference': '123/0987'} +2025-04-20 16:33:59 - utils.document_display.p60 - INFO - [p60.py:103] - simple_df: Key Value +1 document_category income_document +2 document_type p60 +3 surname Andrea Joan +4 forenames_or_initials Campbell +5 national_insurance_number WA765843B +6 works_payroll_number 353 +7 previous_employments {'pay': None, 'tax_deducted': None} +8 current_employment {'pay': 29934.41, 'tax_deducted': 6059.4} +9 total_for_year {'pay': 29934.41, 'tax_deducted': 6059.4} +10 final_tax_code 504L +11 national_insurance_contributions [{'nic_letter': 'A', 'earnings': {'at_or_above... +12 employer_name_and_address UK Legal Entity\n196 Bishopsgate, London,\nEC2... +13 paye_reference 123/0987 +2025-04-20 16:33:59 - utils.document_display.document_display - INFO - [document_display.py:154] - analysis_results_for_id : {'Terms': {'Commencement of Employment': {'start_date': '1st January 2024'}, 'Job Title': {'description': 'permanent full-time employee under UK Legal Entity'}, 'Type of Employment': {'description': 'permanent, full-time employment contract with no fixed end date'}, 'Place of Work': {'primary_location': 'UK Legal Entity, 196 Bishopsgate, London, EC2M 4NR'}, 'Hours of Work': {'description': 'standard working hours based on a monthly schedule'}, 'Salary': {'gross_salary_per_month': '£4,270.52', 'payment_method': 'BACS', 'total_taxable_pay_for_year': '£29,934.41'}, 'Deductions': {'PAYE_YTD': '£6,059.40', 'NI_contributions_YTD': '£2,931.94', 'other_benefits': ['dental', 'life', 'vision coverage']}}, 'Contract': {'title': 'Contract of Employment'}, 'Parties': {'Employer': {'name': 'UK Legal Entity', 'address': '196 Bishopsgate, London, EC2M 4NR, United Kingdom', 'PAYE Reference': '123/0987'}, 'Employee': {'name': 'Campbell Andrea Joan', 'address': '123 Castlerock Road, Coleraine, Londonderry, UK, BT51 3TB', 'NI Number': 'WA765843B', 'Payroll Number': '353'}}, 'sections': [{'section_number': '8', 'title': 'Holidays', 'content': 'You are entitled to 28 days of paid annual leave (inclusive of public holidays), calculated on a pro-rata basis if applicable.'}, {'section_number': '9', 'title': 'Sick Pay', 'content': 'You are entitled to Statutory Sick Pay (SSP) in accordance with UK regulations. To date, SSP paid is £37.26.'}, {'section_number': '10', 'title': 'Pension', 'content': "You will be automatically enrolled in the company's pension scheme under applicable laws."}, {'section_number': '11', 'title': 'Notice Period', 'content': "Following the probationary period, either party may terminate this agreement with one month's written notice."}, {'section_number': '12', 'title': 'Confidentiality', 'content': 'During and after your employment, you must not disclose any confidential information related to your work or the company.'}, {'section_number': '13', 'title': 'Governing Law', 'content': 'This agreement is governed by and shall be construed in accordance with the laws of England and Wales.'}, {'title': 'Employer Signature', 'fields': {'Name': '', 'Title': '', 'Signature': '', 'Date': ''}}, {'title': 'Employee Signature', 'fields': {'Name': 'Campbell Andrea Joan', 'Signature': '', 'Date': ''}}], 'document_category': 'income_document', 'document_type': 'contract_of_employment'} +2025-04-20 16:33:59 - utils.document_display.document_display - INFO - [document_display.py:171] - document_type for /tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Contract_of_Employment_22.pdf: contract_of_employment +2025-04-20 16:33:59 - utils.document_display.others - INFO - [others.py:50] - file_path while displaying: ['/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Contract_of_Employment_22.pdf_page_0.png', '/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Contract_of_Employment_22.pdf_page_1.png'] +2025-04-20 16:33:59 - utils.document_display.others - INFO - [others.py:63] - analysis_results_pruned: {'Terms': {'Commencement of Employment': {'start_date': '1st January 2024'}, 'Job Title': {'description': 'permanent full-time employee under UK Legal Entity'}, 'Type of Employment': {'description': 'permanent, full-time employment contract with no fixed end date'}, 'Place of Work': {'primary_location': 'UK Legal Entity, 196 Bishopsgate, London, EC2M 4NR'}, 'Hours of Work': {'description': 'standard working hours based on a monthly schedule'}, 'Salary': {'gross_salary_per_month': '£4,270.52', 'payment_method': 'BACS', 'total_taxable_pay_for_year': '£29,934.41'}, 'Deductions': {'PAYE_YTD': '£6,059.40', 'NI_contributions_YTD': '£2,931.94', 'other_benefits': ['dental', 'life', 'vision coverage']}}, 'Contract': {'title': 'Contract of Employment'}, 'Parties': {'Employer': {'name': 'UK Legal Entity', 'address': '196 Bishopsgate, London, EC2M 4NR, United Kingdom', 'PAYE Reference': '123/0987'}, 'Employee': {'name': 'Campbell Andrea Joan', 'address': '123 Castlerock Road, Coleraine, Londonderry, UK, BT51 3TB', 'NI Number': 'WA765843B', 'Payroll Number': '353'}}, 'sections': [{'section_number': '8', 'title': 'Holidays', 'content': 'You are entitled to 28 days of paid annual leave (inclusive of public holidays), calculated on a pro-rata basis if applicable.'}, {'section_number': '9', 'title': 'Sick Pay', 'content': 'You are entitled to Statutory Sick Pay (SSP) in accordance with UK regulations. To date, SSP paid is £37.26.'}, {'section_number': '10', 'title': 'Pension', 'content': "You will be automatically enrolled in the company's pension scheme under applicable laws."}, {'section_number': '11', 'title': 'Notice Period', 'content': "Following the probationary period, either party may terminate this agreement with one month's written notice."}, {'section_number': '12', 'title': 'Confidentiality', 'content': 'During and after your employment, you must not disclose any confidential information related to your work or the company.'}, {'section_number': '13', 'title': 'Governing Law', 'content': 'This agreement is governed by and shall be construed in accordance with the laws of England and Wales.'}, {'title': 'Employer Signature', 'fields': {'Name': '', 'Title': '', 'Signature': '', 'Date': ''}}, {'title': 'Employee Signature', 'fields': {'Name': 'Campbell Andrea Joan', 'Signature': '', 'Date': ''}}], 'document_category': 'income_document', 'document_type': 'contract_of_employment'} +2025-04-20 16:33:59 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 [{'section_number': '8', 'title': 'Holidays', ... +Name: Value, dtype: object +2025-04-20 16:33:59 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 income_document +Name: Value, dtype: object +2025-04-20 16:33:59 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 contract_of_employment +Name: Value, dtype: object +2025-04-20 16:33:59 - utils.document_display.others - INFO - [others.py:111] - simple_df: Key Value +1 document_type contract_of_employment +2025-04-20 16:33:59 - utils.document_display.document_display - INFO - [document_display.py:154] - analysis_results_for_id : {'document_category': 'bank_statement', 'document_type': 'bank_statement', 'account_holder_name': 'Campbell Andrea Joan', 'account_holder_address': '1 Churchill Place, London, E14 5HP', 'bank_name': 'Barclays Bank PLC', 'account_number': '10293847', 'sort_code': '20-19-97', 'statement_start_date': '2024-01-01', 'statement_end_date': '2024-03-31', 'salary_credits': [{'date': '2024-01-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}, {'date': '2024-02-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}, {'date': '2024-03-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}]} +2025-04-20 16:33:59 - utils.document_display.document_display - INFO - [document_display.py:171] - document_type for /tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Barclays_Bank_Statement_22.pdf: bank_statement +2025-04-20 16:33:59 - utils.document_display.bank_statement - INFO - [bank_statement.py:40] - file_path while displaying: ['/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Barclays_Bank_Statement_22.pdf_page_0.png'] +2025-04-20 16:33:59 - utils.document_display.bank_statement - INFO - [bank_statement.py:53] - analysis_results_pruned : {'document_category': 'bank_statement', 'document_type': 'bank_statement', 'account_holder_name': 'Campbell Andrea Joan', 'account_holder_address': '1 Churchill Place, London, E14 5HP', 'bank_name': 'Barclays Bank PLC', 'account_number': '10293847', 'sort_code': '20-19-97', 'statement_start_date': '2024-01-01', 'statement_end_date': '2024-03-31', 'salary_credits': [{'date': '2024-01-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}, {'date': '2024-02-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}, {'date': '2024-03-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}]} +2025-04-20 16:33:59 - utils.document_display.bank_statement - INFO - [bank_statement.py:75] - salary_dict : [{'date': '2024-01-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}, {'date': '2024-02-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}, {'date': '2024-03-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}] +2025-04-20 16:33:59 - utils.document_display.bank_statement - INFO - [bank_statement.py:85] - simple_df: Key Value +1 date 2024-03-10 +2 amount 2817.53 +3 from Missing +4 description Salary - UK Legal Entity +2025-04-20 16:33:59 - utils.tabs.document_validation_tab - INFO - [document_validation_tab.py:52] - full_data : {'/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Pay_Slip_22.pdf': {'/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Pay_Slip_22.pdf_page_0.png': {'document_category': 'income_document', 'document_type': 'payslip', 'employee_name': 'CAMPBELL ANDREA', 'employer_name': 'UK Legal Entity', 'employee_id': '300000055080542', 'employee_address': '123 CASTLEROCK ROAD\nCOLERAINE LONDONDERRY\nBT51 3TB\nUK', 'employer_address': '196 Bishopsgate\nLondon\nLondon\nEC2M 4NR\nUnited Kingdom', 'tax_code': '504L', 'payslip_date': '2024-03-31', 'pay_period_start': '2024-03-01', 'pay_period_end': '2024-03-31', 'payment_frequency': 'monthly', 'basic_pay': '4,270.52', 'net_pay': None, 'gross_pay': None, 'salary_components': [{'name': 'Basic Salary UK', 'amount': '4,270.52'}], 'ni_contribution': None, 'tax_deduction': None, 'other_deductions': []}, '/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Pay_Slip_22.pdf_page_1.png': {'document_category': 'income_document', 'document_type': 'payslip', 'employee_name': None, 'employer_name': 'ORACLE', 'employee_id': None, 'employee_address': None, 'employer_address': None, 'tax_code': None, 'payslip_date': '2024-03-31', 'pay_period_start': None, 'pay_period_end': None, 'payment_frequency': None, 'basic_pay': None, 'net_pay': '2817.53', 'gross_pay': '4270.52', 'salary_components': [{'name': 'PAYE', 'amount': '864.20'}], 'ni_contribution': '415.83', 'tax_deduction': None, 'other_deductions': [{'name': 'UK Ben Life Assurance EE', 'amount': '51.67'}, {'name': 'UK Dental EE', 'amount': '47.50'}, {'name': 'UK Vision EE', 'amount': '27.55'}, {'name': 'UK Ben Health Screening', 'amount': '36.24'}, {'name': 'UK Club Membership', 'amount': '10.00'}]}, '/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Pay_Slip_22.pdf_page_2.png': {'document_category': 'income_document', 'document_type': 'payslip', 'employee_name': None, 'employer_name': 'ORACLE', 'employee_id': None, 'employee_address': None, 'employer_address': None, 'tax_code': None, 'payslip_date': '2024-03-31', 'pay_period_start': None, 'pay_period_end': None, 'payment_frequency': None, 'basic_pay': None, 'net_pay': None, 'gross_pay': '4270.52', 'salary_components': [{'name': 'Gross Earnings', 'amount': '4270.52'}], 'ni_contribution': '4143.80', 'tax_deduction': '864.20', 'other_deductions': []}}, '/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/driving_license_22.pdf': {'/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/driving_license_22.pdf_page_0.png': {'document_category': 'identity_verification_document', 'document_type': 'driving_license', 'surname': 'CAMPBELL', 'first_name': 'ANDREA JOAN', 'date_of_birth': '1964-07-05', 'place_of_birth': 'BELFAST', 'date_of_issue': '2021-12-01', 'date_of_expiry': '2031-11-30', 'issuing_authority': 'DVA', 'driver_number': '99999999', 'signature': 'Jones', 'address': {'line_1': '123 CASTLEROCK ROAD, COLERAINE', 'city': 'LONDONDERRY', 'postcode': 'BT51 3TB'}, 'entitlements': ['AM', 'A', 'B1', 'B', 'f', 'k', 'p', 'q']}}, '/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/P60_22.pdf': {'/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/P60_22.pdf_page_0.png': {'document_category': 'income_document', 'document_type': 'p60', 'employee_details': {'surname': 'Andrea Joan', 'forenames_or_initials': 'Campbell', 'national_insurance_number': 'WA765843B', 'works_payroll_number': '353'}, 'pay_and_income_tax_details': {'previous_employments': {'pay': None, 'tax_deducted': None}, 'current_employment': {'pay': 29934.41, 'tax_deducted': 6059.4}, 'total_for_year': {'pay': 29934.41, 'tax_deducted': 6059.4}, 'final_tax_code': '504L'}, 'national_insurance_contributions': [{'nic_letter': 'A', 'earnings': {'at_or_above_lel': 0.0, 'above_lel_up_to_pt': 0.0, 'above_pt_up_to_uel': 0.0}, 'employee_contributions_above_pt': 2931.94}], 'statutory_payments': {'maternity_pay': None, 'paternity_pay': None, 'adoption_pay': None, 'shared_parental_pay': None}, 'other_details': {'student_loan_deductions': None}, 'employer_details': {'employer_name_and_address': 'UK Legal Entity\n196 Bishopsgate, London,\nEC2M 4NR, United Kingdom', 'paye_reference': '123/0987'}}}, '/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Contract_of_Employment_22.pdf': {'/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Contract_of_Employment_22.pdf_page_0.png': {'document_category': 'income_document', 'document_type': 'contract_of_employment', 'Contract': {'title': 'Contract of Employment'}, 'Parties': {'Employer': {'name': 'UK Legal Entity', 'address': '196 Bishopsgate, London, EC2M 4NR, United Kingdom', 'PAYE Reference': '123/0987'}, 'Employee': {'name': 'Campbell Andrea Joan', 'address': '123 Castlerock Road, Coleraine, Londonderry, UK, BT51 3TB', 'NI Number': 'WA765843B', 'Payroll Number': '353'}}, 'Terms': {'Commencement of Employment': {'start_date': '1st January 2024'}, 'Job Title': {'description': 'permanent full-time employee under UK Legal Entity'}, 'Type of Employment': {'description': 'permanent, full-time employment contract with no fixed end date'}, 'Place of Work': {'primary_location': 'UK Legal Entity, 196 Bishopsgate, London, EC2M 4NR'}, 'Hours of Work': {'description': 'standard working hours based on a monthly schedule'}, 'Salary': {'gross_salary_per_month': '£4,270.52', 'payment_method': 'BACS', 'total_taxable_pay_for_year': '£29,934.41'}, 'Deductions': {'PAYE_YTD': '£6,059.40', 'NI_contributions_YTD': '£2,931.94', 'other_benefits': ['dental', 'life', 'vision coverage']}}}, '/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Contract_of_Employment_22.pdf_page_1.png': {'document_category': 'income_document', 'document_type': 'contract_of_employment', 'sections': [{'section_number': '8', 'title': 'Holidays', 'content': 'You are entitled to 28 days of paid annual leave (inclusive of public holidays), calculated on a pro-rata basis if applicable.'}, {'section_number': '9', 'title': 'Sick Pay', 'content': 'You are entitled to Statutory Sick Pay (SSP) in accordance with UK regulations. To date, SSP paid is £37.26.'}, {'section_number': '10', 'title': 'Pension', 'content': "You will be automatically enrolled in the company's pension scheme under applicable laws."}, {'section_number': '11', 'title': 'Notice Period', 'content': "Following the probationary period, either party may terminate this agreement with one month's written notice."}, {'section_number': '12', 'title': 'Confidentiality', 'content': 'During and after your employment, you must not disclose any confidential information related to your work or the company.'}, {'section_number': '13', 'title': 'Governing Law', 'content': 'This agreement is governed by and shall be construed in accordance with the laws of England and Wales.'}, {'title': 'Employer Signature', 'fields': {'Name': '', 'Title': '', 'Signature': '', 'Date': ''}}, {'title': 'Employee Signature', 'fields': {'Name': 'Campbell Andrea Joan', 'Signature': '', 'Date': ''}}]}}, '/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Barclays_Bank_Statement_22.pdf': {'/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Barclays_Bank_Statement_22.pdf_page_0.png': {'document_category': 'bank_statement', 'document_type': 'bank_statement', 'account_holder_name': 'Campbell Andrea Joan', 'account_holder_address': '1 Churchill Place, London, E14 5HP', 'bank_name': 'Barclays Bank PLC', 'account_number': '10293847', 'sort_code': '20-19-97', 'statement_start_date': '2024-01-01', 'statement_end_date': '2024-03-31', 'salary_credits': [{'date': '2024-01-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}, {'date': '2024-02-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}, {'date': '2024-03-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}]}}} +2025-04-20 16:33:59 - utils.tabs.document_validation_tab - INFO - [document_validation_tab.py:56] - full_data_transformed : {'income_document': [{'payslip': {'uploaded_file_path': 'Pay_Slip_22.pdf', 'uploaded_file_extracted_images': ['Pay_Slip_22.pdf_page_0.png'], 'document_category': 'income_document', 'document_type': 'payslip', 'employee_name': 'CAMPBELL ANDREA', 'employer_name': 'UK Legal Entity', 'employee_id': '300000055080542', 'employee_address': '123 CASTLEROCK ROAD\nCOLERAINE LONDONDERRY\nBT51 3TB\nUK', 'employer_address': '196 Bishopsgate\nLondon\nLondon\nEC2M 4NR\nUnited Kingdom', 'tax_code': '504L', 'payslip_date': '2024-03-31', 'pay_period_start': '2024-03-01', 'pay_period_end': '2024-03-31', 'payment_frequency': 'monthly', 'basic_pay': '4,270.52', 'net_pay': None, 'gross_pay': None, 'salary_components': [{'name': 'Basic Salary UK', 'amount': '4,270.52'}], 'ni_contribution': None, 'tax_deduction': None, 'other_deductions': []}}, {'payslip': {'uploaded_file_path': 'Pay_Slip_22.pdf', 'uploaded_file_extracted_images': ['Pay_Slip_22.pdf_page_1.png'], 'document_category': 'income_document', 'document_type': 'payslip', 'employee_name': None, 'employer_name': 'ORACLE', 'employee_id': None, 'employee_address': None, 'employer_address': None, 'tax_code': None, 'payslip_date': '2024-03-31', 'pay_period_start': None, 'pay_period_end': None, 'payment_frequency': None, 'basic_pay': None, 'net_pay': '2817.53', 'gross_pay': '4270.52', 'salary_components': [{'name': 'PAYE', 'amount': '864.20'}], 'ni_contribution': '415.83', 'tax_deduction': None, 'other_deductions': [{'name': 'UK Ben Life Assurance EE', 'amount': '51.67'}, {'name': 'UK Dental EE', 'amount': '47.50'}, {'name': 'UK Vision EE', 'amount': '27.55'}, {'name': 'UK Ben Health Screening', 'amount': '36.24'}, {'name': 'UK Club Membership', 'amount': '10.00'}]}}, {'payslip': {'uploaded_file_path': 'Pay_Slip_22.pdf', 'uploaded_file_extracted_images': ['Pay_Slip_22.pdf_page_2.png'], 'document_category': 'income_document', 'document_type': 'payslip', 'employee_name': None, 'employer_name': 'ORACLE', 'employee_id': None, 'employee_address': None, 'employer_address': None, 'tax_code': None, 'payslip_date': '2024-03-31', 'pay_period_start': None, 'pay_period_end': None, 'payment_frequency': None, 'basic_pay': None, 'net_pay': None, 'gross_pay': '4270.52', 'salary_components': [{'name': 'Gross Earnings', 'amount': '4270.52'}], 'ni_contribution': '4143.80', 'tax_deduction': '864.20', 'other_deductions': []}}, {'p60': {'uploaded_file_path': 'P60_22.pdf', 'uploaded_file_extracted_images': ['P60_22.pdf_page_0.png'], 'document_category': 'income_document', 'document_type': 'p60', 'employee_details': {'surname': 'Andrea Joan', 'forenames_or_initials': 'Campbell', 'national_insurance_number': 'WA765843B', 'works_payroll_number': '353'}, 'pay_and_income_tax_details': {'previous_employments': {'pay': None, 'tax_deducted': None}, 'current_employment': {'pay': 29934.41, 'tax_deducted': 6059.4}, 'total_for_year': {'pay': 29934.41, 'tax_deducted': 6059.4}, 'final_tax_code': '504L'}, 'national_insurance_contributions': [{'nic_letter': 'A', 'earnings': {'at_or_above_lel': 0.0, 'above_lel_up_to_pt': 0.0, 'above_pt_up_to_uel': 0.0}, 'employee_contributions_above_pt': 2931.94}], 'statutory_payments': {'maternity_pay': None, 'paternity_pay': None, 'adoption_pay': None, 'shared_parental_pay': None}, 'other_details': {'student_loan_deductions': None}, 'employer_details': {'employer_name_and_address': 'UK Legal Entity\n196 Bishopsgate, London,\nEC2M 4NR, United Kingdom', 'paye_reference': '123/0987'}}}, {'contract_of_employment': {'uploaded_file_path': 'Contract_of_Employment_22.pdf', 'uploaded_file_extracted_images': ['Contract_of_Employment_22.pdf_page_0.png'], 'document_category': 'income_document', 'document_type': 'contract_of_employment', 'Contract': {'title': 'Contract of Employment'}, 'Parties': {'Employer': {'name': 'UK Legal Entity', 'address': '196 Bishopsgate, London, EC2M 4NR, United Kingdom', 'PAYE Reference': '123/0987'}, 'Employee': {'name': 'Campbell Andrea Joan', 'address': '123 Castlerock Road, Coleraine, Londonderry, UK, BT51 3TB', 'NI Number': 'WA765843B', 'Payroll Number': '353'}}, 'Terms': {'Commencement of Employment': {'start_date': '1st January 2024'}, 'Job Title': {'description': 'permanent full-time employee under UK Legal Entity'}, 'Type of Employment': {'description': 'permanent, full-time employment contract with no fixed end date'}, 'Place of Work': {'primary_location': 'UK Legal Entity, 196 Bishopsgate, London, EC2M 4NR'}, 'Hours of Work': {'description': 'standard working hours based on a monthly schedule'}, 'Salary': {'gross_salary_per_month': '£4,270.52', 'payment_method': 'BACS', 'total_taxable_pay_for_year': '£29,934.41'}, 'Deductions': {'PAYE_YTD': '£6,059.40', 'NI_contributions_YTD': '£2,931.94', 'other_benefits': ['dental', 'life', 'vision coverage']}}}}, {'contract_of_employment': {'uploaded_file_path': 'Contract_of_Employment_22.pdf', 'uploaded_file_extracted_images': ['Contract_of_Employment_22.pdf_page_1.png'], 'document_category': 'income_document', 'document_type': 'contract_of_employment', 'sections': [{'section_number': '8', 'title': 'Holidays', 'content': 'You are entitled to 28 days of paid annual leave (inclusive of public holidays), calculated on a pro-rata basis if applicable.'}, {'section_number': '9', 'title': 'Sick Pay', 'content': 'You are entitled to Statutory Sick Pay (SSP) in accordance with UK regulations. To date, SSP paid is £37.26.'}, {'section_number': '10', 'title': 'Pension', 'content': "You will be automatically enrolled in the company's pension scheme under applicable laws."}, {'section_number': '11', 'title': 'Notice Period', 'content': "Following the probationary period, either party may terminate this agreement with one month's written notice."}, {'section_number': '12', 'title': 'Confidentiality', 'content': 'During and after your employment, you must not disclose any confidential information related to your work or the company.'}, {'section_number': '13', 'title': 'Governing Law', 'content': 'This agreement is governed by and shall be construed in accordance with the laws of England and Wales.'}, {'title': 'Employer Signature', 'fields': {'Name': '', 'Title': '', 'Signature': '', 'Date': ''}}, {'title': 'Employee Signature', 'fields': {'Name': 'Campbell Andrea Joan', 'Signature': '', 'Date': ''}}]}}], 'identity_verification_document': [{'driving_license': {'uploaded_file_path': 'driving_license_22.pdf', 'uploaded_file_extracted_images': ['driving_license_22.pdf_page_0.png'], 'document_category': 'identity_verification_document', 'document_type': 'driving_license', 'surname': 'CAMPBELL', 'first_name': 'ANDREA JOAN', 'date_of_birth': '1964-07-05', 'place_of_birth': 'BELFAST', 'date_of_issue': '2021-12-01', 'date_of_expiry': '2031-11-30', 'issuing_authority': 'DVA', 'driver_number': '99999999', 'signature': 'Jones', 'address': {'line_1': '123 CASTLEROCK ROAD, COLERAINE', 'city': 'LONDONDERRY', 'postcode': 'BT51 3TB'}, 'entitlements': ['AM', 'A', 'B1', 'B', 'f', 'k', 'p', 'q']}}], 'bank_statement': [{'bank_statement': {'uploaded_file_path': 'Barclays_Bank_Statement_22.pdf', 'uploaded_file_extracted_images': ['Barclays_Bank_Statement_22.pdf_page_0.png'], 'document_category': 'bank_statement', 'document_type': 'bank_statement', 'account_holder_name': 'Campbell Andrea Joan', 'account_holder_address': '1 Churchill Place, London, E14 5HP', 'bank_name': 'Barclays Bank PLC', 'account_number': '10293847', 'sort_code': '20-19-97', 'statement_start_date': '2024-01-01', 'statement_end_date': '2024-03-31', 'salary_credits': [{'date': '2024-01-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}, {'date': '2024-02-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}, {'date': '2024-03-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}]}}]} +2025-04-20 16:33:59 - utils.json_utils - INFO - [json_utils.py:92] - df: document_category Uploaded document_types +1 bank_statement True bank_statement +2 income_document True contract_of_employment, p60, payslip +3 identity_verification_document True driving_license +2025-04-20 16:33:59 - utils.prep_validators_payload - INFO - [prep_validators_payload.py:176] - transformed_validated_data: {'payslips': [{'pay_period_start_date': datetime.date(2024, 3, 1), 'pay_period_end_date': datetime.date(2024, 3, 31), 'pay_period_days': None, 'pay_date': datetime.date(2024, 3, 31), 'full_name': 'CAMPBELL ANDREA', 'employer_name': 'UK Legal Entity', 'is_basic_pay_net_pay_other_salary_components_present': False, 'is_tax_deducation_present': False, 'is_ni_deduction_present': False, 'complete_employee_address': '123 CASTLEROCK ROAD\nCOLERAINE LONDONDERRY\nBT51 3TB\nUK', 'pay_dates_err_msgs': 'Pay date must be within the last 35 days & not in the future', 'full_name_err_msgs': 'Name mismatch with provided value', 'employer_name_err_msgs': None, 'payslip_line_item_presence_err_msgs': 'Basic salary, Net Salary and/or other requisite salary components not present, Tax Deduction line item must be present, NI/National Insurance line item must be present', 'complete_employee_address_err_msgs': 'Complete address mismatch with provided value', 'validation_policy_status_df': Policy Value Status Message +0 Employer & Customer Names CAMPBELL ANDREA True Applicant's full name is present +1 Employer & Customer Names 15 True Full name has a length of at least 2 & at most 61 +2 Employer & Customer Names 2 True Full name consists of at least 2 words (first ... +3 Employer & Customer Names CAMPBELL ANDREA, Andrea Joan Campbell False Name does not match with provided value +4 Employer & Customer Names UK Legal Entity True Employer name is present +5 Employer & Customer Names UK Legal Entity, UK Legal Entity True Employer name matches with provided value +6 Undated Payslips 2024-03-01, 2024-03-31 True Dated payslip +7 Pay Date Requirement 2024-03-31 False Pay date is not within the last 35 days & not ... +8 Pay Period Start & End Dates 2024-03-01, 2024-03-31 True Pay period's start date is before the end date +9 Submission Requirement (Monthly Pay) 30 True Pay period's start date & end date have a gap ... +10 Requisite salary line items False False Basic salary, Net Salary and/or other requisit... +11 Tax & NI Contributions False False Tax Deduction line item is not present +12 Tax & NI Contributions False False NI/National Insurance line item is not present +13 Applicant Address 123 CASTLEROCK ROAD\nCOLERAINE LONDONDERRY\nBT... True Applicant's address is present +14 Applicant Address 53 True Applicant's complete address has a length of a... +15 Applicant Address 123 CASTLEROCK ROAD\nCOLERAINE LONDONDERRY\nBT... False Complete address mismatch with provided value, 'is_red_flagged': True}, {'pay_period_start_date': None, 'pay_period_end_date': None, 'pay_period_days': None, 'pay_date': datetime.date(2024, 3, 31), 'full_name': None, 'employer_name': 'ORACLE', 'is_basic_pay_net_pay_other_salary_components_present': False, 'is_tax_deducation_present': False, 'is_ni_deduction_present': True, 'complete_employee_address': None, 'pay_dates_err_msgs': 'Undated Payslips, Pay date must be within the last 35 days & not in the future', 'full_name_err_msgs': "Applicant's full name not present, Full name must have a length of at least 2 & at most 61, Full name must consist of at least 2 words (first name + last name), Name mismatch with provided value", 'employer_name_err_msgs': 'Employer name mismatch with provided value', 'payslip_line_item_presence_err_msgs': 'Basic salary, Net Salary and/or other requisite salary components not present, Tax Deduction line item must be present', 'complete_employee_address_err_msgs': "Applicant's address not present, Applicant's complete address must have a length of at least 10 & at most 300, Complete address mismatch with provided value", 'validation_policy_status_df': Policy Value Status Message +0 Employer & Customer Names None False Applicant's full name is not present +1 Employer & Customer Names 0 False Full name has a length of at least 2 & at most 61 +2 Employer & Customer Names None False Full name does not consist of at least 2 words... +3 Employer & Customer Names None, Andrea Joan Campbell False Name does not match with provided value +4 Employer & Customer Names ORACLE True Employer name is present +5 Employer & Customer Names ORACLE, UK Legal Entity False Employer name does not match with provided value +6 Undated Payslips None, None False Undated payslip +7 Pay Date Requirement 2024-03-31 False Pay date is not within the last 35 days & not ... +8 Pay Period Start & End Dates None False Pay period's start date is not before the end ... +9 Submission Requirement (Monthly Pay) None False Pay period's start date & end date donot have ... +10 Requisite salary line items False False Basic salary, Net Salary and/or other requisit... +11 Tax & NI Contributions False False Tax Deduction line item is not present +12 Tax & NI Contributions True True NI/National Insurance line item is present +13 Applicant Address None False Applicant's address not present +14 Applicant Address 0 False Applicant's complete address does not have a l... +15 Applicant Address None, 123, CASTLEROCK ROAD, COLERAINE, LONDOND... False Complete address mismatch with provided value, 'is_red_flagged': True}, {'pay_period_start_date': None, 'pay_period_end_date': None, 'pay_period_days': None, 'pay_date': datetime.date(2024, 3, 31), 'full_name': None, 'employer_name': 'ORACLE', 'is_basic_pay_net_pay_other_salary_components_present': False, 'is_tax_deducation_present': True, 'is_ni_deduction_present': True, 'complete_employee_address': None, 'pay_dates_err_msgs': 'Undated Payslips, Pay date must be within the last 35 days & not in the future', 'full_name_err_msgs': "Applicant's full name not present, Full name must have a length of at least 2 & at most 61, Full name must consist of at least 2 words (first name + last name), Name mismatch with provided value", 'employer_name_err_msgs': 'Employer name mismatch with provided value', 'payslip_line_item_presence_err_msgs': 'Basic salary, Net Salary and/or other requisite salary components not present', 'complete_employee_address_err_msgs': "Applicant's address not present, Applicant's complete address must have a length of at least 10 & at most 300, Complete address mismatch with provided value", 'validation_policy_status_df': Policy Value Status Message +0 Employer & Customer Names None False Applicant's full name is not present +1 Employer & Customer Names 0 False Full name has a length of at least 2 & at most 61 +2 Employer & Customer Names None False Full name does not consist of at least 2 words... +3 Employer & Customer Names None, Andrea Joan Campbell False Name does not match with provided value +4 Employer & Customer Names ORACLE True Employer name is present +5 Employer & Customer Names ORACLE, UK Legal Entity False Employer name does not match with provided value +6 Undated Payslips None, None False Undated payslip +7 Pay Date Requirement 2024-03-31 False Pay date is not within the last 35 days & not ... +8 Pay Period Start & End Dates None False Pay period's start date is not before the end ... +9 Submission Requirement (Monthly Pay) None False Pay period's start date & end date donot have ... +10 Requisite salary line items False False Basic salary, Net Salary and/or other requisit... +11 Tax & NI Contributions True True Tax Deduction line item is present +12 Tax & NI Contributions True True NI/National Insurance line item is present +13 Applicant Address None False Applicant's address not present +14 Applicant Address 0 False Applicant's complete address does not have a l... +15 Applicant Address None, 123, CASTLEROCK ROAD, COLERAINE, LONDOND... False Complete address mismatch with provided value, 'is_red_flagged': True}], 'bank_statements': [{'statement_start_date': datetime.date(2024, 1, 1), 'statement_end_date': datetime.date(2024, 3, 31), 'first_salary_deposit_date_present': datetime.date(2024, 1, 10), 'bank_name': 'Barclays Bank PLC', 'full_name': 'Campbell Andrea Joan', 'account_number': '10293847', 'sort_code': '20-19-97', 'account_statement_date_err_msgs': None, 'full_name_err_msgs': 'Name mismatch with provided value', 'bank_name_err_msgs': None, 'account_number_err_msgs': None, 'sort_code_err_msgs': None, 'salary_deposit_err_msgs': None, 'validation_policy_status_df': Policy Value Status Message +0 Full Name Campbell Andrea Joan True Applicant's full name is present +1 Full Name 20 True Full name has a length of at least 2 & at most 61 +2 Data Match Campbell Andrea Joan, Andrea Joan Campbell False Name does not match with provided value +3 Full Name Campbell Andrea Joan True Full name consists of at least 2 words (first ... +4 Bank name Barclays Bank PLC True Bank name is present +5 Bank name 17 True Bank name has a length of at least 4 & at most 50 +6 Data Match Barclays Bank PLC, Barclays Bank PLC True Bank name matches with provided value +7 Bank account number 10293847 True Bank name matches is present +8 Bank account number 10293847 True Provided account number is valid +9 Sort code 20-19-97 True Sort code is present. +10 Sort code 20-19-97 True Sort code's format is valid. +11 Date checks 2024-01-01, 2024-03-31 True Both statement start date & statement end date... +12 Coverage 2024-01-01, 2024-03-31 True Account statement period's start date & end da... +13 Salary deposit 2024-01-10 True At least one salary credit is present +14 Date checks 2024-01-01, 2024-03-31 True Statement period's end date is after the start..., 'is_red_flagged': True}], 'passports': [], 'driving_licenses': [{'full_name': 'ANDREA JOAN CAMPBELL', 'full_name_err_msgs': None, 'expiry_date_err_msgs': None, 'validation_policy_status_df': Policy Value Status Message +0 Applicant's full name should be present ANDREA JOAN CAMPBELL True Applicant's full name is present +1 Full name must have a length of at least 2 & a... 20 True Full name has a length of at least 2 & at most 61 +2 Name should match with provided value ANDREA JOAN CAMPBELL True Name matches with provided value +3 Full name must consist of at least 2 words (fi... 3 True Full name does consist of at least 2 words (fi..., 'is_red_flagged': False}]} +2025-04-20 16:33:59 - utils.tabs.document_validation_tab - INFO - [document_validation_tab.py:87] - df: Policy Value Status Message +1 Employer & Customer Names CAMPBELL ANDREA True Applicant's full name is present +2 Employer & Customer Names 15 True Full name has a length of at least 2 & at most 61 +3 Employer & Customer Names 2 True Full name consists of at least 2 words (first ... +4 Employer & Customer Names CAMPBELL ANDREA, Andrea Joan Campbell False Name does not match with provided value +5 Employer & Customer Names UK Legal Entity True Employer name is present +6 Employer & Customer Names UK Legal Entity, UK Legal Entity True Employer name matches with provided value +7 Undated Payslips 2024-03-01, 2024-03-31 True Dated payslip +8 Pay Date Requirement 2024-03-31 False Pay date is not within the last 35 days & not ... +9 Pay Period Start & End Dates 2024-03-01, 2024-03-31 True Pay period's start date is before the end date +10 Submission Requirement (Monthly Pay) 30 True Pay period's start date & end date have a gap ... +11 Requisite salary line items False False Basic salary, Net Salary and/or other requisit... +12 Tax & NI Contributions False False Tax Deduction line item is not present +13 Tax & NI Contributions False False NI/National Insurance line item is not present +14 Applicant Address 123 CASTLEROCK ROAD\nCOLERAINE LONDONDERRY\nBT... True Applicant's address is present +15 Applicant Address 53 True Applicant's complete address has a length of a... +16 Applicant Address 123 CASTLEROCK ROAD\nCOLERAINE LONDONDERRY\nBT... False Complete address mismatch with provided value +2025-04-20 16:33:59 - utils.tabs.document_validation_tab - INFO - [document_validation_tab.py:87] - df: Policy Value Status Message +1 Full Name Campbell Andrea Joan True Applicant's full name is present +2 Full Name 20 True Full name has a length of at least 2 & at most 61 +3 Data Match Campbell Andrea Joan, Andrea Joan Campbell False Name does not match with provided value +4 Full Name Campbell Andrea Joan True Full name consists of at least 2 words (first ... +5 Bank name Barclays Bank PLC True Bank name is present +6 Bank name 17 True Bank name has a length of at least 4 & at most 50 +7 Data Match Barclays Bank PLC, Barclays Bank PLC True Bank name matches with provided value +8 Bank account number 10293847 True Bank name matches is present +9 Bank account number 10293847 True Provided account number is valid +10 Sort code 20-19-97 True Sort code is present. +11 Sort code 20-19-97 True Sort code's format is valid. +12 Date checks 2024-01-01, 2024-03-31 True Both statement start date & statement end date... +13 Coverage 2024-01-01, 2024-03-31 True Account statement period's start date & end da... +14 Salary deposit 2024-01-10 True At least one salary credit is present +15 Date checks 2024-01-01, 2024-03-31 True Statement period's end date is after the start... +2025-04-20 16:33:59 - utils.tabs.document_validation_tab - INFO - [document_validation_tab.py:87] - df: Policy Value Status Message +1 Applicant's full name should be present ANDREA JOAN CAMPBELL True Applicant's full name is present +2 Full name must have a length of at least 2 & a... 20 True Full name has a length of at least 2 & at most 61 +3 Name should match with provided value ANDREA JOAN CAMPBELL True Name matches with provided value +4 Full name must consist of at least 2 words (fi... 3 True Full name does consist of at least 2 words (fi... +2025-04-20 16:35:14 - utils.document_display.document_display - INFO - [document_display.py:154] - analysis_results_for_id : {'pay_period_end': '2024-03-31', 'tax_deduction': '864.20', 'other_deductions': [[[], [{'name': 'UK Ben Life Assurance EE', 'amount': '51.67'}, {'name': 'UK Dental EE', 'amount': '47.50'}, {'name': 'UK Vision EE', 'amount': '27.55'}, {'name': 'UK Ben Health Screening', 'amount': '36.24'}, {'name': 'UK Club Membership', 'amount': '10.00'}]], []], 'salary_components': [[[{'name': 'Basic Salary UK', 'amount': '4,270.52'}], [{'name': 'PAYE', 'amount': '864.20'}]], [{'name': 'Gross Earnings', 'amount': '4270.52'}]], 'employee_id': '300000055080542', 'employer_address': '196 Bishopsgate\nLondon\nLondon\nEC2M 4NR\nUnited Kingdom', 'payslip_date': '2024-03-31', 'net_pay': '2817.53', 'document_category': 'income_document', 'document_type': 'payslip', 'gross_pay': '4270.52', 'payment_frequency': 'monthly', 'employee_name': 'CAMPBELL ANDREA', 'ni_contribution': ['415.83', '4143.80'], 'employee_address': '123 CASTLEROCK ROAD\nCOLERAINE LONDONDERRY\nBT51 3TB\nUK', 'basic_pay': '4,270.52', 'pay_period_start': '2024-03-01', 'employer_name': [['UK Legal Entity', 'ORACLE'], 'ORACLE'], 'tax_code': '504L'} +2025-04-20 16:35:14 - utils.document_display.document_display - INFO - [document_display.py:171] - document_type for /tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Pay_Slip_22.pdf: payslip +2025-04-20 16:35:14 - utils.document_display.payslip - INFO - [payslip.py:58] - file_path while displaying: ['/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Pay_Slip_22.pdf_page_0.png', '/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Pay_Slip_22.pdf_page_1.png', '/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Pay_Slip_22.pdf_page_2.png'] +2025-04-20 16:35:15 - utils.document_display.payslip - INFO - [payslip.py:71] - analysis_results_pruned : {'document_category': 'income_document', 'document_type': 'payslip', 'employee_name': 'CAMPBELL ANDREA', 'employer_name': [['UK Legal Entity', 'ORACLE'], 'ORACLE'], 'employee_id': '300000055080542', 'employee_address': '123 CASTLEROCK ROAD\nCOLERAINE LONDONDERRY\nBT51 3TB\nUK', 'employer_address': '196 Bishopsgate\nLondon\nLondon\nEC2M 4NR\nUnited Kingdom', 'tax_code': '504L', 'payslip_date': '2024-03-31', 'pay_period_start': '2024-03-01', 'pay_period_end': '2024-03-31', 'payment_frequency': 'monthly', 'basic_pay': '4,270.52', 'net_pay': '2817.53', 'gross_pay': '4270.52', 'salary_components': [[[{'name': 'Basic Salary UK', 'amount': '4,270.52'}], [{'name': 'PAYE', 'amount': '864.20'}]], [{'name': 'Gross Earnings', 'amount': '4270.52'}]], 'ni_contribution': ['415.83', '4143.80'], 'tax_deduction': '864.20', 'other_deductions': [[[], [{'name': 'UK Ben Life Assurance EE', 'amount': '51.67'}, {'name': 'UK Dental EE', 'amount': '47.50'}, {'name': 'UK Vision EE', 'amount': '27.55'}, {'name': 'UK Ben Health Screening', 'amount': '36.24'}, {'name': 'UK Club Membership', 'amount': '10.00'}]], []]} +2025-04-20 16:35:15 - utils.document_display.payslip - INFO - [payslip.py:93] - other_deductions_dict : [[[], [{'name': 'UK Ben Life Assurance EE', 'amount': '51.67'}, {'name': 'UK Dental EE', 'amount': '47.50'}, {'name': 'UK Vision EE', 'amount': '27.55'}, {'name': 'UK Ben Health Screening', 'amount': '36.24'}, {'name': 'UK Club Membership', 'amount': '10.00'}]], []] +2025-04-20 16:35:15 - utils.document_display.document_display - INFO - [document_display.py:221] - Exception for processing analysis results of {'pay_period_end': '2024-03-31', 'tax_deduction': '864.20', 'other_deductions': [[[], [{'name': 'UK Ben Life Assurance EE', 'amount': '51.67'}, {'name': 'UK Dental EE', 'amount': '47.50'}, {'name': 'UK Vision EE', 'amount': '27.55'}, {'name': 'UK Ben Health Screening', 'amount': '36.24'}, {'name': 'UK Club Membership', 'amount': '10.00'}]], []], 'salary_components': [[[{'name': 'Basic Salary UK', 'amount': '4,270.52'}], [{'name': 'PAYE', 'amount': '864.20'}]], [{'name': 'Gross Earnings', 'amount': '4270.52'}]], 'employee_id': '300000055080542', 'employer_address': '196 Bishopsgate\nLondon\nLondon\nEC2M 4NR\nUnited Kingdom', 'payslip_date': '2024-03-31', 'net_pay': '2817.53', 'document_category': 'income_document', 'document_type': 'payslip', 'gross_pay': '4270.52', 'payment_frequency': 'monthly', 'employee_name': 'CAMPBELL ANDREA', 'ni_contribution': ['415.83', '4143.80'], 'employee_address': '123 CASTLEROCK ROAD\nCOLERAINE LONDONDERRY\nBT51 3TB\nUK', 'basic_pay': '4,270.52', 'pay_period_start': '2024-03-01', 'employer_name': [['UK Legal Entity', 'ORACLE'], 'ORACLE'], 'tax_code': '504L'}: 'list' object has no attribute 'values' +2025-04-20 16:35:15 - utils.document_display.others - INFO - [others.py:50] - file_path while displaying: ['/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Pay_Slip_22.pdf_page_0.png', '/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Pay_Slip_22.pdf_page_1.png', '/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Pay_Slip_22.pdf_page_2.png'] +2025-04-20 16:35:15 - utils.document_display.others - INFO - [others.py:63] - analysis_results_pruned: {'pay_period_end': '2024-03-31', 'tax_deduction': '864.20', 'other_deductions': [[[], [{'name': 'UK Ben Life Assurance EE', 'amount': '51.67'}, {'name': 'UK Dental EE', 'amount': '47.50'}, {'name': 'UK Vision EE', 'amount': '27.55'}, {'name': 'UK Ben Health Screening', 'amount': '36.24'}, {'name': 'UK Club Membership', 'amount': '10.00'}]], []], 'salary_components': [[[{'name': 'Basic Salary UK', 'amount': '4,270.52'}], [{'name': 'PAYE', 'amount': '864.20'}]], [{'name': 'Gross Earnings', 'amount': '4270.52'}]], 'employee_id': '300000055080542', 'employer_address': '196 Bishopsgate\nLondon\nLondon\nEC2M 4NR\nUnited Kingdom', 'payslip_date': '2024-03-31', 'net_pay': '2817.53', 'document_category': 'income_document', 'document_type': 'payslip', 'gross_pay': '4270.52', 'payment_frequency': 'monthly', 'employee_name': 'CAMPBELL ANDREA', 'ni_contribution': ['415.83', '4143.80'], 'employee_address': '123 CASTLEROCK ROAD\nCOLERAINE LONDONDERRY\nBT51 3TB\nUK', 'basic_pay': '4,270.52', 'pay_period_start': '2024-03-01', 'employer_name': [['UK Legal Entity', 'ORACLE'], 'ORACLE'], 'tax_code': '504L'} +2025-04-20 16:35:15 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 2024-03-31 +Name: Value, dtype: object +2025-04-20 16:35:15 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 864.20 +Name: Value, dtype: object +2025-04-20 16:35:15 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 [[[], [{'name': 'UK Ben Life Assurance EE', 'a... +Name: Value, dtype: object +2025-04-20 16:35:15 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 [[[{'name': 'Basic Salary UK', 'amount': '4,27... +Name: Value, dtype: object +2025-04-20 16:35:15 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 300000055080542 +Name: Value, dtype: object +2025-04-20 16:35:15 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 196 Bishopsgate\nLondon\nLondon\nEC2M 4NR\nUni... +Name: Value, dtype: object +2025-04-20 16:35:15 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 2024-03-31 +Name: Value, dtype: object +2025-04-20 16:35:15 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 2817.53 +Name: Value, dtype: object +2025-04-20 16:35:15 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 income_document +Name: Value, dtype: object +2025-04-20 16:35:15 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 payslip +Name: Value, dtype: object +2025-04-20 16:35:15 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 4270.52 +Name: Value, dtype: object +2025-04-20 16:35:15 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 monthly +Name: Value, dtype: object +2025-04-20 16:35:15 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 CAMPBELL ANDREA +Name: Value, dtype: object +2025-04-20 16:35:15 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 [415.83, 4143.80] +Name: Value, dtype: object +2025-04-20 16:35:15 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 123 CASTLEROCK ROAD\nCOLERAINE LONDONDERRY\nBT... +Name: Value, dtype: object +2025-04-20 16:35:15 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 4,270.52 +Name: Value, dtype: object +2025-04-20 16:35:15 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 2024-03-01 +Name: Value, dtype: object +2025-04-20 16:35:15 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 [[UK Legal Entity, ORACLE], ORACLE] +Name: Value, dtype: object +2025-04-20 16:35:15 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 504L +Name: Value, dtype: object +2025-04-20 16:35:15 - utils.document_display.others - INFO - [others.py:111] - simple_df: Key Value +1 tax_code 504L +2025-04-20 16:35:15 - utils.document_display.document_display - INFO - [document_display.py:154] - analysis_results_for_id : {'document_category': 'identity_verification_document', 'document_type': 'driving_license', 'surname': 'CAMPBELL', 'first_name': 'ANDREA JOAN', 'date_of_birth': '1964-07-05', 'place_of_birth': 'BELFAST', 'date_of_issue': '2021-12-01', 'date_of_expiry': '2031-11-30', 'issuing_authority': 'DVA', 'driver_number': '99999999', 'signature': 'Jones', 'address': {'line_1': '123 CASTLEROCK ROAD, COLERAINE', 'city': 'LONDONDERRY', 'postcode': 'BT51 3TB'}, 'entitlements': ['AM', 'A', 'B1', 'B', 'f', 'k', 'p', 'q']} +2025-04-20 16:35:15 - utils.document_display.document_display - INFO - [document_display.py:171] - document_type for /tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/driving_license_22.pdf: driving_license +2025-04-20 16:35:15 - utils.document_display.driving_license - INFO - [driving_license.py:43] - file_path while displaying: ['/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/driving_license_22.pdf_page_0.png'] +2025-04-20 16:35:15 - utils.document_display.driving_license - INFO - [driving_license.py:56] - analysis_results_pruned : {'document_category': 'identity_verification_document', 'document_type': 'driving_license', 'surname': 'CAMPBELL', 'first_name': 'ANDREA JOAN', 'date_of_birth': '1964-07-05', 'place_of_birth': 'BELFAST', 'date_of_issue': '2021-12-01', 'date_of_expiry': '2031-11-30', 'issuing_authority': 'DVA', 'driver_number': '99999999', 'address': {'line_1': '123 CASTLEROCK ROAD, COLERAINE', 'city': 'LONDONDERRY', 'postcode': 'BT51 3TB'}, 'entitlements': ['AM', 'A', 'B1', 'B', 'f', 'k', 'p', 'q']} +2025-04-20 16:35:15 - utils.document_display.document_display - INFO - [document_display.py:154] - analysis_results_for_id : {'document_category': 'income_document', 'document_type': 'p60', 'employee_details': {'surname': 'Andrea Joan', 'forenames_or_initials': 'Campbell', 'national_insurance_number': 'WA765843B', 'works_payroll_number': '353'}, 'pay_and_income_tax_details': {'previous_employments': {'pay': None, 'tax_deducted': None}, 'current_employment': {'pay': 29934.41, 'tax_deducted': 6059.4}, 'total_for_year': {'pay': 29934.41, 'tax_deducted': 6059.4}, 'final_tax_code': '504L'}, 'national_insurance_contributions': [{'nic_letter': 'A', 'earnings': {'at_or_above_lel': 0.0, 'above_lel_up_to_pt': 0.0, 'above_pt_up_to_uel': 0.0}, 'employee_contributions_above_pt': 2931.94}], 'statutory_payments': {'maternity_pay': None, 'paternity_pay': None, 'adoption_pay': None, 'shared_parental_pay': None}, 'other_details': {'student_loan_deductions': None}, 'employer_details': {'employer_name_and_address': 'UK Legal Entity\n196 Bishopsgate, London,\nEC2M 4NR, United Kingdom', 'paye_reference': '123/0987'}} +2025-04-20 16:35:15 - utils.document_display.document_display - INFO - [document_display.py:171] - document_type for /tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/P60_22.pdf: p60 +2025-04-20 16:35:15 - utils.document_display.p60 - INFO - [p60.py:58] - file_path while displaying: ['/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/P60_22.pdf_page_0.png'] +2025-04-20 16:35:16 - utils.document_display.p60 - INFO - [p60.py:71] - analysis_results_pruned : {'document_category': 'income_document', 'document_type': 'p60', 'surname': 'Andrea Joan', 'forenames_or_initials': 'Campbell', 'national_insurance_number': 'WA765843B', 'works_payroll_number': '353', 'previous_employments': {'pay': None, 'tax_deducted': None}, 'current_employment': {'pay': 29934.41, 'tax_deducted': 6059.4}, 'total_for_year': {'pay': 29934.41, 'tax_deducted': 6059.4}, 'final_tax_code': '504L', 'national_insurance_contributions': [{'nic_letter': 'A', 'earnings': {'at_or_above_lel': 0.0, 'above_lel_up_to_pt': 0.0, 'above_pt_up_to_uel': 0.0}, 'employee_contributions_above_pt': 2931.94}], 'employer_name_and_address': 'UK Legal Entity\n196 Bishopsgate, London,\nEC2M 4NR, United Kingdom', 'paye_reference': '123/0987'} +2025-04-20 16:35:16 - utils.document_display.p60 - INFO - [p60.py:103] - simple_df: Key Value +1 document_category income_document +2 document_type p60 +3 surname Andrea Joan +4 forenames_or_initials Campbell +5 national_insurance_number WA765843B +6 works_payroll_number 353 +7 previous_employments {'pay': None, 'tax_deducted': None} +8 current_employment {'pay': 29934.41, 'tax_deducted': 6059.4} +9 total_for_year {'pay': 29934.41, 'tax_deducted': 6059.4} +10 final_tax_code 504L +11 national_insurance_contributions [{'nic_letter': 'A', 'earnings': {'at_or_above... +12 employer_name_and_address UK Legal Entity\n196 Bishopsgate, London,\nEC2... +13 paye_reference 123/0987 +2025-04-20 16:35:16 - utils.document_display.document_display - INFO - [document_display.py:154] - analysis_results_for_id : {'Terms': {'Commencement of Employment': {'start_date': '1st January 2024'}, 'Job Title': {'description': 'permanent full-time employee under UK Legal Entity'}, 'Type of Employment': {'description': 'permanent, full-time employment contract with no fixed end date'}, 'Place of Work': {'primary_location': 'UK Legal Entity, 196 Bishopsgate, London, EC2M 4NR'}, 'Hours of Work': {'description': 'standard working hours based on a monthly schedule'}, 'Salary': {'gross_salary_per_month': '£4,270.52', 'payment_method': 'BACS', 'total_taxable_pay_for_year': '£29,934.41'}, 'Deductions': {'PAYE_YTD': '£6,059.40', 'NI_contributions_YTD': '£2,931.94', 'other_benefits': ['dental', 'life', 'vision coverage']}}, 'Contract': {'title': 'Contract of Employment'}, 'Parties': {'Employer': {'name': 'UK Legal Entity', 'address': '196 Bishopsgate, London, EC2M 4NR, United Kingdom', 'PAYE Reference': '123/0987'}, 'Employee': {'name': 'Campbell Andrea Joan', 'address': '123 Castlerock Road, Coleraine, Londonderry, UK, BT51 3TB', 'NI Number': 'WA765843B', 'Payroll Number': '353'}}, 'sections': [{'section_number': '8', 'title': 'Holidays', 'content': 'You are entitled to 28 days of paid annual leave (inclusive of public holidays), calculated on a pro-rata basis if applicable.'}, {'section_number': '9', 'title': 'Sick Pay', 'content': 'You are entitled to Statutory Sick Pay (SSP) in accordance with UK regulations. To date, SSP paid is £37.26.'}, {'section_number': '10', 'title': 'Pension', 'content': "You will be automatically enrolled in the company's pension scheme under applicable laws."}, {'section_number': '11', 'title': 'Notice Period', 'content': "Following the probationary period, either party may terminate this agreement with one month's written notice."}, {'section_number': '12', 'title': 'Confidentiality', 'content': 'During and after your employment, you must not disclose any confidential information related to your work or the company.'}, {'section_number': '13', 'title': 'Governing Law', 'content': 'This agreement is governed by and shall be construed in accordance with the laws of England and Wales.'}, {'title': 'Employer Signature', 'fields': {'Name': '', 'Title': '', 'Signature': '', 'Date': ''}}, {'title': 'Employee Signature', 'fields': {'Name': 'Campbell Andrea Joan', 'Signature': '', 'Date': ''}}], 'document_category': 'income_document', 'document_type': 'contract_of_employment'} +2025-04-20 16:35:16 - utils.document_display.document_display - INFO - [document_display.py:171] - document_type for /tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Contract_of_Employment_22.pdf: contract_of_employment +2025-04-20 16:35:16 - utils.document_display.others - INFO - [others.py:50] - file_path while displaying: ['/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Contract_of_Employment_22.pdf_page_0.png', '/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Contract_of_Employment_22.pdf_page_1.png'] +2025-04-20 16:35:16 - utils.document_display.others - INFO - [others.py:63] - analysis_results_pruned: {'Terms': {'Commencement of Employment': {'start_date': '1st January 2024'}, 'Job Title': {'description': 'permanent full-time employee under UK Legal Entity'}, 'Type of Employment': {'description': 'permanent, full-time employment contract with no fixed end date'}, 'Place of Work': {'primary_location': 'UK Legal Entity, 196 Bishopsgate, London, EC2M 4NR'}, 'Hours of Work': {'description': 'standard working hours based on a monthly schedule'}, 'Salary': {'gross_salary_per_month': '£4,270.52', 'payment_method': 'BACS', 'total_taxable_pay_for_year': '£29,934.41'}, 'Deductions': {'PAYE_YTD': '£6,059.40', 'NI_contributions_YTD': '£2,931.94', 'other_benefits': ['dental', 'life', 'vision coverage']}}, 'Contract': {'title': 'Contract of Employment'}, 'Parties': {'Employer': {'name': 'UK Legal Entity', 'address': '196 Bishopsgate, London, EC2M 4NR, United Kingdom', 'PAYE Reference': '123/0987'}, 'Employee': {'name': 'Campbell Andrea Joan', 'address': '123 Castlerock Road, Coleraine, Londonderry, UK, BT51 3TB', 'NI Number': 'WA765843B', 'Payroll Number': '353'}}, 'sections': [{'section_number': '8', 'title': 'Holidays', 'content': 'You are entitled to 28 days of paid annual leave (inclusive of public holidays), calculated on a pro-rata basis if applicable.'}, {'section_number': '9', 'title': 'Sick Pay', 'content': 'You are entitled to Statutory Sick Pay (SSP) in accordance with UK regulations. To date, SSP paid is £37.26.'}, {'section_number': '10', 'title': 'Pension', 'content': "You will be automatically enrolled in the company's pension scheme under applicable laws."}, {'section_number': '11', 'title': 'Notice Period', 'content': "Following the probationary period, either party may terminate this agreement with one month's written notice."}, {'section_number': '12', 'title': 'Confidentiality', 'content': 'During and after your employment, you must not disclose any confidential information related to your work or the company.'}, {'section_number': '13', 'title': 'Governing Law', 'content': 'This agreement is governed by and shall be construed in accordance with the laws of England and Wales.'}, {'title': 'Employer Signature', 'fields': {'Name': '', 'Title': '', 'Signature': '', 'Date': ''}}, {'title': 'Employee Signature', 'fields': {'Name': 'Campbell Andrea Joan', 'Signature': '', 'Date': ''}}], 'document_category': 'income_document', 'document_type': 'contract_of_employment'} +2025-04-20 16:35:16 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 [{'section_number': '8', 'title': 'Holidays', ... +Name: Value, dtype: object +2025-04-20 16:35:16 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 income_document +Name: Value, dtype: object +2025-04-20 16:35:16 - utils.document_display.others - INFO - [others.py:91] - simple_df['Value'] : 1 contract_of_employment +Name: Value, dtype: object +2025-04-20 16:35:16 - utils.document_display.others - INFO - [others.py:111] - simple_df: Key Value +1 document_type contract_of_employment +2025-04-20 16:35:16 - utils.document_display.document_display - INFO - [document_display.py:154] - analysis_results_for_id : {'document_category': 'bank_statement', 'document_type': 'bank_statement', 'account_holder_name': 'Campbell Andrea Joan', 'account_holder_address': '1 Churchill Place, London, E14 5HP', 'bank_name': 'Barclays Bank PLC', 'account_number': '10293847', 'sort_code': '20-19-97', 'statement_start_date': '2024-01-01', 'statement_end_date': '2024-03-31', 'salary_credits': [{'date': '2024-01-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}, {'date': '2024-02-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}, {'date': '2024-03-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}]} +2025-04-20 16:35:16 - utils.document_display.document_display - INFO - [document_display.py:171] - document_type for /tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Barclays_Bank_Statement_22.pdf: bank_statement +2025-04-20 16:35:16 - utils.document_display.bank_statement - INFO - [bank_statement.py:40] - file_path while displaying: ['/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Barclays_Bank_Statement_22.pdf_page_0.png'] +2025-04-20 16:35:16 - utils.document_display.bank_statement - INFO - [bank_statement.py:53] - analysis_results_pruned : {'document_category': 'bank_statement', 'document_type': 'bank_statement', 'account_holder_name': 'Campbell Andrea Joan', 'account_holder_address': '1 Churchill Place, London, E14 5HP', 'bank_name': 'Barclays Bank PLC', 'account_number': '10293847', 'sort_code': '20-19-97', 'statement_start_date': '2024-01-01', 'statement_end_date': '2024-03-31', 'salary_credits': [{'date': '2024-01-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}, {'date': '2024-02-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}, {'date': '2024-03-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}]} +2025-04-20 16:35:16 - utils.document_display.bank_statement - INFO - [bank_statement.py:75] - salary_dict : [{'date': '2024-01-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}, {'date': '2024-02-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}, {'date': '2024-03-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}] +2025-04-20 16:35:16 - utils.document_display.bank_statement - INFO - [bank_statement.py:85] - simple_df: Key Value +1 date 2024-03-10 +2 amount 2817.53 +3 from Missing +4 description Salary - UK Legal Entity +2025-04-20 16:35:16 - utils.tabs.document_validation_tab - INFO - [document_validation_tab.py:52] - full_data : {'/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Pay_Slip_22.pdf': {'/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Pay_Slip_22.pdf_page_0.png': {'document_category': 'income_document', 'document_type': 'payslip', 'employee_name': 'CAMPBELL ANDREA', 'employer_name': 'UK Legal Entity', 'employee_id': '300000055080542', 'employee_address': '123 CASTLEROCK ROAD\nCOLERAINE LONDONDERRY\nBT51 3TB\nUK', 'employer_address': '196 Bishopsgate\nLondon\nLondon\nEC2M 4NR\nUnited Kingdom', 'tax_code': '504L', 'payslip_date': '2024-03-31', 'pay_period_start': '2024-03-01', 'pay_period_end': '2024-03-31', 'payment_frequency': 'monthly', 'basic_pay': '4,270.52', 'net_pay': None, 'gross_pay': None, 'salary_components': [{'name': 'Basic Salary UK', 'amount': '4,270.52'}], 'ni_contribution': None, 'tax_deduction': None, 'other_deductions': []}, '/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Pay_Slip_22.pdf_page_1.png': {'document_category': 'income_document', 'document_type': 'payslip', 'employee_name': None, 'employer_name': 'ORACLE', 'employee_id': None, 'employee_address': None, 'employer_address': None, 'tax_code': None, 'payslip_date': '2024-03-31', 'pay_period_start': None, 'pay_period_end': None, 'payment_frequency': None, 'basic_pay': None, 'net_pay': '2817.53', 'gross_pay': '4270.52', 'salary_components': [{'name': 'PAYE', 'amount': '864.20'}], 'ni_contribution': '415.83', 'tax_deduction': None, 'other_deductions': [{'name': 'UK Ben Life Assurance EE', 'amount': '51.67'}, {'name': 'UK Dental EE', 'amount': '47.50'}, {'name': 'UK Vision EE', 'amount': '27.55'}, {'name': 'UK Ben Health Screening', 'amount': '36.24'}, {'name': 'UK Club Membership', 'amount': '10.00'}]}, '/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Pay_Slip_22.pdf_page_2.png': {'document_category': 'income_document', 'document_type': 'payslip', 'employee_name': None, 'employer_name': 'ORACLE', 'employee_id': None, 'employee_address': None, 'employer_address': None, 'tax_code': None, 'payslip_date': '2024-03-31', 'pay_period_start': None, 'pay_period_end': None, 'payment_frequency': None, 'basic_pay': None, 'net_pay': None, 'gross_pay': '4270.52', 'salary_components': [{'name': 'Gross Earnings', 'amount': '4270.52'}], 'ni_contribution': '4143.80', 'tax_deduction': '864.20', 'other_deductions': []}}, '/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/driving_license_22.pdf': {'/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/driving_license_22.pdf_page_0.png': {'document_category': 'identity_verification_document', 'document_type': 'driving_license', 'surname': 'CAMPBELL', 'first_name': 'ANDREA JOAN', 'date_of_birth': '1964-07-05', 'place_of_birth': 'BELFAST', 'date_of_issue': '2021-12-01', 'date_of_expiry': '2031-11-30', 'issuing_authority': 'DVA', 'driver_number': '99999999', 'signature': 'Jones', 'address': {'line_1': '123 CASTLEROCK ROAD, COLERAINE', 'city': 'LONDONDERRY', 'postcode': 'BT51 3TB'}, 'entitlements': ['AM', 'A', 'B1', 'B', 'f', 'k', 'p', 'q']}}, '/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/P60_22.pdf': {'/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/P60_22.pdf_page_0.png': {'document_category': 'income_document', 'document_type': 'p60', 'employee_details': {'surname': 'Andrea Joan', 'forenames_or_initials': 'Campbell', 'national_insurance_number': 'WA765843B', 'works_payroll_number': '353'}, 'pay_and_income_tax_details': {'previous_employments': {'pay': None, 'tax_deducted': None}, 'current_employment': {'pay': 29934.41, 'tax_deducted': 6059.4}, 'total_for_year': {'pay': 29934.41, 'tax_deducted': 6059.4}, 'final_tax_code': '504L'}, 'national_insurance_contributions': [{'nic_letter': 'A', 'earnings': {'at_or_above_lel': 0.0, 'above_lel_up_to_pt': 0.0, 'above_pt_up_to_uel': 0.0}, 'employee_contributions_above_pt': 2931.94}], 'statutory_payments': {'maternity_pay': None, 'paternity_pay': None, 'adoption_pay': None, 'shared_parental_pay': None}, 'other_details': {'student_loan_deductions': None}, 'employer_details': {'employer_name_and_address': 'UK Legal Entity\n196 Bishopsgate, London,\nEC2M 4NR, United Kingdom', 'paye_reference': '123/0987'}}}, '/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Contract_of_Employment_22.pdf': {'/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Contract_of_Employment_22.pdf_page_0.png': {'document_category': 'income_document', 'document_type': 'contract_of_employment', 'Contract': {'title': 'Contract of Employment'}, 'Parties': {'Employer': {'name': 'UK Legal Entity', 'address': '196 Bishopsgate, London, EC2M 4NR, United Kingdom', 'PAYE Reference': '123/0987'}, 'Employee': {'name': 'Campbell Andrea Joan', 'address': '123 Castlerock Road, Coleraine, Londonderry, UK, BT51 3TB', 'NI Number': 'WA765843B', 'Payroll Number': '353'}}, 'Terms': {'Commencement of Employment': {'start_date': '1st January 2024'}, 'Job Title': {'description': 'permanent full-time employee under UK Legal Entity'}, 'Type of Employment': {'description': 'permanent, full-time employment contract with no fixed end date'}, 'Place of Work': {'primary_location': 'UK Legal Entity, 196 Bishopsgate, London, EC2M 4NR'}, 'Hours of Work': {'description': 'standard working hours based on a monthly schedule'}, 'Salary': {'gross_salary_per_month': '£4,270.52', 'payment_method': 'BACS', 'total_taxable_pay_for_year': '£29,934.41'}, 'Deductions': {'PAYE_YTD': '£6,059.40', 'NI_contributions_YTD': '£2,931.94', 'other_benefits': ['dental', 'life', 'vision coverage']}}}, '/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Contract_of_Employment_22.pdf_page_1.png': {'document_category': 'income_document', 'document_type': 'contract_of_employment', 'sections': [{'section_number': '8', 'title': 'Holidays', 'content': 'You are entitled to 28 days of paid annual leave (inclusive of public holidays), calculated on a pro-rata basis if applicable.'}, {'section_number': '9', 'title': 'Sick Pay', 'content': 'You are entitled to Statutory Sick Pay (SSP) in accordance with UK regulations. To date, SSP paid is £37.26.'}, {'section_number': '10', 'title': 'Pension', 'content': "You will be automatically enrolled in the company's pension scheme under applicable laws."}, {'section_number': '11', 'title': 'Notice Period', 'content': "Following the probationary period, either party may terminate this agreement with one month's written notice."}, {'section_number': '12', 'title': 'Confidentiality', 'content': 'During and after your employment, you must not disclose any confidential information related to your work or the company.'}, {'section_number': '13', 'title': 'Governing Law', 'content': 'This agreement is governed by and shall be construed in accordance with the laws of England and Wales.'}, {'title': 'Employer Signature', 'fields': {'Name': '', 'Title': '', 'Signature': '', 'Date': ''}}, {'title': 'Employee Signature', 'fields': {'Name': 'Campbell Andrea Joan', 'Signature': '', 'Date': ''}}]}}, '/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Barclays_Bank_Statement_22.pdf': {'/tmp/tmp_x0xhcw6/Doc_set_3/Doc_set_3/Barclays_Bank_Statement_22.pdf_page_0.png': {'document_category': 'bank_statement', 'document_type': 'bank_statement', 'account_holder_name': 'Campbell Andrea Joan', 'account_holder_address': '1 Churchill Place, London, E14 5HP', 'bank_name': 'Barclays Bank PLC', 'account_number': '10293847', 'sort_code': '20-19-97', 'statement_start_date': '2024-01-01', 'statement_end_date': '2024-03-31', 'salary_credits': [{'date': '2024-01-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}, {'date': '2024-02-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}, {'date': '2024-03-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}]}}} +2025-04-20 16:35:16 - utils.tabs.document_validation_tab - INFO - [document_validation_tab.py:56] - full_data_transformed : {'income_document': [{'payslip': {'uploaded_file_path': 'Pay_Slip_22.pdf', 'uploaded_file_extracted_images': ['Pay_Slip_22.pdf_page_0.png'], 'document_category': 'income_document', 'document_type': 'payslip', 'employee_name': 'CAMPBELL ANDREA', 'employer_name': 'UK Legal Entity', 'employee_id': '300000055080542', 'employee_address': '123 CASTLEROCK ROAD\nCOLERAINE LONDONDERRY\nBT51 3TB\nUK', 'employer_address': '196 Bishopsgate\nLondon\nLondon\nEC2M 4NR\nUnited Kingdom', 'tax_code': '504L', 'payslip_date': '2024-03-31', 'pay_period_start': '2024-03-01', 'pay_period_end': '2024-03-31', 'payment_frequency': 'monthly', 'basic_pay': '4,270.52', 'net_pay': None, 'gross_pay': None, 'salary_components': [{'name': 'Basic Salary UK', 'amount': '4,270.52'}], 'ni_contribution': None, 'tax_deduction': None, 'other_deductions': []}}, {'payslip': {'uploaded_file_path': 'Pay_Slip_22.pdf', 'uploaded_file_extracted_images': ['Pay_Slip_22.pdf_page_1.png'], 'document_category': 'income_document', 'document_type': 'payslip', 'employee_name': None, 'employer_name': 'ORACLE', 'employee_id': None, 'employee_address': None, 'employer_address': None, 'tax_code': None, 'payslip_date': '2024-03-31', 'pay_period_start': None, 'pay_period_end': None, 'payment_frequency': None, 'basic_pay': None, 'net_pay': '2817.53', 'gross_pay': '4270.52', 'salary_components': [{'name': 'PAYE', 'amount': '864.20'}], 'ni_contribution': '415.83', 'tax_deduction': None, 'other_deductions': [{'name': 'UK Ben Life Assurance EE', 'amount': '51.67'}, {'name': 'UK Dental EE', 'amount': '47.50'}, {'name': 'UK Vision EE', 'amount': '27.55'}, {'name': 'UK Ben Health Screening', 'amount': '36.24'}, {'name': 'UK Club Membership', 'amount': '10.00'}]}}, {'payslip': {'uploaded_file_path': 'Pay_Slip_22.pdf', 'uploaded_file_extracted_images': ['Pay_Slip_22.pdf_page_2.png'], 'document_category': 'income_document', 'document_type': 'payslip', 'employee_name': None, 'employer_name': 'ORACLE', 'employee_id': None, 'employee_address': None, 'employer_address': None, 'tax_code': None, 'payslip_date': '2024-03-31', 'pay_period_start': None, 'pay_period_end': None, 'payment_frequency': None, 'basic_pay': None, 'net_pay': None, 'gross_pay': '4270.52', 'salary_components': [{'name': 'Gross Earnings', 'amount': '4270.52'}], 'ni_contribution': '4143.80', 'tax_deduction': '864.20', 'other_deductions': []}}, {'p60': {'uploaded_file_path': 'P60_22.pdf', 'uploaded_file_extracted_images': ['P60_22.pdf_page_0.png'], 'document_category': 'income_document', 'document_type': 'p60', 'employee_details': {'surname': 'Andrea Joan', 'forenames_or_initials': 'Campbell', 'national_insurance_number': 'WA765843B', 'works_payroll_number': '353'}, 'pay_and_income_tax_details': {'previous_employments': {'pay': None, 'tax_deducted': None}, 'current_employment': {'pay': 29934.41, 'tax_deducted': 6059.4}, 'total_for_year': {'pay': 29934.41, 'tax_deducted': 6059.4}, 'final_tax_code': '504L'}, 'national_insurance_contributions': [{'nic_letter': 'A', 'earnings': {'at_or_above_lel': 0.0, 'above_lel_up_to_pt': 0.0, 'above_pt_up_to_uel': 0.0}, 'employee_contributions_above_pt': 2931.94}], 'statutory_payments': {'maternity_pay': None, 'paternity_pay': None, 'adoption_pay': None, 'shared_parental_pay': None}, 'other_details': {'student_loan_deductions': None}, 'employer_details': {'employer_name_and_address': 'UK Legal Entity\n196 Bishopsgate, London,\nEC2M 4NR, United Kingdom', 'paye_reference': '123/0987'}}}, {'contract_of_employment': {'uploaded_file_path': 'Contract_of_Employment_22.pdf', 'uploaded_file_extracted_images': ['Contract_of_Employment_22.pdf_page_0.png'], 'document_category': 'income_document', 'document_type': 'contract_of_employment', 'Contract': {'title': 'Contract of Employment'}, 'Parties': {'Employer': {'name': 'UK Legal Entity', 'address': '196 Bishopsgate, London, EC2M 4NR, United Kingdom', 'PAYE Reference': '123/0987'}, 'Employee': {'name': 'Campbell Andrea Joan', 'address': '123 Castlerock Road, Coleraine, Londonderry, UK, BT51 3TB', 'NI Number': 'WA765843B', 'Payroll Number': '353'}}, 'Terms': {'Commencement of Employment': {'start_date': '1st January 2024'}, 'Job Title': {'description': 'permanent full-time employee under UK Legal Entity'}, 'Type of Employment': {'description': 'permanent, full-time employment contract with no fixed end date'}, 'Place of Work': {'primary_location': 'UK Legal Entity, 196 Bishopsgate, London, EC2M 4NR'}, 'Hours of Work': {'description': 'standard working hours based on a monthly schedule'}, 'Salary': {'gross_salary_per_month': '£4,270.52', 'payment_method': 'BACS', 'total_taxable_pay_for_year': '£29,934.41'}, 'Deductions': {'PAYE_YTD': '£6,059.40', 'NI_contributions_YTD': '£2,931.94', 'other_benefits': ['dental', 'life', 'vision coverage']}}}}, {'contract_of_employment': {'uploaded_file_path': 'Contract_of_Employment_22.pdf', 'uploaded_file_extracted_images': ['Contract_of_Employment_22.pdf_page_1.png'], 'document_category': 'income_document', 'document_type': 'contract_of_employment', 'sections': [{'section_number': '8', 'title': 'Holidays', 'content': 'You are entitled to 28 days of paid annual leave (inclusive of public holidays), calculated on a pro-rata basis if applicable.'}, {'section_number': '9', 'title': 'Sick Pay', 'content': 'You are entitled to Statutory Sick Pay (SSP) in accordance with UK regulations. To date, SSP paid is £37.26.'}, {'section_number': '10', 'title': 'Pension', 'content': "You will be automatically enrolled in the company's pension scheme under applicable laws."}, {'section_number': '11', 'title': 'Notice Period', 'content': "Following the probationary period, either party may terminate this agreement with one month's written notice."}, {'section_number': '12', 'title': 'Confidentiality', 'content': 'During and after your employment, you must not disclose any confidential information related to your work or the company.'}, {'section_number': '13', 'title': 'Governing Law', 'content': 'This agreement is governed by and shall be construed in accordance with the laws of England and Wales.'}, {'title': 'Employer Signature', 'fields': {'Name': '', 'Title': '', 'Signature': '', 'Date': ''}}, {'title': 'Employee Signature', 'fields': {'Name': 'Campbell Andrea Joan', 'Signature': '', 'Date': ''}}]}}], 'identity_verification_document': [{'driving_license': {'uploaded_file_path': 'driving_license_22.pdf', 'uploaded_file_extracted_images': ['driving_license_22.pdf_page_0.png'], 'document_category': 'identity_verification_document', 'document_type': 'driving_license', 'surname': 'CAMPBELL', 'first_name': 'ANDREA JOAN', 'date_of_birth': '1964-07-05', 'place_of_birth': 'BELFAST', 'date_of_issue': '2021-12-01', 'date_of_expiry': '2031-11-30', 'issuing_authority': 'DVA', 'driver_number': '99999999', 'signature': 'Jones', 'address': {'line_1': '123 CASTLEROCK ROAD, COLERAINE', 'city': 'LONDONDERRY', 'postcode': 'BT51 3TB'}, 'entitlements': ['AM', 'A', 'B1', 'B', 'f', 'k', 'p', 'q']}}], 'bank_statement': [{'bank_statement': {'uploaded_file_path': 'Barclays_Bank_Statement_22.pdf', 'uploaded_file_extracted_images': ['Barclays_Bank_Statement_22.pdf_page_0.png'], 'document_category': 'bank_statement', 'document_type': 'bank_statement', 'account_holder_name': 'Campbell Andrea Joan', 'account_holder_address': '1 Churchill Place, London, E14 5HP', 'bank_name': 'Barclays Bank PLC', 'account_number': '10293847', 'sort_code': '20-19-97', 'statement_start_date': '2024-01-01', 'statement_end_date': '2024-03-31', 'salary_credits': [{'date': '2024-01-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}, {'date': '2024-02-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}, {'date': '2024-03-10', 'amount': '2817.53', 'from': None, 'description': 'Salary - UK Legal Entity'}]}}]} +2025-04-20 16:35:16 - utils.json_utils - INFO - [json_utils.py:92] - df: document_category Uploaded document_types +1 bank_statement True bank_statement +2 income_document True contract_of_employment, p60, payslip +3 identity_verification_document True driving_license +2025-04-20 16:35:16 - utils.prep_validators_payload - INFO - [prep_validators_payload.py:176] - transformed_validated_data: {'payslips': [{'pay_period_start_date': datetime.date(2024, 3, 1), 'pay_period_end_date': datetime.date(2024, 3, 31), 'pay_period_days': None, 'pay_date': datetime.date(2024, 3, 31), 'full_name': 'CAMPBELL ANDREA', 'employer_name': 'UK Legal Entity', 'is_basic_pay_net_pay_other_salary_components_present': False, 'is_tax_deducation_present': False, 'is_ni_deduction_present': False, 'complete_employee_address': '123 CASTLEROCK ROAD\nCOLERAINE LONDONDERRY\nBT51 3TB\nUK', 'pay_dates_err_msgs': 'Pay date must be within the last 35 days & not in the future', 'full_name_err_msgs': 'Name mismatch with provided value', 'employer_name_err_msgs': None, 'payslip_line_item_presence_err_msgs': 'Basic salary, Net Salary and/or other requisite salary components not present, Tax Deduction line item must be present, NI/National Insurance line item must be present', 'complete_employee_address_err_msgs': 'Complete address mismatch with provided value', 'validation_policy_status_df': Policy Value Status Message +0 Employer & Customer Names CAMPBELL ANDREA True Applicant's full name is present +1 Employer & Customer Names 15 True Full name has a length of at least 2 & at most 61 +2 Employer & Customer Names 2 True Full name consists of at least 2 words (first ... +3 Employer & Customer Names CAMPBELL ANDREA, Andrea Joan Campbell False Name does not match with provided value +4 Employer & Customer Names UK Legal Entity True Employer name is present +5 Employer & Customer Names UK Legal Entity, UK Legal Entity True Employer name matches with provided value +6 Undated Payslips 2024-03-01, 2024-03-31 True Dated payslip +7 Pay Date Requirement 2024-03-31 False Pay date is not within the last 35 days & not ... +8 Pay Period Start & End Dates 2024-03-01, 2024-03-31 True Pay period's start date is before the end date +9 Submission Requirement (Monthly Pay) 30 True Pay period's start date & end date have a gap ... +10 Requisite salary line items False False Basic salary, Net Salary and/or other requisit... +11 Tax & NI Contributions False False Tax Deduction line item is not present +12 Tax & NI Contributions False False NI/National Insurance line item is not present +13 Applicant Address 123 CASTLEROCK ROAD\nCOLERAINE LONDONDERRY\nBT... True Applicant's address is present +14 Applicant Address 53 True Applicant's complete address has a length of a... +15 Applicant Address 123 CASTLEROCK ROAD\nCOLERAINE LONDONDERRY\nBT... False Complete address mismatch with provided value, 'is_red_flagged': True}, {'pay_period_start_date': None, 'pay_period_end_date': None, 'pay_period_days': None, 'pay_date': datetime.date(2024, 3, 31), 'full_name': None, 'employer_name': 'ORACLE', 'is_basic_pay_net_pay_other_salary_components_present': False, 'is_tax_deducation_present': False, 'is_ni_deduction_present': True, 'complete_employee_address': None, 'pay_dates_err_msgs': 'Undated Payslips, Pay date must be within the last 35 days & not in the future', 'full_name_err_msgs': "Applicant's full name not present, Full name must have a length of at least 2 & at most 61, Full name must consist of at least 2 words (first name + last name), Name mismatch with provided value", 'employer_name_err_msgs': 'Employer name mismatch with provided value', 'payslip_line_item_presence_err_msgs': 'Basic salary, Net Salary and/or other requisite salary components not present, Tax Deduction line item must be present', 'complete_employee_address_err_msgs': "Applicant's address not present, Applicant's complete address must have a length of at least 10 & at most 300, Complete address mismatch with provided value", 'validation_policy_status_df': Policy Value Status Message +0 Employer & Customer Names None False Applicant's full name is not present +1 Employer & Customer Names 0 False Full name has a length of at least 2 & at most 61 +2 Employer & Customer Names None False Full name does not consist of at least 2 words... +3 Employer & Customer Names None, Andrea Joan Campbell False Name does not match with provided value +4 Employer & Customer Names ORACLE True Employer name is present +5 Employer & Customer Names ORACLE, UK Legal Entity False Employer name does not match with provided value +6 Undated Payslips None, None False Undated payslip +7 Pay Date Requirement 2024-03-31 False Pay date is not within the last 35 days & not ... +8 Pay Period Start & End Dates None False Pay period's start date is not before the end ... +9 Submission Requirement (Monthly Pay) None False Pay period's start date & end date donot have ... +10 Requisite salary line items False False Basic salary, Net Salary and/or other requisit... +11 Tax & NI Contributions False False Tax Deduction line item is not present +12 Tax & NI Contributions True True NI/National Insurance line item is present +13 Applicant Address None False Applicant's address not present +14 Applicant Address 0 False Applicant's complete address does not have a l... +15 Applicant Address None, 123, CASTLEROCK ROAD, COLERAINE, LONDOND... False Complete address mismatch with provided value, 'is_red_flagged': True}, {'pay_period_start_date': None, 'pay_period_end_date': None, 'pay_period_days': None, 'pay_date': datetime.date(2024, 3, 31), 'full_name': None, 'employer_name': 'ORACLE', 'is_basic_pay_net_pay_other_salary_components_present': False, 'is_tax_deducation_present': True, 'is_ni_deduction_present': True, 'complete_employee_address': None, 'pay_dates_err_msgs': 'Undated Payslips, Pay date must be within the last 35 days & not in the future', 'full_name_err_msgs': "Applicant's full name not present, Full name must have a length of at least 2 & at most 61, Full name must consist of at least 2 words (first name + last name), Name mismatch with provided value", 'employer_name_err_msgs': 'Employer name mismatch with provided value', 'payslip_line_item_presence_err_msgs': 'Basic salary, Net Salary and/or other requisite salary components not present', 'complete_employee_address_err_msgs': "Applicant's address not present, Applicant's complete address must have a length of at least 10 & at most 300, Complete address mismatch with provided value", 'validation_policy_status_df': Policy Value Status Message +0 Employer & Customer Names None False Applicant's full name is not present +1 Employer & Customer Names 0 False Full name has a length of at least 2 & at most 61 +2 Employer & Customer Names None False Full name does not consist of at least 2 words... +3 Employer & Customer Names None, Andrea Joan Campbell False Name does not match with provided value +4 Employer & Customer Names ORACLE True Employer name is present +5 Employer & Customer Names ORACLE, UK Legal Entity False Employer name does not match with provided value +6 Undated Payslips None, None False Undated payslip +7 Pay Date Requirement 2024-03-31 False Pay date is not within the last 35 days & not ... +8 Pay Period Start & End Dates None False Pay period's start date is not before the end ... +9 Submission Requirement (Monthly Pay) None False Pay period's start date & end date donot have ... +10 Requisite salary line items False False Basic salary, Net Salary and/or other requisit... +11 Tax & NI Contributions True True Tax Deduction line item is present +12 Tax & NI Contributions True True NI/National Insurance line item is present +13 Applicant Address None False Applicant's address not present +14 Applicant Address 0 False Applicant's complete address does not have a l... +15 Applicant Address None, 123, CASTLEROCK ROAD, COLERAINE, LONDOND... False Complete address mismatch with provided value, 'is_red_flagged': True}], 'bank_statements': [{'statement_start_date': datetime.date(2024, 1, 1), 'statement_end_date': datetime.date(2024, 3, 31), 'first_salary_deposit_date_present': datetime.date(2024, 1, 10), 'bank_name': 'Barclays Bank PLC', 'full_name': 'Campbell Andrea Joan', 'account_number': '10293847', 'sort_code': '20-19-97', 'account_statement_date_err_msgs': None, 'full_name_err_msgs': 'Name mismatch with provided value', 'bank_name_err_msgs': None, 'account_number_err_msgs': None, 'sort_code_err_msgs': None, 'salary_deposit_err_msgs': None, 'validation_policy_status_df': Policy Value Status Message +0 Full Name Campbell Andrea Joan True Applicant's full name is present +1 Full Name 20 True Full name has a length of at least 2 & at most 61 +2 Data Match Campbell Andrea Joan, Andrea Joan Campbell False Name does not match with provided value +3 Full Name Campbell Andrea Joan True Full name consists of at least 2 words (first ... +4 Bank name Barclays Bank PLC True Bank name is present +5 Bank name 17 True Bank name has a length of at least 4 & at most 50 +6 Data Match Barclays Bank PLC, Barclays Bank PLC True Bank name matches with provided value +7 Bank account number 10293847 True Bank name matches is present +8 Bank account number 10293847 True Provided account number is valid +9 Sort code 20-19-97 True Sort code is present. +10 Sort code 20-19-97 True Sort code's format is valid. +11 Date checks 2024-01-01, 2024-03-31 True Both statement start date & statement end date... +12 Coverage 2024-01-01, 2024-03-31 True Account statement period's start date & end da... +13 Salary deposit 2024-01-10 True At least one salary credit is present +14 Date checks 2024-01-01, 2024-03-31 True Statement period's end date is after the start..., 'is_red_flagged': True}], 'passports': [], 'driving_licenses': [{'full_name': 'ANDREA JOAN CAMPBELL', 'full_name_err_msgs': None, 'expiry_date_err_msgs': None, 'validation_policy_status_df': Policy Value Status Message +0 Applicant's full name should be present ANDREA JOAN CAMPBELL True Applicant's full name is present +1 Full name must have a length of at least 2 & a... 20 True Full name has a length of at least 2 & at most 61 +2 Name should match with provided value ANDREA JOAN CAMPBELL True Name matches with provided value +3 Full name must consist of at least 2 words (fi... 3 True Full name does consist of at least 2 words (fi..., 'is_red_flagged': False}]} +2025-04-20 16:35:16 - utils.tabs.document_validation_tab - INFO - [document_validation_tab.py:87] - df: Policy Value Status Message +1 Employer & Customer Names CAMPBELL ANDREA True Applicant's full name is present +2 Employer & Customer Names 15 True Full name has a length of at least 2 & at most 61 +3 Employer & Customer Names 2 True Full name consists of at least 2 words (first ... +4 Employer & Customer Names CAMPBELL ANDREA, Andrea Joan Campbell False Name does not match with provided value +5 Employer & Customer Names UK Legal Entity True Employer name is present +6 Employer & Customer Names UK Legal Entity, UK Legal Entity True Employer name matches with provided value +7 Undated Payslips 2024-03-01, 2024-03-31 True Dated payslip +8 Pay Date Requirement 2024-03-31 False Pay date is not within the last 35 days & not ... +9 Pay Period Start & End Dates 2024-03-01, 2024-03-31 True Pay period's start date is before the end date +10 Submission Requirement (Monthly Pay) 30 True Pay period's start date & end date have a gap ... +11 Requisite salary line items False False Basic salary, Net Salary and/or other requisit... +12 Tax & NI Contributions False False Tax Deduction line item is not present +13 Tax & NI Contributions False False NI/National Insurance line item is not present +14 Applicant Address 123 CASTLEROCK ROAD\nCOLERAINE LONDONDERRY\nBT... True Applicant's address is present +15 Applicant Address 53 True Applicant's complete address has a length of a... +16 Applicant Address 123 CASTLEROCK ROAD\nCOLERAINE LONDONDERRY\nBT... False Complete address mismatch with provided value +2025-04-20 16:35:16 - utils.tabs.document_validation_tab - INFO - [document_validation_tab.py:87] - df: Policy Value Status Message +1 Full Name Campbell Andrea Joan True Applicant's full name is present +2 Full Name 20 True Full name has a length of at least 2 & at most 61 +3 Data Match Campbell Andrea Joan, Andrea Joan Campbell False Name does not match with provided value +4 Full Name Campbell Andrea Joan True Full name consists of at least 2 words (first ... +5 Bank name Barclays Bank PLC True Bank name is present +6 Bank name 17 True Bank name has a length of at least 4 & at most 50 +7 Data Match Barclays Bank PLC, Barclays Bank PLC True Bank name matches with provided value +8 Bank account number 10293847 True Bank name matches is present +9 Bank account number 10293847 True Provided account number is valid +10 Sort code 20-19-97 True Sort code is present. +11 Sort code 20-19-97 True Sort code's format is valid. +12 Date checks 2024-01-01, 2024-03-31 True Both statement start date & statement end date... +13 Coverage 2024-01-01, 2024-03-31 True Account statement period's start date & end da... +14 Salary deposit 2024-01-10 True At least one salary credit is present +15 Date checks 2024-01-01, 2024-03-31 True Statement period's end date is after the start... +2025-04-20 16:35:16 - utils.tabs.document_validation_tab - INFO - [document_validation_tab.py:87] - df: Policy Value Status Message +1 Applicant's full name should be present ANDREA JOAN CAMPBELL True Applicant's full name is present +2 Full name must have a length of at least 2 & a... 20 True Full name has a length of at least 2 & at most 61 +3 Name should match with provided value ANDREA JOAN CAMPBELL True Name matches with provided value +4 Full name must consist of at least 2 words (fi... 3 True Full name does consist of at least 2 words (fi... +2025-04-20 16:36:46 - utils.process_files - INFO - [process_files.py:37] - file_path: /tmp/tmpaciygv6m/Doc_set_1.zip, uploaded_file.type : application/zip +2025-04-20 16:36:46 - utils.process_files - INFO - [process_files.py:68] - application_form: 0 1 +0 full_name Jodie Pippa +1 bank_name HSBC +2 employer_name ABC Ltd +3 complete_address 123 Maple Street, London, UK, SW1A 1AA +2025-04-20 16:36:48 - utils.tabs.document_validation_tab - INFO - [document_validation_tab.py:52] - full_data : None +2025-04-20 16:36:49 - llm.document_analyzer - INFO - [document_analyzer.py:28] - file_name : /tmp/tmpaciygv6m/Doc_set_1/Doc_set_1/payslip_new.pdf_page_0.png +2025-04-20 16:36:49 - llm.document_analyzer - INFO - [document_analyzer.py:34] - Starting analysis for /tmp/tmpaciygv6m/Doc_set_1/Doc_set_1/payslip_new.pdf_page_0.png +2025-04-20 16:36:54 - llm.llm - INFO - [llm.py:40] - Json is being formatted +2025-04-20 16:36:54 - llm.document_analyzer - INFO - [document_analyzer.py:53] - File name: /tmp/tmpaciygv6m/Doc_set_1/Doc_set_1/payslip_new.pdf_page_0.png, Results: {'document_category': 'income_document', 'document_type': 'payslip'} +2025-04-20 16:36:59 - llm.llm - INFO - [llm.py:40] - Json is being formatted +2025-04-20 16:36:59 - llm.document_analyzer - INFO - [document_analyzer.py:82] - /tmp/tmpaciygv6m/Doc_set_1/Doc_set_1/payslip_new.pdf_page_0.png: {'employee_name': 'Jodie Pippa', 'employer_name': 'ABC Ltd', 'employee_id': 'JP12345', 'employee_address': '123 Maple Street, London, UK, SW1A 1AA', 'employer_address': '456 Business Street, London, UK, SW1A 2BB', 'tax_code': '1257L', 'payslip_date': '2025-01-31', 'pay_period_start': '2025-01-06', 'pay_period_end': '2025-01-31', 'payment_frequency': 'monthly', 'basic_pay': '3333.33', 'net_pay': '2566.66', 'gross_pay': '3333.33', 'salary_components': [{'name': 'Bonus', 'amount': None}, {'name': 'Overtime', 'amount': None}], 'ni_contribution': '266.67', 'tax_deduction': '333.33', 'other_deductions': [{'name': 'Pension Contribution', 'amount': '166.67'}]} +2025-04-20 16:36:59 - llm.document_analyzer - INFO - [document_analyzer.py:28] - file_name : /tmp/tmpaciygv6m/Doc_set_1/Doc_set_1/p60_new.pdf_page_0.png +2025-04-20 16:36:59 - llm.document_analyzer - INFO - [document_analyzer.py:34] - Starting analysis for /tmp/tmpaciygv6m/Doc_set_1/Doc_set_1/p60_new.pdf_page_0.png +2025-04-20 16:37:05 - llm.document_analyzer - INFO - [document_analyzer.py:53] - File name: /tmp/tmpaciygv6m/Doc_set_1/Doc_set_1/p60_new.pdf_page_0.png, Results: {'document_category': 'income_document', 'document_type': 'p60'} +2025-04-20 16:37:11 - llm.llm - INFO - [llm.py:40] - Json is being formatted +2025-04-20 16:37:11 - llm.document_analyzer - INFO - [document_analyzer.py:82] - /tmp/tmpaciygv6m/Doc_set_1/Doc_set_1/p60_new.pdf_page_0.png: {'employee_details': {'surname': 'Pippa', 'forenames_or_initials': 'Jodie', 'national_insurance_number': 'AB123456C', 'works_payroll_number': '5342'}, 'pay_and_income_tax_details': {'previous_employments': {'pay': 0.0, 'tax_deducted': 0.0}, 'current_employment': {'pay': 9545.45, 'tax_deducted': 0.0}, 'total_for_year': {'pay': 9545.45, 'tax_deducted': 0.0}, 'final_tax_code': '1257'}, 'national_insurance_contributions': [{'nic_letter': 'A', 'earnings': {'at_or_above_lel': 6396.0, 'above_lel_up_to_pt': 0.0, 'above_pt_up_to_uel': 3149.45}, 'employee_contributions_above_pt': 377.93}], 'statutory_payments': {'maternity_pay': 0.0, 'paternity_pay': 0.0, 'adoption_pay': 0.0, 'shared_parental_pay': 0.0}, 'other_details': {'student_loan_deductions': 0.0}, 'employer_details': {'employer_name_and_address': None, 'paye_reference': '123/AB456'}} +2025-04-20 16:37:11 - llm.document_analyzer - INFO - [document_analyzer.py:28] - file_name : /tmp/tmpaciygv6m/Doc_set_1/Doc_set_1/UK_passport.pdf_page_0.png +2025-04-20 16:37:11 - llm.document_analyzer - INFO - [document_analyzer.py:34] - Starting analysis for /tmp/tmpaciygv6m/Doc_set_1/Doc_set_1/UK_passport.pdf_page_0.png +2025-04-20 16:37:16 - llm.llm - INFO - [llm.py:40] - Json is being formatted +2025-04-20 16:37:16 - llm.document_analyzer - INFO - [document_analyzer.py:53] - File name: /tmp/tmpaciygv6m/Doc_set_1/Doc_set_1/UK_passport.pdf_page_0.png, Results: {'document_category': 'identity_verification_document', 'document_type': 'passport'} +2025-04-20 16:37:21 - llm.llm - INFO - [llm.py:40] - Json is being formatted +2025-04-20 16:37:21 - llm.document_analyzer - INFO - [document_analyzer.py:82] - /tmp/tmpaciygv6m/Doc_set_1/Doc_set_1/UK_passport.pdf_page_0.png: {'full_name': 'UNITED-KINGDOM-FIVE JODIE PIPPA', 'surname': 'UNITED-KINGDOM-FIVE', 'given_names': 'JODIE PIPPA', 'passport_number': '107185703', 'nationality': 'BRITISH CITIZEN', 'date_of_birth': '1985-01-17', 'place_of_birth': 'LONDON', 'sex': 'F', 'date_of_issue': '2006-01-31', 'date_of_expiry': '2016-01-31', 'issuing_authority': 'UKPA', 'passport_type': 'P', 'country_code': 'GBR', 'mrz_line_1': 'P