erpnext-queue-client 2.1.4 → 2.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,7 +6,7 @@ export declare class ERPNextSalesInvoice {
6
6
  protected temporalClient: TemporalClient;
7
7
  protected baseRequest: ERPNextDoctypeSubmittableResourceRequest<typeof SalesInvoice>;
8
8
  protected methodRequest: ERPNextMethodRequest;
9
- getList: <TFieldOptions extends ("status" | "docstatus" | "name" | "owner" | "creation" | "modified" | "modified_by" | "idx" | "company" | "naming_series" | "customer" | "posting_date" | "set_posting_time" | "is_return" | "currency" | "conversion_rate" | "selling_price_list" | "plc_conversion_rate" | "ignore_pricing_rule" | "apply_discount_on" | "disable_rounded_total" | "is_internal_customer" | "group_same_items" | "update_stock" | "allocate_advances_automatically" | "ignore_default_payment_terms_template" | "is_opening" | "custom_invoice_no" | "is_pos" | "is_debit_note" | "update_outstanding_for_self" | "update_billed_amount_in_sales_order" | "update_billed_amount_in_delivery_note" | "is_consolidated" | "use_company_roundoff_cost_center" | "is_cash_or_non_trade_discount" | "only_include_allocated_payments" | "write_off_outstanding_amount_automatically" | "redeem_loyalty_points" | "dont_create_loyalty_points" | "debit_to" | "is_discounted" | "repost_required") | ("amended_from" | "_user_tags" | "tax_category" | "language" | "discount_amount" | "pricing_rules" | "cost_center" | "project" | "title" | "customer_name" | "posting_time" | "return_against" | "po_no" | "po_date" | "shipping_address_name" | "shipping_address" | "dispatch_address_name" | "dispatch_address" | "contact_person" | "contact_display" | "contact_mobile" | "contact_email" | "customer_address" | "tax_id" | "address_display" | "company_address" | "company_address_display" | "price_list_currency" | "set_warehouse" | "set_target_warehouse" | "scan_barcode" | "total_qty" | "base_total" | "base_net_total" | "total_net_weight" | "total" | "net_total" | "shipping_rule" | "incoterm" | "taxes_and_charges" | "other_charges_calculation" | "base_total_taxes_and_charges" | "total_taxes_and_charges" | "base_discount_amount" | "additional_discount_percentage" | "base_grand_total" | "base_rounding_adjustment" | "base_rounded_total" | "base_in_words" | "grand_total" | "rounding_adjustment" | "rounded_total" | "in_words" | "tc_name" | "terms" | "campaign" | "source" | "represents_company" | "customer_group" | "territory" | "letter_head" | "select_print_heading" | "auto_repeat" | "sales_partner" | "amount_eligible_for_commission" | "commission_rate" | "total_commission" | "packed_items" | "taxes" | "sales_team" | "outstanding_amount" | "paid_amount" | "base_paid_amount" | "remarks" | "due_date" | "total_advance" | "write_off_amount" | "base_write_off_amount" | "payment_terms_template" | "party_account_currency" | "advances" | "payment_schedule" | "company_tax_id" | "pos_profile" | "named_place" | "coupon_code" | "additional_discount_account" | "timesheets" | "total_billing_hours" | "total_billing_amount" | "cash_bank_account" | "payments" | "base_change_amount" | "change_amount" | "account_for_change_amount" | "write_off_account" | "write_off_cost_center" | "loyalty_points" | "loyalty_amount" | "loyalty_program" | "loyalty_redemption_account" | "loyalty_redemption_cost_center" | "unrealized_profit_loss_account" | "against_income_account" | "subscription" | "from_date" | "to_date" | "update_auto_repeat_reference" | "inter_company_invoice_reference"), TSelectedFields extends readonly ["*"] | TFieldOptions[] | undefined = undefined, TAsDict extends boolean | undefined = undefined>({ fields, filters, skip, limit, priority, asDict, params, }?: {
9
+ getList: <TFieldOptions extends ("status" | "docstatus" | "name" | "owner" | "creation" | "modified" | "modified_by" | "idx" | "company" | "naming_series" | "customer" | "posting_date" | "set_posting_time" | "is_return" | "currency" | "conversion_rate" | "selling_price_list" | "plc_conversion_rate" | "ignore_pricing_rule" | "custom_tax_included_in_shipping_cost" | "apply_discount_on" | "disable_rounded_total" | "is_internal_customer" | "group_same_items" | "update_stock" | "allocate_advances_automatically" | "ignore_default_payment_terms_template" | "is_opening" | "custom_invoice_no" | "is_pos" | "is_debit_note" | "update_outstanding_for_self" | "update_billed_amount_in_sales_order" | "update_billed_amount_in_delivery_note" | "is_consolidated" | "use_company_roundoff_cost_center" | "is_cash_or_non_trade_discount" | "only_include_allocated_payments" | "write_off_outstanding_amount_automatically" | "redeem_loyalty_points" | "dont_create_loyalty_points" | "debit_to" | "is_discounted" | "repost_required") | ("amended_from" | "_user_tags" | "tax_category" | "language" | "discount_amount" | "pricing_rules" | "cost_center" | "project" | "title" | "customer_name" | "posting_time" | "return_against" | "po_no" | "po_date" | "shipping_address_name" | "shipping_address" | "dispatch_address_name" | "dispatch_address" | "contact_person" | "contact_display" | "contact_mobile" | "contact_email" | "customer_address" | "tax_id" | "address_display" | "company_address" | "company_address_display" | "price_list_currency" | "set_warehouse" | "set_target_warehouse" | "scan_barcode" | "total_qty" | "base_total" | "base_net_total" | "total_net_weight" | "total" | "net_total" | "shipping_rule" | "incoterm" | "custom_shipping_cost" | "taxes_and_charges" | "other_charges_calculation" | "base_total_taxes_and_charges" | "total_taxes_and_charges" | "base_discount_amount" | "additional_discount_percentage" | "base_grand_total" | "base_rounding_adjustment" | "base_rounded_total" | "base_in_words" | "grand_total" | "rounding_adjustment" | "rounded_total" | "in_words" | "tc_name" | "terms" | "campaign" | "source" | "represents_company" | "customer_group" | "territory" | "letter_head" | "select_print_heading" | "auto_repeat" | "sales_partner" | "amount_eligible_for_commission" | "commission_rate" | "total_commission" | "packed_items" | "taxes" | "sales_team" | "outstanding_amount" | "paid_amount" | "base_paid_amount" | "remarks" | "due_date" | "total_advance" | "write_off_amount" | "base_write_off_amount" | "payment_terms_template" | "party_account_currency" | "advances" | "payment_schedule" | "company_tax_id" | "pos_profile" | "named_place" | "coupon_code" | "additional_discount_account" | "timesheets" | "total_billing_hours" | "total_billing_amount" | "cash_bank_account" | "payments" | "base_change_amount" | "change_amount" | "account_for_change_amount" | "write_off_account" | "write_off_cost_center" | "loyalty_points" | "loyalty_amount" | "loyalty_program" | "loyalty_redemption_account" | "loyalty_redemption_cost_center" | "unrealized_profit_loss_account" | "against_income_account" | "subscription" | "from_date" | "to_date" | "update_auto_repeat_reference" | "inter_company_invoice_reference"), TSelectedFields extends readonly ["*"] | TFieldOptions[] | undefined = undefined, TAsDict extends boolean | undefined = undefined>({ fields, filters, skip, limit, priority, asDict, params, }?: {
10
10
  fields?: TSelectedFields;
11
11
  filters?: (string | string[])[][];
12
12
  skip?: number;
@@ -36,6 +36,7 @@ export declare class ERPNextSalesInvoice {
36
36
  selling_price_list: string;
37
37
  plc_conversion_rate: number;
38
38
  ignore_pricing_rule: 0 | 1;
39
+ custom_tax_included_in_shipping_cost: 0 | 1;
39
40
  apply_discount_on: "" | "Grand Total" | "Net Total";
40
41
  disable_rounded_total: 0 | 1;
41
42
  is_internal_customer: 0 | 1;
@@ -99,6 +100,7 @@ export declare class ERPNextSalesInvoice {
99
100
  net_total?: number | null | undefined;
100
101
  shipping_rule?: string | null | undefined;
101
102
  incoterm?: string | null | undefined;
103
+ custom_shipping_cost?: number | null | undefined;
102
104
  taxes_and_charges?: string | null | undefined;
103
105
  other_charges_calculation?: string | null | undefined;
104
106
  base_total_taxes_and_charges?: number | null | undefined;
@@ -198,7 +200,7 @@ export declare class ERPNextSalesInvoice {
198
200
  to_date?: string | null | undefined;
199
201
  update_auto_repeat_reference?: string | null | undefined;
200
202
  inter_company_invoice_reference?: string | null | undefined;
201
- }[] : TSelectedFields extends TFieldOptions[] ? { [K_1 in TSelectedFields[number] as K_1 extends `${infer _Before} as ${infer Alias}` ? Alias : K_1]: (K_1 extends `${infer _Before} as ${infer Alias}` ? Alias : K_1) extends ("status" | "docstatus" | "name" | "owner" | "creation" | "modified" | "modified_by" | "idx" | "company" | "naming_series" | "customer" | "posting_date" | "set_posting_time" | "is_return" | "currency" | "conversion_rate" | "selling_price_list" | "plc_conversion_rate" | "ignore_pricing_rule" | "apply_discount_on" | "disable_rounded_total" | "is_internal_customer" | "group_same_items" | "update_stock" | "allocate_advances_automatically" | "ignore_default_payment_terms_template" | "is_opening" | "custom_invoice_no" | "is_pos" | "is_debit_note" | "update_outstanding_for_self" | "update_billed_amount_in_sales_order" | "update_billed_amount_in_delivery_note" | "is_consolidated" | "use_company_roundoff_cost_center" | "is_cash_or_non_trade_discount" | "only_include_allocated_payments" | "write_off_outstanding_amount_automatically" | "redeem_loyalty_points" | "dont_create_loyalty_points" | "debit_to" | "is_discounted" | "repost_required") | ("amended_from" | "_user_tags" | "tax_category" | "language" | "discount_amount" | "pricing_rules" | "cost_center" | "project" | "title" | "customer_name" | "posting_time" | "return_against" | "po_no" | "po_date" | "shipping_address_name" | "shipping_address" | "dispatch_address_name" | "dispatch_address" | "contact_person" | "contact_display" | "contact_mobile" | "contact_email" | "customer_address" | "tax_id" | "address_display" | "company_address" | "company_address_display" | "price_list_currency" | "set_warehouse" | "set_target_warehouse" | "scan_barcode" | "total_qty" | "base_total" | "base_net_total" | "total_net_weight" | "total" | "net_total" | "shipping_rule" | "incoterm" | "taxes_and_charges" | "other_charges_calculation" | "base_total_taxes_and_charges" | "total_taxes_and_charges" | "base_discount_amount" | "additional_discount_percentage" | "base_grand_total" | "base_rounding_adjustment" | "base_rounded_total" | "base_in_words" | "grand_total" | "rounding_adjustment" | "rounded_total" | "in_words" | "tc_name" | "terms" | "campaign" | "source" | "represents_company" | "customer_group" | "territory" | "letter_head" | "select_print_heading" | "auto_repeat" | "sales_partner" | "amount_eligible_for_commission" | "commission_rate" | "total_commission" | "packed_items" | "taxes" | "sales_team" | "outstanding_amount" | "paid_amount" | "base_paid_amount" | "remarks" | "due_date" | "total_advance" | "write_off_amount" | "base_write_off_amount" | "payment_terms_template" | "party_account_currency" | "advances" | "payment_schedule" | "company_tax_id" | "pos_profile" | "named_place" | "coupon_code" | "additional_discount_account" | "timesheets" | "total_billing_hours" | "total_billing_amount" | "cash_bank_account" | "payments" | "base_change_amount" | "change_amount" | "account_for_change_amount" | "write_off_account" | "write_off_cost_center" | "loyalty_points" | "loyalty_amount" | "loyalty_program" | "loyalty_redemption_account" | "loyalty_redemption_cost_center" | "unrealized_profit_loss_account" | "against_income_account" | "subscription" | "from_date" | "to_date" | "update_auto_repeat_reference" | "inter_company_invoice_reference") ? {
203
+ }[] : TSelectedFields extends TFieldOptions[] ? { [K_1 in TSelectedFields[number] as K_1 extends `${infer _Before} as ${infer Alias}` ? Alias : K_1]: (K_1 extends `${infer _Before} as ${infer Alias}` ? Alias : K_1) extends ("status" | "docstatus" | "name" | "owner" | "creation" | "modified" | "modified_by" | "idx" | "company" | "naming_series" | "customer" | "posting_date" | "set_posting_time" | "is_return" | "currency" | "conversion_rate" | "selling_price_list" | "plc_conversion_rate" | "ignore_pricing_rule" | "custom_tax_included_in_shipping_cost" | "apply_discount_on" | "disable_rounded_total" | "is_internal_customer" | "group_same_items" | "update_stock" | "allocate_advances_automatically" | "ignore_default_payment_terms_template" | "is_opening" | "custom_invoice_no" | "is_pos" | "is_debit_note" | "update_outstanding_for_self" | "update_billed_amount_in_sales_order" | "update_billed_amount_in_delivery_note" | "is_consolidated" | "use_company_roundoff_cost_center" | "is_cash_or_non_trade_discount" | "only_include_allocated_payments" | "write_off_outstanding_amount_automatically" | "redeem_loyalty_points" | "dont_create_loyalty_points" | "debit_to" | "is_discounted" | "repost_required") | ("amended_from" | "_user_tags" | "tax_category" | "language" | "discount_amount" | "pricing_rules" | "cost_center" | "project" | "title" | "customer_name" | "posting_time" | "return_against" | "po_no" | "po_date" | "shipping_address_name" | "shipping_address" | "dispatch_address_name" | "dispatch_address" | "contact_person" | "contact_display" | "contact_mobile" | "contact_email" | "customer_address" | "tax_id" | "address_display" | "company_address" | "company_address_display" | "price_list_currency" | "set_warehouse" | "set_target_warehouse" | "scan_barcode" | "total_qty" | "base_total" | "base_net_total" | "total_net_weight" | "total" | "net_total" | "shipping_rule" | "incoterm" | "custom_shipping_cost" | "taxes_and_charges" | "other_charges_calculation" | "base_total_taxes_and_charges" | "total_taxes_and_charges" | "base_discount_amount" | "additional_discount_percentage" | "base_grand_total" | "base_rounding_adjustment" | "base_rounded_total" | "base_in_words" | "grand_total" | "rounding_adjustment" | "rounded_total" | "in_words" | "tc_name" | "terms" | "campaign" | "source" | "represents_company" | "customer_group" | "territory" | "letter_head" | "select_print_heading" | "auto_repeat" | "sales_partner" | "amount_eligible_for_commission" | "commission_rate" | "total_commission" | "packed_items" | "taxes" | "sales_team" | "outstanding_amount" | "paid_amount" | "base_paid_amount" | "remarks" | "due_date" | "total_advance" | "write_off_amount" | "base_write_off_amount" | "payment_terms_template" | "party_account_currency" | "advances" | "payment_schedule" | "company_tax_id" | "pos_profile" | "named_place" | "coupon_code" | "additional_discount_account" | "timesheets" | "total_billing_hours" | "total_billing_amount" | "cash_bank_account" | "payments" | "base_change_amount" | "change_amount" | "account_for_change_amount" | "write_off_account" | "write_off_cost_center" | "loyalty_points" | "loyalty_amount" | "loyalty_program" | "loyalty_redemption_account" | "loyalty_redemption_cost_center" | "unrealized_profit_loss_account" | "against_income_account" | "subscription" | "from_date" | "to_date" | "update_auto_repeat_reference" | "inter_company_invoice_reference") ? {
202
204
  status: "Internal Transfer" | "Draft" | "Return" | "Credit Note Issued" | "Submitted" | "Paid" | "Partly Paid" | "Unpaid" | "Unpaid and Discounted" | "Partly Paid and Discounted" | "Overdue and Discounted" | "Overdue" | "Cancelled";
203
205
  docstatus: number;
204
206
  name: string;
@@ -218,6 +220,7 @@ export declare class ERPNextSalesInvoice {
218
220
  selling_price_list: string;
219
221
  plc_conversion_rate: number;
220
222
  ignore_pricing_rule: 0 | 1;
223
+ custom_tax_included_in_shipping_cost: 0 | 1;
221
224
  apply_discount_on: "" | "Grand Total" | "Net Total";
222
225
  disable_rounded_total: 0 | 1;
223
226
  is_internal_customer: 0 | 1;
@@ -281,6 +284,7 @@ export declare class ERPNextSalesInvoice {
281
284
  net_total?: number | null | undefined;
282
285
  shipping_rule?: string | null | undefined;
283
286
  incoterm?: string | null | undefined;
287
+ custom_shipping_cost?: number | null | undefined;
284
288
  taxes_and_charges?: string | null | undefined;
285
289
  other_charges_calculation?: string | null | undefined;
286
290
  base_total_taxes_and_charges?: number | null | undefined;
@@ -380,7 +384,7 @@ export declare class ERPNextSalesInvoice {
380
384
  to_date?: string | null | undefined;
381
385
  update_auto_repeat_reference?: string | null | undefined;
382
386
  inter_company_invoice_reference?: string | null | undefined;
383
- }[(("status" | "docstatus" | "name" | "owner" | "creation" | "modified" | "modified_by" | "idx" | "company" | "naming_series" | "customer" | "posting_date" | "set_posting_time" | "is_return" | "currency" | "conversion_rate" | "selling_price_list" | "plc_conversion_rate" | "ignore_pricing_rule" | "apply_discount_on" | "disable_rounded_total" | "is_internal_customer" | "group_same_items" | "update_stock" | "allocate_advances_automatically" | "ignore_default_payment_terms_template" | "is_opening" | "custom_invoice_no" | "is_pos" | "is_debit_note" | "update_outstanding_for_self" | "update_billed_amount_in_sales_order" | "update_billed_amount_in_delivery_note" | "is_consolidated" | "use_company_roundoff_cost_center" | "is_cash_or_non_trade_discount" | "only_include_allocated_payments" | "write_off_outstanding_amount_automatically" | "redeem_loyalty_points" | "dont_create_loyalty_points" | "debit_to" | "is_discounted" | "repost_required") | ("amended_from" | "_user_tags" | "tax_category" | "language" | "discount_amount" | "pricing_rules" | "cost_center" | "project" | "title" | "customer_name" | "posting_time" | "return_against" | "po_no" | "po_date" | "shipping_address_name" | "shipping_address" | "dispatch_address_name" | "dispatch_address" | "contact_person" | "contact_display" | "contact_mobile" | "contact_email" | "customer_address" | "tax_id" | "address_display" | "company_address" | "company_address_display" | "price_list_currency" | "set_warehouse" | "set_target_warehouse" | "scan_barcode" | "total_qty" | "base_total" | "base_net_total" | "total_net_weight" | "total" | "net_total" | "shipping_rule" | "incoterm" | "taxes_and_charges" | "other_charges_calculation" | "base_total_taxes_and_charges" | "total_taxes_and_charges" | "base_discount_amount" | "additional_discount_percentage" | "base_grand_total" | "base_rounding_adjustment" | "base_rounded_total" | "base_in_words" | "grand_total" | "rounding_adjustment" | "rounded_total" | "in_words" | "tc_name" | "terms" | "campaign" | "source" | "represents_company" | "customer_group" | "territory" | "letter_head" | "select_print_heading" | "auto_repeat" | "sales_partner" | "amount_eligible_for_commission" | "commission_rate" | "total_commission" | "packed_items" | "taxes" | "sales_team" | "outstanding_amount" | "paid_amount" | "base_paid_amount" | "remarks" | "due_date" | "total_advance" | "write_off_amount" | "base_write_off_amount" | "payment_terms_template" | "party_account_currency" | "advances" | "payment_schedule" | "company_tax_id" | "pos_profile" | "named_place" | "coupon_code" | "additional_discount_account" | "timesheets" | "total_billing_hours" | "total_billing_amount" | "cash_bank_account" | "payments" | "base_change_amount" | "change_amount" | "account_for_change_amount" | "write_off_account" | "write_off_cost_center" | "loyalty_points" | "loyalty_amount" | "loyalty_program" | "loyalty_redemption_account" | "loyalty_redemption_cost_center" | "unrealized_profit_loss_account" | "against_income_account" | "subscription" | "from_date" | "to_date" | "update_auto_repeat_reference" | "inter_company_invoice_reference")) & (K_1 extends `${infer _Before} as ${infer Alias}` ? Alias : K_1)] : never; }[] : any) extends infer T ? { [K in keyof T]: T[K]; } : never>;
387
+ }[(("status" | "docstatus" | "name" | "owner" | "creation" | "modified" | "modified_by" | "idx" | "company" | "naming_series" | "customer" | "posting_date" | "set_posting_time" | "is_return" | "currency" | "conversion_rate" | "selling_price_list" | "plc_conversion_rate" | "ignore_pricing_rule" | "custom_tax_included_in_shipping_cost" | "apply_discount_on" | "disable_rounded_total" | "is_internal_customer" | "group_same_items" | "update_stock" | "allocate_advances_automatically" | "ignore_default_payment_terms_template" | "is_opening" | "custom_invoice_no" | "is_pos" | "is_debit_note" | "update_outstanding_for_self" | "update_billed_amount_in_sales_order" | "update_billed_amount_in_delivery_note" | "is_consolidated" | "use_company_roundoff_cost_center" | "is_cash_or_non_trade_discount" | "only_include_allocated_payments" | "write_off_outstanding_amount_automatically" | "redeem_loyalty_points" | "dont_create_loyalty_points" | "debit_to" | "is_discounted" | "repost_required") | ("amended_from" | "_user_tags" | "tax_category" | "language" | "discount_amount" | "pricing_rules" | "cost_center" | "project" | "title" | "customer_name" | "posting_time" | "return_against" | "po_no" | "po_date" | "shipping_address_name" | "shipping_address" | "dispatch_address_name" | "dispatch_address" | "contact_person" | "contact_display" | "contact_mobile" | "contact_email" | "customer_address" | "tax_id" | "address_display" | "company_address" | "company_address_display" | "price_list_currency" | "set_warehouse" | "set_target_warehouse" | "scan_barcode" | "total_qty" | "base_total" | "base_net_total" | "total_net_weight" | "total" | "net_total" | "shipping_rule" | "incoterm" | "custom_shipping_cost" | "taxes_and_charges" | "other_charges_calculation" | "base_total_taxes_and_charges" | "total_taxes_and_charges" | "base_discount_amount" | "additional_discount_percentage" | "base_grand_total" | "base_rounding_adjustment" | "base_rounded_total" | "base_in_words" | "grand_total" | "rounding_adjustment" | "rounded_total" | "in_words" | "tc_name" | "terms" | "campaign" | "source" | "represents_company" | "customer_group" | "territory" | "letter_head" | "select_print_heading" | "auto_repeat" | "sales_partner" | "amount_eligible_for_commission" | "commission_rate" | "total_commission" | "packed_items" | "taxes" | "sales_team" | "outstanding_amount" | "paid_amount" | "base_paid_amount" | "remarks" | "due_date" | "total_advance" | "write_off_amount" | "base_write_off_amount" | "payment_terms_template" | "party_account_currency" | "advances" | "payment_schedule" | "company_tax_id" | "pos_profile" | "named_place" | "coupon_code" | "additional_discount_account" | "timesheets" | "total_billing_hours" | "total_billing_amount" | "cash_bank_account" | "payments" | "base_change_amount" | "change_amount" | "account_for_change_amount" | "write_off_account" | "write_off_cost_center" | "loyalty_points" | "loyalty_amount" | "loyalty_program" | "loyalty_redemption_account" | "loyalty_redemption_cost_center" | "unrealized_profit_loss_account" | "against_income_account" | "subscription" | "from_date" | "to_date" | "update_auto_repeat_reference" | "inter_company_invoice_reference")) & (K_1 extends `${infer _Before} as ${infer Alias}` ? Alias : K_1)] : never; }[] : any) extends infer T ? { [K in keyof T]: T[K]; } : never>;
384
388
  getById: ({ resourceId, priority, }: {
385
389
  resourceId: string;
386
390
  priority?: number;
@@ -405,6 +409,7 @@ export declare class ERPNextSalesInvoice {
405
409
  selling_price_list: string;
406
410
  plc_conversion_rate: number;
407
411
  ignore_pricing_rule: 0 | 1;
412
+ custom_tax_included_in_shipping_cost: 0 | 1;
408
413
  apply_discount_on: "" | "Grand Total" | "Net Total";
409
414
  disable_rounded_total: 0 | 1;
410
415
  is_internal_customer: 0 | 1;
@@ -429,7 +434,6 @@ export declare class ERPNextSalesInvoice {
429
434
  grant_commission: 0 | 1;
430
435
  allow_zero_valuation_rate: 0 | 1;
431
436
  page_break: 0 | 1;
432
- custom_tax_included_in_shipping_cost: 0 | 1;
433
437
  is_fixed_asset: 0 | 1;
434
438
  delivered_by_supplier: 0 | 1;
435
439
  enable_deferred_revenue: 0 | 1;
@@ -481,7 +485,6 @@ export declare class ERPNextSalesInvoice {
481
485
  expense_account?: string | null | undefined;
482
486
  cost_center?: string | null | undefined;
483
487
  project?: string | null | undefined;
484
- custom_shipping_cost?: number | null | undefined;
485
488
  purchase_order?: string | null | undefined;
486
489
  purchase_order_item?: string | null | undefined;
487
490
  sales_order?: string | null | undefined;
@@ -556,6 +559,7 @@ export declare class ERPNextSalesInvoice {
556
559
  net_total?: number | null | undefined;
557
560
  shipping_rule?: string | null | undefined;
558
561
  incoterm?: string | null | undefined;
562
+ custom_shipping_cost?: number | null | undefined;
559
563
  taxes_and_charges?: string | null | undefined;
560
564
  other_charges_calculation?: string | null | undefined;
561
565
  base_total_taxes_and_charges?: number | null | undefined;
@@ -716,8 +720,6 @@ export declare class ERPNextSalesInvoice {
716
720
  cost_center?: string | null | undefined;
717
721
  project?: string | null | undefined;
718
722
  page_break?: 0 | 1 | undefined;
719
- custom_shipping_cost?: number | null | undefined;
720
- custom_tax_included_in_shipping_cost?: 0 | 1 | undefined;
721
723
  is_fixed_asset?: 0 | 1 | undefined;
722
724
  delivered_by_supplier?: 0 | 1 | undefined;
723
725
  enable_deferred_revenue?: 0 | 1 | undefined;
@@ -787,6 +789,8 @@ export declare class ERPNextSalesInvoice {
787
789
  net_total?: number | null | undefined;
788
790
  shipping_rule?: string | null | undefined;
789
791
  incoterm?: string | null | undefined;
792
+ custom_shipping_cost?: number | null | undefined;
793
+ custom_tax_included_in_shipping_cost?: 0 | 1 | undefined;
790
794
  taxes_and_charges?: string | null | undefined;
791
795
  other_charges_calculation?: string | null | undefined;
792
796
  base_total_taxes_and_charges?: number | null | undefined;
@@ -934,6 +938,7 @@ export declare class ERPNextSalesInvoice {
934
938
  selling_price_list: string;
935
939
  plc_conversion_rate: number;
936
940
  ignore_pricing_rule: 0 | 1;
941
+ custom_tax_included_in_shipping_cost: 0 | 1;
937
942
  apply_discount_on: "" | "Grand Total" | "Net Total";
938
943
  disable_rounded_total: 0 | 1;
939
944
  is_internal_customer: 0 | 1;
@@ -958,7 +963,6 @@ export declare class ERPNextSalesInvoice {
958
963
  grant_commission: 0 | 1;
959
964
  allow_zero_valuation_rate: 0 | 1;
960
965
  page_break: 0 | 1;
961
- custom_tax_included_in_shipping_cost: 0 | 1;
962
966
  is_fixed_asset: 0 | 1;
963
967
  delivered_by_supplier: 0 | 1;
964
968
  enable_deferred_revenue: 0 | 1;
@@ -1010,7 +1014,6 @@ export declare class ERPNextSalesInvoice {
1010
1014
  expense_account?: string | null | undefined;
1011
1015
  cost_center?: string | null | undefined;
1012
1016
  project?: string | null | undefined;
1013
- custom_shipping_cost?: number | null | undefined;
1014
1017
  purchase_order?: string | null | undefined;
1015
1018
  purchase_order_item?: string | null | undefined;
1016
1019
  sales_order?: string | null | undefined;
@@ -1085,6 +1088,7 @@ export declare class ERPNextSalesInvoice {
1085
1088
  net_total?: number | null | undefined;
1086
1089
  shipping_rule?: string | null | undefined;
1087
1090
  incoterm?: string | null | undefined;
1091
+ custom_shipping_cost?: number | null | undefined;
1088
1092
  taxes_and_charges?: string | null | undefined;
1089
1093
  other_charges_calculation?: string | null | undefined;
1090
1094
  base_total_taxes_and_charges?: number | null | undefined;
@@ -1245,8 +1249,6 @@ export declare class ERPNextSalesInvoice {
1245
1249
  cost_center?: string | null | undefined;
1246
1250
  project?: string | null | undefined;
1247
1251
  page_break?: 0 | 1 | undefined;
1248
- custom_shipping_cost?: number | null | undefined;
1249
- custom_tax_included_in_shipping_cost?: 0 | 1 | undefined;
1250
1252
  is_fixed_asset?: 0 | 1 | undefined;
1251
1253
  delivered_by_supplier?: 0 | 1 | undefined;
1252
1254
  enable_deferred_revenue?: 0 | 1 | undefined;
@@ -1316,6 +1318,8 @@ export declare class ERPNextSalesInvoice {
1316
1318
  net_total?: number | null | undefined;
1317
1319
  shipping_rule?: string | null | undefined;
1318
1320
  incoterm?: string | null | undefined;
1321
+ custom_shipping_cost?: number | null | undefined;
1322
+ custom_tax_included_in_shipping_cost?: 0 | 1 | undefined;
1319
1323
  taxes_and_charges?: string | null | undefined;
1320
1324
  other_charges_calculation?: string | null | undefined;
1321
1325
  base_total_taxes_and_charges?: number | null | undefined;
@@ -1463,6 +1467,7 @@ export declare class ERPNextSalesInvoice {
1463
1467
  selling_price_list: string;
1464
1468
  plc_conversion_rate: number;
1465
1469
  ignore_pricing_rule: 0 | 1;
1470
+ custom_tax_included_in_shipping_cost: 0 | 1;
1466
1471
  apply_discount_on: "" | "Grand Total" | "Net Total";
1467
1472
  disable_rounded_total: 0 | 1;
1468
1473
  is_internal_customer: 0 | 1;
@@ -1487,7 +1492,6 @@ export declare class ERPNextSalesInvoice {
1487
1492
  grant_commission: 0 | 1;
1488
1493
  allow_zero_valuation_rate: 0 | 1;
1489
1494
  page_break: 0 | 1;
1490
- custom_tax_included_in_shipping_cost: 0 | 1;
1491
1495
  is_fixed_asset: 0 | 1;
1492
1496
  delivered_by_supplier: 0 | 1;
1493
1497
  enable_deferred_revenue: 0 | 1;
@@ -1539,7 +1543,6 @@ export declare class ERPNextSalesInvoice {
1539
1543
  expense_account?: string | null | undefined;
1540
1544
  cost_center?: string | null | undefined;
1541
1545
  project?: string | null | undefined;
1542
- custom_shipping_cost?: number | null | undefined;
1543
1546
  purchase_order?: string | null | undefined;
1544
1547
  purchase_order_item?: string | null | undefined;
1545
1548
  sales_order?: string | null | undefined;
@@ -1614,6 +1617,7 @@ export declare class ERPNextSalesInvoice {
1614
1617
  net_total?: number | null | undefined;
1615
1618
  shipping_rule?: string | null | undefined;
1616
1619
  incoterm?: string | null | undefined;
1620
+ custom_shipping_cost?: number | null | undefined;
1617
1621
  taxes_and_charges?: string | null | undefined;
1618
1622
  other_charges_calculation?: string | null | undefined;
1619
1623
  base_total_taxes_and_charges?: number | null | undefined;
@@ -1741,6 +1745,7 @@ export declare class ERPNextSalesInvoice {
1741
1745
  selling_price_list: string;
1742
1746
  plc_conversion_rate: number;
1743
1747
  ignore_pricing_rule: 0 | 1;
1748
+ custom_tax_included_in_shipping_cost: 0 | 1;
1744
1749
  apply_discount_on: "" | "Grand Total" | "Net Total";
1745
1750
  disable_rounded_total: 0 | 1;
1746
1751
  is_internal_customer: 0 | 1;
@@ -1765,7 +1770,6 @@ export declare class ERPNextSalesInvoice {
1765
1770
  grant_commission: 0 | 1;
1766
1771
  allow_zero_valuation_rate: 0 | 1;
1767
1772
  page_break: 0 | 1;
1768
- custom_tax_included_in_shipping_cost: 0 | 1;
1769
1773
  is_fixed_asset: 0 | 1;
1770
1774
  delivered_by_supplier: 0 | 1;
1771
1775
  enable_deferred_revenue: 0 | 1;
@@ -1817,7 +1821,6 @@ export declare class ERPNextSalesInvoice {
1817
1821
  expense_account?: string | null | undefined;
1818
1822
  cost_center?: string | null | undefined;
1819
1823
  project?: string | null | undefined;
1820
- custom_shipping_cost?: number | null | undefined;
1821
1824
  purchase_order?: string | null | undefined;
1822
1825
  purchase_order_item?: string | null | undefined;
1823
1826
  sales_order?: string | null | undefined;
@@ -1892,6 +1895,7 @@ export declare class ERPNextSalesInvoice {
1892
1895
  net_total?: number | null | undefined;
1893
1896
  shipping_rule?: string | null | undefined;
1894
1897
  incoterm?: string | null | undefined;
1898
+ custom_shipping_cost?: number | null | undefined;
1895
1899
  taxes_and_charges?: string | null | undefined;
1896
1900
  other_charges_calculation?: string | null | undefined;
1897
1901
  base_total_taxes_and_charges?: number | null | undefined;
@@ -2015,6 +2019,7 @@ export declare class ERPNextSalesInvoice {
2015
2019
  selling_price_list: string;
2016
2020
  plc_conversion_rate: number;
2017
2021
  ignore_pricing_rule: 0 | 1;
2022
+ custom_tax_included_in_shipping_cost: 0 | 1;
2018
2023
  apply_discount_on: "" | "Grand Total" | "Net Total";
2019
2024
  disable_rounded_total: 0 | 1;
2020
2025
  is_internal_customer: 0 | 1;
@@ -2039,7 +2044,6 @@ export declare class ERPNextSalesInvoice {
2039
2044
  grant_commission: 0 | 1;
2040
2045
  allow_zero_valuation_rate: 0 | 1;
2041
2046
  page_break: 0 | 1;
2042
- custom_tax_included_in_shipping_cost: 0 | 1;
2043
2047
  is_fixed_asset: 0 | 1;
2044
2048
  delivered_by_supplier: 0 | 1;
2045
2049
  enable_deferred_revenue: 0 | 1;
@@ -2091,7 +2095,6 @@ export declare class ERPNextSalesInvoice {
2091
2095
  expense_account?: string | null | undefined;
2092
2096
  cost_center?: string | null | undefined;
2093
2097
  project?: string | null | undefined;
2094
- custom_shipping_cost?: number | null | undefined;
2095
2098
  purchase_order?: string | null | undefined;
2096
2099
  purchase_order_item?: string | null | undefined;
2097
2100
  sales_order?: string | null | undefined;
@@ -2166,6 +2169,7 @@ export declare class ERPNextSalesInvoice {
2166
2169
  net_total?: number | null | undefined;
2167
2170
  shipping_rule?: string | null | undefined;
2168
2171
  incoterm?: string | null | undefined;
2172
+ custom_shipping_cost?: number | null | undefined;
2169
2173
  taxes_and_charges?: string | null | undefined;
2170
2174
  other_charges_calculation?: string | null | undefined;
2171
2175
  base_total_taxes_and_charges?: number | null | undefined;
@@ -2287,6 +2291,7 @@ export declare class ERPNextSalesInvoice {
2287
2291
  selling_price_list: string;
2288
2292
  plc_conversion_rate: number;
2289
2293
  ignore_pricing_rule: 0 | 1;
2294
+ custom_tax_included_in_shipping_cost: 0 | 1;
2290
2295
  apply_discount_on: "" | "Grand Total" | "Net Total";
2291
2296
  disable_rounded_total: 0 | 1;
2292
2297
  is_internal_customer: 0 | 1;
@@ -2311,7 +2316,6 @@ export declare class ERPNextSalesInvoice {
2311
2316
  grant_commission: 0 | 1;
2312
2317
  allow_zero_valuation_rate: 0 | 1;
2313
2318
  page_break: 0 | 1;
2314
- custom_tax_included_in_shipping_cost: 0 | 1;
2315
2319
  is_fixed_asset: 0 | 1;
2316
2320
  delivered_by_supplier: 0 | 1;
2317
2321
  enable_deferred_revenue: 0 | 1;
@@ -2363,7 +2367,6 @@ export declare class ERPNextSalesInvoice {
2363
2367
  expense_account?: string | null | undefined;
2364
2368
  cost_center?: string | null | undefined;
2365
2369
  project?: string | null | undefined;
2366
- custom_shipping_cost?: number | null | undefined;
2367
2370
  purchase_order?: string | null | undefined;
2368
2371
  purchase_order_item?: string | null | undefined;
2369
2372
  sales_order?: string | null | undefined;
@@ -2438,6 +2441,7 @@ export declare class ERPNextSalesInvoice {
2438
2441
  net_total?: number | null | undefined;
2439
2442
  shipping_rule?: string | null | undefined;
2440
2443
  incoterm?: string | null | undefined;
2444
+ custom_shipping_cost?: number | null | undefined;
2441
2445
  taxes_and_charges?: string | null | undefined;
2442
2446
  other_charges_calculation?: string | null | undefined;
2443
2447
  base_total_taxes_and_charges?: number | null | undefined;
@@ -2559,6 +2563,7 @@ export declare class ERPNextSalesInvoice {
2559
2563
  selling_price_list: string;
2560
2564
  plc_conversion_rate: number;
2561
2565
  ignore_pricing_rule: 0 | 1;
2566
+ custom_tax_included_in_shipping_cost: 0 | 1;
2562
2567
  apply_discount_on: "" | "Grand Total" | "Net Total";
2563
2568
  disable_rounded_total: 0 | 1;
2564
2569
  is_internal_customer: 0 | 1;
@@ -2583,7 +2588,6 @@ export declare class ERPNextSalesInvoice {
2583
2588
  grant_commission: 0 | 1;
2584
2589
  allow_zero_valuation_rate: 0 | 1;
2585
2590
  page_break: 0 | 1;
2586
- custom_tax_included_in_shipping_cost: 0 | 1;
2587
2591
  is_fixed_asset: 0 | 1;
2588
2592
  delivered_by_supplier: 0 | 1;
2589
2593
  enable_deferred_revenue: 0 | 1;
@@ -2635,7 +2639,6 @@ export declare class ERPNextSalesInvoice {
2635
2639
  expense_account?: string | null | undefined;
2636
2640
  cost_center?: string | null | undefined;
2637
2641
  project?: string | null | undefined;
2638
- custom_shipping_cost?: number | null | undefined;
2639
2642
  purchase_order?: string | null | undefined;
2640
2643
  purchase_order_item?: string | null | undefined;
2641
2644
  sales_order?: string | null | undefined;
@@ -2710,6 +2713,7 @@ export declare class ERPNextSalesInvoice {
2710
2713
  net_total?: number | null | undefined;
2711
2714
  shipping_rule?: string | null | undefined;
2712
2715
  incoterm?: string | null | undefined;
2716
+ custom_shipping_cost?: number | null | undefined;
2713
2717
  taxes_and_charges?: string | null | undefined;
2714
2718
  other_charges_calculation?: string | null | undefined;
2715
2719
  base_total_taxes_and_charges?: number | null | undefined;
@@ -2830,6 +2834,7 @@ export declare class ERPNextSalesInvoice {
2830
2834
  selling_price_list: string;
2831
2835
  plc_conversion_rate: number;
2832
2836
  ignore_pricing_rule: 0 | 1;
2837
+ custom_tax_included_in_shipping_cost: 0 | 1;
2833
2838
  apply_discount_on: "" | "Grand Total" | "Net Total";
2834
2839
  disable_rounded_total: 0 | 1;
2835
2840
  is_internal_customer: 0 | 1;
@@ -2854,7 +2859,6 @@ export declare class ERPNextSalesInvoice {
2854
2859
  grant_commission: 0 | 1;
2855
2860
  allow_zero_valuation_rate: 0 | 1;
2856
2861
  page_break: 0 | 1;
2857
- custom_tax_included_in_shipping_cost: 0 | 1;
2858
2862
  is_fixed_asset: 0 | 1;
2859
2863
  delivered_by_supplier: 0 | 1;
2860
2864
  enable_deferred_revenue: 0 | 1;
@@ -2906,7 +2910,6 @@ export declare class ERPNextSalesInvoice {
2906
2910
  expense_account?: string | null | undefined;
2907
2911
  cost_center?: string | null | undefined;
2908
2912
  project?: string | null | undefined;
2909
- custom_shipping_cost?: number | null | undefined;
2910
2913
  purchase_order?: string | null | undefined;
2911
2914
  purchase_order_item?: string | null | undefined;
2912
2915
  sales_order?: string | null | undefined;
@@ -2981,6 +2984,7 @@ export declare class ERPNextSalesInvoice {
2981
2984
  net_total?: number | null | undefined;
2982
2985
  shipping_rule?: string | null | undefined;
2983
2986
  incoterm?: string | null | undefined;
2987
+ custom_shipping_cost?: number | null | undefined;
2984
2988
  taxes_and_charges?: string | null | undefined;
2985
2989
  other_charges_calculation?: string | null | undefined;
2986
2990
  base_total_taxes_and_charges?: number | null | undefined;
@@ -3102,6 +3106,7 @@ export declare class ERPNextSalesInvoice {
3102
3106
  selling_price_list: string;
3103
3107
  plc_conversion_rate: number;
3104
3108
  ignore_pricing_rule: 0 | 1;
3109
+ custom_tax_included_in_shipping_cost: 0 | 1;
3105
3110
  apply_discount_on: "" | "Grand Total" | "Net Total";
3106
3111
  disable_rounded_total: 0 | 1;
3107
3112
  is_internal_customer: 0 | 1;
@@ -3126,7 +3131,6 @@ export declare class ERPNextSalesInvoice {
3126
3131
  grant_commission: 0 | 1;
3127
3132
  allow_zero_valuation_rate: 0 | 1;
3128
3133
  page_break: 0 | 1;
3129
- custom_tax_included_in_shipping_cost: 0 | 1;
3130
3134
  is_fixed_asset: 0 | 1;
3131
3135
  delivered_by_supplier: 0 | 1;
3132
3136
  enable_deferred_revenue: 0 | 1;
@@ -3178,7 +3182,6 @@ export declare class ERPNextSalesInvoice {
3178
3182
  expense_account?: string | null | undefined;
3179
3183
  cost_center?: string | null | undefined;
3180
3184
  project?: string | null | undefined;
3181
- custom_shipping_cost?: number | null | undefined;
3182
3185
  purchase_order?: string | null | undefined;
3183
3186
  purchase_order_item?: string | null | undefined;
3184
3187
  sales_order?: string | null | undefined;
@@ -3253,6 +3256,7 @@ export declare class ERPNextSalesInvoice {
3253
3256
  net_total?: number | null | undefined;
3254
3257
  shipping_rule?: string | null | undefined;
3255
3258
  incoterm?: string | null | undefined;
3259
+ custom_shipping_cost?: number | null | undefined;
3256
3260
  taxes_and_charges?: string | null | undefined;
3257
3261
  other_charges_calculation?: string | null | undefined;
3258
3262
  base_total_taxes_and_charges?: number | null | undefined;
@@ -18,10 +18,6 @@ export declare const SalesInvoiceItem: z.ZodObject<{
18
18
  stock_qty: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
19
19
  price_list_rate: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
20
20
  base_price_list_rate: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
21
- custom_shipping_cost: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
22
- custom_tax_included_in_shipping_cost: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>, 0 | 1, unknown>> & {
23
- __optionalForInput: true;
24
- };
25
21
  margin_type: z.ZodNullable<z.ZodOptional<z.ZodEnum<["", "Percentage", "Amount"]>>>;
26
22
  margin_rate_or_amount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
27
23
  rate_with_margin: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -107,7 +103,6 @@ export declare const SalesInvoiceItem: z.ZodObject<{
107
103
  grant_commission: 0 | 1;
108
104
  allow_zero_valuation_rate: 0 | 1;
109
105
  page_break: 0 | 1;
110
- custom_tax_included_in_shipping_cost: 0 | 1;
111
106
  is_fixed_asset: 0 | 1;
112
107
  delivered_by_supplier: 0 | 1;
113
108
  enable_deferred_revenue: 0 | 1;
@@ -158,7 +153,6 @@ export declare const SalesInvoiceItem: z.ZodObject<{
158
153
  expense_account?: string | null | undefined;
159
154
  cost_center?: string | null | undefined;
160
155
  project?: string | null | undefined;
161
- custom_shipping_cost?: number | null | undefined;
162
156
  purchase_order?: string | null | undefined;
163
157
  purchase_order_item?: string | null | undefined;
164
158
  sales_order?: string | null | undefined;
@@ -228,8 +222,6 @@ export declare const SalesInvoiceItem: z.ZodObject<{
228
222
  cost_center?: string | null | undefined;
229
223
  project?: string | null | undefined;
230
224
  page_break?: unknown;
231
- custom_shipping_cost?: number | null | undefined;
232
- custom_tax_included_in_shipping_cost?: unknown;
233
225
  is_fixed_asset?: unknown;
234
226
  delivered_by_supplier?: unknown;
235
227
  enable_deferred_revenue?: unknown;
@@ -353,6 +345,10 @@ export declare const SalesInvoice: z.ZodObject<{
353
345
  ignore_pricing_rule: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>, 0 | 1, unknown>> & {
354
346
  __optionalForInput: true;
355
347
  };
348
+ custom_shipping_cost: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
349
+ custom_tax_included_in_shipping_cost: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>, 0 | 1, unknown>> & {
350
+ __optionalForInput: true;
351
+ };
356
352
  update_stock: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>, 0 | 1, unknown>> & {
357
353
  __optionalForInput: true;
358
354
  };
@@ -378,10 +374,6 @@ export declare const SalesInvoice: z.ZodObject<{
378
374
  stock_qty: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
379
375
  price_list_rate: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
380
376
  base_price_list_rate: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
381
- custom_shipping_cost: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
382
- custom_tax_included_in_shipping_cost: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>, 0 | 1, unknown>> & {
383
- __optionalForInput: true;
384
- };
385
377
  margin_type: z.ZodNullable<z.ZodOptional<z.ZodEnum<["", "Percentage", "Amount"]>>>;
386
378
  margin_rate_or_amount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
387
379
  rate_with_margin: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -467,7 +459,6 @@ export declare const SalesInvoice: z.ZodObject<{
467
459
  grant_commission: 0 | 1;
468
460
  allow_zero_valuation_rate: 0 | 1;
469
461
  page_break: 0 | 1;
470
- custom_tax_included_in_shipping_cost: 0 | 1;
471
462
  is_fixed_asset: 0 | 1;
472
463
  delivered_by_supplier: 0 | 1;
473
464
  enable_deferred_revenue: 0 | 1;
@@ -518,7 +509,6 @@ export declare const SalesInvoice: z.ZodObject<{
518
509
  expense_account?: string | null | undefined;
519
510
  cost_center?: string | null | undefined;
520
511
  project?: string | null | undefined;
521
- custom_shipping_cost?: number | null | undefined;
522
512
  purchase_order?: string | null | undefined;
523
513
  purchase_order_item?: string | null | undefined;
524
514
  sales_order?: string | null | undefined;
@@ -588,8 +578,6 @@ export declare const SalesInvoice: z.ZodObject<{
588
578
  cost_center?: string | null | undefined;
589
579
  project?: string | null | undefined;
590
580
  page_break?: unknown;
591
- custom_shipping_cost?: number | null | undefined;
592
- custom_tax_included_in_shipping_cost?: unknown;
593
581
  is_fixed_asset?: unknown;
594
582
  delivered_by_supplier?: unknown;
595
583
  enable_deferred_revenue?: unknown;
@@ -856,6 +844,7 @@ export declare const SalesInvoice: z.ZodObject<{
856
844
  selling_price_list: string;
857
845
  plc_conversion_rate: number;
858
846
  ignore_pricing_rule: 0 | 1;
847
+ custom_tax_included_in_shipping_cost: 0 | 1;
859
848
  apply_discount_on: "" | "Grand Total" | "Net Total";
860
849
  disable_rounded_total: 0 | 1;
861
850
  is_internal_customer: 0 | 1;
@@ -870,7 +859,6 @@ export declare const SalesInvoice: z.ZodObject<{
870
859
  grant_commission: 0 | 1;
871
860
  allow_zero_valuation_rate: 0 | 1;
872
861
  page_break: 0 | 1;
873
- custom_tax_included_in_shipping_cost: 0 | 1;
874
862
  is_fixed_asset: 0 | 1;
875
863
  delivered_by_supplier: 0 | 1;
876
864
  enable_deferred_revenue: 0 | 1;
@@ -921,7 +909,6 @@ export declare const SalesInvoice: z.ZodObject<{
921
909
  expense_account?: string | null | undefined;
922
910
  cost_center?: string | null | undefined;
923
911
  project?: string | null | undefined;
924
- custom_shipping_cost?: number | null | undefined;
925
912
  purchase_order?: string | null | undefined;
926
913
  purchase_order_item?: string | null | undefined;
927
914
  sales_order?: string | null | undefined;
@@ -995,6 +982,7 @@ export declare const SalesInvoice: z.ZodObject<{
995
982
  net_total?: number | null | undefined;
996
983
  shipping_rule?: string | null | undefined;
997
984
  incoterm?: string | null | undefined;
985
+ custom_shipping_cost?: number | null | undefined;
998
986
  taxes_and_charges?: string | null | undefined;
999
987
  other_charges_calculation?: string | null | undefined;
1000
988
  base_total_taxes_and_charges?: number | null | undefined;
@@ -1155,8 +1143,6 @@ export declare const SalesInvoice: z.ZodObject<{
1155
1143
  cost_center?: string | null | undefined;
1156
1144
  project?: string | null | undefined;
1157
1145
  page_break?: unknown;
1158
- custom_shipping_cost?: number | null | undefined;
1159
- custom_tax_included_in_shipping_cost?: unknown;
1160
1146
  is_fixed_asset?: unknown;
1161
1147
  delivered_by_supplier?: unknown;
1162
1148
  enable_deferred_revenue?: unknown;
@@ -1224,6 +1210,8 @@ export declare const SalesInvoice: z.ZodObject<{
1224
1210
  net_total?: number | null | undefined;
1225
1211
  shipping_rule?: string | null | undefined;
1226
1212
  incoterm?: string | null | undefined;
1213
+ custom_shipping_cost?: number | null | undefined;
1214
+ custom_tax_included_in_shipping_cost?: unknown;
1227
1215
  taxes_and_charges?: string | null | undefined;
1228
1216
  other_charges_calculation?: string | null | undefined;
1229
1217
  base_total_taxes_and_charges?: number | null | undefined;
@@ -1400,6 +1388,10 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
1400
1388
  ignore_pricing_rule: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>, 0 | 1, unknown>> & {
1401
1389
  __optionalForInput: true;
1402
1390
  };
1391
+ custom_shipping_cost: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1392
+ custom_tax_included_in_shipping_cost: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>, 0 | 1, unknown>> & {
1393
+ __optionalForInput: true;
1394
+ };
1403
1395
  update_stock: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>, 0 | 1, unknown>> & {
1404
1396
  __optionalForInput: true;
1405
1397
  };
@@ -1425,10 +1417,6 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
1425
1417
  stock_qty: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1426
1418
  price_list_rate: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1427
1419
  base_price_list_rate: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1428
- custom_shipping_cost: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1429
- custom_tax_included_in_shipping_cost: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>, 0 | 1, unknown>> & {
1430
- __optionalForInput: true;
1431
- };
1432
1420
  margin_type: z.ZodNullable<z.ZodOptional<z.ZodEnum<["", "Percentage", "Amount"]>>>;
1433
1421
  margin_rate_or_amount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1434
1422
  rate_with_margin: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -1539,7 +1527,6 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
1539
1527
  grant_commission: 0 | 1;
1540
1528
  allow_zero_valuation_rate: 0 | 1;
1541
1529
  page_break: 0 | 1;
1542
- custom_tax_included_in_shipping_cost: 0 | 1;
1543
1530
  is_fixed_asset: 0 | 1;
1544
1531
  delivered_by_supplier: 0 | 1;
1545
1532
  enable_deferred_revenue: 0 | 1;
@@ -1591,7 +1578,6 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
1591
1578
  expense_account?: string | null | undefined;
1592
1579
  cost_center?: string | null | undefined;
1593
1580
  project?: string | null | undefined;
1594
- custom_shipping_cost?: number | null | undefined;
1595
1581
  purchase_order?: string | null | undefined;
1596
1582
  purchase_order_item?: string | null | undefined;
1597
1583
  sales_order?: string | null | undefined;
@@ -1672,8 +1658,6 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
1672
1658
  cost_center?: string | null | undefined;
1673
1659
  project?: string | null | undefined;
1674
1660
  page_break?: unknown;
1675
- custom_shipping_cost?: number | null | undefined;
1676
- custom_tax_included_in_shipping_cost?: unknown;
1677
1661
  is_fixed_asset?: unknown;
1678
1662
  delivered_by_supplier?: unknown;
1679
1663
  enable_deferred_revenue?: unknown;
@@ -1959,6 +1943,7 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
1959
1943
  selling_price_list: string;
1960
1944
  plc_conversion_rate: number;
1961
1945
  ignore_pricing_rule: 0 | 1;
1946
+ custom_tax_included_in_shipping_cost: 0 | 1;
1962
1947
  apply_discount_on: "" | "Grand Total" | "Net Total";
1963
1948
  disable_rounded_total: 0 | 1;
1964
1949
  is_internal_customer: 0 | 1;
@@ -1983,7 +1968,6 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
1983
1968
  grant_commission: 0 | 1;
1984
1969
  allow_zero_valuation_rate: 0 | 1;
1985
1970
  page_break: 0 | 1;
1986
- custom_tax_included_in_shipping_cost: 0 | 1;
1987
1971
  is_fixed_asset: 0 | 1;
1988
1972
  delivered_by_supplier: 0 | 1;
1989
1973
  enable_deferred_revenue: 0 | 1;
@@ -2035,7 +2019,6 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
2035
2019
  expense_account?: string | null | undefined;
2036
2020
  cost_center?: string | null | undefined;
2037
2021
  project?: string | null | undefined;
2038
- custom_shipping_cost?: number | null | undefined;
2039
2022
  purchase_order?: string | null | undefined;
2040
2023
  purchase_order_item?: string | null | undefined;
2041
2024
  sales_order?: string | null | undefined;
@@ -2110,6 +2093,7 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
2110
2093
  net_total?: number | null | undefined;
2111
2094
  shipping_rule?: string | null | undefined;
2112
2095
  incoterm?: string | null | undefined;
2096
+ custom_shipping_cost?: number | null | undefined;
2113
2097
  taxes_and_charges?: string | null | undefined;
2114
2098
  other_charges_calculation?: string | null | undefined;
2115
2099
  base_total_taxes_and_charges?: number | null | undefined;
@@ -2287,8 +2271,6 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
2287
2271
  cost_center?: string | null | undefined;
2288
2272
  project?: string | null | undefined;
2289
2273
  page_break?: unknown;
2290
- custom_shipping_cost?: number | null | undefined;
2291
- custom_tax_included_in_shipping_cost?: unknown;
2292
2274
  is_fixed_asset?: unknown;
2293
2275
  delivered_by_supplier?: unknown;
2294
2276
  enable_deferred_revenue?: unknown;
@@ -2358,6 +2340,8 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
2358
2340
  net_total?: number | null | undefined;
2359
2341
  shipping_rule?: string | null | undefined;
2360
2342
  incoterm?: string | null | undefined;
2343
+ custom_shipping_cost?: number | null | undefined;
2344
+ custom_tax_included_in_shipping_cost?: unknown;
2361
2345
  taxes_and_charges?: string | null | undefined;
2362
2346
  other_charges_calculation?: string | null | undefined;
2363
2347
  base_total_taxes_and_charges?: number | null | undefined;
@@ -20,7 +20,7 @@ exports.SalesInvoiceItem = zod_1.z
20
20
  item_group: zod_1.z.string().optional().nullable(),
21
21
  brand: zod_1.z.string().optional().nullable(),
22
22
  // Quantity and UOM
23
- qty: zod_1.z.number().positive("Quantity must be positive"),
23
+ qty: zod_1.z.number(),
24
24
  stock_uom: zod_1.z.string().optional().nullable(),
25
25
  uom: zod_1.z.string().min(1, "UOM is required"),
26
26
  conversion_factor: zod_1.z.number().optional().nullable(),
@@ -28,8 +28,6 @@ exports.SalesInvoiceItem = zod_1.z
28
28
  // Pricing
29
29
  price_list_rate: zod_1.z.number().optional().nullable(),
30
30
  base_price_list_rate: zod_1.z.number().optional().nullable(),
31
- custom_shipping_cost: zod_1.z.number().optional().nullable(),
32
- custom_tax_included_in_shipping_cost: Boolean_1.ERPNextBoolean,
33
31
  // Discount and Margin
34
32
  margin_type: zod_1.z.enum(["", "Percentage", "Amount"]).optional().nullable(),
35
33
  margin_rate_or_amount: zod_1.z.number().optional().nullable(),
@@ -164,6 +162,9 @@ exports.SalesInvoice = zod_1.z
164
162
  price_list_currency: zod_1.z.string().optional().nullable(),
165
163
  plc_conversion_rate: (0, zodContextOptionals_1.optionalForInput)(zod_1.z.number().min(0).default(1)),
166
164
  ignore_pricing_rule: Boolean_1.ERPNextBoolean,
165
+ // Custom Shipping Cost and Tax Included in Shipping Cost
166
+ custom_shipping_cost: zod_1.z.number().optional().nullable(),
167
+ custom_tax_included_in_shipping_cost: Boolean_1.ERPNextBoolean,
167
168
  // Stock Management
168
169
  update_stock: Boolean_1.ERPNextBoolean,
169
170
  scan_barcode: zod_1.z.string().optional().nullable(),
package/package.json CHANGED
@@ -30,7 +30,7 @@
30
30
  "winston": "^3.15.0",
31
31
  "zod": "3.25.76"
32
32
  },
33
- "version": "2.1.4",
33
+ "version": "2.1.6",
34
34
  "devDependencies": {
35
35
  "@types/crypto-js": "^4.2.2",
36
36
  "@types/lodash": "^4.17.13",