If you sell products that you need to collect and pay a royalty to someone then AX has a reasonable piece of functionality that you can use. AX allows you to register the products that you need to attribute royalties on and the associated vendor that you would pay. As well you can have the claim registered when you post a sales invoice for example. As well there is an approval process that you can review the claims before and invoice is created.
Here is a quick walk through of an agreement setup.
PS: If you want to see the follow-on walk through of processing the royalty you can see this post.