mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 12:50:38 +00:00
refactoring: trial balance sheet report. refactoring: general ledger report. refactoring: journal report. refactoring: P&L report.
28 lines
602 B
TypeScript
28 lines
602 B
TypeScript
import { IJournalEntry } from './Journal';
|
|
|
|
export interface IJournalReportQuery {
|
|
fromDate: Date | string,
|
|
toDate: Date | string,
|
|
numberFormat: {
|
|
noCents: boolean,
|
|
divideOn1000: boolean,
|
|
},
|
|
transactionTypes: string | string[],
|
|
accountsIds: number | number[],
|
|
fromRange: number,
|
|
toRange: number,
|
|
}
|
|
|
|
export interface IJournalReportEntriesGroup {
|
|
id: string,
|
|
entries: IJournalEntry[],
|
|
currencyCode: string,
|
|
credit: number,
|
|
debit: number,
|
|
formattedCredit: string,
|
|
formattedDebit: string,
|
|
}
|
|
|
|
export interface IJournalReport {
|
|
entries: IJournalReportEntriesGroup[],
|
|
} |