---
title: Fetch Salary Slip
slug: api-marketplace/fetch-salary-slip
createdAt: 2025-11-28T15:20:19.371Z
---

## Introduction

Our Salary Extraction API offers a comprehensive solution for extracting and analyzing salary details from employee pay slips. Designed for seamless integration, this API captures essential payroll information and presents it in a structured format. Whether you're automating payroll management or conducting financial assessments, this API delivers accurate and detailed salary data for your needs.

### Key Features:

- **Employee Information:** Extracts key details such as employee name, designation, and employer information.
- **Compensation Breakdown:** Provides a clear breakdown of net salary, gross salary, and detailed deductions including EPF, ESI, Professional Tax, and other deductions.
- **Employment Details:** Includes essential employment data like work location, date of joining, and salary credit month.
- **Tax and Identification:** Captures critical identifiers such as PAN and UAN numbers.
- **Payment Structure:** Outlines the basic salary, HRA, and mode of payment, ensuring a complete picture of the salary structure.

## Sample cURL:

:::CodeblockTabs
Preproduction

```curl
curl --location 'https://api-preproduction.signzy.app/api/v3/fetch/salary-slip' \
--header 'Authorization: <auth-token>' \
--header 'Content-Type: application/json' \
--data '{
    "requestId": ""
}'
```

Production

```curl
curl --location 'https://api.signzy.app/api/v3/fetch/salary-slip' \
--header 'Authorization: 9E3qaj3jabh6MPuUuaE4Jmw5MVHbYuJm' \
--header 'Content-Type: application/json' \
--data '{
    "requestId": "6958d5b3-3363-4303-a896-e30d611f0d0a"
}'
```
:::

### Request headers&#x20;

| **Name**      | **Value**        | **Required** | **Description**                                                                                            |
| ------------- | ---------------- | ------------ | ---------------------------------------------------------------------------------------------------------- |
| Content-Type  | application/json | Mandatory    | The type of content that the request body contains.                                                        |
| Authorization | XXXXXXXXXXXXXXX  | Mandatory    | An authentication token to authorize the request. Reach out to the Signzy support team to get one created. |

### Request body parameters

| **Parameter** | **Data type** | **Description**                                                              | **Required** |
| ------------- | ------------- | ---------------------------------------------------------------------------- | ------------ |
| requestId     | String        | Unique requestId generated in the response of the Salary Slip Extraction API | Mandatory    |

```json
{
    "requestId": "6958d5b3-3363-4303-a896-e30d611f0d0a"
}
```

### Response body parameters

