Attributes in table in custom content type form I am creating a custom content type named "Invoice".
 This content type is having attributes like Company Name (entity reference to company content type), Bill details, tax details and calculations. 
Can you please suggest how can I get elements/attributes like shown in an image in custom content type add new content 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;