brf/shared/types.ts
2025-12-09 12:00:39 +01:00

27 lines
530 B
TypeScript

// export const FinancialYear = Type.Object({
// year: Type.Number(),
// startDate: Type.String(),
// endDate: Type.String(),
// })
// export type FinancialYearType = Static<typeof FinancialYear>
export interface Transaction {
description: string
amount: number
}
export interface Entry {
id: number
journal: string
number: number
amount: number
description: string
transactionDate: string
entryDate: string
transactions: {
account_number: number
description: string
amount: number
}[]
}