Refactored Invoices substantially and added tests for PostingFeeInvoice