Resolve each parent
Lambda resolves parent evidence in this order:- A matching Lambda income invoice using the CargoWise
DataSource/Key. - An embedded sibling income invoice carried by the receipt.
- A dependency wait when the intended parent is known but is missing or not stamped.
Decide which parents belong
Each parent is classified from direct PUE or PPD evidence, date inference, or the optional REP eligibility window.
Lambda does not stamp a partial REP by silently dropping a failed PPD parent.
REP eligibility window
The optional REP eligibility window can treat a parent as PUE when the payment arrives close to the parent’s CargoWise PostDate:- Lambda reads the parent’s PostDate.
- It adds Window (days) using Mexico City calendar days.
- It compares that cutoff with the day Lambda received the payment.
- A payment received on or before the cutoff omits that parent as PUE.
- A payment received after the cutoff includes that parent as PPD when reconciliation succeeds.
Lambda freezes the setting, reference day, cutoff, and result with the payment intent. A later
settings change does not rewrite an in-flight or historical REP. See Settings
for the available controls.
When the window is disabled, Lambda uses the parent’s direct or inferred PUE or PPD evidence.
Installments and balances
For every related document, Lambda verifies:- the parent SAT UUID and document currency
- the previous balance
- the amount paid in document currency
- the remaining balance
- the installment number and earlier installment history
Currency
Cross-currency receipts use CargoWise payment-time MXN evidence and the payment exchange rate. Lambda derivesTipoCambioP and EquivalenciaDR, applies controlled precision, and verifies the
stamped complement after issuance.
See Currency for the formulas and worked examples.