Is it possible to prevent submission using API it meets certain criteria?
That's correct @edison, it's not possible to block submission via API.
Hi @edison! Thanks for reaching out! If possible, can you provide some additional context into the criteria you mentioned? For example, Do you not want reports to be submitted before or after certain dates, if there are violations in place, etc?
Hey @Cortney Ofstad ! My current use case is to prevent submission if the total $$$ amount has exceeded a particular number over a non-calendar fiscal year. Hopefully we could issue a notification to the user on why it happened too.
Hey @edison, there's no way to generate violations or block report submission based on a year budget. It is possible to set up violations in the policy per-expense or per-day. You can also set these up as hard-stop violations to prevent submission, which you can learn more about here.
Thanks @Sasha Kluger . Just to confirm, there's no way to block submissions too via API right?
©2008-2023 Expensify, Inc.
©The Expensify Visa® Commercial Card is issued by The Bancorp Bank, N.A., Member FDIC, pursuant to a license from Visa U.S.A. Inc. and may not be used at all merchants that accept Visa cards. Apple® and the Apple logo® are trademarks of Apple Inc., registered in the U.S. and other countries. App Store is a service mark of Apple Inc. Google Play and the Google Play logo are trademarks of Google LLC.