Goldylocks icon

Goldylocks

Interact with the Goldylocks ERP API

Document Line → Delete

AI-generated

Overview

This node operation deletes a specific document line in the Goldylocks ERP system. It is useful for scenarios where a user needs to remove an unwanted or incorrect line item from a document, such as an invoice or order, by specifying the internal ID of the document line.

Use Case Examples

  1. Deleting a line item from an invoice that was added by mistake.
  2. Removing a product line from a sales order before finalizing the document.

Properties

Name Meaning
Document Line ID (P) The internal ID of the document line (id_movimento) to be deleted.

Output

JSON

  • json - Response from the API indicating success or failure of the delete operation.

Dependencies

  • Goldylocks ERP API with API key authentication

Troubleshooting

  • Ensure the Document Line ID is correct and exists in the system; otherwise, the API may return an error indicating the line was not found.
  • Check that the API key credentials are valid and have permissions to delete document lines.
  • Common error messages may include authorization errors or invalid ID errors; verify credentials and input parameters accordingly.

Discussion