Attributes in table in custom content type form
You will need to override the node form template for your invoice content type with a custom template in your theme. More info -> Theming Node Forms in Drupal 7 and here

In your template you'd build a layout for your fields and output form fields in place like this 

&lt;?php print drupal_render($form['fieldname']);?&gt;