curl --request GET \
--url https://api.finseed.es/v1/invoices \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.finseed.es/v1/invoices"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.finseed.es/v1/invoices', 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.finseed.es/v1/invoices",
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: Bearer <token>"
],
]);
$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.finseed.es/v1/invoices"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.finseed.es/v1/invoices")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.finseed.es/v1/invoices")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "inv_clx123abc456",
"status": "issued",
"number": "2026-000123",
"currency": "eur",
"subtotal": 8300,
"tax": 1743,
"total": 10043,
"recipient_name": "ACME, S.L.",
"recipient_tax_id": "B12345678",
"email": "cliente@example.com",
"external_customer_id": "cus_9aZ",
"invoice_date": "2026-06-01T09:30:00Z",
"operation_date": "2026-06-01T09:30:00Z",
"created_at": "2026-06-01T09:30:00Z",
"type": "complete",
"number_series_id": "ns_clx456def789",
"recipient": {
"name": "ACME, S.L.",
"company_name": null,
"tax_id": "B12345678",
"tax_id_type": "es_nif",
"tax_id_country": "ES",
"email": "cliente@example.com",
"address": {
"line1": "Calle Mayor 1",
"line2": null,
"postal_code": "28001",
"city": "Madrid",
"country": "ES"
}
},
"pdf_url": "https://api.finseed.es/v1/invoices/inv_clx123abc456/file?token=abc",
"verifactu": {
"status": "registered",
"hash": "B11F3A0151ADA655A9A0A4A64F32F440BE0EE0F5A695BB2E4DC5C0C0AF6E8D2A",
"qr_url": "https://www2.agenciatributaria.gob.es/wlpl/TIKE-CONT/ValidarQR?nif=B12345678&numserie=2026-000123&fecha=01-06-2026&importe=100.43",
"error": null
},
"line_items": [
{
"id": "ili_clx789def012",
"description": "Consulting services",
"sku": "SVC-01",
"quantity": 2,
"unit_amount": 4150,
"subtotal": 8300,
"tax": 1743,
"total": 10043,
"tax_items": [
{
"name": "IVA 21%",
"type": "vat",
"rate": 21,
"amount": 1743
}
]
}
],
"kind": "original",
"rectifies": [],
"rectified_by": []
}
],
"has_more": true,
"next_cursor": "inv_clx123abc456",
"next_url": "/v1/invoices?limit=25&starting_after=inv_clx123abc456"
}{
"code": "invalid_request",
"detail": "The request is not valid. A parameter is missing, malformed, or out of range. See the `errors` array for the fields that failed.",
"errors": [],
"doc_url": "https://www.finseed.es/docs/api-reference/errors#invalid_request"
}{
"code": "unauthorized",
"detail": "Authentication failed. Send your API key as a bearer token in the `Authorization` header. Keys are scoped to one environment, so a test key cannot read live data and vice versa.",
"errors": [],
"doc_url": "https://www.finseed.es/docs/api-reference/errors#unauthorized"
}{
"code": "internal_error",
"detail": "Something went wrong on our side. The request did not complete and can be retried safely.",
"errors": [],
"doc_url": "https://www.finseed.es/docs/api-reference/errors#internal_error"
}List invoices
Returns a cursor-paginated list of invoices for the environment the API key belongs to, most recent first. Use the optional filters to narrow the result, and follow next_url to page through the rest.
curl --request GET \
--url https://api.finseed.es/v1/invoices \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.finseed.es/v1/invoices"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.finseed.es/v1/invoices', 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.finseed.es/v1/invoices",
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: Bearer <token>"
],
]);
$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.finseed.es/v1/invoices"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.finseed.es/v1/invoices")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.finseed.es/v1/invoices")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "inv_clx123abc456",
"status": "issued",
"number": "2026-000123",
"currency": "eur",
"subtotal": 8300,
"tax": 1743,
"total": 10043,
"recipient_name": "ACME, S.L.",
"recipient_tax_id": "B12345678",
"email": "cliente@example.com",
"external_customer_id": "cus_9aZ",
"invoice_date": "2026-06-01T09:30:00Z",
"operation_date": "2026-06-01T09:30:00Z",
"created_at": "2026-06-01T09:30:00Z",
"type": "complete",
"number_series_id": "ns_clx456def789",
"recipient": {
"name": "ACME, S.L.",
"company_name": null,
"tax_id": "B12345678",
"tax_id_type": "es_nif",
"tax_id_country": "ES",
"email": "cliente@example.com",
"address": {
"line1": "Calle Mayor 1",
"line2": null,
"postal_code": "28001",
"city": "Madrid",
"country": "ES"
}
},
"pdf_url": "https://api.finseed.es/v1/invoices/inv_clx123abc456/file?token=abc",
"verifactu": {
"status": "registered",
"hash": "B11F3A0151ADA655A9A0A4A64F32F440BE0EE0F5A695BB2E4DC5C0C0AF6E8D2A",
"qr_url": "https://www2.agenciatributaria.gob.es/wlpl/TIKE-CONT/ValidarQR?nif=B12345678&numserie=2026-000123&fecha=01-06-2026&importe=100.43",
"error": null
},
"line_items": [
{
"id": "ili_clx789def012",
"description": "Consulting services",
"sku": "SVC-01",
"quantity": 2,
"unit_amount": 4150,
"subtotal": 8300,
"tax": 1743,
"total": 10043,
"tax_items": [
{
"name": "IVA 21%",
"type": "vat",
"rate": 21,
"amount": 1743
}
]
}
],
"kind": "original",
"rectifies": [],
"rectified_by": []
}
],
"has_more": true,
"next_cursor": "inv_clx123abc456",
"next_url": "/v1/invoices?limit=25&starting_after=inv_clx123abc456"
}{
"code": "invalid_request",
"detail": "The request is not valid. A parameter is missing, malformed, or out of range. See the `errors` array for the fields that failed.",
"errors": [],
"doc_url": "https://www.finseed.es/docs/api-reference/errors#invalid_request"
}{
"code": "unauthorized",
"detail": "Authentication failed. Send your API key as a bearer token in the `Authorization` header. Keys are scoped to one environment, so a test key cannot read live data and vice versa.",
"errors": [],
"doc_url": "https://www.finseed.es/docs/api-reference/errors#unauthorized"
}{
"code": "internal_error",
"detail": "Something went wrong on our side. The request did not complete and can be retried safely.",
"errors": [],
"doc_url": "https://www.finseed.es/docs/api-reference/errors#internal_error"
}Autorizaciones
API key sent as a bearer token in the Authorization header.
Parámetros de consulta
Maximum number of invoices to return (1–100). Maximum number of invoices to return (1-100).
1 <= x <= 10025
Opaque cursor: return invoices after this invoice id. Cursor: return invoices after this invoice id.
"inv_clx123abc456"
Filter to invoices for this external customer id (exact).
"cus_9aZ"
Filter to invoices with this recipient email (exact, case-insensitive).
"cliente@example.com"
Filter to the invoice with this human-readable number (exact, case-insensitive).
"2026-000123"
Respuesta
A cursor-paginated page of invoices.
A cursor-paginated page of invoices.
Show child attributes
Show child attributes
Whether more invoices exist beyond this page.
true
Cursor to pass back as starting_after for the next page, or null on the last page.
"inv_clx123abc456"
Relative path to the next page, preserving the current filters, or null on the last page.
"/v1/invoices?limit=25&starting_after=inv_clx123abc456"
¿Esta página le ayudó?