Actions8
- Service Invoice Actions
Service Invoice → Get by External ID
AI-generatedSummary
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.