total inflows and outflows in reconciliation statement includes the amount of the balance modification transaction
This commit is contained in:
@@ -45,6 +45,16 @@ var liabilityAccountCategory = map[AccountCategory]bool{
|
||||
ACCOUNT_CATEGORY_CERTIFICATE_OF_DEPOSIT: false,
|
||||
}
|
||||
|
||||
// IsAsset returns whether the account category is an asset category
|
||||
func (c AccountCategory) IsAsset() bool {
|
||||
return assetAccountCategory[c]
|
||||
}
|
||||
|
||||
// IsLiability returns whether the account category is a liability category
|
||||
func (c AccountCategory) IsLiability() bool {
|
||||
return liabilityAccountCategory[c]
|
||||
}
|
||||
|
||||
// AccountType represents account type
|
||||
type AccountType byte
|
||||
|
||||
|
||||
@@ -344,6 +344,8 @@ type TransactionReconciliationStatementResponseItem struct {
|
||||
// TransactionReconciliationStatementResponse represents the response of all transaction reconciliation statement response
|
||||
type TransactionReconciliationStatementResponse struct {
|
||||
Transactions []*TransactionReconciliationStatementResponseItem `json:"transactions"`
|
||||
TotalInflows int64 `json:"totalInflows"`
|
||||
TotalOutflows int64 `json:"totalOutflows"`
|
||||
OpeningBalance int64 `json:"openingBalance"`
|
||||
ClosingBalance int64 `json:"closingBalance"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user