Form26AS Read
curl --request POST \
--url https://test-api.sandbox.co.in/it/ocr/form-26as/pdf \
--header 'Authorization: <authorization>' \
--header 'Content-Type: multipart/form-data' \
--header 'x-api-key: <x-api-key>' \
--form file='@example-file'import requests
url = "https://test-api.sandbox.co.in/it/ocr/form-26as/pdf"
files = { "file": ("example-file", open("example-file", "rb")) }
headers = {
"x-api-key": "<x-api-key>",
"Authorization": "<authorization>"
}
response = requests.post(url, files=files, headers=headers)
print(response.text)const form = new FormData();
form.append('file', '<string>');
const options = {
method: 'POST',
headers: {'x-api-key': '<x-api-key>', Authorization: '<authorization>'}
};
options.body = form;
fetch('https://test-api.sandbox.co.in/it/ocr/form-26as/pdf', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://test-api.sandbox.co.in/it/ocr/form-26as/pdf",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"file\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n<string>\r\n-----011000010111000001101001--",
CURLOPT_HTTPHEADER => [
"Authorization: <authorization>",
"Content-Type: multipart/form-data",
"x-api-key: <x-api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://test-api.sandbox.co.in/it/ocr/form-26as/pdf"
payload := strings.NewReader("-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"file\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n<string>\r\n-----011000010111000001101001--")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<x-api-key>")
req.Header.Add("Authorization", "<authorization>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://test-api.sandbox.co.in/it/ocr/form-26as/pdf")
.header("x-api-key", "<x-api-key>")
.header("Authorization", "<authorization>")
.body("-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"file\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n<string>\r\n-----011000010111000001101001--")
.asString();require 'uri'
require 'net/http'
url = URI("https://test-api.sandbox.co.in/it/ocr/form-26as/pdf")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<x-api-key>'
request["Authorization"] = '<authorization>'
request.body = "-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"file\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n<string>\r\n-----011000010111000001101001--"
response = http.request(request)
puts response.read_body{
"transaction_id": "4942c06a-4f2b-4299-87c2-59c8b84e5fae",
"code": 200,
"data": {
"Part VI": [],
"financial_year": "2023-24",
"assessment_year": "2024-25",
"name": "HEENA TRIVEDI",
"Part II": [],
"Part III": [],
"Part V": [],
"pan": "ABVPT1571F",
"Part I": [
{
"deduction_wise": [
[
"sr_no",
"section",
"transaction_date",
"status_of_booking",
"date_of_booking",
"remarks",
"amount_paid_credited",
"tax_deducted",
"tds_deposited"
],
[
"1",
"194JA",
"30-Jun-2023",
"F",
"01-Oct-2023",
"-",
"13000.00",
"260.00",
"260.00"
],
[
"2",
"194JA",
"23-Jun-2023",
"F",
"01-Oct-2023",
"-",
"14500.00",
"290.00",
"290.00"
],
[
"3",
"194JA",
"06-Jun-2023",
"F",
"01-Oct-2023",
"-",
"13000.00",
"260.00",
"260.00"
]
],
"total_amount_paid_credited": "40500.00",
"name_of_deductor": "GUJARAT STATE WOMEN SEWA CO-OP FEDERATION LTD",
"total_tax_deducted": "810.00",
"sr_no": "1",
"total_tds_deposited": "810.00",
"tan_of_deductor": "AHMG01790F"
},
{
"deduction_wise": [
[
"sr_no",
"section",
"transaction_date",
"status_of_booking",
"date_of_booking",
"remarks",
"amount_paid_credited",
"tax_deducted",
"tds_deposited"
],
[
"1",
"194JB",
"30-Sep-2023",
"F",
"27-Oct-2023",
"-",
"13500.00",
"1350.00",
"1350.00"
],
[
"2",
"194JB",
"31-Aug-2023",
"F",
"27-Oct-2023",
"-",
"12500.00",
"1250.00",
"1250.00"
],
[
"3",
"194JB",
"18-Aug-2023",
"F",
"27-Oct-2023",
"-",
"2500.00",
"250.00",
"250.00"
],
[
"4",
"194JB",
"31-Jul-2023",
"F",
"27-Oct-2023",
"-",
"12500.00",
"1250.00",
"1250.00"
]
],
"total_amount_paid_credited": "41000.00",
"name_of_deductor": "SHRI GUJARAT MAHILA LOKSWATHYA SEWA SAHAKARI MANDLI ",
"total_tax_deducted": "4100.00",
"sr_no": "2",
"total_tds_deposited": "4100.00",
"tan_of_deductor": "AHMS03410B"
},
{
"deduction_wise": [
[
"sr_no",
"section",
"transaction_date",
"status_of_booking",
"date_of_booking",
"remarks",
"amount_paid_credited",
"tax_deducted",
"tds_deposited"
],
[
"1",
"194",
"01-Aug-2023",
"F",
"08-Nov-2023",
"-",
"15.60",
"0.00",
"0.00"
]
],
"total_amount_paid_credited": "15.60",
"name_of_deductor": "ASHOK LEYLAND LIMITED",
"total_tax_deducted": "0.00",
"sr_no": "3",
"total_tds_deposited": "0.00",
"tan_of_deductor": "CHEA31306C"
},
{
"deduction_wise": [
[
"sr_no",
"section",
"transaction_date",
"status_of_booking",
"date_of_booking",
"remarks",
"amount_paid_credited",
"tax_deducted",
"tds_deposited"
],
[
"1",
"194",
"30-Aug-2023",
"F",
"28-Oct-2023",
"-",
"45.00",
"0.00",
"0.00"
]
],
"total_amount_paid_credited": "45.00",
"name_of_deductor": "LIFE INSURANCE CORPORATION OF INDIA",
"total_tax_deducted": "0.00",
"sr_no": "4",
"total_tds_deposited": "0.00",
"tan_of_deductor": "MUML13465E"
},
{
"deduction_wise": [
[
"sr_no",
"section",
"transaction_date",
"status_of_booking",
"date_of_booking",
"remarks",
"amount_paid_credited",
"tax_deducted",
"tds_deposited"
],
[
"1",
"194",
"05-Sep-2023",
"F",
"05-Nov-2023",
"-",
"52.00",
"0.00",
"0.00"
]
],
"total_amount_paid_credited": "52.00",
"name_of_deductor": "BHARAT PETROLEUM CORPORATION LIMITED",
"total_tax_deducted": "0.00",
"sr_no": "5",
"total_tds_deposited": "0.00",
"tan_of_deductor": "PNEB16470G"
}
],
"Part IV": []
},
"timestamp": 1713508071000
}Upload your form 26AS pdf as a multipart file and we will provide you with a form 26AS entity.
POST
/
it
/
ocr
/
form-26as
/
pdf
Form26AS Read
curl --request POST \
--url https://test-api.sandbox.co.in/it/ocr/form-26as/pdf \
--header 'Authorization: <authorization>' \
--header 'Content-Type: multipart/form-data' \
--header 'x-api-key: <x-api-key>' \
--form file='@example-file'import requests
url = "https://test-api.sandbox.co.in/it/ocr/form-26as/pdf"
files = { "file": ("example-file", open("example-file", "rb")) }
headers = {
"x-api-key": "<x-api-key>",
"Authorization": "<authorization>"
}
response = requests.post(url, files=files, headers=headers)
print(response.text)const form = new FormData();
form.append('file', '<string>');
const options = {
method: 'POST',
headers: {'x-api-key': '<x-api-key>', Authorization: '<authorization>'}
};
options.body = form;
fetch('https://test-api.sandbox.co.in/it/ocr/form-26as/pdf', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://test-api.sandbox.co.in/it/ocr/form-26as/pdf",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"file\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n<string>\r\n-----011000010111000001101001--",
CURLOPT_HTTPHEADER => [
"Authorization: <authorization>",
"Content-Type: multipart/form-data",
"x-api-key: <x-api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://test-api.sandbox.co.in/it/ocr/form-26as/pdf"
payload := strings.NewReader("-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"file\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n<string>\r\n-----011000010111000001101001--")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<x-api-key>")
req.Header.Add("Authorization", "<authorization>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://test-api.sandbox.co.in/it/ocr/form-26as/pdf")
.header("x-api-key", "<x-api-key>")
.header("Authorization", "<authorization>")
.body("-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"file\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n<string>\r\n-----011000010111000001101001--")
.asString();require 'uri'
require 'net/http'
url = URI("https://test-api.sandbox.co.in/it/ocr/form-26as/pdf")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<x-api-key>'
request["Authorization"] = '<authorization>'
request.body = "-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"file\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n<string>\r\n-----011000010111000001101001--"
response = http.request(request)
puts response.read_body{
"transaction_id": "4942c06a-4f2b-4299-87c2-59c8b84e5fae",
"code": 200,
"data": {
"Part VI": [],
"financial_year": "2023-24",
"assessment_year": "2024-25",
"name": "HEENA TRIVEDI",
"Part II": [],
"Part III": [],
"Part V": [],
"pan": "ABVPT1571F",
"Part I": [
{
"deduction_wise": [
[
"sr_no",
"section",
"transaction_date",
"status_of_booking",
"date_of_booking",
"remarks",
"amount_paid_credited",
"tax_deducted",
"tds_deposited"
],
[
"1",
"194JA",
"30-Jun-2023",
"F",
"01-Oct-2023",
"-",
"13000.00",
"260.00",
"260.00"
],
[
"2",
"194JA",
"23-Jun-2023",
"F",
"01-Oct-2023",
"-",
"14500.00",
"290.00",
"290.00"
],
[
"3",
"194JA",
"06-Jun-2023",
"F",
"01-Oct-2023",
"-",
"13000.00",
"260.00",
"260.00"
]
],
"total_amount_paid_credited": "40500.00",
"name_of_deductor": "GUJARAT STATE WOMEN SEWA CO-OP FEDERATION LTD",
"total_tax_deducted": "810.00",
"sr_no": "1",
"total_tds_deposited": "810.00",
"tan_of_deductor": "AHMG01790F"
},
{
"deduction_wise": [
[
"sr_no",
"section",
"transaction_date",
"status_of_booking",
"date_of_booking",
"remarks",
"amount_paid_credited",
"tax_deducted",
"tds_deposited"
],
[
"1",
"194JB",
"30-Sep-2023",
"F",
"27-Oct-2023",
"-",
"13500.00",
"1350.00",
"1350.00"
],
[
"2",
"194JB",
"31-Aug-2023",
"F",
"27-Oct-2023",
"-",
"12500.00",
"1250.00",
"1250.00"
],
[
"3",
"194JB",
"18-Aug-2023",
"F",
"27-Oct-2023",
"-",
"2500.00",
"250.00",
"250.00"
],
[
"4",
"194JB",
"31-Jul-2023",
"F",
"27-Oct-2023",
"-",
"12500.00",
"1250.00",
"1250.00"
]
],
"total_amount_paid_credited": "41000.00",
"name_of_deductor": "SHRI GUJARAT MAHILA LOKSWATHYA SEWA SAHAKARI MANDLI ",
"total_tax_deducted": "4100.00",
"sr_no": "2",
"total_tds_deposited": "4100.00",
"tan_of_deductor": "AHMS03410B"
},
{
"deduction_wise": [
[
"sr_no",
"section",
"transaction_date",
"status_of_booking",
"date_of_booking",
"remarks",
"amount_paid_credited",
"tax_deducted",
"tds_deposited"
],
[
"1",
"194",
"01-Aug-2023",
"F",
"08-Nov-2023",
"-",
"15.60",
"0.00",
"0.00"
]
],
"total_amount_paid_credited": "15.60",
"name_of_deductor": "ASHOK LEYLAND LIMITED",
"total_tax_deducted": "0.00",
"sr_no": "3",
"total_tds_deposited": "0.00",
"tan_of_deductor": "CHEA31306C"
},
{
"deduction_wise": [
[
"sr_no",
"section",
"transaction_date",
"status_of_booking",
"date_of_booking",
"remarks",
"amount_paid_credited",
"tax_deducted",
"tds_deposited"
],
[
"1",
"194",
"30-Aug-2023",
"F",
"28-Oct-2023",
"-",
"45.00",
"0.00",
"0.00"
]
],
"total_amount_paid_credited": "45.00",
"name_of_deductor": "LIFE INSURANCE CORPORATION OF INDIA",
"total_tax_deducted": "0.00",
"sr_no": "4",
"total_tds_deposited": "0.00",
"tan_of_deductor": "MUML13465E"
},
{
"deduction_wise": [
[
"sr_no",
"section",
"transaction_date",
"status_of_booking",
"date_of_booking",
"remarks",
"amount_paid_credited",
"tax_deducted",
"tds_deposited"
],
[
"1",
"194",
"05-Sep-2023",
"F",
"05-Nov-2023",
"-",
"52.00",
"0.00",
"0.00"
]
],
"total_amount_paid_credited": "52.00",
"name_of_deductor": "BHARAT PETROLEUM CORPORATION LIMITED",
"total_tax_deducted": "0.00",
"sr_no": "5",
"total_tds_deposited": "0.00",
"tan_of_deductor": "PNEB16470G"
}
],
"Part IV": []
},
"timestamp": 1713508071000
}Was this page helpful?
āI