Categories: Development

API Overview

Timesheet API

Overview:  

The Payment Evolution “ePay Transactions Update API” can be used to update an existing ePay Transaction 

URL/api/v1/timesheet
Methods Supported GET, POST
Description Allows you to retrieve any active timesheet
Allows you to add new timesheet record(s)

Elements for Timesheet 

The following are required to create a timesheet:
<EmployeeID> Employee number (0000##)
<TimeCode> R = Regular Hours
O = Overtime Hours @ 1.5
D = Doubletime Hours @ 2
X = Other Hours Worked
10 = Commission
11 = Statutory Holiday
12 = Sick day
13 = Personal day
14 = Shift Premium
15 = Earnings Advances
16 = Other Earnings
17 = Taxable Vacation Pay
18 = Other Non-Taxable
VP = Release Vac Pay
<Total> Total Amount to be paid
The following additional elements are recommended for a PUT / POST request
<Approved> Boolean, True/False
WorkDateBegin Datetime Format, 24-hour (eg: 2014-04-22T09:00:00)
WorkDateEnd Datetime Format, 24-hour (eg: 2014-04-29T17:00:00)
<Rate> Rate per hour
<TotalHours> Number of hours
The following are optional for a PUT / POST request

Posting Multiple Timesheets  

Endpoint /api/v1/timesheet/multi
Parent Tag <Timesheets>

Sample Post  

<Timesheets>   
    <Timesheet>  
        <Authorized>true</Authorized>  
        <CostAccount>9060</CostAccount>  
        <EmployeeID>000001</EmployeeID>  
        <Rate>3333.00</Rate>  
        <TimeCode>R</TimeCode>  
        <TimeRecordKey>00000100000004</TimeRecordKey>  
        <Total>6462687.00</Total>  
        <TotalHours>1939</TotalHours>  
        <WorkDateBegin>2014-06-05T07:30:00</WorkDateBegin>  
        <WorkDateEnd>2014-06-30T14:52:00</WorkDateEnd>  
    </Timesheet>  
    <Timesheet>  
        <Authorized>true</Authorized>  
        <CostAccount>9060</CostAccount>  
        <EmployeeID>000001</EmployeeID>  
        <Rate>3333.00</Rate>  
        <TimeCode>R</TimeCode>  
        <TimeRecordKey>00000100000005</TimeRecordKey>  
        <Total>6462687.00</Total>  
        <TotalHours>1939</TotalHours>  
        <WorkDateBegin>2014-09-05T07:30:00</WorkDateBegin>  
        <WorkDateEnd>2014-09-30T14:52:00</WorkDateEnd>  
    </Timesheet>  
</Timesheets>

Author

Page: 1 2 3 4 5 6 7 8 9

Sam Colquhoun

Recent Posts

Tackling T4s 2025: A Step-by-Step Guide

Tax season is here, and ensuring your T4 submissions are accurate and compliant is critical…

1 year ago

2025 Ultimate Canadian Payroll Calendar Schedule for Weekly, Biweekly, Semimonthly, and Monthly Pay Periods

Payroll calendars are essential tools for Canadian business owners to stay on top of pay…

1 year ago

Canadian Payroll Compliance 2025: Big Changes Ahead

We are all trying to enter the new year relaxed, hydrated, happy and paid. That…

1 year ago

Looking Back: The Most Common Payroll Mistakes of 2024 and How to Avoid Them in 2025

Reflecting on the past year, you may think, “I’m so proud of that project my…

1 year ago

Mastering Your Payroll Budget for 2025: Plan for Success

It’s the final countdown, folks. Let’s end the year on a good note. And by…

1 year ago

Easy and Practical Value-Based Pricing Tips For Bookkeepers (Part 2)

Switching to value-based pricing is more than a new billing model—it’s a shift that empowers…

1 year ago