Share My Creation [B4X] Malaysian e-Invoice API Client

Version: 1.10
This is a B4X project designed to interact with the LHDN e-Invoice API, enabling users to perform various API calls such as logging in as a taxpayer system and submitting documents in XML and JSON format. The project uses B4XPages to make it simple to build cross platform apps.

All Platform and e-Invoice APIs are implemented
Token is now save in text file for reuse.


lhdn-einvoice-api-client-1.png


Github: https://github.com/pyhoon/lhdn-einvoice-api-client-b4x

*LHDN is Inland Revenue Board of Malaysia in charge for collecting income tax.
 
Last edited:
Version: 1.02
All Platform and E-Invoice APIs (v1.0) are implemented.
 
Version: 1.05
UI updated to show Document type, format and token expiry time.
Access Tokens for Taxpayer and Intermediary are now saved for reuse.
Check for required Client Credentials.
 
Version: 1.08
Tested on B4i
README is updated.

Make sure items in config.properties has no space
e.g:
Env.Sandbox.clientId=xxxxxxxxxx
 
Version: 1.10

- Modified config.properties format to support ClientSecret2
- Change build configuration name Default to Sandbox
- Removed Env module
- Added Edge-to-edge manifest for B4A
- Changed Comment links to Macros
- Improved error handling
- Minor code refactoring
- Minor update on Invoice sample json files
 
Back
Top