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 retrieves a list of all available expense categories for a specified account. It is useful in scenarios where you need to categorize expenses or want to present users with predefined expense categories from an external system. For example, a finance automation workflow could use this node to fetch valid expense categories before creating or validating expense reports.
Properties
| Name | Meaning |
|---|---|
| Account Id | Identifier of the account to query expense categories for |
Output
The output contains a JSON array listing all expense categories associated with the given account. Each item in the array represents one expense category, typically including details such as category name and identifier. This allows downstream nodes to process or display these categories.
No binary data output is produced by this node.
Dependencies
- Requires an API key credential configured in n8n to authenticate requests.
- The node interacts with an external API endpoint defined by the base URL set in the credentials.
- Proper network access to the external service is necessary.
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 credential is correctly set up and has sufficient permissions.
- Network issues: Check connectivity to the external API endpoint.
- Unexpected response format: If the API changes, the node might not parse the categories correctly; verify API version compatibility.
Links and References
- Refer to the external API documentation for expense categories to understand the data structure and authentication requirements.
- n8n documentation on setting up API credentials and using HTTP request nodes may be helpful.