Rentman icon

Rentman

Interact with the Rentman rental management API

Actions206

Invoice Line → Get Collection

AI-generated

Summary

Retrieves a collection of invoice lines from Rentman, either all results with automatic pagination or a limited page, with optional filtering, sorting, field selection and link expansion.

Inputs

  • Return All — When on, follows the response's next_page_url until all invoice lines are fetched. Default is off.
  • Limit — Maximum number of results to return (min 1, default 50). Shown only when Return All is off.
  • Offset — Number of results to skip for offset-based pagination (default 0). Shown only when Return All is off.
  • Filters — Optional collection: Created After, Modified After, Modified Before (date-time), ID Greater Than (useful for incremental sync), Invoice (Path) such as /invoices/42 to restrict lines to one invoice, Fields (comma-separated list of fields to return), and Sort (default +id).
  • Custom Query Parameters — Arbitrary key/value query parameters for field-value filtering (e.g. country=nl) or relational operators (e.g. modified[gt]=2024-01-01).
  • Expand — Comma-separated list of linked fields to inline instead of returning paths; supports dot notation up to 3 levels (e.g. equipment,equipment.creator). Declared as shown for the operations listed in its displayOptions, which don't include getAll, so it may not appear for this operation.
  • Request Options — Node settings: batching (items per batch, interval), ignore SSL issues, proxy, and timeout (default 10000 ms).

Output shape

A list of invoice line records from the Rentman API, one n8n item per record. Linked fields come back as paths unless expanded.

Pagination is driven by next_page_url when Return All is on. Use Fields to limit returned properties. The source pack contains only stubbed modules, so behavior is taken from the declared routing.

Examples

Example 1: Fetch every line of a specific invoice

Return All = true; Filters > Invoice (Path) = /invoices/42

Example 2: Incremental sync of recently changed lines

Return All = true; Filters > Modified After = last run timestamp; Sort = +id

Example 3: Preview the first few lines with selected fields

Return All = false; Limit = 10; Filters > Fields = ID,displayname,modified

Links

Discussion