---
title: Salary Slip Extraction
slug: api-marketplace/salary-slip-extraction
description: Looking for a document that's not currently available? Don't worry, we've got you covered! Stay tuned for the upcoming release of this document, which will be provided in the near future. Stay updated with the latest information and be prepared to access 
createdAt: 2023-04-20T22:04:46.000Z
---

## 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.

***

## API details

### Endpoint

:::CodeblockTabs
Preproduction Environment

```jsx
https://api-preproduction.signzy.app/api/v3/extract/salary-slip
```
:::

:::CodeblockTabs
Production Environment

```jsx
https://api.signzy.app/api/v3/extract/salary-slip
```
:::

***

### 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** |
| ------------- | ------------- | ------------------------------------------------------------------ | ------------ |
| file          | String        | Persist URL of the pdf of salary slip or base64 text (Max 6 pages) | Mandatory    |

```json
{
    "file": "https://staging-persist.signzy.tech/api/files/5038366/download/xxxxxx.pdf"
}
```

***

### Code samples

:::CodeblockTabs
Preproduction

```curl
curl --location 'https://api-preproduction.signzy.app/api/v3/extract/salary-slip' \
--header 'Authorization: <auth-token>' \
--header 'Content-Type: application/json' \
--data '{
    "file": "https://staging-persist.signzy.tech/api/files/5038366/download/xxxxxx.pdf"
}'
```

Production

```curl
curl --location 'https://api.signzy.app/api/v3/extract/salary-slip' \
--header 'Authorization: <auth-token>' \
--header 'Content-Type: application/json' \
--data '{
    "file": "https://staging-persist.signzy.tech/api/files/5038366/download/xxxxxx.pdf"
}'
```
:::

***

### Response body parameters

| Parameter | Data Type | Description                                                    |
| --------- | --------- | -------------------------------------------------------------- |
| requestId | String    | Unique requestId generated after passing a valid salary slip   |
| message   | String    | Message to indicate that the request is initiated successfully |



:::CodeblockTabs
200

```json
{
    "requestId": "e8dc938d-43d6-49b6-8a68-524ba9d2304b",
    "message": "Request Submitted Successfully."
}
```

400

```json
{
    "error": {
        "reason": "BAD_REQUEST",
        "status": 400,
        "message": "Please provide a valid base64 text or a valid PDF URL",
        "type": "Bad Request",
        "statusCode": 400,
        "name": "error"
    }
}
```

401

```json
{
    "message": "Invalid authentication credentials"
}
```

409

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

***

**Contact Us for Any Assistance**

If you have any questions or need assistance, please reach out to our customer support team. You can contact us via email at <font color="#2166ae">**help\@signzy.com**</font>. We strive to provide prompt and reliable assistance, ensuring your queries are addressed effectively.

We value your feedback and are committed to making your experience smooth and enjoyable. Our team is dedicated to assisting you with any needs you may have. Thank you for choosing our services. We look forward to helping you!



