List groups
banana_groupsRetrieve accounting groups from a Banana Accounting document, returning a JSON array of group IDs and descriptions. Useful for listing account categories and organizing chart of accounts.
Instructions
Return the list of accounting groups as a JSON array of {id, descr} objects (e.g. [{"id":"100","descr":"100 Current Assets"}]).
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. |