How do I validate UEN for B2B customers in Magento?

UEN (Unique Entity Number) is Singapore’s business identifier, mandatory for every registered company, society, and government entity. For B2B Magento stores, UEN validation gates trade-account registration. Two approaches:

  • Format validation, regex check on the UEN format (9-digit business, 10-digit local company, 10-digit foreign company, etc.). Catches typos but doesn’t verify existence.
  • Live API validation, we wire to ACRA BizFile API (Singapore’s Companies Registry) to verify UEN + entity name + status (active / struck-off). Cached for 24h.

For Adobe Commerce B2B, this slots into company table as a custom attribute. Approval workflow: customer registers with UEN → auto-validate → admin approves → trade pricing unlocked. We also add GST-number validation for input-tax claim invoicing.

Kishan Savaliya
Kishan Savaliya
Adobe Certified Magento Commerce Developer
Ahmedabad [IN]working hours, replies within four hours
When do you need it

Read personally. Never shared. Or email the brief.

More on magento developer singapore

Need it fixed, not just explained?

Send the brief with your store URL; the written quote comes back within 24 hours.