HelperStable

Fetch supplier invoice

Loads the supplier invoice identified by its ID and exposes a hydrated `platform.supplier_invoice` for subsequent process steps.

Supplier invoice · ID
Fetch supplier invoice
Chargement canonique
Supplier invoice

Overview

fetch_supplier_invoice turns an ID reference into a supplier invoice that can be used directly in typed bindings.

Example

An event or API call only provides the identifier of a supplier invoice. Load the object before reading its properties or passing it to a node that expects platform.supplier_invoice.

Parameters 1

supplier_invoice_idRequiredref(supplier_invoice)
Identifier of the supplier invoice to load. Use this node when an ID is available but later steps need the typed platform object.

Outputs 1

supplier_invoiceSupplier invoice
Supplier invoice returned as the current platform.supplier_invoice, with its ID and fields exposed by the platform contract.

Behavior

Resolve the identifier

The node uses the ID supplied in supplier_invoice_id within the instance merchant's scope.

Load the resource

Ormuz reads the corresponding canonical resource and verifies that it is accessible within this scope.

Expose the typed object

The output supplier_invoice becomes available to downstream node bindings.

Limits and responsibilities

  • This node does not create or modify the supplier invoice; it only loads it.
  • If you already have a sufficiently recent platform.supplier_invoice object, another fetch is usually unnecessary.
  • A missing, unknown, or out-of-scope ID causes the node to fail; there is no implicit not_found route.