export type newInvoiceDefResp = { status: string, message: string, data: { customers: { sso: string customer_location:number }[], orgData : { location_id: number, location_state_code: string, location_state: string }, locationCodesData : { location_id: number, location_state_code: string, location_state: string }[], accountNamesData: { account_name_id: number, account_name: string }[], inventoryAccountData: { account_name_id: number, account_name: string } paymentTerms: { payment_terms_id: number, terms_code: string, number_of_days?: number }[], interTaxSlabDetails: { tax_slab_id: number, tax_slab_name: string, percentage: number, tax_slab_type: string }[], intraTaxGrpDetails: { tax_group_id: number, tax_group_name: string, tax_group_type: string, tax_slabs: { tax_slab_id: number, tax_slab_name: string, percentage: number }[] }[], itemsDetails: { variant_id: number, item_id: number, variant: string, uom_code: string, cost_price: number, discount_price: number, taxable: boolean, tax_slab_name: string, tax_group_name: string, item_name: string, hsn_code: number, sac_code?: number, cost_account: number, is_inventory: boolean, intra_state_tax?: number, inter_state_tax?: number, }[], tdsDetails: { tds_id: number, description: string, percentage: number }[], itcDetails: { itc_id: number, itc_value: string }[] } }