Skip to main content
Stamping is Lambda’s fiscal control plane for CargoWise. It turns accounting evidence into CFDIs, verifies the result with Facturapi and SAT, stores the fiscal files, and returns the files through CargoWise inbound. Stamping protects the boundary between two kinds of truth:
  • CargoWise owns accounting facts and relationships.
  • Lambda owns mapping, reconciliation, fiscal workflow, result verification, and delivery.
  • Facturapi and SAT own provider and legal validation.

What it handles

The complete boundary

The first CargoWise push normally does not contain GovernmentNumber. CargoWise usually writes that value after a successful stamp. A later push can therefore be a duplicate, a source correction, or an external stamp observation. These cases do not all mean “stamp again”.

What Stamping guarantees

  • The original CargoWise source is retained for review and recovery.
  • Lambda reconciles the fiscal request before it calls the provider.
  • A provider result that may already exist is verified before another create request is allowed.
  • XML, PDF, and cancellation files remain tied to the exact fiscal operation that produced them.
  • Fiscal completion and CargoWise delivery remain separate. A delivery retry never issues another CFDI.

Read the result in this order

  1. Check the fiscal status and SAT UUID.
  2. Check whether the required XML and PDF files are stored.
  3. Check each CargoWise delivery result.
  4. If something stopped, read the public failure type and the action offered in the workspace.
Use Behavior for the full path. Use Statuses for the workspace labels and Reliability for the control model behind them.