Payhawk icon

Payhawk

Interact with the Zitadel API

Actions99

Overview

This node operation retrieves a list of Goods Received Notes (GRNs) associated with a specific Purchase Order within an account. It is useful in scenarios where users need to track the receipt of goods against purchase orders, verify deliveries, or reconcile inventory and accounting records. For example, a procurement manager might use this node to fetch all GRNs for a given purchase order to confirm which items have been received and their quantities.

Properties

Name Meaning
Account Id Identifier of the account to which the purchase order belongs.
Purchase Order Id Identifier of the specific purchase order for which to retrieve the list of GRNs.

Output

The output will contain a JSON array listing the Goods Received Notes related to the specified Purchase Order. Each item in the array typically includes details such as the GRN identifier, date, quantities received, and possibly status or notes about the receipt. The exact structure depends on the API response but generally provides comprehensive information about each GRN linked to the purchase order.

No binary data output is expected from this operation.

Dependencies

  • Requires an API key credential configured in n8n to authenticate requests.
  • Depends on access to the external service's API endpoint that manages purchase orders and goods received notes.
  • The base URL for the API must be set in the node credentials configuration.

Troubleshooting

  • Missing or invalid Account Id or Purchase Order Id: Ensure these identifiers are correctly provided and correspond to existing records in the external system.
  • Authentication errors: Verify that the API key or authentication token is valid and has sufficient permissions.
  • Network or connectivity issues: Check network access to the API endpoint and any firewall restrictions.
  • Empty or unexpected responses: Confirm that the purchase order actually has associated goods received notes; otherwise, the returned list may be empty.

Links and References

  • Refer to the external service’s API documentation for detailed schema of Goods Received Notes and Purchase Orders.
  • Consult n8n documentation on how to configure API credentials and handle HTTP request nodes for similar integrations.

Discussion