Jentic OSThe workplace. An in-house AI platform for every employeeJentic OneSafe access. Agents reach your systems without holding keysJentic AIRThe foundation. Gets your existing platforms ready for AI
Pricing

GET STARTED

API DirectoryBrowse 10,000+ APIs ready for AI agent integrationDocumentationGuides and API reference

TOOLS

API ScoringCheck your AI readiness using our scorecardArazzo UIVisualize Arazzo workflows as interactive documentationArazzo EditorBuild and edit multi-step API workflows visually

COMMUNITY

GitHubOpen source projects and examplesOpen StandardsBuilt on open specs. Never locked in.
All ResourcesEverything in one placeBlogLatest articles and insightsTech Talk NewsletterAPIs, AI agents, architecture and strategyWebinarsLive sessions and on-demand recordingsReports & WhitepapersOriginal research on enterprise AI
About UsOur mission and teamCareersJoin our teamContactGet in touch
Try it now
Jentic OSJentic OneJentic AIR
Pricing
API DirectoryDocumentationAPI ScoringArazzo UIArazzo EditorGitHubOpen Standards
All ResourcesBlogTech Talk NewsletterWebinarsReports & Whitepapers
About UsCareersContact
Try it now
JenticJentic
Products
  • Jentic OS
  • Jentic One
  • Jentic AIR
For Developers
  • API Directory
  • Documentation
  • GitHub
Company
  • About Jentic
  • Careers
  • Contact Us
  • Trust Centre
ISO/IEC 27001:2022 certification badge issued by Prescient SecurityISO/IEC 27001:2022 certification badge issued by Prescient Security

Information Security Management System

Certified to ISO/IEC 27001:2022 by Prescient Security

AICPA SOC for Service Organizations logoAICPA SOC for Service Organizations logo

SOC 2® Type 1 report

Audited by Prescient Assurance

Terms & Conditions•Privacy Policy•
© 2026 Jentic Technology Ltd. All rights reserved.
2 Grattan Court East, Dublin, D02 VX86, Ireland
Switch to light modeSwitch to dark mode
APIs / Finance / Sieg / BaixarXml
BaixarXml logo

Sieg BaixarXml

Browse all Sieg APIs
67
AI ReadinessAI-Aware (B+)67/100
See full scorecard
Community OpenAPI document · agent-readyFinanceTaxbearer, apiKey1 EndpointsREST

Know of an official OpenAPI document? Contribute it →

For Agents

Download one NF-e, CT-e, NFC-e, or NFS-e XML from SIEG by its access key and XML type, optionally with the document's linked events.

Use for: Download the XML for this NF-e access key, Get the CT-e XML for a freight document, Retrieve an NFS-e XML along with its events, Check whether a fiscal document key is valid in SIEG

Not supported: Does not issue invoices, list documents in bulk, or file tax returns. Use for downloading one fiscal document XML by its access key only.

The SIEG BaixarXml API downloads a single Brazilian electronic fiscal document XML, such as an NF-e, CT-e, NFC-e, or NFS-e, from a SIEG account by its access key. A request names the document with ChaveXml and its type with TipoXml (1 for NF-e, 2 for CT-e, 3 for NFS-e, among other codes), and setting BaixarEventos to true also returns the events linked to that document. Responses carry a Status, Codigo, and Mensagens list describing the result.

Jentic One on GithubView OpenAPI Document

Install Jentic One Beta

Connect the BaixarXml to your agent

Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the BaixarXml, 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.

1

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-xml" | sh
2

Step 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-xml" | sh
jentic register       # connects your agent to your Jentic One instance

Jentic 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.

Capabilities

What an agent can do with BaixarXml API.

Download the XML of a single NF-e, CT-e, NFC-e, or NFS-e by its ChaveXml access key

Select the document type with TipoXml codes such as 1 for NF-e, 2 for CT-e, and 3 for NFS-e

Include the document's linked fiscal events in the same download by setting BaixarEventos to true

Read the Status, Codigo, and Mensagens fields to tell a successful download from an invalid key

Use Cases

Patterns agents use BaixarXml API for, with concrete tasks.

★ Agent that fetches a fiscal document on request

An accounting assistant often gets asked for the XML of one specific invoice. Through Jentic the agent searches for 'download an NF-e XML', loads the baixarXml operation, and sends the 44-digit ChaveXml with TipoXml 1, while the SIEG JWT and access key are injected at call time. The agent returns the XML or the Mensagens explaining why the key was rejected.

Call POST /api/v1/baixar-xml with ChaveXml set to the 44-digit NF-e key, TipoXml 1, and BaixarEventos false, then return the XML to the user

Document plus events for audit checks

Before booking an invoice, a finance team checks whether it was cancelled or corrected. Setting BaixarEventos to true returns the events tied to the document together with the XML, so a cancellation or correction letter is visible in the same response. This avoids a second lookup for the events of a single key.

Call POST /api/v1/baixar-xml with ChaveXml for the invoice, TipoXml 1, and BaixarEventos true, then flag the invoice if a cancellation event is present

Freight and service document retrieval

Logistics and service companies handle CT-e transport documents and NFS-e service invoices alongside NF-e. The same operation retrieves any of these by changing TipoXml, so one integration covers goods, freight, and services documents stored in SIEG.

Call POST /api/v1/baixar-xml with the CT-e ChaveXml and TipoXml 2 and save the returned XML to the freight record

Key Endpoints

1 endpoints — the sieg baixarxml api downloads a single brazilian electronic fiscal document xml, such as an nf-e, ct-e, nfc-e, or nfs-e, from a sieg account by its access key.

METHOD

PATH

DESCRIPTION

POST

/api/v1/baixar-xml

Download one fiscal document XML by key

POST

/api/v1/baixar-xml

