Is there any API of ERPNext which provide information about balance sheet and profit & loss statement. I appreciate to any who can help me with that.
Finally this one worked for me
/api/method/frappe.desk.query_report.run?report_name=Balance Sheet&filters={“from_fiscal_year”:“2021”,“to_fiscal_year”:“2022”,“periodicity”:“Yearly”,“company”:“Demo”}
just replace balance sheet with profit and loss statement and it should work fine
2 Likes