API Payroll

API Payroll - Integration

Introduction

API Payroll is a service that enables applications to connect with payroll systems, automating payroll tasks and processing payroll data in real time. With this API, your application can handle essential payroll operations—from salary calculations to tax filings—without needing separate systems or complex manual processes. This simplifies and centralises payroll management, making it easier to manage employee data, ensure timely payments, and comply with legal requirements.

Our API Payroll service is designed to transform how you manage payroll, giving you a flexible and powerful tool that fits seamlessly into your existing systems. By integrating with our API, you can handle payroll processing efficiently, reduce administrative overhead, and stay compliant with evolving regulatory requirements. Our solution not only simplifies payroll tasks but also empowers your organisation to focus on core business objectives by automating the most time-consuming aspects of payroll management.

How it Works

Integrating API Payroll involves setting up authorization, obtaining access credentials, and utilising various business-oriented API endpoints for specific payroll actions. First, authorization is configured through OAuth2, allowing secure API access.

Then, using these credentials, applications can invoke payroll services, such as calculating payroll, filing taxes, or accessing payroll records. This enables your platform to perform payroll operations on demand, retrieving or processing data as needed with secure, validated access.

Requirements of API Payroll

For effective API Payroll integration, several requirements need to be met:

  • Account Access: Set up a verified account and authorise your system using provided API credentials for secure access.
  • Authentication Protocols: Integration with OAuth2 and OpenID Connect ensures secure handling of employee and payroll data.
  • Data Formatting: Follow specified data formats to guarantee compatibility and accuracy across transactions.
  • System and Security Compliance: Implement data encryption and security measures to protect sensitive employee and financial data.

Steps for Integration

  • A. Authorisation Integration

    This step guides you through setting up the API link with A Simple Payroll using OpenID Connect. This approach simplifies the coding process significantly. Detailed instructions will be provided to ensure a smooth setup.

  • B. Business API Integration

    A Simple Payroll offers various business APIs tailored to different applications. You can select the API that best matches your business requirements. Comprehensive details will be provided to help you choose and implement the appropriate API for your needs.

API Integration with A Simple Payroll

A. Authorisation Integration

Authorisation Integration involves establishing an API link with A Simple Payroll. The required steps are as follows:

A1) Sign Up

Create an account on asimplepayroll.com

  1. Visit https://www.asimplepayroll.com/ and click on the Sign Up button. API Integration with A Simple Payroll
  2. Click on the Tronc Payroll Sign Up button. API Integration with A Simple Payroll
  3. Select Provider Sign-up option, provide your Email ID to be used for the user account, and click on the Continue button. API Integration with A Simple Payroll
  4. Enter your personal name, your mobile number, click on "I am not a robot," and then click on the Continue to Sign Up button. API Integration with A Simple Payroll
  5. Read all the terms and conditions and click on Accept and Continue. API Integration with A Simple Payroll
  6. Sign into your email and check for the Account Email Verification Code mail in your inbox. API Integration with A Simple Payroll
  7. Enter the last 5 characters of the verification code sent to your email and click on the Continue button. API Integration with A Simple Payroll
  8. Provide your personal details and click on the Continue button. API Integration with A Simple Payroll
  9. Enter your address for future correspondence and click on the Continue button. API Integration with A Simple Payroll
  10. You will see a successful sign-up message along with the Sign In page. API Integration with A Simple Payroll

A2) Sign In

Log in to ASimplePayroll.com and request an API link.

  1. Sign into your user account first by providing your Account Email, Account Access Code, and clicking on the Continue to Sign In button.

    Note: You can obtain your Account Access Code by signing into our A Simple Payroll Mobile App and registering your mobile device as shown in C1 in the Appendix section.

    API Integration with A Simple Payroll
  2. Upon successfully signing into your account, you will see a dashboard page. API Integration with A Simple Payroll

A3) Provide Data

