- BeaconX e-Invoice API Documentation
- API Endpoints
- B2B e-Invoicing
- B2C Receipt
- TaxPayer
- Lists
- Articles
Check Status v2
POST
/einvoices/status2
LHDN
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Header Params
Accept
string
optional
Example:
application/json
Body Params application/json
reference_number
array[string]
optional
outlet_code
array[string]
optional
direction
string
optional
Use "received" for Inbound e-Invoices.
document_type
array[string]
optional
02 Credit Note
03 Debit Note
04 Refund Note
11 Self-billed Invoice
12 Self-billed Credit Note
13 Self-billed Debit Note
14 Self-billed Refund Note
tax_payer_code
array[string]
optional
date_from
string
optional
date_to
string
optional
source
string
optional
Example
{
"reference_number": "INV1001"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://einvoice-api.beaconx.com.my/einvoices/status2' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data-raw '{
"reference_number": "INV1001"
}'
Responses
🟢200Success
application/json
Body
status
string
required
message
string
required
data
array [object {9}]
required
reference_number
string
optional
status
string
optional
"Invalid" - Failed validation
"InProgress" - Submitted to LHDN and is still pending final status
"Submitted" - Submitted to LHDN and have not checked
"InQueue" - Currently in queue and not submitted to LHDN yet
"Cancelled" - eInvoice is cancelled
direction
string
optional
lhdn_uin
string
optional
lhdn_long_id
string
optional
lhdn_validated_at
string
optional
lhdn_validation_url
string
optional
email_notified_at
string
optional
message
array[string]
optional
Examples
{
"status": "OK",
"message": "",
"data": [
{
"reference_number": "INV1234",
"status": "valid",
"direction": "Sent",
"lhdn_uin": "42S512YACQBRSRHYKBXBTGQG22",
"lhdn_long_id": "YQH73576FY9VR57B",
"lhdn_validated_at": "2015-02-13T14:20:00Z",
"lhdn_validation_url": "https://preprod.myinvois.hasil.gov.my/42S512YACQBRSRHYKBXBTGQG22/share/YQH73576FY9VR57B",
"email_notified_at": "2015-02-13T14:20:00Z",
"message": []
}
]
}
Modified at 2024-09-20 02:03:18