Actions99
- Group Accounts Actions
- Group Account Codes Actions
- Accounts Actions
- Expenses Actions
- Purchase Orders Actions
- Get A List Of Purchase Orders
- Create A New Purchase Order
- Get A Purchase Order
- Update A Purchase Order
- Open A Purchase Order
- Get A List Of Purchase Orders Items For A Specific Purchase Order
- Create A Purchase Order Item
- Get A Purchase Order Item
- Update A Purchase Order Item
- Delete A Purchase Order Item
- Get A List Of Goods Received Notes For A Specific Purchase Order
- Create A Goods Received Note
- Attach A File To A Goods Received Note
- Delete A Goods Received Note
- Suppliers Actions
- Fund Accounts Actions
- Cards Actions
- Expense Categories Actions
- Tax Rates Actions
- Amortizations Actions
- Account Teams Actions
- Account Codes Actions
- External Teams Actions
- Custom Fields Actions
- Get Custom Fields
- Create A New Custom Field
- Get Custom Field
- Update Custom Field
- Delete A Custom Field And All Its Values
- Get Custom Field Values
- Create A Custom Field Value
- Delete Custom Field Values
- Get A Custom Field Value
- Update A Custom Field Value
- Delete A Custom Field Value
- Get Managers For A Specific Custom Field Value
- Adds Managers For A Specific Custom Field Value
- Replaces Managers For A Specific Custom Field Value
- Removes Managers For A Specific Custom Field Value
- Webhook Subscriptions Actions
- Group Teams Actions
Overview
This node operation deletes a specific Goods Received Note (GRN) associated with a Purchase Order in an account. It is useful in scenarios where a previously recorded goods receipt needs to be removed, for example, if it was created by mistake or the received items were returned and the record should no longer exist.
Practical examples include:
- Correcting inventory records by removing erroneous GRNs.
- Managing purchase order workflows where goods receipt entries must be updated or deleted.
- Automating cleanup of purchase order data in integrated ERP or procurement systems.
Properties
| Name | Meaning |
|---|---|
| Account Id | Identifier of the account under which the purchase order and goods received note exist. |
| Purchase Order Id | Identifier of the purchase order to which the goods received note belongs. |
| Goods Received Note Id | Identifier of the specific goods received note that should be deleted. |
Output
The output JSON will typically contain the response from the API confirming the deletion of the specified Goods Received Note. This may include status information or confirmation messages indicating success or failure of the delete operation.
No binary data output is expected from this operation.
Dependencies
- Requires an API key credential for authentication to the external service managing purchase orders and goods received notes.
- The node depends on a REST API endpoint configured via the base URL provided in the credentials.
- The node uses standard HTTP headers for JSON content negotiation (
Accept: application/jsonandContent-Type: application/json).
Troubleshooting
Common issues:
- Invalid or missing identifiers (Account Id, Purchase Order Id, Goods Received Note Id) will cause the operation to fail.
- Authentication errors if the API key or token is invalid or expired.
- Network connectivity problems preventing access to the external API.
- Attempting to delete a non-existent or already deleted goods received note.
Error messages and resolutions:
- "Unauthorized" or "Authentication failed": Check and update the API key credential.
- "Not Found": Verify that the Account Id, Purchase Order Id, and Goods Received Note Id are correct and exist.
- "Bad Request": Ensure all required parameters are provided and correctly formatted.
- Timeouts or network errors: Confirm network connectivity and API availability.
Links and References
- Refer to the external API documentation of the purchase order management system for detailed information about deleting goods received notes.
- n8n documentation on creating and using custom nodes and credentials for API integrations.