When to issue an official einvoice

When to Issue an Official E-Invoice?

E-invoicing has become a crucial part of business operations with the rise of digital tax regulations. A key question many businesses face is: When should you issue an official e-invoice? This article dives deep into the recommended practices, regulatory requirements, and potential pitfalls, backed by real-world examples and case studies.


Understanding E-Invoice Regulations

What Does the Regulation Say?

There are some users mentioning that you can issue an e-invoice anytime within the same month the sales transaction occurs. For example, a sale made on 1st January 2025 can have its e-invoice issued anytime until 31st January 2025. Some also mention is within 7 days of the month end.

They may both be true.

In LHDN Specific Guideline, there’s an example for sales occur, and the person need to request for official e-invoice within that month. Mainly I think is due to if there’s no request, then it will be included as a Consolidated e-Invoices. Which for Consolidated e-Invoices, you can issue that within 7 days of the end of previous month.

The 72 Hours Rule

While the regulation provides flexibility, it’s important to note a critical limitation imposed by the MyInvois portal and LHDN’s API:

  • The “Issue Date” of an e-invoice cannot be more than 72 hours earlier than the “Submission Date.”

This means that if a sale occurred on 1st January 2025, and you’re issuing the e-invoice on 26th January 2025, the “Issue Date” cannot be set as 1st January 2025 without triggering a system error.

Example in MyInvois Portal, and Bukku.

72 Hours Backdate Limit - MyInvois
MyInvois Portal
72 hours backdated limit - Bukku
Bukku

Why This Rule Matters

This rule ensures that e-invoices reflect accurate, timely data. The “Issue Date” is typically interpreted as the “Invoice Date” normally, tying it closely to the original sales transaction date.


Best Practices: When to Issue Your E-Invoice

Align “Invoice Date” with “Issue Date”

To maintain consistency and avoid errors, it’s recommended to issue e-invoices within 72 hours of the actual transaction date. For instance, if you make a sale on 1st January 2025, aim to issue the e-invoice by 4th January 2025.

Benefits of Following the 72 Hours Rule

  1. Data Consistency: Ensures that invoice records are aligned with sales transactions.
  2. Compliance: Reduces the risk of submission errors on the MyInvois portal.
  3. Simpler Reconciliation: Makes it easier to track and reconcile invoices.
  4. Streamlined Search & Filtering: Speeds up internal processes, especially for audits.

Case Study: The SQL ERP and Middleware Issue

The SQL ERP Test

A user claimed that SQL ERP allows backdating an e-invoice beyond the 72-hour rule. In their test:

  • The sale occurred on 1st January 2025.
  • The invoice was submitted on 26th January 2025.
  • The “Invoice Date” in SQL was set as 1st January 2025 and the submission was validated successfully.
SQL eInvoice Backdate more than 72 hours
The screenshot of the user testing on SQL e-Invoice backdating to more than 72 hours.

However, from the screenshot itself the “Issuance Date & Time” have been cut off due to screen size.

Therefore, we tested it our self on SQL Account (E INVOICE) Demo Site as below:

SQL eInvoice date vs MyInvois issuance date

From our investigation, the SQL system’s “Invoice Date” sent to LHDN as “Issuance Date & Time” defaulted to the submission date: 26th January 2025. This creates a discrepancy where the recorded invoice date (01/01/2025) in the SQL system, and does not match the actual LHDN recorded e-Invoice issue date (26/01/2025).

Possible Compliance Issue if SQL ERP allow backdate of e-Invoice over 72 Hours

There was another example given was, it was backdated until 30/08/2024 for the einvoice date.

SQL eInvoice Backdate across FY
The screenshot of the user testing on SQL e-Invoice maybe backdating across FYE

In this case, assuming the FYE (Financial Year End) is Dec 2024, and haven’t close the period. The sales were recorded in the SQL ERP system as FY 2024 sales, with financial data like tax, inventory, and other records all recognized in 2024.

However, when submitted to the LHDN MyInvois Portal, the “Issue date” is recorded as 26/01/2025. This means LHDN recognizes it in the company’s FY 2025 rather than FY 2024, creating an indirect data inconsistency and potential compliance issues that could lead to incorrect tax filings.

This misalignment affects tax calculations, SST, and audits, as financial data recorded in the SQL ERP system differs from the official records submitted to LHDN.

Middleware Test

A similar issue was identified by me in a middleware system during pre-launch testing.

Initially, the middleware allowed backdated invoices also similarly to SQL, with the “Creation Date” of the einvoice document sent as the LDHN’s “Issuance Date”. Which led to inconsistencies in the data sent to LHDN, and breaking the intended control point enforced in the front-end billing system.

Thankfully, this was corrected before implementation.

Key Takeaway

While SQL ERP and possibly some other systems may appear to allow backdating, the “Issue Date” ultimately submitted to LHDN might be defaults to the current date. This can lead to data discrepancies and potential consistency issues later on.

Best Practices for Issuing e-Invoices

Based on the regulatory guidelines and the case study above, here are some best practices for issuing e-invoices:

  1. Issue e-Invoices Within 72 Hours: To ensure compliance with MyInvois Portal requirements and maintain data consistency, issue e-invoices within 72 hours of the sales transaction.
  2. Align “Invoice Date” with “Issue Date”: Ensure that the “Invoice Date” matches the “Issue Date” to avoid discrepancies and improve data integrity.
  3. Avoid Backdating: While some systems may allow backdating, it’s best to avoid this practice to prevent data inconsistencies and potential discrepencies issue.
  4. Use Reliable e-Invoicing Software: Choose e-invoicing software that adheres to regulatory requirements and promotes best practices. Following the control point and data behavior of MyInvois Portal

FAQs About E-Invoice Issuance

1. Can I issue an e-invoice after the transaction date?

Yes, you can issue an e-invoice after the transaction date. It should be within the same month as the transaction. Be it in official e-invoice format, or in the consolidated e-invoice format.

We just recommending to issue within 72-hour rule, due to if “invoice Date want to be recorded as “Issue Date” in LDHN MyInvois Portal for data accuracy and consistency.

2. What happens if I submit an e-invoice with an “Issue Date” beyond 72 hours of the “Submission Date”?

The MyInvois portal and LHDN’s API will reject the submission. Always ensure the “Issue Date” is within 72 hours of the submission.

3. Why is it important to align the “Invoice Date” and “Issue Date”?

Aligning these dates ensures data consistency, simplifies reconciliation, and prevents confusion during audits or inspections.

Is not a hard compliance but is like a best practice in the current MyInvois Portal & LHDN’s API control.

4. Are there exceptions to the 72-hour rule?

Currently, the 72-hour rule is enforced by the MyInvois portal and LHDN’s API. While regulations may allow flexibility, system limitations often most likely dictating the compliance.


In Summary

Issuing an e-invoice promptly is not just about regulatory compliance; it’s also about maintaining accurate records and ensuring operational efficiency. By following the 72-hour rule and aligning your “Invoice Date” with the “Issue Date,” you’ll avoid some headaches down the line.

If need any help, can check out our e-Invoices services page to see how we can help, or take a look at our e-Invoice related articles here.