What are the validation rules for expense 'created'?

Options
Candytron
Candytron 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 Hay
    Jenna Hay Expensify Customer, Expensify Team, Expensify Student Ambassador Posts: 73 Expensify Team
    Options
    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 😊