Estado del F29 por mes
curl --request GET \
--url https://api.tupana.ai/v2/f29-periods/ \
--header 'Authorization: <api-key>'import requests
url = "https://api.tupana.ai/v2/f29-periods/"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.tupana.ai/v2/f29-periods/', 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.tupana.ai/v2/f29-periods/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <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"
"net/http"
"io"
)
func main() {
url := "https://api.tupana.ai/v2/f29-periods/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
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.tupana.ai/v2/f29-periods/")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tupana.ai/v2/f29-periods/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"period": "2026-11",
"status": "not_declared",
"declaration_id": null,
"folio": null,
"checked_at": "2026-11-30T09:00:00Z"
},
{
"period": "2026-10",
"status": "declared",
"declaration_id": "f2fo_1234567890",
"folio": "8812345678",
"checked_at": "2026-11-23T09:12:00Z"
}
],
"meta": {
"page": null,
"page_size": null,
"total": 24,
"total_pages": null
},
"links": {
"next": null,
"prev": null
}
}{
"error": {
"type": "permission_error",
"code": "addon_required",
"message": "<string>",
"doc_url": "<string>",
"request_id": "req_8f3a9c2b1e7d4",
"param": "<string>",
"resource": "<string>",
"suggested_action": "<string>",
"retryable": true
}
}{
"error": {
"type": "permission_error",
"code": "addon_required",
"message": "<string>",
"doc_url": "<string>",
"request_id": "req_8f3a9c2b1e7d4",
"param": "<string>",
"resource": "<string>",
"suggested_action": "<string>",
"retryable": true
}
}F29
Estado del F29 de cada mes (API v2)
El estado del F29 de cada uno de los últimos 24 meses de una empresa: declarado, sin declarar o sin revisar.
GET
/
f29-periods
/
Estado del F29 por mes
curl --request GET \
--url https://api.tupana.ai/v2/f29-periods/ \
--header 'Authorization: <api-key>'import requests
url = "https://api.tupana.ai/v2/f29-periods/"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.tupana.ai/v2/f29-periods/', 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.tupana.ai/v2/f29-periods/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <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"
"net/http"
"io"
)
func main() {
url := "https://api.tupana.ai/v2/f29-periods/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
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.tupana.ai/v2/f29-periods/")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tupana.ai/v2/f29-periods/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"period": "2026-11",
"status": "not_declared",
"declaration_id": null,
"folio": null,
"checked_at": "2026-11-30T09:00:00Z"
},
{
"period": "2026-10",
"status": "declared",
"declaration_id": "f2fo_1234567890",
"folio": "8812345678",
"checked_at": "2026-11-23T09:12:00Z"
}
],
"meta": {
"page": null,
"page_size": null,
"total": 24,
"total_pages": null
},
"links": {
"next": null,
"prev": null
}
}{
"error": {
"type": "permission_error",
"code": "addon_required",
"message": "<string>",
"doc_url": "<string>",
"request_id": "req_8f3a9c2b1e7d4",
"param": "<string>",
"resource": "<string>",
"suggested_action": "<string>",
"retryable": true
}
}{
"error": {
"type": "permission_error",
"code": "addon_required",
"message": "<string>",
"doc_url": "<string>",
"request_id": "req_8f3a9c2b1e7d4",
"param": "<string>",
"resource": "<string>",
"suggested_action": "<string>",
"retryable": true
}
}status | Significado |
|---|---|
declared | Tupana tiene el F29 del mes; declaration_id apunta a él. |
not_declared | El SII respondió que no hay un F29 declarado para ese mes (todavía). |
not_checked | Aún no se lee ese mes, o la última lectura falló. |
