https://devdocs.magento.com/guides/v2.4/extension-dev-guide/service-contracts/service-contracts.html
https://devdocs.magento.com/guides/v2.4/extension-dev-guide/api-concepts.html
Write the API to get all catalog rule with anonymous resource
Write API to create invoice by order id with anonymous resource