Expensify.org is accepting proposals for new campaigns. Submit yours here by April 30th to receive up to $100,000 in funding for campaigns dismantling injustice related to: Climate, Homes, Hunger, Reentry, or Youth.

What are the validation rules for expense 'created'?

CandytronCandytron Expensify Customer Posts: 1
Does anyone know what the min/max validation rules are for the 'created' date attribute on the Expense Creator API endpoint?

Answers

  • Jenna HayJenna Hay Expensify Customer, Expensify Team Posts: 73 Expensify Team
    Hi @Candytron, are you asking to the earliest / latest date that an expense can have when being created over the API?  If so there shouldn't be one.  However, if the expense is in a different currency to that of the policy it is being created on, it cannot be future dated as we have no way of knowing the rate it will need to be converted at.  Let me know if I've missed the mark here. Thanks 😊 
Sign In or Register to comment.