Management01/12/20267 min

MDF-e Issued with Errors: How to Correct, Cancel, or Close

Practical guide to spot MDF-e errors and decide when to cancel, close, or add a driver, reducing delays and fines with Meu Rastreio MDF-e.

Pedro Entringer

Pedro Entringer

CEO & Founder

MDF-e Issued with Errors: How to Correct, Cancel, or Close

MDF-e Issued with Errors: How to Correct, Cancel, or Close

Issuing the Electronic Manifest of Fiscal Documents (MDF-e) with incorrect information can cause operational delays, vehicle holds, and even fines. The good news: with the right procedure, you can quickly correct course—by canceling, closing, or using specific events such as Driver Inclusion. In this guide, you’ll learn how to identify the error type, choose the right path in each scenario, apply best practices to avoid repeats, and see how Meu Rastreio streamlines the entire process.

Note on terms (Brazil): MDF-e = Electronic Manifest of Fiscal Documents; CT-e = Electronic Bill of Lading; NF-e = Electronic Invoice; RNTRC = National Road Cargo Registry; UF = state; DAMDFE = MDF-e Auxiliary Document.

What counts as an “error” in the MDF-e?

Common issues that impact document validity and roadside inspections:

  • Incorrect license plate for the truck or trailers
  • RNTRC of the carrier or vehicle category not matching the registry
  • Wrong UF (state) or municipality for loading/unloading
  • Missing UF along the planned route (e.g., the truck crosses a state not listed)
  • Incorrect or missing linked CT-e/NF-e
  • Wrong total weight, cargo type, lot/full load flag, or insurance details
  • Issue date/time incompatible with the operation
  • Wrong driver (CPF not matching the driver on the route)

Each error type demands a different treatment. Sometimes you can simply include the new driver; in others, cancellation and reissuance are mandatory. If the trip has already started, the fix typically involves closing the current MDF-e and issuing a new one.

First step: check the status and the legal cancellation window

Before acting, confirm two things: the MDF-e status and the cancellation deadline in your UF.

Cancellation window for the MDF-e

  • General rule: cancellation is allowed shortly after authorization of use and only if cargo circulation has not begun.
  • In practice, many UFs apply a window of up to 24 hours. Confirm the current rule for your state and in your fiscal solution.
  • Preconditions: the cargo has not circulated under the issued MDF-e, and no closure event has been recorded.

Tip: if there’s any chance of a critical error (plate, UF, or linked DF-e), act fast within the window to cancel and reissue.

When cancellation is not possible

  • The trip is underway (cargo has circulated based on the MDF-e)
  • The cancellation window in your UF has expired
  • The MDF-e is already closed

In these cases, the path is to close the MDF-e correctly with factual data and issue a new one for the remaining leg or required correction.

Mandatory closure and consequences of delays

  • Every MDF-e must be closed at the end of the trip (in the destination municipality/UF).
  • If it remains “pending closure,” it can:
    • Block the issuance of new MDF-e for the same vehicle
    • Trigger citations during roadside inspections
    • Require alternative closure by the tax authority in some states

Monitoring pending closures is just as important as issuing correctly.

How to correct, cancel, or close — step by step

Scenario 1: Critical data is wrong and you can still cancel

Use this when there’s an error in plate, UF/municipality, route, linked CT-e/NF-e, weight, or other essential fields—and the cargo has not yet circulated.

Steps:

  1. Check the cancellation window in your UF
  2. Cancel the incorrect MDF-e
  3. Reissue a new MDF-e with the correct information
  4. Validate the route/UF path and linked DF-e before releasing the vehicle

Benefits: prevents noncompliance on the road, vehicle holds, and mid-trip rework.

Scenario 2: Trip already underway; cancellation is not an option

If the cargo is already circulating, cancellation is off the table.

Steps:

  1. Close the current MDF-e as soon as possible with factual information (correct destination UF and municipality)
  2. Issue a new MDF-e reflecting the remaining leg (correct plate, full route, proper DF-e)
  3. Brief the driver on the new valid document

Notes:

  • Late closure is better than leaving it “pending”; repeated delays can draw attention from inspectors.
  • You cannot change linked DF-e after MDF-e authorization; if they were wrong, the fix is a new MDF-e.

Scenario 3: Only the driver changed

