/** * Unified Invoice Print Service * Consolidates InvoicePortraitPrintService, InvoiceLandscapePdfService, * HCInvoiceprintService, and InvoiceprintService into a single service */ export declare class InvoicePrintService { FontSize: number; static TableHeaders: number; /** * Unified Invoice Print Method - handles all invoice print types * Automatically routes to appropriate print variant based on options * * @param data - Invoice data containing all necessary information * @param options - Print options determining format and settings * @returns PDF document definition for pdfmake */ static GetInvoicePrint(data: any, options: any): any; /** * Portrait invoice print (Original InvoicePortraitPrintService.GetPrint) * @internal - Use GetInvoicePrint() instead */ private static GetPortraitPrint; /** * Landscape invoice print (Original InvoiceLandscapePdfService.GetInvoiceLandscapePrint) * @internal - Use GetInvoicePrint() instead */ private static GetLandscapePrint; /** * Healthcare/Hospital invoice print (Original HCInvoiceprintService.GetInvoicePrint) * @internal - Use GetInvoicePrint() instead */ private static GetHCInvoicePrint; /** * Standard invoice print (Original InvoiceprintService.GetInvoicePrint) * @internal - Use GetInvoicePrint() instead */ private static GetStandardInvoicePrint; static GetFileName(ROPrintData: any): string; static emptyObject(): any; static GetMarginsBasedOnPaperSize(size: any): number[]; static GetMainHeaderInfo(InvoicePDFData: any): { columns: ({ image: any; width: number; height: number; marginBottom: number; stack?: undefined; } | { stack: ({ text: any; style: string[]; alignment: string; fontSize: number; columns?: undefined; marginTop?: undefined; } | { text: string; alignment: string; style: string[]; fontSize?: undefined; columns?: undefined; marginTop?: undefined; } | { columns: any; text?: undefined; style?: undefined; alignment?: undefined; fontSize?: undefined; marginTop?: undefined; } | { text: any; alignment: string; style: string[]; marginTop: number; fontSize?: undefined; columns?: undefined; })[]; image?: undefined; width?: undefined; height?: undefined; marginBottom?: undefined; })[]; columnGap: number; stack?: undefined; } | { stack: ({ text: any; style: string[]; alignment: string; fontSize: number; columns?: undefined; } | { columns: any; text?: undefined; style?: undefined; alignment?: undefined; fontSize?: undefined; } | { text: any; alignment: string; style: string[]; fontSize?: undefined; columns?: undefined; })[]; columns?: undefined; columnGap?: undefined; }; static GetPortraitAddress(Entity: any): string; static GetCustomerAndBankDetails(InvoicePDFData: any): any; static GetCustomerDetails(Customer: any, Type: any, Vehicle: any, Settings: any, CustHeader: string): any; static GetAddress1(Customer: any): any; static GetFormatAddress(CustomerObj: any): string; static GetFormatContact(CustomerObj: any): string; static GetCustPhoneNumber(Customer: any, Type: any): any; static GetCustomerName(Customer: any): any; static GetCustomerGSTIN(Customer: any): any; static GetCustomerDLNo(Customer: any): any; static HeaderLayOut(): { hLineWidth: (i: any, node: any) => 0 | 1; vLineWidth: (i: any, node: any) => 0 | 1; hLineColor: (i: any, node: any) => string; vLineColor: (i: any, node: any) => string; }; static GetHeaderInfo(InvoicePDFData: any, marginleft: number): any; static GetBillofSupplyName(Settings: any): { text: string | null; alignment: string; marginLeft: number; marginTop: number; marginBottom: number; fontSize: number; width: string; }; static GetItemsTable(Services: any, Items: any, ShowTaxColumn: boolean, SType: any, printOptions: any, size: any, DecimalsNumber: number): { style: string; marginTop: number; marginBottom: number; table: { widths: (string | number)[]; headerRows: number; body: any; }; layout: { hLineWidth: (i: any, node: any) => 0 | 1; vLineWidth: (i: any, node: any) => 1 | 0.5; hLineColor: (i: any, node: any) => string; vLineColor: (i: any, node: any) => string; }; }; static GetPortraitWidths(ShowTaxColumn: any, printOptions: any): (string | number)[]; static BuildPortraitTableBody(Services: any, Items: any, ShowTaxColumn: any, SType: any, printOptions: any, size: any, DecimalsNumber: number): any; static GetPortraitHeaderNames(ShowTaxColumn: any, SType: any, printOptions: any): any; static TotalDetails(ROPrintData: any, moreDiscDetails: boolean, DecimalsNumber: number): { style: string; marginTop: number; table: { widths: string[]; body: ({ stack: (string | { stack: { style: string; table: { widths: number[]; headerRows: number; body: any; }; layout: { hLineWidth: (i: any, node: any) => 0 | 0.1; vLineWidth: (i: any, node: any) => number; hLineColor: (i: any, node: any) => string; }; }[]; })[]; columns?: undefined; } | { columns: ({ style: string[]; lineHeight: number; marginBottom: number; width: string; table: { widths: (string | number)[]; body: any; }; layout: string; } | { text: string; width: number; })[]; stack?: undefined; })[][]; }; layout: string; }[]; static GrandTotal(InvoiceData: any, LaborAfterGST: any, PartsAfterGST: any, OverAllRecordDiscount: any, totalTax: any, For: any, OverAllRecordTotal: any, Rounded: any, GrandTotal: any, Adj: any, Consolidate: any, subTotal: any, moreDiscDetails: boolean, DecimalsNumber: number): { style: string[]; lineHeight: number; marginBottom: number; width: string; table: { widths: (string | number)[]; body: any; }; layout: string; }; static GrandTotalTable(data: any): any; static PartsTaxAmounts1(PartsTaxInfo: any, ShowAccParts: any, ShowIGST: any, ShowTaxColumn: any): "" | { stack: { style: string; table: { widths: number[]; headerRows: number; body: any; }; layout: { hLineWidth: (i: any, node: any) => 0 | 0.1; vLineWidth: (i: any, node: any) => number; hLineColor: (i: any, node: any) => string; }; }[]; }; static AllHSNPartCGSTTaxListTable1(PartsTaxInfo: any, ShowAccParts: any, ShowIGST: any, ShowTaxColumn: any): { style: string; table: { widths: number[]; headerRows: number; body: any; }; layout: { hLineWidth: (i: any, node: any) => 0 | 0.1; vLineWidth: (i: any, node: any) => number; hLineColor: (i: any, node: any) => string; }; }; static CreateHSNTaxTable1(PartsTaxInfo: any, ShowAccParts: any, ShowIGST: any, ShowTaxColumn: any): any; static CreateHeadingAllTaxList(ShowIGST: any): { text: string; style: string; fontSize: number; lineHeight: number; Field: string; alignment: string; }[]; static HeaderLineStyle(): { hLineWidth: (i: any, node: any) => 0 | 0.1; vLineWidth: (i: any, node: any) => number; hLineColor: (i: any, node: any) => string; }; static GetNumberInWords(TotalAmount: any): { columns: ({ text: string; fontSize: number; width: number; bold?: undefined; } | { text: string; bold: boolean; fontSize: number; width: string; })[]; }; static InvoiceDueStatus(Type: any, Paid: any, Due: any, Status: any, isCounter: boolean, DecimalsNumber: number): any; static GetSignatures(CName: any, Total: any): (string | { style: string; text: (string | { text: any; bold: string; })[]; })[][]; static CompanyName(CName: any): { style: string; text: (string | { text: any; bold: string; })[]; }; static GetLandscapeHeaderDetails(ROPrintData: any, text: any): ({ text: any; alignment: string; bold: boolean; fontSize: number; color?: undefined; width?: undefined; marginTop?: undefined; style?: undefined; table?: undefined; layout?: undefined; } | { text: any; color: string; alignment: string; width: number; marginTop: number; fontSize: number; bold?: undefined; style?: undefined; table?: undefined; layout?: undefined; } | { style: string; table: { widths: string[]; body: ({ stack: any[]; width: number; marginLeft: number; } | { lineHeight: number; fontSize: number; table: { body: any; }; layout: string; } | { stack: ({ text: any; alignment: string; bold: boolean; fontSize: number; style?: undefined; stack?: undefined; } | { text: string; alignment: string; style: string[]; bold?: undefined; fontSize?: undefined; stack?: undefined; } | { stack: any; text?: undefined; alignment?: undefined; bold?: undefined; fontSize?: undefined; style?: undefined; })[]; })[][]; }; layout: { hLineWidth: (i: any, node: any) => number; vLineWidth: (i: any, node: any) => number; hLineColor: (i: any, node: any) => string; vLineColor: (i: any, node: any) => string; }; text?: undefined; alignment?: undefined; bold?: undefined; fontSize?: undefined; color?: undefined; width?: undefined; marginTop?: undefined; })[]; static GetLandscapeHeaderInfo(InvoicePDFData: any): any; static PrepareLandscapePartsTable(ROPrintData: any): any; static WithOutDiscountFieldTable(Parts: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any): any; static BuildLandscapeTableBodyForLaborAndParts(Parts: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any): any; static GetLandscapeWithOutDiscountFieldHeader(permission: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ShowDiscountColumn: any): any; static GetLandscapeWithOutDiscountFieldHeader1(permission: any, Body: any, ShowIGST: any, ShowDiscountColumn: any): any; static GetLandscapeWithOutDiscountFieldHeader2(permission: any, Body: any, ShowDiscountColumn: any): any; static GetWithOutDiscAndTaxFieldHeader(Parts: any, ShowTaxColumn: any, PrintPartNo: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any): any; static TaxTableWidths(PrintPartNo: any, ShowIGST: any, ShowDiscountColumn: any): (string | number)[]; static TaxDataTable(Parts: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any): { style: string; marginTop: number; table: { widths: (string | number)[]; body: any; }; layout: { hLineWidth: (i: any, node: any) => number; vLineWidth: (i: any, node: any) => number; hLineColor: (i: any, node: any) => string; vLineColor: (i: any, node: any) => string; }; }; static WidthForInsuranceOrNot(ShowDiscountColumn: any, PrintPartNo: boolean): (string | number)[]; static ConsolidateDataTable(Parts: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any): { style: string; marginTop: number; table: { widths: (string | number)[]; body: any; }; layout: { hLineWidth: (i: any, node: any) => number; vLineWidth: (i: any, node: any) => number; hLineColor: (i: any, node: any) => string; vLineColor: (i: any, node: any) => string; }; }; static NoTaxDataTable(Parts: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any): { style: string; marginTop: number; table: { widths: (string | number)[]; body: any; }; layout: { hLineWidth: (i: any, node: any) => number; vLineWidth: (i: any, node: any) => number; hLineColor: (i: any, node: any) => string; vLineColor: (i: any, node: any) => string; }; }; static GetLandscapeTotalDetails(ROPrintData: any, index: any, numberofCopies: any, moreDiscDetails: boolean): any[]; static GetLandscapeSignatures(CName: any, For: any, Type: any): { columns: { stack: ({ style: string; text: (string | { text: any; bold: string; })[]; } | { columns: any[]; })[]; }[]; }; static Authorizedsignature(): { style: string; text: string[]; }; static CustomerSignature(): { style: string; text: string[]; marginLeft: number; }; static GetHCMarginsBasedOnPaperSize(size: any): number[]; static GetHCWatermark(ROPrintData: any): "" | { text: string; opacity: number; }; static GetHCHeaderDetails(ROPrintData: any, text: any, isotherIndustry: boolean): any[]; static GetHCPrintType(type: any, RegNo: any): { columns: ({ text: string; width: number; alignment?: undefined; style?: undefined; fontSize?: undefined; } | { text: any; alignment: string; style: string; width?: undefined; fontSize?: undefined; } | { text: string; alignment: string; width: number; fontSize: number; style?: undefined; })[]; }; static HeaderAfterLine(): { canvas: { type: string; lineColor: string; x1: number; y1: number; x2: number; y2: number; lineWidth: number; }[]; }; static CustomerAndVehicleDetailsAfterLine(): { canvas: { type: string; lineColor: string; x1: number; y1: number; x2: number; y2: number; lineWidth: number; }[]; }; static PrepareHCPartsTable(ROPrintData: any, isAuto: boolean): any; static GetHCLaborPartsTableForView(Parts: any, Ops: any, PrintPartNo: any): any; static GetHCWithOutDiscountFieldTable(Parts: any, Ops: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any, isAuto: boolean, DecimalsNumber: number): any; static BuildHCTableBodyForLaborAndParts(Parts: any, Labor: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any, isAuto: boolean, DecimalsNumber: number): any; static GetHCWithOutDiscAndTaxFieldHeader(Parts: any, Ops: any, ShowTaxColumn: any, PrintPartNo: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any, isAuto: boolean, DecimalsNumber: number): any; static GetHCTaxTableWidths(PrintPartNo: any, ShowIGST: any, ShowDiscountColumn: any): number[]; static GetHCTaxDataTable(Parts: any, Ops: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any, isAuto: boolean, DecimalsNumber: number): { style: string; table: { widths: number[]; body: any; }; layout: { hLineWidth: (i: any, node: any) => number; vLineWidth: (i: any, node: any) => number; hLineColor: (i: any, node: any) => string; vLineColor: (i: any, node: any) => string; }; }; static GetHCConsolidateDataTable(Parts: any, Ops: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any, isAuto: boolean, DecimalsNumber: number): { style: string; table: { widths: number[]; body: any; }; layout: { hLineWidth: (i: any, node: any) => number; vLineWidth: (i: any, node: any) => number; hLineColor: (i: any, node: any) => string; vLineColor: (i: any, node: any) => string; }; }; static GetHCNoTaxDataTable(Parts: any, Ops: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any, isAuto: boolean, DecimalsNumber: number): { style: string; table: { widths: number[]; body: any; }; layout: { hLineWidth: (i: any, node: any) => number; vLineWidth: (i: any, node: any) => number; hLineColor: (i: any, node: any) => string; vLineColor: (i: any, node: any) => string; }; }; static BuildHCTableForCustomerLabor(Parts: any, Ops: any, PrintPartNo: any, customerorInsurance: any): any; static GetHCSummaryHeaders(permission: boolean): any; static GetHCTotalDetails(ROPrintData: any, index: any, numberofCopies: any, withPass: boolean, isAuto: boolean, moreDiscDetails: boolean): any[]; static GetStandardWatermark(ROPrintData: any, isAuto: any): "" | { text: string; opacity: number; }; static GetStandardHeaderDetails(ROPrintData: any, text: any, isotherIndustry: boolean): any[]; static PrepareStandardPartsTable(ROPrintData: any, isAuto: boolean): any; static GetStandardLaborPartsTableForView(Parts: any, Ops: any, PrintPartNo: any): any; static GetStandardWithOutDiscountFieldTable(Parts: any, Ops: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any, isAuto: boolean, DecimalsNumber: number): any; static BuildStandardTableBodyForLaborAndParts(Parts: any, Labor: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any, isAuto: boolean, DecimalsNumber: number): any; static GetStandardWithOutDiscAndTaxFieldHeader(Parts: any, Ops: any, ShowTaxColumn: any, PrintPartNo: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any, isAuto: boolean, DecimalsNumber: number): any; static GetStandardTaxDataTable(Parts: any, Ops: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any, isAuto: boolean, DecimalsNumber: number): { style: string; table: { widths: (string | number)[]; body: any; }; layout: { hLineWidth: (i: any, node: any) => number; vLineWidth: (i: any, node: any) => number; hLineColor: (i: any, node: any) => string; vLineColor: (i: any, node: any) => string; }; }; static GetStandardConsolidateDataTable(Parts: any, Ops: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any, isAuto: boolean, DecimalsNumber: number): { style: string; table: { widths: number[]; body: any; }; layout: { hLineWidth: (i: any, node: any) => number; vLineWidth: (i: any, node: any) => number; hLineColor: (i: any, node: any) => string; vLineColor: (i: any, node: any) => string; }; }; static GetStandardNoTaxDataTable(Parts: any, Ops: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any, isAuto: boolean, DecimalsNumber: number): { style: string; table: { widths: number[]; body: any; }; layout: { hLineWidth: (i: any, node: any) => number; vLineWidth: (i: any, node: any) => number; hLineColor: (i: any, node: any) => string; vLineColor: (i: any, node: any) => string; }; }; static BuildStandardTableForCustomerLabor(Parts: any, Ops: any, PrintPartNo: any, customerorInsurance: any): any; static GetStandardSummaryHeaders(permission: boolean): any; static GetStandardTotalDetails(ROPrintData: any, index: any, numberofCopies: any, withPass: boolean, isAuto: boolean, moreDiscDetails: boolean): any[]; static GetBanckdetailswithQRCode(ROPrintData: any): { columns: any[]; }; static GetGatePass(isGatepass: boolean, ROPrintData: any): any; static GetGatePassCustomerDetails(ROPrintData: any, isOtherIndustry: boolean): { lineHeight: number; fontSize: number; table: { body: any; }; layout: string; }; static GetGatePassVehicleDetails(Vehicle: any, isOtherIndustry: boolean): { lineHeight: number; fontSize: number; table: { body: any; }; layout: string; }; }