Skip to content
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

feat: post approver/admin per_diem expenses~ #588

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions reference/admin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4353,6 +4353,22 @@ components:
- ROUND_TRIP
- NO_DEDUCTION
- null
per_diem_rate_id:
allOf:
- $ref: '#/components/schemas/fk_integer'
nullable: true
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. <br>
This field is required for creating Per Diem Expenses.
per_diem_num_days:
type: number
nullable: true
example: 2
description: |
Specific to per diem related expenses, number of days for which per diem claim is made. <br>
This field is required for creating Per Diem Expenses.
attach_files_to_expense_in:
type: object
required:
Expand Down
16 changes: 16 additions & 0 deletions reference/approver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2571,6 +2571,22 @@ components:
- ROUND_TRIP
- NO_DEDUCTION
- null
per_diem_rate_id:
allOf:
- $ref: '#/components/schemas/fk_integer'
nullable: true
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. <br>
This field is required for creating Per Diem Expenses.
per_diem_num_days:
type: number
nullable: true
example: 2
description: |
Specific to per diem related expenses, number of days for which per diem claim is made. <br>
This field is required for creating Per Diem Expenses.
attach_files_to_expense_in:
type: object
required:
Expand Down
32 changes: 32 additions & 0 deletions src/components/schemas/expense.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1056,6 +1056,22 @@ admin_expense_in:
- ROUND_TRIP
- NO_DEDUCTION
- null
per_diem_rate_id:
allOf:
- $ref: './fields.yaml#/fk_integer'
nullable: true
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. <br>
This field is required for creating Per Diem Expenses.
per_diem_num_days:
type: number
nullable: true
example: 2
description: |
Specific to per diem related expenses, number of days for which per diem claim is made. <br>
This field is required for creating Per Diem Expenses.

approver_expense_in:
type: object
Expand Down Expand Up @@ -1187,6 +1203,22 @@ approver_expense_in:
- ROUND_TRIP
- NO_DEDUCTION
- null
per_diem_rate_id:
allOf:
- $ref: './fields.yaml#/fk_integer'
nullable: true
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. <br>
This field is required for creating Per Diem Expenses.
per_diem_num_days:
type: number
nullable: true
example: 2
description: |
Specific to per diem related expenses, number of days for which per diem claim is made. <br>
This field is required for creating Per Diem Expenses.

expense_out_embed:
type: object
Expand Down
Loading