# Gets the current fiscal year and period

This method looks at all of the fiscal years and periods and finds the first "open" one, which is the current

Endpoint: GET /fiscalYears/{tenantId}/current/{businessUnitId}
Version: v1-2025-04-18
Security: knox-authorizer

## Security:

  - `knox-authorizer` (unknown)
    http bearer JWT

## Path parameters:

  - `tenantId` (string, required)
    The id of the tenant being accessed

  - `businessUnitId` (string, required)
    The id of the business unit being accessed

## Response 200:

  - `200` (unknown)
    The fiscal years were retrieved successfully

## Response 200 fields (application/json):

  - `fiscal_period` (number)

  - `fiscal_year` (object)

  - `fiscal_year.business_unit_id` (string, required)
    The business unit that this fiscal year belongs to

  - `fiscal_year.custom_field_values` (array)

  - `fiscal_year.custom_field_values.boolean_value` (boolean)
    The boolean value

  - `fiscal_year.custom_field_values.custom_field_id` (string)
    The unique identifier of the custom field

  - `fiscal_year.custom_field_values.file_url_value` (string)
    The pointer to a file value

  - `fiscal_year.custom_field_values.list_value` (array)
    The list value

  - `fiscal_year.custom_field_values.numeric_value` (number)
    The numeric value

  - `fiscal_year.custom_field_values.string_value` (string)
    The string value of the custom field

  - `fiscal_year.custom_field_values.table_value` (array)
    A list of objects (a table)

  - `fiscal_year.end_date` (string, required)
    End date of the fiscal year

  - `fiscal_year.id` (string, required)
    The unique, string identifier of this fiscal year

  - `fiscal_year.is_partial` (boolean)
    If true, this is a partial fiscal year and does not have 12 periods

  - `fiscal_year.name` (string, required)
    The name of the fiscal year

  - `fiscal_year.notes` (string)
    Any notes

  - `fiscal_year.periods` (array)

  - `fiscal_year.periods.closing_workflow_id` (string)
    The workflow ID of the step function that last closed this period

  - `fiscal_year.periods.end_date` (string, required)
    End date of the fiscal period

  - `fiscal_year.periods.name` (string, required)
    Name of the fiscal period

  - `fiscal_year.periods.number` (number, required)
    The fiscal period number

  - `fiscal_year.periods.reopening_workflow_id` (string)
    The workflow ID of the step function that last reopened this period

  - `fiscal_year.periods.start_date` (string, required)
    Start date of the fiscal period

  - `fiscal_year.periods.status` (string, required)
    The status of the fiscal period
    Enum: "closed", "closing", "open"

  - `fiscal_year.start_date` (string, required)
    Start date of the fiscal year

  - `fiscal_year.status` (string)
    The status of the fiscal year
    Enum: "closed", "closing", "open"

  - `fiscal_year.sys_bulk_load_at` (string)
    If this record was loaded via bulk, the timestamp when the record was processed

  - `fiscal_year.sys_bulk_load_id` (string)
    If this record was loaded via bulk, the ID of the bulk load process

  - `fiscal_year.sys_bulk_load_pk` (string)
    If this record was loaded via bulk, the tenant and key of the bulk load process used as a partition key

  - `fiscal_year.sys_bulk_load_record_no` (number)
    If this record was loaded via bulk, the record number in the source file

  - `fiscal_year.sys_bulk_load_source_file` (string)
    If this record was loaded via bulk, the source file

  - `fiscal_year.sys_calculated_field_error` (string)
    The error associated with the calculated field

  - `fiscal_year.sys_calculated_field_errors` (array)

  - `fiscal_year.sys_calculated_field_errors.error` (string)

  - `fiscal_year.sys_calculated_field_errors.field` (string)

  - `fiscal_year.sys_configuration_snapshot_id` (string)
    If a snapshot was restored/applies to this record, the ID of the snapshot

  - `fiscal_year.sys_created_at` (string)
    The date/time that this record was created, expressed in ISO-8601 date format

  - `fiscal_year.sys_created_by_id` (string)
    The ID of the user that created this record

  - `fiscal_year.sys_deleted_by_id` (string)
    The ID of the user that deleted (or last tried to delete) this object

  - `fiscal_year.sys_directive` (string)
    Means for passing directive information into an object processing logic

  - `fiscal_year.sys_external_id` (string)
    The ID that a record has from an external system or data import

  - `fiscal_year.sys_has_files_in_s3` (boolean)
    If true, this record has files in S3. If false, it doesnt, so no need to hit S3 upon deletion

  - `fiscal_year.sys_last_bulk_data_operation_id` (string)
    If this record was last touched by a bulk data operation, the ID of that operation

  - `fiscal_year.sys_last_bulk_data_operation_sys_version` (string)
    If this record was last touched by a bulk data operation, the sys_version at the time of that operation

  - `fiscal_year.sys_last_modified_at` (string)
    The date/time that this record record was last modified, expressed in ISO-8601 date format

  - `fiscal_year.sys_last_modified_by_id` (string)
    The ID of the user that last modified this record

  - `fiscal_year.sys_last_security_context` (object)
    The security context of the last insert, modify, or delete performed on this item

  - `fiscal_year.sys_locked` (boolean)
    If set, this record is locked and cannot be changed via the API

  - `fiscal_year.sys_snapshot_base_version` (number)
    The version to use as a base when creating a configuration snapshot; if not set, 1 is used. Helpful when creating a sandbox

  - `fiscal_year.sys_version` (number)
    A number representing the version of this record in the database

## Response 200 headers (application/json):

  - `Access-Control-Allow-Headers` (string)

  - `Access-Control-Allow-Methods` (string)

  - `Access-Control-Allow-Origin` (string)

## Response 400:

  - `400` (unknown)
    The request was invalid

## Response 400 headers:

  - `Access-Control-Allow-Headers` (string)

  - `Access-Control-Allow-Methods` (string)

  - `Access-Control-Allow-Origin` (string)

## Response 401:

  - `401` (unknown)
    Unauthorized

## Response 401 headers:

  - `Access-Control-Allow-Headers` (string)

  - `Access-Control-Allow-Methods` (string)

  - `Access-Control-Allow-Origin` (string)

## Response 403:

  - `403` (unknown)
    Forbidden

## Response 403 headers:

  - `Access-Control-Allow-Headers` (string)

  - `Access-Control-Allow-Methods` (string)

  - `Access-Control-Allow-Origin` (string)

## Response 404:

  - `404` (unknown)
    The resource could not be found

## Response 404 headers:

  - `Access-Control-Allow-Headers` (string)

  - `Access-Control-Allow-Methods` (string)

  - `Access-Control-Allow-Origin` (string)

## Response 429:

  - `429` (unknown)
    Limit exceeded... unable to add contact role based on tenant limits.

## Response 429 headers:

  - `Access-Control-Allow-Headers` (string)

  - `Access-Control-Allow-Methods` (string)

  - `Access-Control-Allow-Origin` (string)

## Response 500:

  - `500` (unknown)
    General server error

## Response 500 headers:

  - `Access-Control-Allow-Headers` (string)

  - `Access-Control-Allow-Methods` (string)

  - `Access-Control-Allow-Origin` (string)

