Validate document id, type and attachment names in BusinessDocument