Actions8
- Document Actions
- Authentication Actions
- Validation Actions
Overview
This node interacts with the LHDN e-Invoice Malaysia API to manage electronic invoice documents. Specifically, the 'Cancel' operation allows users to cancel an existing e-invoice document by providing its UUID and a reason for cancellation. This is useful in scenarios where an invoice needs to be invalidated due to errors or changes in the transaction. For example, a business can automate the cancellation of invoices that were issued incorrectly or need to be retracted.
Use Case Examples
- Cancel an e-invoice document by specifying its UUID and providing a reason for cancellation, such as 'Customer requested cancellation' or 'Invoice issued in error'.
- Automate the cancellation process in workflows where invoice status needs to be updated based on external triggers or business rules.
Properties
| Name | Meaning |
|---|---|
| Document UUID | The unique identifier (UUID) of the e-invoice document to be cancelled. |
| Reason | The reason for cancelling the document, explaining why the cancellation is being made. |
Output
JSON
status- The status of the document after the cancellation request, typically 'cancelled'.reason- The reason provided for the cancellation.documentUuid- The UUID of the document that was cancelled.
Dependencies
- Requires an API key credential for authenticating with the LHDN e-Invoice Malaysia API.
Troubleshooting
- Ensure the provided Document UUID is correct and corresponds to an existing document in the system.
- The 'Reason' field must be provided and not left empty, as it is required by the API for cancellation requests.
- API authentication errors may occur if the API key credential is missing or invalid; verify credentials are correctly configured.
- Network or API endpoint issues may cause request failures; check connectivity and API status.
Links
- LHDN Malaysia Official Website - Official site for the Inland Revenue Board of Malaysia, which manages the e-Invoice system.