UNPKG

@logismix/mydata-client

Version:
45 lines (44 loc) 1.68 kB
import { AadeBookInvoiceType } from './invoice.model'; import { InvoiceIncomeClassificationType } from './incomeClassification.model'; import { InvoiceExpensesClassificationType } from './expensesClassification.model'; import { PaymentMethodType } from './paymentMethods.model'; import { ContinuationTokenType } from './simple-types.model'; /** * Root element for the response of RequestDocs and RequestTransmittedDocs methods. */ export interface RequestedDoc { /** Token for retrieving results in parts (pagination). */ continuationToken?: ContinuationTokenType; /** List of retrieved invoices. */ invoicesDoc?: { invoice?: AadeBookInvoiceType[]; }; /** List of retrieved cancelled invoices information. */ cancelledInvoicesDoc?: { cancelledInvoice?: CancelledInvoiceType[]; }; /** List of retrieved income classifications. */ incomeClassificationsDoc?: { incomeInvoiceClassification?: InvoiceIncomeClassificationType[]; }; /** List of retrieved expense classifications. */ expensesClassificationsDoc?: { expensesInvoiceClassification?: InvoiceExpensesClassificationType[]; }; /** List of retrieved payment methods. */ paymentMethodsDoc?: { /** NOTE: XSD uses <paymentMethods> wrapper with PaymentMethodType inside. */ paymentMethods?: PaymentMethodType[]; }; } /** * Information about a cancelled invoice. */ export interface CancelledInvoiceType { /** MARK of the cancelled invoice */ invoiceMark: number; /** MARK of the cancellation record */ cancellationMark: number; /** Date of the cancellation */ cancellationDate: Date; }