The whole API is under the namespace "Banana". The following objects can be accessed by the script at run time:
The object Banana.application represent the running application.
The object Banana.document represent the current document opened in the application. If any document is opened this object is of type Undefined.
The class Banana.Converter contains methods useful to convert data from and to various formats.
The class Banana.Report enable you to create reports, preview and print them in Banana Accounting.
The class Banana.Ui contains predefined dialogs to interact with the user, and methods to load dialogs from .ui or .qml.