2
0
mirror of https://github.com/frappe/books.git synced 2025-01-22 22:58:28 +00:00

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
463 B
TypeScript
Raw Normal View History

import { Doc } from 'fyo/model/doc';
2022-05-23 11:00:54 +05:30
import { Money } from 'pesa';
2022-04-14 09:57:48 +05:30
export interface LedgerPostingOptions {
reference: Doc;
party?: string;
}
2022-04-14 09:57:48 +05:30
export interface LedgerEntry {
account: string;
party: string;
date: string;
referenceType: string;
referenceName: string;
reverted: boolean;
debit: Money;
credit: Money;
}
export interface AccountBalanceChange {
2022-04-14 09:57:48 +05:30
name: string;
change: Money;
2022-04-14 09:57:48 +05:30
}
export type TransactionType = 'credit' | 'debit';