# ELS Declaration

Produces an Electronic Lodgement System (ELS) Declaration for the specified fund, generating the formal declaration required for electronic lodgement of the fund's tax return via the ATO's lodgement infrastructure.

Endpoint: POST /f/{businessCode}/{fundCode}/report-data/report-generator/ELSDeclaration
Version: 1.0
Security: Class_oAuth

## Path parameters:

  - `businessCode` (string, required)
    Class business code

  - `fundCode` (string, required)
    Class entity code

## Query parameters:

  - `outputFormat` (string, required)
    Specifies the desired output format for the generated report. Accepted values are pdf, csv, or rtf.

  - `year` (integer, required)
    The financial year to retrieve information

  - `obscureSensitiveData` (string, required)
    Indicates whether sensitive personal data, such as member names and tax file numbers, should be obscured in the generated report output.

## Header parameters:

  - `Content-Type` (string, required)
    Specifies the media type expected in the response. Must always be set to application/pdf regardless of the desired output format.

## Response 400 fields (application/json):

  - `Errors` (array)

  - `Errors.code` (string)

  - `Errors.message` (string)

## Response 401 fields (application/json):

  - `Errors` (array)

  - `Errors.Code` (string)
    Example: API_NOT_AUTHORISED

  - `Errors.Message` (string)
    Example: Not authorised

## Response 403 fields (application/json):

  - `Errors` (array)

  - `Errors.Code` (string)
    Example: FORBIDDEN

  - `Errors.Message` (string)
    Example: You do not have permission to access this resource.

## Response 404 fields (application/json):

  - `Errors` (array)

  - `Errors.Code` (string)
    Example: API_NOT_FOUND

  - `Errors.Message` (string)
    Example: Resource not available or user does not have access to the fund.

## Response 500 fields (application/json):

  - `Errors` (array)

  - `Errors.Code` (string)
    Example: API_INTERNAL_ERROR

  - `Errors.Message` (string)
    Example: An unexpected error occurred on the server. Please try again later.

## Response default fields (application/json):

  - `Errors` (array)

  - `Errors.Code` (string)
    Example: API_INTERNAL_ERROR

  - `Errors.Message` (string)
    Example: An unexpected error occurred on the server. Please try again later.

