mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-14 11:50:31 +00:00
34 lines
910 B
TypeScript
34 lines
910 B
TypeScript
import { INumberFormatQuery } from './FinancialStatements';
|
|
|
|
export interface ITransactionsByContactsAmount {
|
|
amount: number;
|
|
formattedAmount: string;
|
|
currencyCode: string;
|
|
}
|
|
|
|
export interface ITransactionsByContactsTransaction {
|
|
date: string|Date,
|
|
credit: ITransactionsByContactsAmount;
|
|
debit: ITransactionsByContactsAmount;
|
|
accountName: string,
|
|
runningBalance: ITransactionsByContactsAmount;
|
|
currencyCode: string;
|
|
transactionType: string;
|
|
transactionNumber: string;
|
|
createdAt: string|Date,
|
|
};
|
|
|
|
export interface ITransactionsByContactsContact {
|
|
openingBalance: ITransactionsByContactsAmount,
|
|
closingBalance: ITransactionsByContactsAmount,
|
|
transactions: ITransactionsByContactsTransaction[],
|
|
}
|
|
|
|
export interface ITransactionsByContactsFilter {
|
|
fromDate: Date|string;
|
|
toDate: Date|string;
|
|
numberFormat: INumberFormatQuery;
|
|
noneTransactions: boolean;
|
|
noneZero: boolean;
|
|
}
|