Period Close Status
period_close_statusRetrieve the current accounting period's status (open, closing, closed, or reopened). Falls back to the most recently closed period if no specific period ID is provided.
Instructions
Get the current accounting period state (open / closing / closed / reopened). Without periodId returns the current open or most recently closed period. / Devuelve el estado del periodo contable actual (abierto/cerrando/cerrado/reabierto).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| periodId | No | Specific period ID (default: current) / ID periodo especifico |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| type | No | ||
| status | No | ||
| endDate | No | ||
| closedAt | No | ||
| closedBy | No | ||
| createdAt | No | ||
| startDate | No | ||
| updatedAt | No | ||
| reopenedAt | No | ||
| reopenReason | No |