How to edit the raw data in Kmymoney

I want to edit the raw data within Kmymoney in order to add the sequence no. for each translation. I have added my last 4,000 transactions in the last 3 years and now I want to have the sequence no. added but do a macro addition.

So how can I edit the raw data within Kmymoney?

This is the official advice (you’ve maybe seen it already?):
https://docs.kde.org/stable5/en/kmymoney/kmymoney/details.formats.html