Fiskaly Get Taxpayer
Description
Section titled “Description”This module allows querying taxpayers registered in Fiskaly. It has two modes of operation:
- Get by ID: If
taxpayer_idis provided, gets the complete details of a specific taxpayer including name, NIF/CIF, territory and tax configuration. - List all: If
taxpayer_idis empty, lists all taxpayers in the organization with pagination support.
The module is of type hidden (hidden in the main interface).
Configuration
Section titled “Configuration”| Parameter | Type | Required | Description |
|---|---|---|---|
| credentials_id | credentials | Yes | Fiskaly credential |
| taxpayer_id | text | No | UUID of the taxpayer. If empty, lists all |
| limit | text | No | Maximum number of results (default: 100) |
| offset | text | No | Offset for pagination |
Credentials
Section titled “Credentials”Requires Fiskaly type credentials with:
- api_key: Fiskaly API Key
- api_secret: Fiskaly API Secret
Output
Section titled “Output”List:
{ "nextModule": "siguiente_modulo", "data": { "success": true, "taxpayers": [{ "...datos del contribuyente..." }], "count": 5 }}Get one:
{ "nextModule": "siguiente_modulo", "data": { "success": true, "taxpayer": { "...datos completos del contribuyente..." }, "taxpayer_id": "uuid-contribuyente" }}Usage Example
Section titled “Usage Example”Basic case - List all
Section titled “Basic case - List all”{ "credentials_id": "mi-fiskaly", "limit": "50"}API Used
Section titled “API Used”- Fiskaly SIGN ES API - GET
/taxpayers(list) - Fiskaly SIGN ES API - GET
/taxpayers/{taxpayer_id}(get one)
- Does not require taxpayer_id for listing (unlike most Fiskaly nodes)
- Pagination is controlled with
limitandoffset
Related Nodes
Section titled “Related Nodes”- FiskalyUpsertTaxpayer - Create/update taxpayer
- FiskalyGetClients - Get devices
- FiskalyGetSigners - Get signers
- FiskalyGetInvoices - Get invoices