Summary

An issue was resolved where promo code discounts were not displaying in the correct currency when printing or emailing an invoice.

Issue Details

When a promo code was applied in a different currency than the invoice (for example, a USD promo code on a CAD invoice), the discount displayed correctly within PEAK 15 and in the invoice totals. However, the printed and emailed PDF versions of the invoice showed the promo code amount in the promo code’s original currency instead of the invoice currency.

This resulted in the promo code line item appearing in the base currency, even though the invoice total reflected the properly converted amount.

Resolution

The promo code logic has been updated to ensure consistent currency conversion across all invoice outputs. The system now:

  • Converts the promo code amount into the invoice currency using the invoice’s exchange rate.
  • Stores the converted amount correctly on the invoice item.
  • Ensures the printed and emailed PDF invoices display the promo code in the same currency as the invoice, matching what appears in PEAK 15 and in the invoice totals.

This fix ensures promo code discounts are displayed accurately and consistently across all invoice formats.