| **Parameter**                                | **Data Type**  | **Description**                                                                                        |
| -------------------------------------------- | -------------- | ------------------------------------------------------------------------------------------------------ |
| result                                       | Object         | Contains message and salary slip details extracted from the salary slip                                |
| result.message                               | String         | Summary message showing number of slips extracted.                                                     |
| result.salarySlip                            | Array\<Object> | Array of salary slip objects, each grouped by month.                                                   |
| \<MONTH YEAR> (e.g., "MAR 2023")             | Object         | Month-wise salary slip details.                                                                        |
| employeeName                                 | String         | Name of the employee.                                                                                  |
| employeeId                                   | String         | Employer-assigned employee ID.                                                                         |
| designation                                  | String         | Job title/role of employee.                                                                            |
| department                                   | String         | Department of employee.                                                                                |
| pan                                          | String         | Employee's PAN number.                                                                                 |
| uan                                          | String         | Universal Account Number (EPFO).                                                                       |
| bankAccountNo                                | String         | Salary bank account number.                                                                            |
| companyName                                  | String         | Employer company name.                                                                                 |
| companyAddress                               | String         | Company's registered address.                                                                          |
| taxIdentificationNumber                      | String         | Company's TIN/TAN for tax purposes.                                                                    |
| employerProvidentFundAccountNumber           | String         | Employer's EPFO PF account number.                                                                     |
| dateOfJoining                                | String         | Employee's joining date (DD/MM/YYYY); empty if unavailable.                                            |
| earnings                                     | Object         | Earnings breakup.                                                                                      |
| earnings.basic                               | String         | Basic salary.                                                                                          |
| earnings.hra                                 | String         | House Rent Allowance (HRA).                                                                            |
| earnings.medicalExpenses                     | String         | Medical allowance/benefits.                                                                            |
| earnings.conveyanceAllowance                 | String         | Travel/transport allowance.                                                                            |
| earnings.educationAllowance                  | String         | Education allowance for employee.                                                                      |
| earnings.personalAllowance                   | String         | Personal/special allowance.                                                                            |
| deductions                                   | Object         | Breakup of all deductions applied.                                                                     |
| deductions.pfContribution                    | String         | Employee PF contribution.                                                                              |
| deductions.esiContribution                   | String         | Employee ESI contribution.                                                                             |
| deductions.professionalTax                   | String         | Professional tax.                                                                                      |
| deductions.mlwf                              | String         | Maharashtra Labour Welfare Fund deduction.                                                             |
| deductions.adjustmentAmount                  | String         | Adjustments (positive/negative).                                                                       |
| deductions.tds                               | String         | TDS/Income tax deduction.                                                                              |
| deductions.lossOfPayAbsence                  | String         | Loss-of-pay deduction based on absences.                                                               |
| deductions.advanceLoan                       | String         | Repayment of advance/loan taken from employer.                                                         |
| deductions.otherRecovery                     | String         | Any other miscellaneous recovery/deduction.                                                            |
| payMonthAndYear                              | String         | Salary period month and year (e.g., "APR 2025").                                                       |
| payPeriod                                    | String         | Number of payable days in the month.                                                                   |
| grossEarnings                                | String         | Total earnings before deductions.                                                                      |
| totalDeductions                              | String         | Total of all deductions.                                                                               |
| netPay                                       | String         | Final take-home salary after deductions.                                                               |
| others                                       | Object         | Additional earnings and deductions components not covered by the primary earnings / deductions groups. |
| others.earnings                              | Object         | Additional earnings breakup.                                                                           |
| others.earnings.dearnessAllowance            | String         | Dearness allowance (DA).                                                                               |
| others.earnings.specialAllowance             | String         | Special allowance.                                                                                     |
| others.earnings.leaveTravelAllowance         | String         | Leave travel allowance (LTA).                                                                          |
| others.earnings.vehicleAllowance             | String         | Vehicle allowance.                                                                                     |
| others.earnings.communicationAllowance       | String         | Communication/phone allowance.                                                                         |
| others.earnings.mealAllowance                | String         | Meal allowance.                                                                                        |
| others.earnings.workFromHomeAllowance        | String         | Work-from-home allowance.                                                                              |
| others.earnings.shiftAllowance               | String         | Shift allowance.                                                                                       |
| others.earnings.flexibleBenefitPlan          | String         | Flexible benefit plan (FBP) component.                                                                 |
| others.earnings.bonus                        | String         | Bonus.                                                                                                 |
| others.earnings.incentive                    | String         | Incentive/variable pay.                                                                                |
| others.earnings.arrears                      | String         | Arrears paid in the period.                                                                            |
| others.earnings.retirementAllowance          | String         | Retirement allowance.                                                                                  |
| others.earnings.reimbursements               | String         | Reimbursements paid with salary.                                                                       |
| others.earnings.rewardsAndGifts              | String         | Rewards and gifts.                                                                                     |
| others.earnings.roundingOff                  | String         | Rounding-off adjustment.                                                                               |
| others.earnings.otherAllowance               | String         | Any other allowance not listed above.                                                                  |
| others.earnings.ahaAllowance                 | String         | AHA allowance.                                                                                         |
| others.deductions                            | Object         | Additional deductions breakup.                                                                         |
| others.deductions.voluntaryProvidentFund     | String         | Voluntary Provident Fund (VPF) contribution.                                                           |
| others.deductions.pensionContribution        | String         | Pension contribution.                                                                                  |
| others.deductions.insurancePremium           | String         | Insurance premium deduction.                                                                           |
| others.deductions.esppContribution           | String         | Employee Stock Purchase Plan (ESPP) contribution.                                                      |
| others.deductions.mealDeduction              | String         | Meal deduction.                                                                                        |
| others.deductions.welfareAndClubContribution | String         | Welfare/club contribution.                                                                             |
| others.deductions.transportDeduction         | String         | Transport deduction.                                                                                   |
| others.deductions.rewardsRecovery            | String         | Recovery of rewards.                                                                                   |
| others.deductions.roundingOff                | String         | Rounding-off adjustment.                                                                               |
| others.deductions.providentFundEmployee      | String         | Employee PF contribution, when listed under additional deductions.                                     |

