Actions8
- Service Invoice Actions
Service Invoice → Cancel
AI-generatedSummary
Cancel a service invoice via DELETE request to the NFe.io API.
Inputs
- companyId (required) — The ID of the company
- invoiceId (required) — The ID of the invoice to cancel
Output shape
Handled by handleNfeApiError; returns success or throws formatted error with message and description.
No structured data returned on success beyond standard n8n item passthrough.
Examples
Example 1: Cancel invoice INV123 for company CORP456
Set companyId to 'CORP456' and invoiceId to 'INV123'. Optional requestOptions may include batching, proxy, timeout, or SSL validation overrides.