Download one fiscal document XML by key

Jentic AI Readiness Score

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.

B

BaixarXml

- AI-Aware (B+)
67/100
100
Foundational Compliance
69
Developer Experience & Jentic Compatibility
53
AI-Readiness & Agent Experience
94
Agent Usability
58
Security
50
AI Discoverability
Powered by JenticScoring Framework 1.0.0 | Scoring Engine 0.4.2
Show dimension breakdown
100

Foundational Compliance

Base layer of spec validity and structural soundness.

Grade: A+Signals: 4
99%

Lint Results

Aggregated quality score from linter diagnostics, weighted by severity.

100%

Resolution Completeness

Percentage of `$ref` references that resolve successfully.

100%

Specification Validity

Checks whether the API description parses successfully and conforms to its declared specification (e.g., OpenAPI).

100%

Structural Integrity

Structural correctness score based on schema issues using logarithmic dampening.

69

Developer Experience & Jentic Compatibility

Clarity, completeness, and ingestion readiness for developers and tooling.

Grade: B+Signals: 4
25%

Example Density

How richly the API is illustrated with examples.

100%

Example Validity

Percentage of examples that conform to their schemas.

50%

Response Coverage

Percentage of operations with complete response definitions (success, client error, server error).

100%

Tooling Readiness

Health of API ingestion, bundling, and resolution within Jentic pipelines.

53

AI-Readiness & Agent Experience

Semantic breadth, depth, and agent comprehension for AI systems.

Grade: CSignals: 4
64%

Description Coverage

Coverage of descriptions across API elements.

0%

Error Standardization

Coverage of RFC 9457 Problem Details for error responses.

100%

OperationId Quality

Coverage, uniqueness, and casing consistency of operationIds for AI inference.

50%

Summary Coverage

Coverage of summaries across operations/tags/info.

94

Agent Usability

Functional utility, complexity comfort, and AI orchestration readiness.

Grade: A+Signals: 1
94%

Complexity Comfort

Agent comfort level based on API operational and structural complexity.

58

Security

Trust, risk posture, and security compliance.

Grade: C+Signals: 1
58%

Authentication Strength

Average quality of security schemes based on authentication method strength (weakest link for OAuth2).

50

AI Discoverability

Findability, semantic richness, and reasoning readiness.

Grade: C-Signals: 1
50%

Descriptive Richness

Clarity and depth of descriptions across API elements.

View full reportHow the score is calculatedMore about the dimensions

Score it yourself

Every API in the directory is allowlisted, so you can re-score it with no key required.

Score your own APIScoring CLI agent skill
npx @jentic/api-scorecard-cli score <openapi-url>

Why Jentic?

What agents get from Jentic-routed access to this vendor.

Setup

Wiring BaixarXml by hand means obtaining a SIEG JWT from a separate authentication endpoint and sending it with an X-API-Key or X-OAuth-Token header on every download. Through Jentic you install once, import BaixarXml from the API Directory, store the credentials once, and your agent calls it.

Permission scoping

BaixarXml carries the document key inside the request body, so rules bound which operations your agent may call, not which documents. Limit the agent to the operations it needs, such as downloading a single XML, and keep other SIEG operations out unless you add them.

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 an NF-e XML' or 'get a CT-e by access key', and Jentic returns the matching SIEG operation with its input schema so the agent sends ChaveXml and TipoXml correctly.

Related APIs

Alternatives and complements available in the Jentic catalogue.

Alternative

NotaGuard

→

List and filter NF-e, NFC-e, and NFS-e documents and download their XML or DANFE

Choose NotaGuard if the company's fiscal documents are captured there; choose SIEG BaixarXml for documents stored in a SIEG account

Complementary

SIEG Baixar Eventos

→

Download events linked to NF-e, CT-e, and NFC-e documents with CNPJ and date filters

Use Baixar Eventos to filter events by type, CNPJ, or date range; use BaixarXml to fetch the document itself

Complementary

SIEG Baixar XML por NSU

→

Download XMLs as a ZIP by NSU sequence number

Use Baixar XML por NSU to pull documents by NSU sequence; use BaixarXml when you already have the access key

FAQs

Specific to using BaixarXml API through Jentic.

What authentication does the SIEG BaixarXml 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. The JWT comes from SIEG's authentication endpoint, which is not part of this spec. Through Jentic both credentials are stored by your own instance and attached at call time, so the agent never sees them.

Which document types can I download with BaixarXml?

TipoXml selects the type. The spec lists codes including 1 for NF-e, 2 for CT-e, and 3 for NFS-e, with further codes such as 4 through 8, 10, 99, and 100 for other document types. ChaveXml and TipoXml are required, and BaixarEventos is optional.

What are the rate limits for the SIEG BaixarXml 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 BaixarXml MCP server?

You don't need an MCP server to give your agent the BaixarXml API. Jentic connects it directly from the API Directory: import it, store your SIEG JWT and access key once, and your agent calls the download operation when it needs a document, discovered on demand rather than held in its context.

How do I download an NF-e XML through Jentic?

Search Jentic for 'download an NF-e XML by access key', load the POST /api/v1/baixar-xml operation, and send ChaveXml with the 44-digit key and TipoXml 1. Add BaixarEventos true if you also want the document's events. To run it on your own infrastructure, install Jentic One from its GitHub repo.

Can I limit what my agent is allowed to do with the SIEG BaixarXml API?

Yes, at the operation level. If the agent should only search and count documents through other SIEG APIs, leave this download operation out of its rule and it cannot pull document XML at all; if you include it, every call is logged. The rule cannot narrow which access keys or companies it requests, because ChaveXml is sent in the request body.

GET STARTED

Start building with BaixarXml API

Explore with Jentic One
View OpenAPI Document