Dolibarr icon

Dolibarr

Interact with Dolibarr API

Contracts → List Lines

AI-generated

Overview

This node operation interacts with the Dolibarr API to list the lines of a specific contract. It is useful for scenarios where you need to retrieve detailed line items or components associated with a contract, such as in contract management, billing, or auditing processes. For example, a user can input a contract ID to fetch all line items related to that contract for review or further processing.

Use Case Examples

  1. Retrieve all line items for contract ID 123 to generate an invoice.
  2. Fetch contract lines to audit contract details before renewal.

Properties

Name Meaning
Contract ID The unique identifier of the contract whose lines are to be listed. This is a required numeric input with a minimum value of 1.
Request Options Settings to customize the API request behavior, including batching of requests, SSL certificate validation, proxy configuration, and request timeout.

Output

JSON

  • lines - Array of line items retrieved from the specified contract.

Dependencies

  • Dolibarr API with an API key credential

Troubleshooting

  • Ensure the Contract ID is valid and exists in Dolibarr to avoid 404 errors.
  • If SSL certificate validation fails, enable 'Ignore SSL Issues' to bypass the error, but be cautious of security risks.
  • Check proxy settings if requests fail due to network issues.
  • Adjust timeout settings if the server response is slow to prevent premature request abortion.

Links

Discussion