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. Specifically, the 'Get Recent' operation under the 'Document' resource retrieves a paginated list of recent documents submitted within optional date ranges. This is useful for users who need to monitor or process the latest e-invoice submissions, such as accountants or financial officers tracking recent transactions.

Use Case Examples

  1. Retrieve the first page of recent e-invoice documents with a default page size of 20.
  2. Fetch recent documents submitted between two specific dates for auditing purposes.

Properties

Name Meaning
Page Number The page number for pagination to specify which set of results to retrieve.
Page Size The number of documents to retrieve per page for pagination.
Submission Date From The start date to filter documents submitted on or after this date.
Submission Date To The end date to filter documents submitted on or before this date.

Output

JSON

  • DocumentUUID - Unique identifier of the document.
  • SubmissionDate - Date when the document was submitted.
  • Status - Current status of the document.
  • OtherDocumentDetails - Additional details about each document as returned by the API.

Dependencies

  • Requires an API key credential for authentication to the LHDN e-Invoice Malaysia API.

Troubleshooting

  • Common issues include authentication failures due to invalid or expired API tokens. Ensure the API key credential is correctly configured and valid.
  • Pagination parameters (Page Number and Page Size) must be positive integers; invalid values may cause errors or empty results.
  • Date filters must be valid date-time strings; incorrect formats may lead to no results or API errors.

Links

  • LHDN e-Invoice Malaysia - Official website for LHDN e-Invoice Malaysia providing API documentation and resources.

Discussion