# createFiscalYear

## Overview

Defines a fiscal year (会計年度) for a company. The end date must be strictly after
the start date, and the range must not overlap an existing fiscal year for the same
company. Thin wrapper over the native `createFiscalYear`.

## Modules Commands Used

- [financial-accounting] createFiscalYear

## Exception Handling

| Error Code | Description |
| --- | --- |
| FINANCIAL_ACCOUNTING_COMPANY_NOT_FOUND | The company does not exist |
| FINANCIAL_ACCOUNTING_NAME_REQUIRED | The fiscal year name is empty |
| FINANCIAL_ACCOUNTING_INVALID_DATE_RANGE | The end date is not after the start date |
| FINANCIAL_ACCOUNTING_OVERLAPPING_FISCAL_YEAR | The range overlaps an existing fiscal year for the company |
