# August 2021

about 2 years ago by Doug

**Release notes**

*Enhancements*

Calculate API Enhancements - https://docs.ocrolus.com/reference/income#traditionally-employed-income:

- Lenders will now see all “raw data” for W2s in the Calculate API endpoint.
- Lenders will now see all relevant "raw data" in the Calculate API for the monthly calculations.
- Current and past employer flags are now based on the “60 day logic”.
- Pay frequency is now factored in when deriving ytd income values for salary income.
- W2s will now be expected after February 15th of the following year.
- W2 income will now be the maximum of boxes 1, 3, and 5.
- W2s will no longer be included in other pay income calculations.
- Duplicate W2s will now be ignored in Calculate calculations.
- YTD avg and YTD+W2 avg are no longer calculated if a paystub is not present.
- YTD+W2 avg is no longer calculated if a W2 is not present.
- Patent awards will now be treated as bonuses in Calculate calculations.
- Bonus, overtime, and commission calculations will now be based on YTD for past employers.
- The threshold has been reduced from three years to two years for the calculation of overtime, bonus, and commission.
- Bonus, overtime, and commission are now based on YTD for current employer.
- Lenders will now be warned if a book does not have a pay stub from the same year as the most recent W2 or from a more recent year for the given employer.
- Lenders will now see a warning message in the Calculate API endpoint if duplicate W2s are found in a book.

Calculate PDF Enhancements - https://docs.ocrolus.com/reference/income#traditionally-employed-income-pdf-or-csv:

- Lenders will now see all relevant "raw data" in the Calculate PDF for the hourly and monthly income calculations.
- Lenders will now see a warning message in the Calculate PDF if duplicate W2s are found in a book
- Clients can explicitly determine if pay frequency was printed on a paystub with the introduction of the Pay_frequency_captured field