When invoicing a project with a flat amount as billing method the unit will be project (flat project amount) or task (flat amount for tasks). You can change the unit on the project settings.
If you’ll invoice the project it takes the unit from this field, if empty, the unit will be as above either project or task.