Summary
Break an amount into the fewest bills/coins for a currency.
Requirements
- POST { amount, currency?: USD }
- Bundle denomination tables (USD, EUR, NGN) inside folder
- Return { breakdown: [{ denomination, count }], total_pieces }
- Cent precision
- Tests verify minimal-piece breakdown
Scope Constraint - READ BEFORE STARTING
All files for this task must live inside app/api/routesF/. This includes the route handler, helpers/utilities, types, and tests. Do NOT modify, import from, or add files to lib/, utils/, types/, components/, or anywhere else outside app/api/routesF/. If you need shared logic, duplicate it inside your subfolder. Keeping everything scoped to this folder is intentional - it keeps these tasks independent and mergeable in any order.
Summary
Break an amount into the fewest bills/coins for a currency.
Requirements
Scope Constraint - READ BEFORE STARTING
All files for this task must live inside app/api/routesF/. This includes the route handler, helpers/utilities, types, and tests. Do NOT modify, import from, or add files to lib/, utils/, types/, components/, or anywhere else outside app/api/routesF/. If you need shared logic, duplicate it inside your subfolder. Keeping everything scoped to this folder is intentional - it keeps these tasks independent and mergeable in any order.