LHDN e-Invoice

Berinteraksi dengan API LHDN e-Invoice Malaysia

Actions8

Overview

This node interacts with the LHDN e-Invoice Malaysia API to manage electronic invoice documents. It supports operations such as submitting a new e-invoice, retrieving an existing document by its UUID, fetching recent documents, canceling or rejecting a document, and getting the status of a document. It is useful for businesses that need to automate the submission and management of e-invoices with the Malaysian tax authority. For example, a company can use this node to submit invoices directly from their accounting system or retrieve invoice details for auditing purposes.

Use Case Examples

  1. Submit an e-invoice document with detailed invoice data.
  2. Retrieve an e-invoice document using its UUID to verify its contents.
  3. Cancel an e-invoice document with a reason for cancellation.
  4. Get the status of a specific e-invoice document to check if it has been processed.

Properties

Name Meaning
Document UUID The UUID of the document to be accessed, required for operations like get, cancel, reject, and getStatus.

Output

JSON

  • document - The raw document data retrieved or submitted, typically in JSON or XML format.
  • status - The status of the document after operations like cancel or reject.
  • error - Error message if the operation fails and continueOnFail is enabled.

Dependencies

  • LHDN e-Invoice API
  • An API key credential for authentication

Troubleshooting

  • Ensure the Document UUID is correctly provided for operations that require it, such as get, cancel, reject, and getStatus.
  • Authentication errors may occur if the API key credential is missing or invalid; verify credentials are correctly configured.
  • API request failures might happen due to network issues or incorrect parameters; check the parameters and network connectivity.
  • If the node throws errors related to document format or submission, verify the document data conforms to the expected JSON or XML schema.

Links

Discussion