List Tax Returns
curl --request GET \
--url https://api.fintoc.com/v1/tax_returnsimport requests
url = "https://api.fintoc.com/v1/tax_returns"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.fintoc.com/v1/tax_returns', 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://api.fintoc.com/v1/tax_returns",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.fintoc.com/v1/tax_returns"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.fintoc.com/v1/tax_returns")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fintoc.com/v1/tax_returns")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body"[{\n \"object\": \"tax_return\",\n \"institution_id\": \"cl_fiscal_sii\",\n \"interval_unit\": \"annual\",\n \"period\": \"2021\",\n \"fiscal_year\": \"2021\",\n \"currency\": \"CLP\",\n \"document_number\": \"12345\",\n \"taxpayer\": {\n \"id\": \"117056856\",\n\t \"name\": \"Erlich Bachman\",\n\t \"institution_tax_payer\": {\n \"address\": \"Los Conquistadores 2461\",\n \"phone\": \"+56981234312\",\n \"email\": \"erlich@bachman.com\",\n \"business_activity_description\": \"Servicios de tecnologia\",\n \"business_activity_code\": \"0123\"\n },\n },\n\t\"institution_tax_return\": {\n \"refund_account\": {\n \"holder_id\": \"117056856\",\n \"holder_name\": \"Erlich Bachman\",\n \"number\": \"123123123\",\n \"institution\": {\n \"id\": \"cl_banco_de_chile\",\n \"name\": \"Banco de Chile\",\n \"country\": \"cl\"\n }\n \t},\n \"refund_amount\": 1000,\n \"due_amount\": 0,\n \"income\": {\n \"fees_with_retention\": 234212,\n \"withheld_fees\": 42341,\n \"fees_without_retention\": 512334,\n \"fees\": 13123,\n \"salary\": 2313123,\n },\n }\n}]""{}"Declaraciones de impuestos
List Tax Returns
GET
/
tax_returns
List Tax Returns
curl --request GET \
--url https://api.fintoc.com/v1/tax_returnsimport requests
url = "https://api.fintoc.com/v1/tax_returns"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.fintoc.com/v1/tax_returns', 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://api.fintoc.com/v1/tax_returns",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.fintoc.com/v1/tax_returns"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.fintoc.com/v1/tax_returns")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fintoc.com/v1/tax_returns")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body"[{\n \"object\": \"tax_return\",\n \"institution_id\": \"cl_fiscal_sii\",\n \"interval_unit\": \"annual\",\n \"period\": \"2021\",\n \"fiscal_year\": \"2021\",\n \"currency\": \"CLP\",\n \"document_number\": \"12345\",\n \"taxpayer\": {\n \"id\": \"117056856\",\n\t \"name\": \"Erlich Bachman\",\n\t \"institution_tax_payer\": {\n \"address\": \"Los Conquistadores 2461\",\n \"phone\": \"+56981234312\",\n \"email\": \"erlich@bachman.com\",\n \"business_activity_description\": \"Servicios de tecnologia\",\n \"business_activity_code\": \"0123\"\n },\n },\n\t\"institution_tax_return\": {\n \"refund_account\": {\n \"holder_id\": \"117056856\",\n \"holder_name\": \"Erlich Bachman\",\n \"number\": \"123123123\",\n \"institution\": {\n \"id\": \"cl_banco_de_chile\",\n \"name\": \"Banco de Chile\",\n \"country\": \"cl\"\n }\n \t},\n \"refund_amount\": 1000,\n \"due_amount\": 0,\n \"income\": {\n \"fees_with_retention\": 234212,\n \"withheld_fees\": 42341,\n \"fees_without_retention\": 512334,\n \"fees\": 13123,\n \"salary\": 2313123,\n },\n }\n}]""{}"v1 · Base URL https://api.fintoc.com/v1Encabezados
Fintoc Secret Key
Parámetros de consulta
The access token of the Link that holds the Tax Returns to list, returned when creating said Link.
Respuesta
200
¿Esta página le ayudó?
⌘I