HelperStable

Fetch receivable

Calculates the current customer receivable for a company from its Ormuz financial state at execution time.

Company
Fetch receivable
Computed projection
Current receivable

Vue d’ensemble

fetch_receivable does not load a resource by identifier: it calculates the company's receivable projection from the current situation known to Ormuz.

Exemple

Before deciding on a reminder or new credit exposure, calculate the company's current receivable instead of reusing an amount remembered earlier in the process.

Parameters 1

companyRequisCompany
Buyer company whose current receivable the process needs. The object must carry a usable ID within the merchant scope.

Outputs 1

receivableReceivable
platform.receivable projection recalculated for the company at node execution time, including amounts due and collection information exposed by the public contract.

Behavior

Identify the company

The node uses the company ID within the execution merchant scope.

Calculate the projection

Ormuz evaluates the company's current receivable situation from available canonical data.

Expose the result

The receivable projection becomes available to downstream bindings.

Limits and responsibilities

  • The receivable is a projection calculated at a point in time; it may change after the node runs.
  • The node creates or modifies no invoice, payment, or payment allocation.
  • It does not replace a collection business rule: it provides the financial situation on which that rule can rely.