create table biller_details
( 
    id int not null PRIMARY KEY AUTO_INCREMENT,
    inv_id varchar(100) not null ,
    biller_Name varchar(200),
    biller_Addr1 varchar(200),
    biller_Addr2 varchar(200),
    biller_Addr3 varchar(200),
    biller_Addr4 varchar(200),
    biller_GSTIN varchar(50),
    biller_PAN varchar(50),
    biller_Email varchar(50),
    biller_Mobile varchar(50),
    extra varchar(200),
    status_ int 
)

create table domestic_invS
(
    id int not null PRIMARY KEY AUTO_INCREMENT,
    inv_no varchar(100),
    inv_date varchar(50),
    inv_pos varchar(200),
    inv_sc varchar(200),
    inv_poref varchar(200),
    inv_irn varchar(200),
    inv_qrLoc varchar(200),    
    inv_reverseCharge varchar(200),
    billed_to int not null,
    tax_id int ,
    template_id int ,
    inv_signedDetails int ,
    extra varchar(100),
    status_ int not null
)

create table domestic_Service 
(
    id int not null primary key AUTO_INCREMENT,
    inv_id int,
    slno int,    
    particulars varchar(1000) not null,
    s_code int not null,
    amount varchar(50) not null,
    extra varchar(50),
    status_ int not null
)

create table domestic_taxDetails
(
    id int not null primary key AUTO_INCREMENT,
    inv_id int not null,
    taxable_amt varchar(25) not null,
    cgst_per varchar(10) not null,
    sgst_per varchar(10) not null,
    igst_per varchar(10) not null,
    cgst_val varchar(20) not null,
    sgst_val varchar(20) not null,
    igst_val varchar(20) not null,
    roindOff varchar(10) not null,
    total varchar(20) not null,
    extra varchar(50) ,
    status_ int
)
