NFe.io icon

NFe.io

Interact with the NFe.io API for Brazilian fiscal documents

Service Invoice → Get by External ID

AI-generated

Summary

Retrieves a service invoice by external ID.

Inputs

  • companyId (required) — The ID of the company
  • externalId (required) — Your custom identifier for the invoice
  • requestOptions — HTTP request configuration

Output shape

Returns the service invoice object from the NFe.io API.

Error handling via nfeApi's handleNfeApiError for HTTP status >= 400.

Examples

Example 1: Fetch invoice using company ID and custom external identifier.

Set companyId and externalId parameters. Adjust requestOptions for batching, proxy, timeout, or SSL certificate bypass as needed.

Links

Discussion