So the document type and document id also need to be the fields of the invoice ?