pnlAccounting
Config files for my GitHub profile.
Hi! This is the code I worked on for my 2021-2022 winter internship. Altogther the code is 2244 lines long and uses scanners, writers, java string methods, 1d and 2d arrays, and a ton of boolean variables as signals. The code in this repository is a program that takes in csv file input. The csv file input must be a pnl (profit and loss statement) generated from intuit Quickbooks. The program parses each line from the statement and monetary value associsated with it and as well as the category of spending or gain that it falls under. By adding together all of our parsed numbers, the program checks the totals for income, COGS (Cost of good sold), Expenses, etc. If there is an inconsistency, the program will return an error and tell you where exactly the error is and what the proper number should be.
Ex: Cogs Total is supposed to be 200000, but the pnl statement reads that Cogs is 100000 The program will output: "COGS Error-- pnl data: 100000 software data: 200000"
The program also returns a txt file report of all of the major categories and there values. The program will prompt the user for codes to determine the level of depth in the text file report. EX: if the number 1 is input, then the report will only output NET INCOME and NET EXPENSE because those are the most general categories. 1 level higher and the program will output NET INCOME and NET EXPENSE as well as COGS, EXPENSES, INCOME, ORDINARY INCOME, etc. 1 level more from that and the report will have some of the individual transactions that make up these larger categories in the pnl.
The program can also support multiple pnl files at the same time. It will simply list the errors alonside the company it belongs too reports will also be one after the other with company labels heading each report