| id |
int(11)
|
|
|
|
| invoice_no |
varchar(60)
|
utf8mb4_general_ci
|
|
|
| client_id |
int(11)
|
|
|
|
| shipment_id |
int(11)
|
|
|
|
| dispatch_id |
int(11)
|
|
|
|
| billing_type |
enum('logistics_service', 'delivery_income', 'trucking_income', 'warehousing_income', 'customs_clearance', 'forwarding', 'expense_reimbursement', 'other')
|
utf8mb4_general_ci
|
|
|
| income_amount |
decimal(14,2)
|
|
|
|
| expense_amount |
decimal(14,2)
|
|
|
|
| billing_status |
enum('draft', 'billed', 'posted', 'paid', 'void')
|
utf8mb4_general_ci
|
|
|
| due_date |
date
|
|
|
|
| notes |
text
|
utf8mb4_general_ci
|
|
|
| posted_to_accounting |
tinyint(1)
|
|
|
|
| accounting_reference |
varchar(120)
|
utf8mb4_general_ci
|
|
|
| created_by |
int(11)
|
|
|
|
| updated_by |
int(11)
|
|
|
|
| created_at |
datetime
|
|
|
|
| updated_at |
datetime
|
|
|
|