When you have a spouse that is either from the Netherlands or a member of the EU, you can receive a residence/work permit with the spouse as your sponsor. Setting the partner as your sponsor and allows you to work in the Netherlands freely. There are some records required for this, including a document that you are currently unmarried in your home country.
