How it works
- Is this document already successful, cancelled, in flight, or waiting on a parent?
- Does policy allow a stamp retry for the active classification?
- Can we resume the exact stored attempt, or must we reprocess from the original capture?
- For failed documents: is there proof the fiscal projection changed, or that an approved prerequisite was corrected?
Resume vs reprocess
Lambda chooses the strategy from evidence. People do not pick it.
If Facturapi already created the invoice, Lambda retrieves and finalizes that invoice. It does not create again.
If the create outcome is unknown, Lambda resumes the exact request. Remapping uncertainty into a new attempt is blocked.
Preview, then apply
- Preview recomputes what would happen and returns a plan fingerprint.
- Apply recomputes under lock and only proceeds if that exact plan still matches.
- A private reason is stored on the ops run. It is not copied into customer notifications.
Hard blocks
Corrective retry never:- Edits the original CargoWise capture
- Retries successful or cancelled documents as an everyday action
- Stacks a second stamp lane on in-flight or parent-waiting work
- Opens a new attempt when the provider may already have created the invoice
- Retries an unchanged rejected request without proven correction
- Uses delivery retry to issue another CFDI
What you do in the workspace
Support-owned corrective retry follows the same preview → apply gates when the workspace correctly blocks day-to-day action (for example after a proven mapper fix). Replacement of an already-issued Lambda-owned CFDI is a separate, explicit support operation — not the same as resume or reprocess above.
Related
- Recovery — automatic vs corrective
- Failures · System errors
- Rules · Troubleshooting