You are on page 1of 1

StatementEntry AccountEntry

statement_entry_id BIGINT(20) account_entry_id BIGINT(20)


statement_id BIGINT(20) account_id BIGINT(20)
statement_entry_type ENUM(...) journal_id BIGINT(20)
ledger_rec1 VARCHAR(255) transaction_ref VARCHAR(255)
ledger_rec2 VARCHAR(255) account_entry_type ENUM(...)
recon_result ENUM(...) ledger_rec1 VARCHAR(255)
amount DECIMAL(16,6) ledger_rec2 VARCHAR(255)
statement_sum DECIMAL(16,6) recon_result ENUM(...)
status ENUM(...) status ENUM(...)
created_on DATETIME narration VARCHAR(255)
statement_date DATETIME amount DECIMAL(16,6)
reconciled_datetime DATETIME account_sum DECIMAL(16,6)
Reconciliation
narration VARCHAR(255) created_on DATETIME
Indexes reconciliation_id BIGINT(20)
applicable_date DATETIME
account_entry_id BIGINT(20)
reconciled_datetime DATETIME
statement_entry_id BIGINT(20) Indexes
reconciliation_type ENUM(...)
amount DECIMAL(16,6)
status ENUM(...)
created_on DATETIME
user_id BIGINT(20)
Indexes

StatementAccount Journal Tenant


statement_account_id BIGINT(20) journal_id BIGINT(20) tenant_id BIGINT(20)
tenant_id BIGINT(20) reversing BIGINT(20) parent_tenant_id BIGINT(20)
statement_account_ref VARCHAR(255) reversed_by BIGINT(20) tenant_code VARCHAR(50)
statement_partner_id BIGINT(20) journal_type ENUM(...) api_key VARCHAR(255)
statement_account_name VARCHAR(255) status ENUM(...) status ENUM(...)
statement_account_code VARCHAR(255) created_on DATETIME Indexes
statement_account_type ENUM(...) reconciled_datetime DATETIME
status ENUM(...) Indexes
reconciled_balance DECIMAL(16,6)
total_balance DECIMAL(16,6)
created_on DATETIME
Indexes
Account Statement
account_id BIGINT(20) statement_id BIGINT(20)
tenant_id BIGINT(20) tenant_id BIGINT(20)
parent_account_id BIGINT(20) statement_account_id BIGINT(20)
account_name VARCHAR(255) statement_name VARCHAR(255)
account_code VARCHAR(255) statement_code VARCHAR(255)
account_class ENUM(...) statement_type ENUM(...)
account_type ENUM(...) statement_description VARCHAR(255)
account_description VARCHAR(255) status ENUM(...)
status ENUM(...) currency_code ENUM(...)
is_master_account TINYINT(1) tax_type ENUM(...)
currency_code ENUM(...) total_balance DECIMAL(16,6)
tax_type ENUM(...) creator_id BIGINT(20)
StatementPartner Indexes
pending_balance DECIMAL(16,6)
statement_partner_id BIGINT(20)
authorised_balance DECIMAL(16,6)
statement_partner_name VARCHAR(255)
total_balance DECIMAL(16,6)
statement_partner_code VARCHAR(255)
related_party_id BIGINT(20)
statement_partner_type ENUM(...)
creator_id BIGINT(20)
status ENUM(...) Indexes
Indexes

You might also like