JavaScript API file
banana_api_jsGet the bananaapiv2.js file that defines an object-oriented interface to the Banana Accounting web server for a specified document, enabling programmatic data access.
Instructions
Return the bananaapiv2.js JavaScript file that defines an object-oriented interface to the web server for a given document.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | No | Accounting document name as opened in Banana (e.g. "accounting.ac2"). Append "_p1", "_p2" for previous years. Defaults to BANANA_DEFAULT_DOC if set. |