Step 1: The maximum sum of distinct digits is obtained by adding digits from 1 to 9:
\[
1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 = 45.
\]
Step 2: Therefore, the number must use all digits from 1 to 9 exactly once.
Step 3: To get the smallest number, arrange these digits in ascending order: \(123456789\).
Final Answer: \(\boxed{123456789}\).