The terminology can also be confusing because a treaty may and usually is named something other than a treaty, such as a convention, protocol, or simply agreement. Conversely some legal documents such as the Treaty of Waitangi are internationally considered to be documents under domestic law.
What's an example of a treaty that is considered internationally to be documents under domestic law?
the Treaty of Waitangi