End period date
banana_end_periodGet the end date of an accounting period for a specific document. Converts period abbreviations like Q1, 3M, or 1Y into a concrete YYYY-MM-DD date.
Instructions
Return the end date (YYYY-MM-DD) of the accounting or of a given period abbreviation.
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. | |
| period | No | Period filter: an abbreviation like "Q1"/"3M"/"1Y" or a date range "2024-01-01/2024-03-31". |