Actions77
- Columns Actions
- Comments Actions
- Companies Actions
- Currencies Actions
- Document Anchors Actions
- List Document Anchor
- List Basket Document Anchor
- Count Basket Document Anchor
- Check Edited Document Anchor
- Get By Id Document Anchor
- Update Document Anchor
- Delete Document Anchor
- Get Versions Document Anchor
- Get History Document Anchor
- Rotate Document Anchor
- Split Document Anchor
- Reassign Document Anchor
- Reassign All Document Anchor
- Redetect Document Anchor
- Get File Document Anchor
- Get Symbolic Links Document Anchor
- Get Group Treatments Document Anchor
- Get Group Documents Document Anchor
- Count Without Template Document Anchor
- List Without Template Document Anchor
- Set Template Document Anchor
- Transition Document Anchor
- Get State Document Anchor
- Update State Document Anchor
- Annotations Actions
- Expenses Actions
- Expense Categories Actions
- Expense Projects Actions
- Expense Reports Actions
- External Attachments Actions
- Fields Actions
- Files Actions
- Groups Actions
- Pending Transaction Actions
- Taxes Actions
- Tax Groups Actions
- Templates Actions
- Template Types Actions
- Streams Actions
- Users Actions
- Viridem Actions
Expenses → Unlock Expense
AI-generatedOverview
This node operation is designed to unlock expenses within a specified company in the Viridem system. It supports unlocking a single expense by its ID or multiple expenses by providing an array of IDs. This operation is useful in scenarios where expenses have been locked for editing or processing and need to be unlocked for further modifications or review.
Use Case Examples
- Unlock a single expense by providing the company ID and the expense ID.
- Unlock multiple expenses at once by providing the company ID and a JSON array of expense IDs.
Properties
| Name | Meaning |
|---|---|
| Company Id | The identifier of the company to which the expense(s) belong. This is a required numeric input. |
| Id | The numeric ID of a single expense to unlock. Used when unlocking one expense at a time. |
| Ids | A JSON array of expense IDs to unlock multiple expenses in one operation. |
| Request Options | Additional request settings such as batching, SSL certificate validation, proxy configuration, and request timeout. |
Output
JSON
id- The ID of the unlocked expense(s) returned from the operation.status- The status or result of the unlock operation for each expense.
Dependencies
- Viridem API with OAuth2 authentication
Troubleshooting
- Ensure the company ID and expense IDs are valid and exist in the Viridem system to avoid errors.
- If unlocking multiple expenses, ensure the JSON array of IDs is correctly formatted and parsed.
- Check network settings such as proxy and SSL options if requests fail due to connectivity or security issues.
- Timeout errors may occur if the server is slow to respond; adjust the timeout setting accordingly.