HelperStable

Create credit note payment refunds

Creates bank-refund intents corresponding to issued credit notes from the payment allocations that actually funded the invoices.

Contexte financier
Create credit note payment refunds
Finance
Typed result

Vue d’ensemble

Creates bank-refund intents corresponding to issued credit notes from the payment allocations that actually funded the invoices.

Exemple

Prepare bank-transfer refunds after identifying which Payments funded the credited invoices.

Parameters 2

credit_notesRequisInvoice[]
Issued credit notes for which refund intents must be created from the payments that actually funded them.
aggregationRequisenum
Intent grouping mode: one per credit note or aggregation by parent payment when the contract allows it.

Outputs 1

payment_refundsPayment[]
Payment-refund intents created from credit notes and actual payment allocations.

Behavior

The node follows actual payment allocations and creates intents per credit note or aggregated by parent Payment.

Key point Always distinguish the canonical object created by Ormuz from any external effect. A payment or refund intent in draft status does not prove that a provider executed the movement of funds.

Limits and responsibilities

  • The relationship to the parent payment comes from payment allocations, not merely similar amounts.
  • Created intents are not confirmation of a bank refund.