This could help you. The headers are the ones from the json input at the moment, but if you desire the ones in your csv output example you can easily swap them.
//Added after discussion: It shows you how to prepare your base-64 string
//transform base 64 string in a decoded string
let decoded_string = atob(base_64_string);
let jsonString = JSON.parse(decoded_string);
//Example data - uncomment if you instead immediately paste the json object
//let jsonString = <redacted>;//redacted for brevity, but just paste your json file here if you want an example
//Select our data from the raw object
var data = JSON.parse(jsonString.Rows);
//Desired headers in the .csv. Other fields are ignored
let headers = ["Transaction_Date","Particulars","Amount",'Cr_Dr', "Balance", "Transaction_Type","Normalized_Party_Name_Label", "Normalized_Charge_Name_Label", "Charge_Class"]
//Choose your seperator
const seperator = ",";
//Prepare csv with a header row and our data
const csv = [headers.join(seperator),
...data.map(row => headers.map(field => `${row[field]}`).join(seperator))
]
//Export our csv in rows to a csv file
let csvContent = "data:text/csv;charset=utf-8,"
+ csv.join("\n");
var encodedUri = encodeURI(csvContent);
window.open(encodedUri);
working playcode example:
https://playcode.io/942411