TwoConnecteurStable

Refund credit note (Two)

Creates or reuses a Two refund corresponding to an issued Ormuz credit note on a fulfilled sale.

Overview

Creates or reuses a Two refund corresponding to an issued Ormuz credit note on a fulfilled sale.

Example

After a product return, issue a credit note then ask Two to reduce the corresponding financed sale.

Parameters 3

extension_config_idRequiredref(extension_config:two)
Two configuration used for this operation. It determines provider identifiers, capabilities, and environment.
credit_noteRequiredInvoice
Issued Ormuz credit note whose source invoice and order determine the Two tranche to refund.
reasonOptionalstring
Optional business reason for the refund sent to Two.

Outputs 4

refundTwo refund
Normalized Two refund created or reused for the credit note.
extension_object_mappingextension object mapping
Durable mapping between the Two object and its Ormuz anchor object.
createdboolean
Whether execution created a new Two resource/mapping instead of reusing an existing one.
selected_routestring
Normalized business state selected by the node; the route must be explicitly handled by the process.

Behavior

The credit note's source invoice/order resolves the Two tranche to refund. The refund mapping avoids duplicates on resume.

Limits and responsibilities

  • An Ormuz credit note must represent the real commercial fact before requesting the Two refund.
  • The route indicates whether the refund partially or fully covers the tranche.