Period Close Status
period_close_statusRetrieve the current accounting period state: open, closing, closed, or reopened. Returns the latest period details 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 | ||
| startDate | No | ||
| endDate | No | ||
| closedAt | No | ||
| closedBy | No | ||
| reopenedAt | No | ||
| reopenReason | No | ||
| createdAt | No | ||
| updatedAt | No |