In print format How to fetch customer invoice and payments data

image
Good Day,
In this image table contain customer invoice and payments data. i dont know about the doctype. i this data dispaly from the print format.please give me any suggestions. how to implement .

@D_Haritha Please provide the brief description of problem statement and which print format u have get your details so please prove the details first

I want to print on custom format like html and css.attached image table contain customer invoices and payments data. i dont know about which doctype we can choose .

@D_Haritha If u have print from any report then write custom code for html code from custom report and if u have print from sales invoice so create print format from sales invoice and write your html code and add-ons your details using the jinja format

https://docs.erpnext.com/docs/user/manual/en/print-format

https://frappeframework.com/docs/user/en/guides/reports-and-printing/print-format-for-reports

Here one problem is invoice data contain either sales or purchase doctypes. then payments contain payment entry doctype. we need to build print on both invoices and payments data in table through html and css custom format. how it is possible to build or not.

@D_Haritha For particular purchase or sales invoice one invoice we will achieve this functionality based on custom print format code if u have get multiple invoice details so create custom report and custom print format for that so please define which one u have then i will help

I need to build on custom print format

Search Print format list and create a print format .

When you create a print format you need to enter name and choose the doctype you want (sales order ,purchase order…etc) and write your html and css .