|
id
|
bigint(20) unsigned
|
|
|
|
|
claim_no
|
varchar(60)
|
|
|
|
|
claim_sequence_no
|
smallint(5) unsigned
|
|
|
1
|
|
idempotency_key
|
varchar(64)
|
|
|
|
|
scheme_id
|
bigint(20) unsigned
|
|
|
Browse foreign values
|
|
agreement_id
|
bigint(20) unsigned
|
|
|
Browse foreign values
|
|
ledger_id
|
bigint(20) unsigned
|
|
|
|
|
period_from
|
date
|
|
|
|
|
period_to
|
date
|
|
|
|
|
turnover_basis
|
enum
|
-- |
|
|
|
gross_sales_amount
|
decimal(18,2)
|
|
|
0.00
|
|
sales_return_amount
|
decimal(18,2)
|
|
|
0.00
|
|
eligible_turnover_amount
|
decimal(18,2)
|
|
|
0.00
|
|
collection_amount
|
decimal(18,2)
|
|
|
0.00
|
|
target_amount
|
decimal(18,2)
|
|
|
0.00
|
|
achievement_percent
|
decimal(9,4)
|
|
|
0.0000
|
|
applicable_discount_rate
|
decimal(9,4)
|
|
|
0.0000
|
|
fixed_discount_amount
|
decimal(18,2)
|
|
|
0.00
|
|
discount_amount
|
decimal(18,2)
|
|
|
0.00
|
|
cgst_amount
|
decimal(18,2)
|
|
|
0.00
|
|
sgst_amount
|
decimal(18,2)
|
|
|
0.00
|
|
igst_amount
|
decimal(18,2)
|
|
|
0.00
|
|
cess_amount
|
decimal(18,2)
|
|
|
0.00
|
|
round_off
|
decimal(18,2)
|
|
|
0.00
|
|
gross_credit_amount
|
decimal(18,2)
|
|
|
0.00
|
|
document_type
|
enum
|
-- |
|
UNDECIDED
|
|
agreement_pre_supply
|
enum
|
-- |
|
NA
|
|
invoice_link_confirmed
|
enum
|
-- |
|
NA
|
|
taxable_value_reduction
|
enum
|
-- |
|
NA
|
|
itc_reversal_required
|
enum
|
-- |
|
NA
|
|
decision_reason
|
varchar(500)
|
|
|
|
|
status
|
enum
|
-- |
|
DRAFT
|
|
calculation_version
|
int(10) unsigned
|
|
|
1
|
|
row_version
|
int(10) unsigned
|
|
|
1
|
|
source_snapshot_hash
|
char(64)
|
|
|
|
|
snapshot_at
|
datetime
|
|
|
|
|
credit_note_entry_id
|
bigint(20) unsigned
|
|
|
|
|
credit_note_voucher_no
|
varchar(50)
|
|
|
|
|
branch_id
|
int(10) unsigned
|
|
|
|
|
finance_year_id
|
int(10) unsigned
|
|
|
|
|
created_by
|
int(10) unsigned
|
|
|
|
|
updated_by
|
int(10) unsigned
|
|
|
|
|
submitted_by
|
int(10) unsigned
|
|
|
|
|
approved_by
|
int(10) unsigned
|
|
|
|
|
posted_by
|
int(10) unsigned
|
|
|
|
|
rejected_by
|
int(10) unsigned
|
|
|
|
|
reversed_by
|
int(10) unsigned
|
|
|
|
|
submitted_at
|
datetime
|
|
|
|
|
approved_at
|
datetime
|
|
|
|
|
posted_at
|
datetime
|
|
|
|
|
rejected_at
|
datetime
|
|
|
|
|
reversed_at
|
datetime
|
|
|
|
|
rejection_reason
|
varchar(500)
|
|
|
|
|
reversal_reason
|
varchar(500)
|
|
|
|
|
delete_status
|
tinyint(1)
|
|
|
0
|
|
deleted_by
|
int(10) unsigned
|
|
|
|
|
deleted_at
|
datetime
|
|
|
|
|
created_at
|
datetime
|
|
|
current_timestamp()
|
|
updated_at
|
datetime
|
|
|
|
|
discount_basis_mode
|
enum
|
-- |
|
TAXABLE_BASE
|
|
discount_base_amount
|
decimal(18,2)
|
|
|
0.00
|
|
discount_amount_semantics
|
enum
|
-- |
|
TAXABLE_DISCOUNT
|
|
taxable_discount_amount
|
decimal(18,2)
|
|
|
0.00
|
|
allocation_engine
|
varchar(60)
|
|
|
STEP_5_BASIS_GST_SNAPSHOT_V1
|