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 for users who want to track the receipt of goods against purchase orders, verify deliveries, or reconcile inventory and accounting records. For example, a procurement manager can use this node to fetch all GRNs linked to a particular purchase order to confirm which items have been received and when.

Properties

Name Meaning
Account Id Identifier of the account from which to retrieve data.
Purchase Order Id Identifier of the specific purchase order to query.

Output

The node outputs JSON data containing the list of Goods Received Notes related to the specified Purchase Order. Each item in the output typically includes details such as the GRN identifier, date, quantities received, and other relevant metadata about the receipt of goods. The output does not include binary data.

Dependencies

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

Troubleshooting

  • Missing or invalid Account Id or Purchase Order Id: Ensure these required fields are correctly provided; otherwise, the API call will fail.
  • Authentication errors: Verify that the API key or authentication token is valid and has sufficient permissions.
  • Network or API errors: Check connectivity and API availability; transient errors may require retries.
  • Empty results: If no GRNs are returned, confirm that the purchase order exists and has associated goods received notes.

Links and References

  • Refer to the external API documentation of the service managing purchase orders and goods received notes for detailed schema and examples.
  • n8n documentation on configuring API credentials and using HTTP request nodes may provide additional setup guidance.

Discussion