|
id
|
bigint(20) unsigned
|
|
|
|
|
invoice_number
|
varchar(40)
|
|
|
|
|
customer_id
|
bigint(20) unsigned
|
|
|
Browse foreign values
|
|
service_id
|
bigint(20) unsigned
|
|
|
Browse foreign values
|
|
invoice_type
|
enum
|
-- |
|
renewal
|
|
status
|
enum
|
-- |
|
unpaid
|
|
invoice_date
|
date
|
|
|
|
|
due_date
|
date
|
|
|
|
|
subtotal
|
decimal(12,2)
|
|
|
0.00
|
|
discount
|
decimal(12,2)
|
|
|
0.00
|
|
tax_amount
|
decimal(12,2)
|
|
|
0.00
|
|
total
|
decimal(12,2)
|
|
|
0.00
|
|
paid_amount
|
decimal(12,2)
|
|
|
0.00
|
|
notes
|
varchar(255)
|
|
|
|
|
created_by
|
bigint(20) unsigned
|
|
|
|
|
created_at
|
timestamp
|
|
|
current_timestamp()
|