import { SpeakeasyBase } from "../../../internal/utils"; import { ContactRef } from "./contactref"; import { InvoiceTo } from "./invoiceto"; import { Metadata } from "./metadata"; import { SupplementalData } from "./supplementaldata"; import { TrackingCategoryRef } from "./trackingcategoryref"; import { TransferAccount } from "./transferaccount"; /** * > View the coverage for transfers in the Data coverage explorer. * * @remarks * * A transfer records the movement of money between two bank accounts, or between a bank account and a nominal account. It is a child data type of [account transactions](https://docs.codat.io/accounting-api#/schemas/AccountTransaction). */ export declare class Transfer extends SpeakeasyBase { /** * A customer or supplier associated with the direct cost. */ contactRef?: ContactRef; /** * 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. */ date?: string; /** * List of selected transactions to associate with the transfer. Use this field to include transactions which are posted to the _undeposited funds_ (or other holding) account within the transfer. */ depositedRecordRefs?: InvoiceTo[]; /** * Description of the transfer. */ description?: string; /** * Account details of the account sending or receiving the transfer. */ from?: TransferAccount; /** * Unique identifier for the transfer. */ id?: string; metadata?: Metadata; modifiedDate?: string; sourceModifiedDate?: string; /** * Supplemental data is additional data you can include in our standard data types. * * @remarks * * It is referenced as a configured dynamic key value pair that is unique to the accounting platform. [Learn more](https://docs.codat.io/using-the-api/supplemental-data/overview) about supplemental data. */ supplementalData?: SupplementalData; /** * Account details of the account sending or receiving the transfer. */ to?: TransferAccount; /** * Reference to the tracking categories this transfer is being tracked against. */ trackingCategoryRefs?: TrackingCategoryRef[]; }