Edit XML file for iOS/macOS shortcuts integration

Hi, I would like to create a shortcut using iOS/macOS Shortcuts App that let me add new transactions while on the go.
I want to edit XML that contains all my infos. When looking at the XML source code I see that every transaction is expressed like this:

          <note>Saldo iniziale</note>

Fairly simple. However what is the UUID field used for? How is it generated? It seems like it’s not an unique ID transaction because I can have multiple transaction with the same UUID without issues.

The UUID is a UNIQUE identifier: Universally unique identifier - Wikipedia
It may be possible to open a file with duplicate UUIDs for different transaction but it is highly recommended to generate new unique UUIDs (every programming language supports this) for new transactions.