Functions
In the hooks of a report extension you can use all trusted functions to do string manipulation, calculations, comparisons, etc.
See Trusted / Untrusted concept
Typical function to be used in a report extension:
- rpi.write.additional.row()
This function can be used in the Write Row hook to write additional rows in the XML data source.
Embedded SQL and the sql.* functions are available to read additional data from the LN database.