-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Per diem documentation #374
Conversation
src/components/schemas/fields.yaml
Outdated
@@ -239,6 +239,7 @@ spent_at: | |||
description: | | |||
It signifies when this expense was made. | |||
This date cannot be in future. | |||
This field is not required for creating Per Diem Expenses |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changing this description here, will show it in each and every API, that is using spent_at
, even CCC, Please check it out once, if yes, we'll have to somehow add the description only for expenses API spent_at
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor comments, please fix and merge
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please talk about claim_amount
validation as well? It is not communicated right now
src/components/schemas/expense.yaml
Outdated
example: 583 | ||
description: | | ||
Specific to per diem expense. This represents the per diem's rate id given by Fyle | ||
during creation of per diem rate for which this expense is created. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add note that this is required in case of per diem category.
description: | | ||
Date on which the expense was made. | ||
This date cannot be in future. | ||
This field is not required for creating Per Diem Expenses |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we talk about how per diems are created/most probably in the header?
src/components/schemas/expense.yaml
Outdated
nullable: true | ||
example: 2 | ||
description: | | ||
Specific to per diem related expenses, number of days for which per diem claim is made. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add note that this is required for per diems
https://app.clickup.com/t/8678zba8b