HelperStable

Get company invoices

Loads buyer's invoices from a platform object already available in the process.

buyer company
Get company invoices
Business relationship
invoices

Overview

get_company_invoices follows a canonical Ormuz relationship instead of requiring the designer to carry or rebuild technical identifiers between objects.

Example

The process has a buyer company and must work with its invoices. The node resolves the relationship from the source object and returns directly usable platform objects.

Parameters 5

companyRequiredCompany
Source object buyer company whose relationships the node must resolve.
typeOptionalenum
Optional document type used to distinguish invoice from credit note.
statusOptionalenum
Optional filter on the business status of returned resources.
settlement_statusOptionalenum
Optional settlement state used to filter returned invoices.
limitOptionalinteger
Maximum number of resources returned by this read. Use has_more to determine whether additional results exist.

Outputs 3

invoicesInvoice[]
Invoices currently linked to the source under the configured filters.
countinteger
Number of invoices present in this output.
has_moreboolean
Indicates whether more invoices exist beyond the returned page.

Behavior

Validate the source

The node requires an addressable buyer company with an ID.

Resolve the relationship

Ormuz looks up the invoices linked by the business relationship and the configured filters.

Expose the results

The invoices become available to downstream bindings, with has_more when the read is intentionally bounded.

Limits and responsibilities

  • The node neither creates nor modifies linked resources; it reads an existing relationship.
  • An empty collection is a valid result when the relationship currently contains no object.
  • The read is bounded by limit; when has_more is true, this output does not represent exhaustive history.