Actions8
- Service Invoice Actions
Service Invoice → Download XML
AI-generatedSummary
Download the XML of a service invoice from NFe.io
Inputs
- companyId (required) — The ID of the company
- invoiceId (required) — The ID of the invoice to download XML
- requestOptions — Request configuration options including batching, proxy, timeout, and SSL certification handling
Output shape
The raw XML response from the NFe.io API for the specified service invoice, or an error parsed via handleNfeApiError if the request fails.
The operation performs a GET request to /v1/companies/{{companyId}}/serviceinvoices/{{invoiceId}}/xml.
Examples
Example 1: Download a specific invoice's XML
Set companyId and invoiceId; optionally adjust requestOptions for proxy, timeout, or SSL settings.