Get Malaysia E-Invoice Status
Retrieve the latest processing status of a Malaysia e-invoice document using Staple docId.
Staple uses the provided docId to return the latest document status and MyInvois information (if available).
Note:
The initial import/queue response only confirms that the document was accepted for processing.
Clients should call the status endpoint to get the final processing result.
Endpoint
GET /v2/einvoice/malaysia/status/{docId}
Request Headers
Accept: application/json
Path Parameter
Response Fields
Status Values
myInvois Object
Important:
When the document is invalid, themyInvoisfields may benull.
errors[]
Returned when the document is invalid.
Response Examples
Valid
Invalid
Cancelled
Notes
-
Use this endpoint to get the final processing result after import/queue.
-
statusvalues are returned in the current API format, such asValid,Invalid, andCancelled. -
For invalid documents, check both
documentStatusReasonanderrors[]for troubleshooting.