Aspiring full stack developer. Currently meddling most with react + node.js stack, and dealing with a bit of Wordpress developement using PHP at the side.
- Singapore
- www.mervintan.com
Pinned Loading
-
validates that UEN (Unique Entity Nu...
validates that UEN (Unique Entity Number) number is valid based on https://www.uen.gov.sg/ueninternet/faces/pages/admin/aboutUEN.jspx 1/**
2* validates UEN of businesses in Singapore
3* https://www.uen.gov.sg/ueninternet/faces/pages/admin/aboutUEN.jspx
4* @param {string} uen
5* @returns {boolean}
-
Xero-node unable to download receipt...
Xero-node unable to download receipt attachments 1//Create a local writestream
2var wstream = fs.createWriteStream(tempFile, { encoding: 'binary' });
34//Data has been written successfully
5wstream.on('finish', function() {
-
Xero API Bank Transaction API Reques...
Xero API Bank Transaction API Request with incorrect validation on field Type 1// Got the request and response messages via Xero API History on API calls.
23// Request message
4{"BankTransactions":[{"Type":"RECEIVE","Contact":{"ContactID":"fc6cb299-ea76-4bc9-881d-bbd71db9a60f","ContactStatus":"ACTIVE","Name":"First Thai Food","EmailAddress":"","BankAccountDetails":"","Addresses":[{"City":"","Region":"","PostalCode":"","Country":"","AddressType":"STREET"},{"City":"","Region":"","PostalCode":"","Country":"","AddressType":"POBOX"}],"Phones":[{"PhoneNumber":"","PhoneAreaCode":"","PhoneCountryCode":"","PhoneType":"DEFAULT"},{"PhoneNumber":"","PhoneAreaCode":"","PhoneCountryCode":"","PhoneType":"DDI"},{"PhoneNumber":"","PhoneAreaCode":"","PhoneCountryCode":"","PhoneType":"FAX"},{"PhoneNumber":"","PhoneAreaCode":"","PhoneCountryCode":"","PhoneType":"MOBILE"}],"DefaultCurrency":"SGD"},"LineItems":[{"Description":"Employee lunch","Quantity":1,"UnitAmount":32,"AccountCode":"461","TaxType":"INPUT","TaxAmount":2.09,"LineAmount":32}],"BankAccount":{"AccountID":"617b2867-3e64-45ed-a40b-e6dd72106def"},"IsReconciled":true,"Date":"2018-01-29T00:00:00.000Z","Reference":"","CurrencyCode":"SGD","CurrencyRate":"1","Status":"AUTHORISED","LineAmountTypes":"Inclusive","SubTotal":29.91,"TotalTax":2.09,"Total":32,"BankTransactionID":"a8910f79-c870-4dae-85bc-a4d0f9ed12fa","HasAttachments":false}]}
5
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.