Invoice:

create('Document',array('type'=>'post','action'=>'edit', 'default'=>false)); echo $form->input('Document.id'); ?>
data);?>