A collection of help pages for using the API.
| URL | /Api/v2/Company/{companyId}/FiscalYear/{fiscalYearId} |
| Accepted verbs | GET, PUT, DELETE |
| Description |
Provides methods to get or manage fiscal years that for a specified company. |
Get all fiscal years for a company.
| Name | Description | Additional information |
|---|---|---|
| companyId | Company id. |
URI parameter |
The requested list of FiscalYear.
Get a single fiscal year by its id.
| Name | Description | Additional information |
|---|---|---|
| companyId | Company id. |
URI parameter |
| fiscalYearId | Id of the fiscal year. |
URI parameter |
The requested FiscalYear.
Updates a FiscalYear with a new chart of accounts id or currency.
| Name | Description | Additional information |
|---|---|---|
| companyId | Id of the CompanyInfo. |
URI parameter |
| fiscalYearId | Id of the FiscalYear. |
URI parameter |
| apiFiscalYear | The FiscalYear with updated information. |
Body data |
The updated FiscalYear.
Remove a fiscal year from a company. All fiscal year data and transactions will also be deleted.
| Name | Description | Additional information |
|---|---|---|
| companyId | Company id. |
URI parameter |
| fiscalYearId | The id of the fiscal year to delete. |
URI parameter |