Valorated packing slip list

Hi Aarón,

Thank you for sharing the details.

Please note that the SalesPackingSlip report is not one of the scenarios explicitly covered by our DocTaxCalculator examples. The examples currently cover Sales invoice, Free text invoice, Project invoice, and similar invoice-related scenarios.

Still, the forum post below can be a useful reference point:

How to use DocTaxCalculator class to add tax amount per line to Project, Free text and Sales invoices

The DocTaxCalculator class contains the logic for calculating tax amounts per line, and it may give you ideas on how to improve or simplify your current implementation. You can compare your approach with the examples and test whether the same logic can be adapted for the packing slip scenario.

Please also keep in mind that calculating tax amounts per line can impact report execution performance, especially when the calculation is done for each line during DDSP generation. This is most likely why tax amounts are not shown per line in the standard SSRS report output by default.

So, our recommendation would be:

  1. Review the DocTaxCalculator examples.
  2. Try adapting the same approach for SalesPackingSlip .
  3. Test carefully with realistic data volumes.
  4. Pay special attention to caching and avoiding repeated tax recalculations for the same document or line.

At this point, we cannot confirm that DocTaxCalculator fully supports the SalesPackingSlip report out of the box, but it should be a good starting point for improving your current solution.