Audit Lab (Optional Assignment)

Author: Julia Chicheł 114574

Reconcile the turnover to the T&E:

Extract turnover data from financial statements.

Retrieve detailed (T&E) expenses from the general ledger or relevant accounts.

Analyze and contrast turnover figures with T&E expenses to pinpoint any inconsistencies.

Thoroughly investigate and reconcile variations, ensuring accurate accounting and proper documentation support for all expenses.

{sub<-readRDS("Substatnive.RData")}

summary(sub)

##               Length Class      Mode
## Aging         19     tbl_df     list
## BankAcc        5     data.frame list
## CC_AP          2     tbl_df     list
## CC_BS          3     tbl_df     list
## CC_PL          3     tbl_df     list
## ChOA           5     tbl_df     list
## Journal        5     data.frame list
## Kontr          9     tbl_df     list
## TB            10     data.frame list
## ZPK            5     tbl_df     list
## FAR_RST_Final 11     tbl_df     list

{head(sub$Journal)}

##             Data Konto_DR.1.35700. Konto_CR.1.35700. Wartosc.1.35700.
## 12701 2022-01-01               243               702         306412.5
## 12702 2022-01-01               243                20         707449.8
## 12703 2022-01-01               243               243         935331.1
## 12704 2022-01-01               243               851         717466.2
## 12705 2022-01-01               243               291         794754.3
## 12706 2022-01-01               243               250         953084.0
##                                       Opis.1.35700.
## 12701                    Umorzenie środków trwałych
## 12702              Krótkoterminowe aktywa finansowe
## 12703                       Inne fundusze specjalne
## 12704                   Rozliczenie naliczonego VAT
## 12705 Odchylenia od cen ewidencyjnych półfabrykatów
## 12706              Odpisy aktualizujące rozrachunki

{sub$ZPK [1:5,]}

##   Zespół Nr                        Nazwa konta  Rodzaj        Typ
## 1      0 10                      Środki trwałe Aktywne  Bilansowe
## 2      0 20    Wartości niematerialne i prawne Aktywne  Bilansowe
## 3      0 30    Długoterminowe aktywa finansowe Aktywne  Bilansowe
## 4      0 40 Nieruchomości inwestycyjne i prawa Aktywne  Bilansowe
## 5      0 70         Umorzenie środków trwałych     --- Korygujące

{head(sub$TB)}

##   Nr Zespół Nr.1                                   Nazwa.konta  Rodzaj
## 1  1      0   10                                 Środki trwałe Aktywne
## 2  2      0   20               Wartości niematerialne i prawne Aktywne
## 3  3      0   30               Długoterminowe aktywa finansowe Aktywne
## 4  4      0   40            Nieruchomości inwestycyjne i prawa Aktywne
## 5  5      0   70                    Umorzenie środków trwałych     ---
## 6  6      0   75 Umorzenie wartości niematerialnych i prawnych     ---
##          Typ       BO      Wn_OB      Ma_OB        BZ
## 1  Bilansowe 15930.52 12440.4727  5476.8570 22894.136
## 2  Bilansowe 22327.43  6064.3575  8672.1285 19719.663
## 3  Bilansowe 34371.20  7335.0527 15707.4640 25998.791
## 4  Bilansowe 54492.47  2519.5965  8686.3149 48325.749
## 5 Korygujące 12100.92   222.3188  4379.5614  7943.673
## 6 Korygujące 53903.38 12164.6231   789.8351 65278.169

{head(sub$Kontr)}

##    LP   Nr                    Nazwa_Name      Typ    Wn_Dr     Ma_Cr OB._WN_DR
## 1 130  223           2INTELLECT.COM S.A. Dostawca     0.00 1175634.2  34627502
## 2 107 1176           ABS INVESTMENT S.A. Dostawca     0.00 1703819.1  26715387
## 3   3  107        ADVADIS SPÓŁKA AKCYJNA Odbiorca 31333.32       0.0  10502395
## 4 164  332 ADVANCED OCULAR SCIENCES S.A. Dostawca     0.00 1910253.6  15487111
## 5 103  121                   AGROMA S.A. Dostawca     0.00  428048.6  12330598
## 6 176  765             AIRWAY MEDIX S.A. Dostawca     0.00 1228112.0   8607221
##   OB._MA_CR Saldo_Balance
## 1   8556880      24894988
## 2   1264606      23746962
## 3  21856152     -11322424
## 4  33285457     -19708599
## 5   3485398       8417151
## 6   2737380       4641729

