# FNB missing descriptions

Some FNB_RETAIL_ALL_O pdf's contain blank or hardcoded transaction descriptions that are actually images not text within the pdf document, our parsers cannot process these description lines and therefore break our validation for the specific statements. To identify these transaction descriptions you can open the statement in a pdf reader software and try selecting all the text in the document you will note that all the text gets highlited in blue except for the specific problematic descriptions as seen in the example image below.

example image the list of common descriptions that cannot be parsed are usually bank fee transactions

  • #Monthly Account Fee
  • #Service Fees
  • #Sfx Deposit fee
  • #Fsx Carrier Fees

As a workaround for these edge cases we have hardcoded a description line into the processed data of these files, whereever a description line has not been retrieved from the statement we inject a description of [description not retrievable from statement] which will show in the csv files and the json data returned from the api as seen in the below json excerpt returned from out application.

"transactions": [
      {
        "date": "2023-05-29T00:00:00.000Z",
        "description": [
          "[description not retrievable from statement]"
        ],
        "amount": -6477.43,
        "balance": -349608,
        "id": 1
      },
      {
        "date": "2023-05-29T00:00:00.000Z",
        "description": [
          "[description not retrievable from statement]"
        ],
        "amount": -5321.97,
        "balance": -354929.97,
        "id": 2
      },
      {
        "date": "2023-05-29T00:00:00.000Z",
        "description": [
          "Payment Cr Speedpoint67116570Fn"
        ],
        "amount": 34189.1,
        "balance": -320740.87,
        "id": 3
      },
]
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Updated: 12/12/2023, 2:21:02 PM