Log in to ASimplePayroll.com to provide the mandatory and desired data.

  1. After signing into ASimplePayroll.com, click on the View / Edit My Account button on the dashboard page to request API onboarding.
    API Integration with A Simple Payroll
  2. Click on the API/Dropbox Integration Setup button. API Integration with A Simple Payroll
  3. Click on the API Integration Setup button. API Integration with A Simple Payroll
  4. Provide all relevant information and click on the Submit Request button. API Integration with A Simple Payroll
  5. You will see an acknowledgement page stating your request has been sent to the API provider for approval. API Integration with A Simple Payroll

A4) Obtain API Link Codes

Log in to ASimplePayroll.com to obtain your API link codes.

  1. After obtaining approval to use our APIs, sign into A Simple Payroll and click on API Integration Setup. API Integration with A Simple Payroll
  2. Accept the API user agreement and click on the Continue button. API Integration with A Simple Payroll
  3. Click on the API Credentials Details button to get OpenID client credentials. API Integration with A Simple Payroll
  4. You will see OpenID client_id, client_secret, and grant_type values. Use these at your side to invoke our Authorisation API to get an access token and then use that access token along with business data to subsequently invoke our business APIs. API Integration with A Simple Payroll

A5) Install Link Codes

Input API Link Codes at your Partner System using OpenID Connect.

  1. Sign into your partner system
  2. Open your OpenID Connect page
  3. Enter all the link codes you got from A Simple Payroll API credential details page
  4. A possible Partner OpenID Connect layout Page.
    API Integration with A Simple Payroll

A6) Test API Link

Test the API link to ensure it is working correctly.

  1. A sample access token obtained from Authorisation API by using API client credentials.
    API Integration with A Simple Payroll
  2. Click on the Save button to save client credentials temporarily in the session within our API Consumer Demo application. You will see credentials saved as below.
    API Integration with A Simple Payroll
  3. Now, you are ready to consume our business APIs. To test if you are able to consume one of our business APIs, set up a client by going to the starting page of our API Consumer Demo application.
    API Integration with A Simple Payroll
  4. Click on Partner Client’s Sign Up and provide Partner Client’s Email Id, Mobile Number and VRN number and then click on Save button.
    API Integration with A Simple Payroll
  5. You will get an acknowledgement that client details are saved as below.
    API Integration with A Simple Payroll
  6. Now, click on Partner Client’s Sign In button.
    API Integration with A Simple Payroll
  7. Click on Test Payroll link.
    API Integration with A Simple Payroll
  8. Enter all the relevant details and click on the Test Payroll button to call our business API to calculate the details instantly.
    API Integration with A Simple Payroll
  9. A sample calculated results is shown below.
    API Integration with A Simple Payroll

A7) Troubleshooting and Updates

Perform any necessary troubleshooting and updates.

  1. If you face issues getting an access token, verify the OpenID client credentials.
  2. If you face issues invoking the business API, ensure you are invoking from pre-arranged static IPs configured within A Simple Payroll.

If you need any further assistance, our support team is always ready to help.

B. Business API Integration

A Simple Payroll offers various business APIs tailored to different applications. Each business API is designed to meet specific solution requirements systematically. Please choose the required business API and follow the respective instructions provided.

Example Business APIs:

B1) Test Payroll API

Use this API to handle and process payroll calculations.

For the complete list of all business APIs, please click on API Documentation

Conclusion: We hope this guide provides you with a clear understanding of the API integration process with A Simple Payroll. By following the step-by-step instructions and referring to the provided screenshots, you can easily set up and utilise our APIs. If you need any further assistance, our support team is always ready to help. Thank you for choosing A Simple Payroll for your integration needs.

Important Announcement

Please click on the respective link(s) below to find out more information.
Please click on " Close " button to continue your payrun.

Close
Start New Tax Year
Home Prev Next Close
Free Mobile Payslips
Home Prev Next Close
Scroll