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 you need to track or verify the receipt of goods against purchase orders, such as inventory management, auditing, or order reconciliation processes.

For example, after placing a purchase order, a warehouse manager can use this node to fetch all GRNs linked to that order to confirm which items have been received and update stock levels accordingly.

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 the list of Goods Received Notes is requested.

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 about individual GRNs such as their identifiers, dates, quantities received, and possibly status or notes.

No binary data output is indicated for this operation.

Dependencies

  • Requires an API key credential for authentication to the external service managing purchase orders and goods received notes.
  • The node uses a base URL configured via credentials to connect to the external API.
  • The bundled code references an OpenAPI specification and uses an OpenAPI-based helper library for request construction.

Troubleshooting

  • Missing or invalid Account Id or Purchase Order Id: Ensure both identifiers are provided and correctly 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 external API endpoint.
  • Empty results: If no Goods Received Notes are returned, confirm that there are GRNs recorded for the given Purchase Order.

Links and References

  • Refer to the external API documentation for detailed information on Goods Received Notes and Purchase Orders.
  • Consult n8n documentation on how to configure API credentials and use OpenAPI-based nodes.

Discussion