According to the new regulations, the competent authority is notably the provincial authority corresponding to the location where the foreigner is to work.
The decree provides for the competence of the Provincial People's Committee for the issuance, renewal, extension, or withdrawal of permits concerning workers from companies established in its territory.
In practice, your employer or their HR department generally manages most of this procedure.