import { SpeakeasyBase } from "../../../internal/utils";
import { ProfitAndLossReport } from "./profitandlossreport";
import { ReportBasis } from "./reportbasis";
/**
* > **Language tip:** Profit and loss statement is also referred to as **income statement** under US GAAP (Generally Accepted Accounting Principles).
*
* @remarks
*
* > View the coverage for profit and loss in the Data coverage explorer.
*
* ## Overview
*
* The purpose of a profit and loss report is to present the financial performance of a company over a specified time period.
*
* A profit and loss report shows a company's total income and expenses for a specified period of time and whether a profit or loss has been made.
*
* > **Profit and loss or balance sheet?**
* > Profit and loss reports summarise the total revenue, expenses, and profit or loss over a specified time period. A balance sheet report presents all assets, liability, and equity for a given date.
*
*
* **Structure of this report**
* This report will reflect the structure and line descriptions that the business has set in their own accounting platform.
*
* **History**
* By default, Codat pulls (up to) 24 months of profit and loss history for a company. You can adjust this to fetch more history, where available, by updating the `monthsToSync` value for `profitAndLoss` on the [data type settings endpoint](https://docs.codat.io/codat-api#/operations/post-profile-syncSettings).
*
* **Want to pull this in a standardised structure?**
* Our [Enhanced Financials](https://docs.codat.io/assess/reports/enhanced-financials/financials) endpoints provide the same report under standardized headings, allowing you to pull it in the same format for all of your business customers.
*/
export declare class ProfitAndLossReportInput extends SpeakeasyBase {
/**
* Base currency of the company in which the profit and loss report is presented.
*/
currency: string;
/**
* In Codat's data model, dates and times are represented using the ISO 8601 standard. Date and time fields are formatted as strings; for example:
*
* @remarks
*
* ```
* 2020-10-08T22:40:50Z
* 2021-01-01T00:00:00
* ```
*
*
*
* When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:
*
* - Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`
* - Unqualified local time: `2021-11-15T01:00:00`
* - UTC time offsets: `2021-11-15T01:00:00-05:00`
*
* > Time zones
* >
* > Not all dates from Codat will contain information about time zones.
* > Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced.
*/
earliestAvailableMonth?: string;
/**
* In Codat's data model, dates and times are represented using the ISO 8601 standard. Date and time fields are formatted as strings; for example:
*
* @remarks
*
* ```
* 2020-10-08T22:40:50Z
* 2021-01-01T00:00:00
* ```
*
*
*
* When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:
*
* - Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`
* - Unqualified local time: `2021-11-15T01:00:00`
* - UTC time offsets: `2021-11-15T01:00:00-05:00`
*
* > Time zones
* >
* > Not all dates from Codat will contain information about time zones.
* > Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced.
*/
mostRecentAvailableMonth?: string;
/**
* The basis of a report.
*/
reportBasis: ReportBasis;
/**
* An array of profit and loss reports.
*/
reports: ProfitAndLossReport[];
}