portablefinance/ts/interfaces/transaction.ts

22 lines
464 B
TypeScript
Raw Permalink Normal View History

2023-11-16 01:09:48 +00:00
import { type IVoucher } from './voucher.js';
2021-04-15 00:59:56 +00:00
2023-11-16 01:09:48 +00:00
export interface IMonetaryTransaction {
id: string;
2021-04-15 00:59:56 +00:00
data: {
2023-11-16 01:09:48 +00:00
paymentAccountId: string;
2021-04-15 00:59:56 +00:00
originTransactionId: string;
originAccountId: string;
additionalIds: string[];
date: number;
amount: number;
description: string;
name: string;
voucherData?: IVoucher;
justForLooks?: {
paymentAcountName: string;
voucherSizeInMB: number;
dateIso?: string;
};
};
2021-04-15 01:06:42 +00:00
}