Script API

This documentation is outdated

The most complete and up-to-date documentation is the one of Banana Accounting Plus: Try it now

In this article

The whole API is under the namespace "Banana". The following objects can be accessed by the script at run time:

Banana.application

The object Banana.application represent the running application.

Banana.document

The object Banana.document represent the current document opened in the application. If any document is opened this object is of type Undefined.

Banana.Converter

The class Banana.Converter contains methods useful to convert data from and to various formats.

Banana.Report

The class Banana.Report enable you to create reports, preview and print them in Banana Accounting.

Banana.Ui

The class Banana.Ui contains predefined dialogs to interact with the user, and methods to load dialogs from .ui or .qml.