Share My Creation Malaysian e-Invoice Sample Payload JSON Parser

tchart

Well-Known Member
Licensed User
Longtime User
Interesting. I think you mentioned early on that there is an XML version of this format. I think this is likely related to that as XML can have duplicate keys. JSON shouldn’t have duplicate keys. The correct conversion is to have an array of InvoiceLine items. I know you likely didn’t do the conversion but you might need to report this to the provider.
 

aeric

Expert
Licensed User
Longtime User
By the way, this app is quite useless.
It is just to parse the sample payload which has no real life use case.
The actual useful function is to generate the invoice payload which I am working on, that I don't think I want to share.
However, it is good to see what items are involved to study the structure of the invoice.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…