Learn how to calculate year-to-date (YTD) gross wages for individual employees using data returned from Finch Organization endpoints.
A common use case for Finch APIs is to calculate YTD gross wages for individual employees. This useful and powerful information can be calculated easily by using the right approach.
The general flow for calculating individual YTD wages works like this:
/payment
endpoint and pass a start_date
of the first day of the year (January 01) and an end_date
of the current date.id
s./pay-statement
endpoint and pass all of the payment_id
s as a batched request.