
id : bigint(20) unsigned
|

voucher_number : varchar(50)
|

voucher_type_id : bigint(20)
|

entry_mode : enum('Cash','Party')
|

entry_status : enum('SALES','PROFORMA','QUOTATION','DELIVERY_NOTE','SALES_ORDER','DRAFT','DECLINE','REQUESTED','SERVICE')
|

source_sales_id : int(11)
|

source_proforma_id : int(11)
|

source_quotation_id : int(10) unsigned
|

source_delivery_note_id : int(10)
|

source_sales_order_id : int(11)
|

source_subsidy_id : int(11)
|

proforma_status_deleted : enum('Y','N')
|

quotation_moved_status_deleted : varchar(20)
|

delivery_note_type : enum('Inhouse','Sales_reference','Others')
|

sales_channel : varchar(50)
|

sales_person_id : int(10) unsigned
|

voucher_date : date
|

confirm_decline_date : date
|

voucher_time : time
|

due_date : date
|

ledger_id : int(10) unsigned
|

order_no : varchar(50)
|

party_cat_id : int(11)
|

invoice_amount : decimal(12,2) unsigned
|

price : decimal(10,2)
|

after_prim_dis_price : decimal(10,2)
|

subsidy_scheme_id : tinyint(4)
|

subsidy_scheme_discount : decimal(10,2)
|

pri_discount : decimal(10,2)
|

proportionate_discount : decimal(10,2)
|

additional_discount : decimal(10,2)
|

total_discount : decimal(10,2)
|

discount_coupon_code : varchar(50)
|

applied_discount_category : enum('SCHEME','CATEGORY')
|

applied_discount_category_id : int(11)
|

subsidy_diff_amt : decimal(12,2)
|

taxable_amount : decimal(12,2)
|

item_tax_amout : decimal(10,2)
|

add_charges_fixed_tax_amount : decimal(10,2)
|

add_charges_proportionate_tax_amount : decimal(10,2)
|

total_tax_amount : decimal(10,2)
|

tds_amount : decimal(10,2)
|

freight_charges : decimal(10,2)
|

add_charges : decimal(10,2)
|

sgst_amount : decimal(10,2)
|

cgst_amount : decimal(10,2)
|

igst_amount : decimal(10,2)
|

cess_amount : decimal(10,2)
|

payment_status : enum('Pending','Paid','Partial')
|

narration : text
|

discount_details : longtext
|

receiver_name : varchar(100)
|

receiver_contact_number : varchar(20)
|

branch_id : int(11)
|

user_id : bigint(20) unsigned
|

modified_user_id : bigint(20) unsigned
|

finance_year_id : bigint(20) unsigned
|

delete_status : tinyint(1)
|

is_cancelled : enum('Y','N')
|

created_at : datetime
|

updated_at : datetime
|

round_off : decimal(12,2)
|

total_amount : decimal(12,2)
|

einvoice_status : enum('PENDING','GENERATED','CANCELLED')
|

ewaybill_status : enum('PENDING','GENERATED','CANCELLED')
|

posting_status : enum('Pending','Posted')
|

decline_reason : longtext
|

confirm_reason : longtext
|