Update draft NF-e
PATCH/v1/nfes/:id
Updates NF-e fields. Only draft NF-e accept changes to amounts and fiscal codes.
Request​
Responses​
- 200
- 400
- 401
- 403
- 404
- 409
- 422
- 429
- 500
NF-e updated.
Request body failed validation.
Missing or invalid bearer token.
Token is valid but lacks permission for this operation. With code insufficient_scope, details.required carries the one minimal set of scopes that, added to details.granted, would let the request through: the resource scope (billing/{resource}, or billing/all off the catalogue) then the bare verb — e.g. ["billing/customers", "delete"].
Resource not found in the current organization.
The NF-e retention differs from the linked invoice retention (NFE_WITHHOLDING_MISMATCH). details carries both sides; retry with invoice_withholding: "update_invoice" to update the invoice.
Request body failed validation.
Rate limit exceeded.
Unexpected server error.