Install Jentic One Beta
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the BaixarXmls, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.
Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.
Step 1: Jentic One Host machine
# On the machine that will host your Jentic One instance:
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fsieg.com%2Fbaixar-xmls" | shStep 2: Agent machine
# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fsieg.com%2Fbaixar-xmls" | sh
jentic register # connects your agent to your Jentic One instanceJentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.
What an agent can do with BaixarXmls API.
Download a batch of fiscal document XMLs of one type selected by TipoXml
Restrict a batch to documents issued between DataEmissaoInicio and DataEmissaoFim
Page through large exports with the Take and Skip fields
Read the success flag and message to tell a completed batch from a failed request
Patterns agents use BaixarXmls API for, with concrete tasks.
GET STARTED
★ Agent-run monthly XML export through Jentic
At month end an accounting agent connected through Jentic exports the period's fiscal XMLs from SIEG. It calls the batch download with the document type in TipoXml and the month's first and last days in DataEmissaoInicio and DataEmissaoFim, and keeps raising Skip by the Take size until a page returns no documents. The SIEG JWT and access key are injected at call time, so the agent never holds them.
Call POST /api/v1/baixar-xmls with TipoXml 1, DataEmissaoInicio 2026-10-01T00:00:00, DataEmissaoFim 2026-10-31T23:59:59, Take 50, and Skip 0, then repeat with Skip 50, 100, and so on until data is empty
Fiscal archive backup
Companies that keep a copy of their fiscal documents outside SIEG can pull them in batches by type and issue date and store each page in their own archive. Paging with Take and Skip keeps each request small, and the date window lets a backup job run day by day or month by month.
Call POST /api/v1/baixar-xmls for yesterday's DataEmissaoInicio and DataEmissaoFim with Take 100 and Skip 0, and store each document in data to the archive
Feeding an accounting or ERP import
Accounting systems often import fiscal XMLs to book purchases and sales. A sync job fetches a batch of a given TipoXml for a date range and hands each document to the importer, which avoids requesting documents one access key at a time.
Call POST /api/v1/baixar-xmls with the TipoXml the ERP expects and the last sync window, then pass each document in data to the importer and record the next Skip value
1 endpoints — the sieg baixarxmls api downloads brazilian fiscal document xmls in batches from a sieg account, filtered by document type and issue date.
METHOD
PATH
DESCRIPTION
/api/v1/baixar-xmls
Download a batch of fiscal XMLs
/api/v1/baixar-xmls
Download a batch of fiscal XMLs
What agents get from Jentic-routed access to this vendor.
Setup
Wiring BaixarXmls by hand means obtaining a SIEG JWT, pairing it with an X-API-Key or X-OAuth-Token header on every call, and looping Take and Skip until a page comes back empty. Through Jentic you install once, import BaixarXmls from the API Directory, store the credentials once, and your agent calls it.
Permission scoping
BaixarXmls carries its type and date filters inside the request body, so rules bound which operations your agent may call, not which documents it downloads. Limit the agent to the operations it needs, and leave the batch download out of the rule for agents that should only count or search documents.
Credential isolation
Your SIEG JWT and access key are stored once, encrypted, by your own Jentic One instance and injected at execution time. They never enter the agent's prompt, logs, or context.
Intent-based discovery
Agents search Jentic by intent such as 'download fiscal XMLs in batch' or 'export NF-e XMLs for a month', and Jentic returns the BaixarXmls operation with its input schema so the agent sends TipoXml, the date window, and paging fields correctly.
Alternatives and complements available in the Jentic catalogue.
Specific to using BaixarXmls API through Jentic.
What authentication does the SIEG BaixarXmls API use?
Per its OpenAPI spec, each call needs two credentials together: a JWT sent as an HTTP bearer token, plus either an X-API-Key header or an X-OAuth-Token header carrying a SIEG OAuth 2.0 token. Through Jentic both credentials are stored encrypted by your own instance and attached at call time, so the agent never sees them.
How do I page through a large export with BaixarXmls?
Set Take to the page size and Skip to the number of documents already fetched. Start with Skip 0, add the Take value after each call, and stop when the data array comes back empty.
Can I download a single document by access key with BaixarXmls?
No. BaixarXmls filters by TipoXml and issue date only. To fetch one document by its access key, use the SIEG BaixarXml API, which takes ChaveXml.
What are the rate limits for the SIEG BaixarXmls API?
The OpenAPI spec does not specify rate limits. Check your SIEG plan and the documentation at https://sieg.com for current limits.
Is there a SIEG BaixarXmls MCP server?
You don't need an MCP server to give your agent the BaixarXmls API. Jentic connects it directly from the API Directory: import it, store your SIEG JWT and access key once, and your agent calls the batch download when it needs it, discovered on demand rather than held in its context.
Can I limit what my agent is allowed to do with the SIEG BaixarXmls API?
Yes, at the operation level. For example, give a reporting agent a rule that includes SIEG's count operation but leaves this batch download out, so it can report volumes without pulling any document XML, and every call it makes is logged. The rule cannot narrow which dates or document types a download requests, because those filters sit in the request body.
How do I export a month of fiscal XMLs through Jentic?
Search Jentic for 'download fiscal XMLs in batch', load the POST /api/v1/baixar-xmls operation, and send TipoXml with DataEmissaoInicio and DataEmissaoFim set to the month's bounds, plus Take and Skip for paging. To run it on your own infrastructure, install Jentic One from its GitHub repo.
Know of an official OpenAPI document? Contribute it →
For Agents
Download fiscal document XMLs from SIEG in batches: choose the document type with TipoXml, bound the issue dates, and page through results with Take and Skip.
Use for: Download every NF-e XML issued last month, Export a batch of fiscal XMLs for the accountant, Get the next page of XML documents from SIEG, Pull all documents of one type issued in a date range
Not supported: Does not issue invoices, fetch a document by access key, or file tax returns. Use for downloading batches of fiscal document XMLs by type and issue date only.
The SIEG BaixarXmls API downloads Brazilian fiscal document XMLs in batches from a SIEG account, filtered by document type and issue date. A request sets TipoXml to pick the document type and DataEmissaoInicio and DataEmissaoFim to bound the issue-date window, then pages through the results with Take and Skip. The response returns a success flag, a message, and a data array holding the documents for that page, which makes it suited to bulk exports rather than single-document lookups.
This API is usable in Jentic One now. Its AI-readiness score against Jentic's framework shows where it stands today and where improvements would make it even easier for agents to use.
Base layer of spec validity and structural soundness.
Aggregated quality score from linter diagnostics, weighted by severity.
Percentage of `$ref` references that resolve successfully.
Checks whether the API description parses successfully and conforms to its declared specification (e.g., OpenAPI).
Structural correctness score based on schema issues using logarithmic dampening.
Clarity, completeness, and ingestion readiness for developers and tooling.
How richly the API is illustrated with examples.
Percentage of examples that conform to their schemas.
Percentage of operations with complete response definitions (success, client error, server error).
Health of API ingestion, bundling, and resolution within Jentic pipelines.
Semantic breadth, depth, and agent comprehension for AI systems.
Coverage of descriptions across API elements.
Coverage of RFC 9457 Problem Details for error responses.
Coverage, uniqueness, and casing consistency of operationIds for AI inference.
Coverage of summaries across operations/tags/info.
Functional utility, complexity comfort, and AI orchestration readiness.
Agent comfort level based on API operational and structural complexity.
Trust, risk posture, and security compliance.
Average quality of security schemes based on authentication method strength (weakest link for OAuth2).
Findability, semantic richness, and reasoning readiness.
Clarity and depth of descriptions across API elements.
Score it yourself
Every API in the directory is allowlisted, so you can re-score it with no key required.
npx @jentic/api-scorecard-cli score <openapi-url>