|
id
|
bigint(20) unsigned
|
|
|
|
|
voucher_number
|
varchar(50)
|
|
|
|
|
voucher_type_id
|
bigint(20)
|
|
|
0
|
|
sales_channel
|
varchar(50)
|
|
|
|
|
sales_person_id
|
int(10) unsigned
|
|
|
|
|
source_quotation_id
|
bigint(20) unsigned
|
|
|
|
|
voucher_date
|
date
|
|
|
|
|
voucher_time
|
time
|
|
|
|
|
due_date
|
date
|
|
|
|
|
ledger_id
|
int(10) unsigned
|
|
|
|
|
party_cat_id
|
int(11)
|
|
|
0
|
|
invoice_amount
|
decimal(12,2) unsigned
|
|
|
|
|
price
|
decimal(10,2)
|
|
|
0.00
|
|
pri_discount
|
decimal(10,2)
|
|
|
0.00
|
|
proportionate_discount
|
decimal(10,2)
|
|
|
0.00
|
|
discount_coupon_code
|
varchar(50)
|
|
|
|
|
applied_discount_category
|
enum
|
-- |
|
|
|
applied_discount_category_id
|
int(11)
|
|
|
|
|
item_tax_amout
|
decimal(10,2)
|
|
|
0.00
|
|
add_charges_fixed_tax_amount
|
decimal(10,2)
|
|
|
0.00
|
|
add_charges_proportionate_tax_amount
|
decimal(10,2)
|
|
|
0.00
|
|
total_tax_amount
|
decimal(10,2)
|
|
|
0.00
|
|
tds_amount
|
decimal(10,2)
|
|
|
0.00
|
|
freight_charges
|
decimal(10,2)
|
|
|
0.00
|
|
add_charges
|
decimal(10,2)
|
|
|
0.00
|
|
sgst_amount
|
decimal(10,2)
|
|
|
0.00
|
|
cgst_amount
|
decimal(10,2)
|
|
|
0.00
|
|
igst_amount
|
decimal(10,2)
|
|
|
0.00
|
|
cess_amount
|
decimal(10,2)
|
|
|
0.00
|
|
payment_status
|
enum
|
-- |
|
Pending
|
|
narration
|
text
|
|
|
|
|
additional_discount_remarks
|
longtext
|
|
|
|
|
discount_details
|
longtext
|
|
|
|
|
receiver_name
|
varchar(100)
|
|
|
|
|
receiver_contact_number
|
varchar(20)
|
|
|
|
|
branch_id
|
int(11)
|
|
|
|
|
user_id
|
bigint(20) unsigned
|
|
|
|
|
finance_year_id
|
bigint(20) unsigned
|
|
|
|
|
delete_status
|
tinyint(1)
|
|
|
0
|
|
created_at
|
datetime
|
|
|
current_timestamp()
|
|
updated_at
|
datetime
|
|
|
|
|
round_off
|
decimal(12,2)
|
|
|
|
|
irn
|
varchar(64)
|
|
|
|
|
ack_no
|
bigint(20)
|
|
|
|
|
ack_date
|
datetime
|
|
|
|
|
qr_code
|
text
|
|
|
|
|
einvoice_status
|
enum
|
-- |
|
PENDING
|
|
einvoice_error
|
text
|
|
|
|
|
ewaybill_no
|
bigint(20)
|
|
|
|
|
ewaybill_date
|
datetime
|
|
|
|
|
ewaybill_status
|
enum
|
-- |
|
PENDING
|
|
ewaybill_error
|
text
|
|
|
|
|
posting_status
|
enum
|
-- |
|
Pending
|