|
id
|
bigint(20)
|
|
|
|
|
project_id
|
int(11)
|
|
|
|
|
statement_number
|
varchar(60)
|
|
|
|
|
statement_date
|
date
|
|
|
|
|
period_start
|
date
|
|
|
|
|
period_end
|
date
|
|
|
|
|
currency
|
varchar(3)
|
|
|
USD
|
|
gross_period_amount
|
decimal(18,2)
|
|
|
0.00
|
|
gross_cumulative_amount
|
decimal(18,2)
|
|
|
0.00
|
|
advance_recovery_amount
|
decimal(18,2)
|
|
|
0.00
|
|
retention_rate
|
decimal(8,4)
|
|
|
0.0000
|
|
retention_amount
|
decimal(18,2)
|
|
|
0.00
|
|
other_deductions_amount
|
decimal(18,2)
|
|
|
0.00
|
|
tax_rate
|
decimal(8,4)
|
|
|
0.0000
|
|
tax_amount
|
decimal(18,2)
|
|
|
0.00
|
|
net_payable_amount
|
decimal(18,2)
|
|
|
0.00
|
|
status
|
varchar(40)
|
|
|
Brouillon
|
|
submitted_by_user_id
|
int(11)
|
|
|
|
|
submitted_at
|
datetime
|
|
|
|
|
certified_by_user_id
|
int(11)
|
|
|
|
|
certified_at
|
datetime
|
|
|
|
|
invoiced_at
|
datetime
|
|
|
|
|
invoice_id
|
bigint(20)
|
|
|
|
|
notes
|
text
|
|
|
|
|
created_by_user_id
|
int(11)
|
|
|
|
|
created_at
|
datetime
|
|
|
current_timestamp()
|
|
updated_at
|
datetime
|
|
|
current_timestamp()
|