# Using Jasper Reports with Tryton for localized Balance Sheet, P&L or any other report

**URL:** <https://discuss.tryton.org/t/using-jasper-reports-with-tryton-for-localized-balance-sheet-p-l-or-any-other-report/4177>\
**Category:** User\
**Created:** [May 9, 2021, 5:23pm UTC](https://discuss.tryton.org/t/using-jasper-reports-with-tryton-for-localized-balance-sheet-p-l-or-any-other-report/4177 "2021-05-09T17:23:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pocock](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/p/a88e57/32.png) [@pocock](https://discuss.tryton.org/u/pocock)\
**Post date:** [May 9, 2021, 5:23pm UTC](https://discuss.tryton.org/t/using-jasper-reports-with-tryton-for-localized-balance-sheet-p-l-or-any-other-report/4177/1 "2021-05-09T17:23:57Z")

</div>

Is anybody using Jasper Reports with Tryton?

Are there any documents about how to integrate it to quickly get the records for a balance sheet or P&L?

---

<div class="post-metadata">

**Author:** ![albert](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/albert/32/21_2.png) [@albert](https://discuss.tryton.org/u/albert)\
**Post date:** [May 9, 2021, 5:43pm UTC](https://discuss.tryton.org/t/using-jasper-reports-with-tryton-for-localized-balance-sheet-p-l-or-any-other-report/4177/2 "2021-05-09T17:43:17Z")

</div>

> [@pocock](#):
>
> Is anybody using Jasper Reports with Tryton?

Yes, we’re using [it](https://github.com/nan-tic/trytond-jasper_reports), although we intend to eventually replace it with [html\_report](https://github.com/nan-tic/trytond-html_report).

> [@pocock](#):
>
> Are there any documents about how to integrate it to quickly get the records for a balance sheet or P&L?

Well, we’re using [account\_financial\_statement](https://github.com/nan-tic/trytond-account_financial_statement) module which has a different design than core’s balance sheet and P&L.

You can find a sample on how that module works with [this](https://github.com/nan-tic/trytond-account_financial_statement_es) module.

Main advantage is that users can create their own reports. The drawback is that it does nothing to ensure all accounts are in either P&L or balance report, so reports must be carefully created.

---

<div class="post-metadata">

**Author:** ![pokoli](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/pokoli/32/22_2.png) [@pokoli](https://discuss.tryton.org/u/pokoli)\
**Post date:** [May 10, 2021, 6:59am UTC](https://discuss.tryton.org/t/using-jasper-reports-with-tryton-for-localized-balance-sheet-p-l-or-any-other-report/4177/3 "2021-05-10T06:59:28Z")

</div>

> [@albert](#):
>
> although we intend to eventually replace it with [html\_report](https://github.com/nan-tic/trytond-html_report).

Since 5.6 series, the tryton server is able to [convert from html to pdf using the optional weasyprint library](https://bugs.tryton.org/issue5964).

> [@albert](#):
>
> Main advantage is that users can create their own reports.

I’m courious why an user will need to create their own reports.  
Won’t be better to use the analytic\_account module to create the custom tree of reporting?

---

<div class="post-metadata">

**Author:** ![albert](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/albert/32/21_2.png) [@albert](https://discuss.tryton.org/u/albert)\
**Post date:** [May 10, 2021, 12:49pm UTC](https://discuss.tryton.org/t/using-jasper-reports-with-tryton-for-localized-balance-sheet-p-l-or-any-other-report/4177/4 "2021-05-10T12:49:32Z")

</div>

> [@pokoli](#):
>
> > [@albert](#):
> >
> > although we intend to eventually replace it with [html\_report](https://github.com/nan-tic/trytond-html_report).
> 
> Since 5.6 series, the tryton server is able to [convert from html to pdf using the optional weasyprint library](https://bugs.tryton.org/issue5964).

I know, but html\_report module does many more things than just executing weasyprint.

> [@pokoli](#):
>
> > [@albert](#):
> >
> > Main advantage is that users can create their own reports.
> 
> I’m courious why an user will need to create their own reports.  
> Won’t be better to use the analytic\_account module to create the custom tree of reporting?

It depend. In some cases it allows to customize standard P&L (or Balance) reports without the need of adding analytic accounting. For example, if you just want to have several revenue accounts detailed in the report.

In other cases users are using it to create reports that do not fit either in P&L or Balance but that provide useful information for their specific business.