When the only issue is the driver (e.g., a handover in the yard):

  • Use the MDF-e Driver Inclusion event to register the new driver
  • Keep vehicle and route data unchanged
  • Ensure the team and driver carry the updated DAMDFE (or internal proof of the event, per your procedure)

Advantage: avoids unnecessary cancellation and reissuance.

Scenario 4: MDF-e “pending closure”

If your system flags a pending closure:

  1. Perform the Closure event and enter the correct destination UF/municipality
  2. If there are technical blockers (e.g., inconsistent DF-e), regularize the linked documents and try again
  3. If it persists, contact your UF’s tax authority (SEFAZ) or your software house—some states allow alternative closure via specific procedures

Prevention: monitor pending closures daily so you don’t block future trips for the same vehicle.

Best practices to avoid errors and fines

  • Standardize master data: carrier, RNTRC, plates, trailers, drivers
  • Validate the UF-by-UF route, especially on interstate trips and highways that quickly cross state lines
  • Reconcile CT-e/NF-e before linking them to the MDF-e
  • Use yard checklists (plate, seal, weight, driver)
  • Train the team to spot critical errors and act within the cancellation window
  • Monitor MDF-e pending closure daily
  • Centralize issuance and use a tool with validation rules and alerts

How Meu Rastreio helps you get MDF-e right

Meu Rastreio MDF-e was built to cut operational errors, speed up issuance, and ensure fiscal compliance.

Practical differentiators:

  • Real-time validations: plates, RNTRC, UF/municipality, linked DF-e, and route rules
  • Inconsistency blocks: prevent authorizing MDF-e with critical wrong data
  • Closure assistant: alerts for pending MDF-e by vehicle, route, and UF, with guided steps
  • Deadline alerts: notifications for cancellation windows and overdue pendencies
  • Review snapshot: quick pre-authorization check with driver, trailers, and weight checklist
  • Intelligent data reuse: less typing and fewer human errors on recurring lanes
  • NF-e/CT-e integration: reliable linking of fiscal documents to each trip
  • Audit trails and reports: visibility of who issued, changed, and closed for compliance
  • Event support: Driver Inclusion and batch closure management for large fleets

Measured benefits seen in client operations:

  • Shorter issuance time per trip
  • Fewer rejections and rework
  • Fewer MDF-e left pending closure
  • Fewer citations due to document inconsistencies

Practical cases (hypothetical)

  • Interstate trip with the wrong trailer plate

    • Situation: error found 40 minutes after issuance; vehicle still in the yard.
    • Action: canceled within the window, reissued with the correct plate, and validated the route.
    • Result: on-time departure with no risk of roadside fines.
  • Driver change during the route

    • Situation: the driver needed to be replaced for health reasons mid-trip.
    • Action: Driver Inclusion event on the MDF-e, guidance for the new driver, and trip continued.
    • Result: compliance maintained without canceling/reissuing.

FAQs

  • Can I correct an MDF-e without canceling?

    • It depends. For a driver swap, use the Driver Inclusion event. For critical data (plate, UF/municipality, route, linked DF-e), you typically must cancel and reissue—if the trip hasn’t started and you’re still within the window.
  • What is the deadline to cancel an MDF-e?

    • Generally, a short window after authorization (in many UFs, up to 24 hours) and before circulation. Confirm the rule in your UF and system.
  • What should I do if the MDF-e is pending closure?

    • Perform the Closure event with the correct UF/municipality. If there’s a technical block, regularize the linked DF-e; if it persists, contact SEFAZ or your software house.
  • Can I change the linked CT-e/NF-e after authorizing the MDF-e?

    • No. If you linked the wrong document, cancel and reissue (when still within the window and before circulation). If the trip has started, close the current MDF-e and issue a new one for the remaining leg.
  • What happens if I don’t close the MDF-e?

    • You may be blocked from issuing new MDF-e for the same vehicle and be exposed to citations. Closure is mandatory.

Conclusion

MDF-e errors happen, but they don’t have to derail your operation. Identify the error type, check the window, and apply the right procedure—cancel and reissue when possible, close and open a new one once the trip has started, and use Driver Inclusion for driver swaps. With the right process and technology, you cut rework, avoid fines, and keep freight moving.

Want to see these best practices in action? Book a free demo of Meu Rastreio MDF-e and discover how to simplify issuing, closing, and controlling your manifest: https://meurastreio.app/pt-BR/mdfe