Billing Script

Does anyone know of a descent, light-weight, billing and invoicing script that would be easy to integrate into an existing app I’m working on? It would need to work with Authorize.net and I’d want to hack it up so that it reads from an existing user database. I don’t want to jump into writing my own until I know it’s the best choice.