NFe.io icon

NFe.io

Interact with the NFe.io API for Brazilian fiscal documents

Service Invoice → Cancel

AI-generated

Summary

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.

Links

Discussion