forked from Gusto/gusto.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
42 lines (27 loc) · 2.68 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---
layout: resource
---
<h1>API Documentation</h1>
<h2>A Developer's Best Friend</h2>
<p>Welcome to ZenPayroll's API documentation. This section is meant to serve as both a technical reference for the endpoints available, as well as a general overview of payroll.</p>
<p>We designed the objects and their properties to require as little domain-specific payroll knowledge as possible.</p>
<h3>Getting Started</h3>
<p>The first step towards integration is obtaining API credentials. These include the application id and secret necessary to interact with any part of the ZenPayroll API. Due to overwhelming demand, ZenPayroll is not currently enrolling new integrations.</p>
<p>Next, you'll want to successfully authenticate a user using OAuth. The <a href="/v1/examples/authentication">Authentication Example</a> has everything you need to get started. Should you run into issues, don't hesitate to email us and we will be happy to help in any way possible.</p>
<h3>(Zen)Payroll Basics</h3>
<p>Payroll in its entirety is rather complex, but the API is designed to shield as much complexity as possible from the end user, without sacrificing functionality. This section gives a birds-eye view of the objects that make up the ZenPayroll system.</p>
<p>Starting with an authenticated user, you will notice that they may be administrators for multiple companies. This is not uncommon, and your application should prepare for it. Accountants use ZenPayroll to manage payroll for many companies simultaneously.</p>
<p class="text-center">
<img src="/images/authenticated-user-company.png">
</p>
<p>Companies themselves are, naturally, a collection of one to hundreds of employees. Employee data, on the payroll side, is relatively static. Compensation information, addresses, and tax information changes rather infrequently once set.</p>
<p>Companies can have multiple work locations, across multiple states, but everyone gets paid at the same time.</p>
<p class="text-center">
<img src="/images/company-to-employees.png">
</p>
<p>Pay periods are the combination of a company, a subset of its employees, and a time range. Not every employee at a company will be a part of every payroll. One-off (or'off-cycle') payrolls are run for special events such as hiring or termination, and employees can be excluded from payrolls.</p>
<p>Regular payrolls are tied to a specific pay periods, and all associated information - vacation & sick time, hours worked, bonuses, etc. - should be applied to that time range.</p>
<p class="text-center">
<img src="/images/pay-periods.png">
</p>
<p class="margin-top">By using the ZenPayroll API, you are agreeing to the following <a href="http://zenpayroll.com/apiterms">terms and conditions</a>.</p>