use iter_docs for helper functions
formatting
Merge pull request #34 from dimagi/billing-speedup

use iter_docs for helper functions