Obter nota fiscal por ID
GET/fiscal-documents/:id
A single received fiscal document. Returns the same shape as the rows from the list endpoint. Requires scope finance.fiscal_documents. 404 covers both "doesn't exist" and "not in the tenant" — the API does not distinguish. The XML bytes are not served here — follow xml_download_url, which lives on the attachments resource and needs finance.attachments.
Requisição
Respostas
- 200
- 401
- 403
- 404
- 429
- 500
Get a fiscal document by id
Missing / invalid / expired / revoked token.
Token lacks the finance.fiscal_documents scope, or sub does not match any workspace.
Fiscal document not found within the tenant.
Rate limit exceeded for this token. Reads and writes have separate budgets, both on a 1-hour sliding window. The response carries X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset and Retry-After — wait out Retry-After rather than retrying immediately.
Unhandled server error.