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 detailed information about a specific expense from an external accounting or expense management system. It is useful in scenarios where you need to fetch and process data related to individual expenses, such as for auditing, reporting, or integration with other financial workflows. For example, you might use this node to get the details of a particular expense by its unique identifier within a given account, enabling further automation like expense approval or reconciliation.
Properties
| Name | Meaning |
|---|---|
| Account Id | Identifier of the account containing the expense. This specifies the account context for the expense retrieval. |
| Expense Id | Identifier of the specific expense to retrieve. This uniquely identifies the expense record to fetch. |
Output
The node outputs a JSON object representing the detailed data of the requested expense. This typically includes fields such as expense amount, date, description, category, status, and any metadata associated with the expense. The output does not include binary data.
Dependencies
- Requires an API key credential or similar authentication token configured in n8n to access the external expense management service.
- The node depends on the external service's REST API endpoint that supports fetching expense details by account and expense identifiers.
- Proper base URL configuration and authentication credentials must be set up in n8n for successful API communication.
Troubleshooting
Common Issues:
- Invalid or missing Account Id or Expense Id will cause the request to fail.
- Authentication errors if the API key or token is incorrect or expired.
- Network connectivity issues preventing access to the external API.
- The specified expense may not exist or may have been deleted, resulting in a "not found" error.
Error Messages:
- "Unauthorized" or "Authentication failed": Check that the API credentials are correctly configured and valid.
- "Expense not found": Verify that the Expense Id and Account Id are correct and correspond to existing records.
- "Network error": Ensure that n8n can reach the external API endpoint and there are no firewall or proxy issues.
Links and References
- Refer to the external expense management system’s API documentation for details on the expense retrieval endpoint.
- n8n documentation on setting up API credentials and HTTP request nodes for additional customization.