SAP Knowledge Base Article - Public

3809556 - eDocument Thailand: Unable to Cancel Document, Cancel Related eDocument First Error When Reversing FI Document

Symptom

When attempting to reverse an FI document via the Manage Journal Entries app for a Thailand eTax Invoice or eReceipt, the following error occurs:

"Unable to cancel document, cancel related eDocument first."

When checking in the eDocument Cockpit app or Manage Electronic Documents app, the related eDocument shows a green checkmark with process status Request Message Downloaded.

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Open the Manage Electronic Documents app and locate a Thailand eTax Invoice or eReceipt with process status Request Message Downloaded (green checkmark).
  2. Note the Source Document Number of the affected eDocument.
  3. Open the Manage Journal Entries app and navigate to the corresponding FI document.
  4. Attempt to reverse the FI document.
  5. Observe: the system raises the error "Unable to cancel document, cancel related eDocument first."

Cause

The status Request Message Downloaded indicates that the eDocument XML has been downloaded and forwarded to the Revenue Department via the customer's middleware. Since the document is treated as externally transmitted, cancellation of the eDocument in this status is not supported by design. As a result, the system also blocks reversal of the related FI document.

Note: This behavior applies specifically to Thailand.

Resolution

Since the eDocument cannot be cancelled when it is in Request Message Downloaded status, reversing the original FI document directly is not possible.

To correct the accounting entry, create a Credit Note for the original FI document. This generates a new eCredit eDocument that offsets the original invoice.

See Also

Keywords

eDocument, Thailand, eTax, eReceipt, Request Message Downloaded, FI Document Reversal, Credit Note, Manage Electronic Documents, eDocument Cockpit, Revenue Department , KBA , CA-GTF-CSC-EDO-TH , Document Compliance Thailand , Problem

Product

SAP S/4HANA Cloud Public Edition all versions