Go to notion.so/profile/integrations, create an Internal Integration and copy the key that starts with ntn_.
ntn_
Open the expense database in Notion and copy the 32 character ID from its address.