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 receipts are updated or canceled.
- 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 from which the goods received note will be deleted. |
| Goods Received Note Id | Identifier of the specific goods received note to delete. |
Output
The output JSON typically contains 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 deletion operation.
No binary data output is expected from this operation.
Dependencies
- Requires an API key credential for authenticating requests to the external service managing purchase orders and goods received notes.
- The node depends on a REST API endpoint that supports deleting goods received notes by their identifiers.
- Proper configuration of the base URL and authentication credentials in n8n is necessary for successful execution.
Troubleshooting
Common issues:
- Invalid or missing identifiers (Account Id, Purchase Order Id, Goods Received Note Id) will cause the deletion to fail.
- Authentication errors due to incorrect or missing API credentials.
- Network or connectivity issues 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": Verify that the API key credential is correctly configured and has sufficient permissions.
- "Not Found" or "Resource does not exist": Check that the provided IDs are correct and correspond to existing resources.
- "Bad Request": Ensure all required parameters are provided and valid.
- Timeouts or network errors: Confirm network connectivity and API availability.
Links and References
- Refer to the external API documentation for purchase orders and goods received notes management for detailed information on the delete operation.
- n8n documentation on setting up API credentials and HTTP request nodes for further customization.