Goldylocks icon

Goldylocks

Interact with the Goldylocks ERP API

Document Line → Get Many

AI-generated

Overview

This node operation retrieves multiple document lines associated with a specific document from the Goldylocks ERP API. It is useful for scenarios where you need to fetch all line items of a given document, such as invoices, orders, or other transactional documents, to process or analyze the detailed contents of the document.

Use Case Examples

  1. Fetching all line items of a sales order to calculate total quantities and prices.
  2. Retrieving document lines to generate a detailed report or export data for accounting purposes.

Properties

Name Meaning
Document ID (P) The internal ID of the document for which to retrieve all associated document lines.

Output

JSON

  • id_documento - The ID of the document to which the line belongs.
  • id_artigo - The ID of the item/article in the document line.
  • quantidade - The quantity of the item in the document line.
  • desconto - Discount applied to the document line, if any.
  • observacao - Observations or notes related to the document line.
  • preco - Price of the item in the document line.
  • linha - The line number or position of the document line within the document.

Dependencies

  • Goldylocks ERP API
  • An API key credential for authentication

Troubleshooting

  • Ensure the Document ID is correctly provided and exists in the Goldylocks system to avoid empty or error responses.
  • Check API key credentials are valid and have sufficient permissions to access document line data.
  • Common errors may include authentication failures, invalid document IDs, or network issues. Verify credentials and network connectivity if errors occur.

Discussion