makes attributes accessible for invoice and invoice_item