Validation stack
How to validate MyInvois
- 1File integrity and parsing
Preserve the source bytes and hash, then confirm the file is readable and well formed.
- 2Syntax and profile
Apply the correct schema and profile identifiers for UBL 2.1 XML / JSON.
- 3Semantic business rules
Validate parties, dates, lines, taxes, totals, references and payment data.
- 4National and network rules
MyInvois / UBL signals · Malaysian TIN structure · Core invoice fields and totals
- 5Identity, security and routing
Confirm national identities, signatures, hashes, QR and recipient routing as applicable.
- 6Official outcome
Use Authenticated MyInvois API or approved portal/batch channels, returning unique document identifiers and detailed validation results. and preserve the response from Inland Revenue Board of Malaysia.