@logismix/mydata-client
Version:
Greek myDATA (AADE) API client library
32 lines (31 loc) • 1.1 kB
TypeScript
import { ContinuationTokenType } from './simple-types.model';
/**
* Root element for the response of the RequestE3Info method.
*/
export interface RequestedE3Info {
/** Token for retrieving results in parts (pagination). */
continuationToken?: ContinuationTokenType;
/** List of E3 information records (per invoice or per day). */
E3Info?: InvoiceE3DetailType[];
}
/**
* Detailed E3 information for a specific invoice or aggregated per day.
*/
export interface InvoiceE3DetailType {
/** VAT Number of the entity. */
V_Afm?: string;
/** The MARK of the invoice (present if not grouped per day). */
V_Mark?: string;
/** Book type (Income/Expense). */
vBook?: string;
/** Indicates if the related invoice is cancelled. */
IsCancelled?: boolean;
/** Invoice issue date (or the date if grouped per day). */
IssueDate: Date;
/** E3 Classification Category. */
V_Class_Category?: string;
/** E3 Classification Type (Code). */
V_Class_Type?: string;
/** Value associated with the E3 classification. */
V_Class_Value?: number;
}