The thirtieth or thirtieth customs (Hungarian: harmincad, Croatian: tridesetnica, Latin: tricesima) was a tax on foreign trade in the Kingdom of Hungary.