Back to Schema

Database Tables

Connected

Database Overview

58
Total Tables
Online
Connection Status
canaccom
Database Name

Table: invoice_items

4 rows

Structure

Field Type Null Key Default Extra
id int NO PRI NULL auto_increment
invoice_id int NO MUL NULL
room_id int YES MUL NULL
item_description varchar(255) NO NULL
item_type enum('room_rate','commission','tax','discount','fee','additional_charge','other') NO MUL NULL
quantity decimal(8,2) NO 1.00
unit_price decimal(10,2) NO 0.00
total_price decimal(10,2) NO 0.00
notes text YES NULL
created_at timestamp YES CURRENT_TIMESTAMP DEFAULT_GENERATED

Sample Data (First 20 rows)

id invoice_id room_id item_description item_type quantity unit_price total_price notes created_at
17 1 NULL 14 rooms × 7 nights @ $180.00 (1 King) - Dec 26, 2025 - Jan 2, 2026 room_rate 98.00 180.00 2520.00 NULL 2026-03-13 04:42:04
18 1 NULL 112 rooms × 7 nights @ $189.00 (2 Queens) - Dec 26, 2025 - Jan 2, 2026 room_rate 784.00 189.00 21168.00 NULL 2026-03-13 04:42:04
19 1 NULL 7 rooms × 7 nights @ $225.00 (One Bedroom) - Dec 26, 2025 - Jan 2, 2026 room_rate 49.00 225.00 1575.00 NULL 2026-03-13 04:42:05
20 1 NULL Some other stuff additional_charge 1.00 233.00 233.00 NULL 2026-03-13 04:42:05