{head(sub$FAR_RST_Final)}

##   LP.       Data                         NAZWA      MIASTO StopaAmor
## 1   1 2022-11-07         nieruchomość gruntowa Sierakowice      0.04
## 2   2 2021-07-07                  nieruchomość     Wolbórz      0.04
## 3   3 2020-03-07         nr KW OL1M/00040124/8      Lipowo      0.04
## 4   4 2018-11-07 lokal niemieszkalny, użytkowy Świnoujście      0.04
## 5   5 2017-07-07           Hotel i Restauracja   Wąbrzeźno      0.04
## 6   6 2016-03-07                  nieruchmości   Smogorzów      0.04
##   WartośćBrutto    Umorzenie    Amortyz Sprzed KST
## 1     1609762.5 1146269.1125  64390.500      0   0
## 2     3649000.0  170144.6435 145960.000      0   0
## 3       20925.0     505.2755    837.000      0   1
## 4     1747500.0 1588681.5767  69900.000      0   1
## 5      854235.0  273252.5142  34169.400      0   1
## 6      102047.3   67926.8949   4081.893      0   1
##                               NAME
## 1               ground real estate
## 2                      real estate
## 3           No. KW OL1M/00040124/8
## 4 non-residential, usable premises
## 5             Hotel and restaurant
## 6                      real estate

{head(sub$BankAcc)}

##            Data Konto_DR.1.35700. Konto_CR.1.35700. Wartosc.1.35700.
## 5704 2022-01-14               139                92         154661.7
## 5709 2022-01-14               139               820         694070.6
## 5714 2022-01-14               139               840         531086.6
## 5719 2022-01-14               139               802         728515.4
## 5724 2022-01-14               139               860         665167.8
## 5729 2022-01-14               139               641         962284.4
##                                           Opis.1.35700.
## 5704                Koszty sprzedanych wyrobów gotowych
## 5709         Odchylenia od cen ewidencyjnych materiałów
## 5714 Odchylenia aktualizujące wartości wyrobów gotowych
## 5719                                  Koszty wydziałowe
## 5724                         Rozliczenie zakupu towarów
## 5729                                 Środki trwałe obce

{head(sub$CC_AP)}

##                Position
## 1 Name of the company:
## 2    Registered office:
## 3              County:
## 4        Municipality:
## 5                City:
## 6              Address:
##                                                        Context
## 1 Coca-Cola HBC Polska Spółka z ograniczoną odpowiedzialnością
## 2                          Province (voivodeship): mazowieckie
## 3                                               M.st. Warszawa
## 4                                               M.st. Warszawa
## 5                                                     Warszawa
## 6                                                     Address:

{head(sub$CC_BS)}

##                     Position Amount at the end of current financial year
## 1               Total assets                                     1649313
## 2            A. Fixed assets                                      870261
## 3       I. Intangible assets                                       26264
## 4                2. Goodwill                                        5005
## 5 3. Other intangible assets                                       21259
## 6  II. Tangible fixed assets                                      784620
##   Amount at the end of previous financial year
## 1                                      1331735
## 2                                       782109
## 3                                         5486
## 4                                            0
## 5                                         5486
## 6                                       722134

{head(sub$CC_PL)}

