The owner of the property must get a permit number from the municipality. Airbnb and other similar sites are obliged to require that permit number and limits the amount of nights per year for Amsterdam properties.
That's a cool way of doing it. I wonder if there is a central database for those number of stays. Otherwise you could feasibly rent it out 30 days on AirBnB and then 30 more days on booking.com and then 30 on other platforms etc