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 is designed to retrieve account codes associated with a specific account identifier. It is useful in scenarios where you need to fetch detailed or categorized financial or organizational codes linked to an account, such as for reporting, auditing, or integration with other systems that require account code information.
For example, if you manage multiple accounts and want to programmatically obtain their respective codes to synchronize with an external accounting system, this node would facilitate that by fetching the relevant data based on the provided account ID.
Properties
| Name | Meaning |
|---|---|
| Account Id | Identifier of the account to retrieve its account codes |
Output
The node outputs JSON data containing the account codes related to the specified account ID. The structure typically includes details about each account code, such as code identifiers, descriptions, or other metadata depending on the API response.
No binary data output is indicated.
Dependencies
- Requires an API key credential for authentication to the external service.
- Needs configuration of the base URL for the API endpoint in the node credentials.
- Depends on the external API described in the bundled OpenAPI specification (
payhawk.api.json).
Troubleshooting
- Missing or invalid Account Id: Ensure the "Account Id" property is provided and correctly formatted; otherwise, the API call will fail.
- Authentication errors: Verify that the API key or authentication token is correctly configured in the node credentials.
- Network or API errors: Check connectivity and API availability; handle rate limits or server errors as per the external API's documentation.
- Unexpected response structure: If the output JSON does not match expectations, confirm that the API version and endpoint have not changed.
Links and References
- Refer to the external API documentation for detailed information on account codes and their structure.
- n8n documentation on creating and using custom nodes with API integrations.