BeaconX e-Invoice API
  1. B2B e-Invoicing
BeaconX e-Invoice API
  • BeaconX e-Invoice API Documentation
  • API Endpoints
    • B2B e-Invoicing
      • Create Document(s)
        POST
      • Cancel Document
        POST
      • Void Document
        POST
      • Unvoid Document
        POST
      • Create Invoice from Receipt
        POST
      • Check Status
        POST
      • Embed QR Code
        POST
      • Invoice Reversal
        POST
      • Update Reference Number
        POST
    • B2C Receipt
      • Retrieve Receipt
      • Search Receipts
      • Create a Receipt
      • Update existing Receipt
      • Void a Receipt
      • Void Multiple Receipts
      • UnVoid a Receipt
      • Send a Receipt (Email / WhatsApp)
      • Download Receipts Report
      • Create Multiple Receipts (Bulk)
      • Receipt Reversal
      • Update Reference Number
      • Check Status
    • TaxPayer
      • Validate Tax Payer
      • Sync Tax Payer Master List
      • Identity
      • Validate SSM
      • Search TIN
    • Lists
      • Get list of all Classification Codes
  1. B2B e-Invoicing

Invoice Reversal

POST
/einvoices/reversal
This API endpoint creates a

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json

Example
{
    "reference_number": "2025-CN002",
    "invoice_number": "CN002",
    "original_einvoice_ref_number": "INV001",
    "issued_at": "2025-05-06",
    "type": "02"
}

Request Code 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/reversal' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "reference_number": "2025-CN002",
    "invoice_number": "CN002",
    "original_einvoice_ref_number": "INV001",
    "issued_at": "2025-05-06",
    "type": "02"
}'

Responses

🟢200OK
application/json
Body

Examples
{"status":"Failed","message":"Document is already voided.","data":[]}
Modified at 2025-05-22 07:44:10
Previous
Embed QR Code
Next
Update Reference Number
Built with