##                                                                      Item
## 1 A. Net revenue from sales of products, goods and materials, including :
## 2                                                 – from related entities
## 3                                       I. Net revenue from sale of goods
## 4                       II. Net revenue from sales of goods and materials
## 5               B. Cost of products, goods and materials sold, including:
## 6                                                      – related entities
##   Amount at the end of current financial year
## 1                                     2921762
## 2                                      225408
## 3                                     2378668
## 4                                      543094
## 5                                     2184159
## 6                                      217564
##   Amount at the end of previous financial year
## 1                                      2384651
## 2                                       224976
## 3                                      1972504
## 4                                       412147
## 5                                      1540486
## 6                                       211907

Analytical Review

Retrieve the pertinent object or variable housing data on fixed assets.

Compute both the gross and net worth of fixed assets, factoring in the opening balance, increments, decrements, and any reclassifications.

Conduct an analytical review of the computed values to evaluate their coherence.

#gross_worth <- sum(FAR_RST_Final$WartośćBrutto)
#net_worth <- gross_worth - sum(FAR_RST_Final$Amortyz)

Checking the fixed assets register for arithmetic accuracy:

Inspect the data in the fixed assets register.

Validate the mathematical accuracy of the register by executing essential calculations, including cross-verifying totals and validating individual calculations.

#sbu <- readRDS(file.choose())
#rejestr_srodkow_trwalych <- sbu$FAR_RST_Final
#suma_wartosci_brutto <- sum(rejestr_srodkow_trwalych$WartośćBrutto)
#suma_umorzen <- sum(rejestr_srodkow_trwalych$Umorzenie)
#if (suma_umorzen == suma_wartosci_brutto) {
# wynik <- "Suma umorzeń jest równa sumie wartości brutto - rejest środków trwałych jest poprawny."
 #} else {
# wynik <- "Suma umorzeń nie jest równa sumie wartości brutto - rejest środków trwałych zawiera błąd arytmetyczny."
#}

Invalidate the provision for receivables (prospective and retrospective):

Locate the provision for receivables data and associated objects or variables.

Evaluate the legitimacy of the provision for receivables by scrutinizing the data and comparing it against applicable criteria or guidelines.

Record any discoveries that suggest the necessity for prospective or retrospective adjustments. Note: The stopa_rezerwy (provision rate) is set at 0.1.

#rezerwa_naleznosci_prospektywna <- sum(naleznosci) * stopa_rezerwy
#rezerwa_naleznosci_prospektywna

For items above the PM, search for unaccounted liabilities

Identify the pertinent items above the PM threshold or within a specified threshold category.

Examine the data and conduct an analysis of potential unaccounted liabilities linked to those items.

Record any recognized unaccounted liabilities and evaluate their potential impact.

#zobowiazania <- sbu$zobowiazania
#PM <- 1000
#niezaksięgowane_zobowiazania <- subset(zobowiazania, zobowiazania > PM)
#niezaksięgowane_zobowiazania

Reconcile the equity position to the KRS extract:

Retrieve the equity position data and the KRS extract data.

Conduct a reconciliation between the two datasets, verifying that they align or thoroughly investigate any discrepancies identified.

Record the outcomes of the reconciliation process in documentation.

Take a sample of fixed assets and check the calculation of depreciation:

Choose a representative sample of fixed assets from the dataset.

Validate the precision of the depreciation calculation for the selected fixed assets by comparing the calculated depreciation against anticipated values or predefined criteria.

Record any inconsistencies or concerns identified during the sample testing in documentation.

#probka_srodkow_trwalych <- sample(sbu$FAR_RST_Final, 10)
#naliczenia_amortyzacji <- probka_srodkow_trwalych$Amortyz
#naliczenia_amortyzacji

Calculate the correctness of the calculation of interest on liabilities (assuming a rate of 8% pa):

Locate the pertinent liabilities data and the variables used in interest calculations.

Utilize the provided interest rate of 8% per annum to compute the expected interest amounts for the liabilities.

Contrast the calculated interest amounts with the recorded interest amounts to evaluate accuracy.

Document any disparities or problems identified during the calculation process.

#stopa_odsetek <- 0.08
#naliczone_odsetki <- sbu$odsetki
#poprawne_odsetki <- sbu$zobowiazania * stopa_odsetek
#naliczone_odsetki