### Sample Status Codes And Messages

:::CodeblockTabs
200 OK

```json
{
  "message": "1 salary slips found in 1 pages",
  "salarySlip": [
    {
      "APR 2023": {
        "employeeName": "Rahul Sharma",
        "employeeId": "EMP123456",
        "designation": "Sr. Representative, Operations",
        "department": "Operations",
        "pan": "ABCDE1234F",
        "uan": "100000000001",
        "bankAccountNo": "000000000000000",
        "companyName": "ABC Services India Private Limited",
        "companyAddress": "123, Business Park, Connaught Place, New Delhi - 110001",
        "taxIdentificationNumber": "NA",
        "employerProvidentFundAccountNumber": "PU/PUN/000000/00000",
        "dateOfJoining": "21/12/2020",
        "earnings": {
          "basic": "15000.00",
          "hra": "6000.00",
          "medicalExpenses": "",
          "conveyanceAllowance": "",
          "educationAllowance": "",
          "personalAllowance": ""
        },
        "deductions": {
          "pfContribution": "",
          "esiContribution": "",
          "professionalTax": "200.00",
          "mlwf": "",
          "adjustmentAmount": "",
          "tds": "",
          "lossOfPayAbsence": "",
          "advanceLoan": "",
          "otherRecovery": ""
        },
        "payMonthAndYear": "APR 2023",
        "payPeriod": "30",
        "grossEarnings": "29192.00",
        "totalDeductions": "2000.00",
        "netPay": "27192.00",
        "others": {
          "earnings": {
            "dearnessAllowance": "",
            "specialAllowance": "5192.00",
            "leaveTravelAllowance": "",
            "vehicleAllowance": "",
            "communicationAllowance": "",
            "mealAllowance": "",
            "workFromHomeAllowance": "",
            "shiftAllowance": "",
            "flexibleBenefitPlan": "",
            "bonus": "",
            "incentive": "2000.00",
            "arrears": "",
            "retirementAllowance": "",
            "reimbursements": "",
            "rewardsAndGifts": "",
            "roundingOff": "",
            "otherAllowance": "",
            "ahaAllowance": "1000.00"
          },
          "deductions": {
            "voluntaryProvidentFund": "",
            "pensionContribution": "",
            "insurancePremium": "",
            "esppContribution": "",
            "mealDeduction": "",
            "welfareAndClubContribution": "",
            "transportDeduction": "",
            "rewardsRecovery": "",
            "roundingOff": "",
            "providentFundEmployee": "1800.00"
          }
        }
      }
    }
  ]
}
```

400

```json
{
    "error": {
        "reason": "VALIDATION_ERROR",
        "status": 400,
        "message": "\"requestId\" must be a valid GUID",
        "type": "Bad Request",
        "statusCode": 400,
        "name": "error"
    }
}
```

404

```json
{
    "error": {
        "reason": "Not Found",
        "status": 404,
        "message": "RequestId Not Found",
        "type": "Not Found",
        "statusCode": 404,
        "name": "error"
    }
}
```

409

```json
{
    "error": {
        "reason": "Error From Upstream",
        "status": 409,
        "message": "Upstream Down",
        "type": "Conflict",
        "statusCode": 409,
        "name": "error"
    }
}
```
:::

