Dolibarr icon

Dolibarr

Interact with Dolibarr API

Contracts → Validate

AI-generated

Overview

This node interacts with the Dolibarr API to validate a specific contract by its ID. It is useful in scenarios where you need to programmatically confirm the validity or status of contracts stored in Dolibarr, such as during contract management workflows or automated compliance checks.

Use Case Examples

  1. Validate a contract before processing payments or renewals.
  2. Check contract validity as part of an automated approval process.

Properties

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

Output

JSON

  • response - The full response from the Dolibarr API after validating the contract, including status and any validation details.

Dependencies

  • Dolibarr API with an API key credential for authentication

Troubleshooting

  • Ensure the Contract ID is a valid number greater than or equal to 1; otherwise, the request URL will be invalid.
  • If SSL certificate validation fails and the 'Ignore SSL Issues' option is not enabled, the request may be blocked; enable this option to bypass SSL errors if safe.
  • Proxy settings must be correctly configured if used; incorrect proxy URLs or credentials will cause request failures.
  • Timeouts can occur if the server is slow or unresponsive; increase the timeout setting if needed.

Discussion