Prototyping an invoicing solution for CPA