Skip to content

Commit

Permalink
added tax_amount cannot be greater than expense amount note
Browse files Browse the repository at this point in the history
  • Loading branch information
muleyashutosh committed Oct 20, 2023
1 parent 6e7095b commit b6544ea
Showing 1 changed file with 20 additions and 5 deletions.
25 changes: 20 additions & 5 deletions src/components/schemas/expense.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,10 @@ expense_out:
tax_amount:
type: number
nullable: true
description: Tax amount as setup by your organisation.
description: |
Tax amount as setup by your organization.
- _Note:_
- Tax amount cannot be greater than the expense amount.
tax_group_id:
allOf:
- $ref: './fields.yaml#/fk_string'
Expand Down Expand Up @@ -735,7 +738,10 @@ spender_expense_in:
tax_amount:
type: number
nullable: true
description: Tax amount as setup by your organization.
description: |
Tax amount as setup by your organization.
- _Note:_
- Tax amount cannot be greater than the expense amount.
tax_group_id:
allOf:
- $ref: './fields.yaml#/fk_string'
Expand Down Expand Up @@ -824,7 +830,10 @@ admin_expense_in:
tax_amount:
type: number
nullable: true
description: Tax amount as setup by your organization.
description: |
Tax amount as setup by your organization.
- _Note:_
- Tax amount cannot be greater than the expense amount.
tax_group_id:
allOf:
- $ref: './fields.yaml#/fk_string'
Expand Down Expand Up @@ -1158,7 +1167,10 @@ expense_check_policies_in:
tax_amount:
type: number
nullable: true
description: Tax amount as setup by your organization.
description: |
Tax amount as setup by your organization.
- _Note:_
- Tax amount cannot be greater than the expense amount.
tax_group_id:
allOf:
- $ref: './fields.yaml#/fk_string'
Expand Down Expand Up @@ -1377,7 +1389,10 @@ spender_expense_check_mandatory_fields_in:
tax_amount:
type: number
nullable: true
description: Tax amount as setup by your organization.
description: |
Tax amount as setup by your organization.
- _Note:_
- Tax amount cannot be greater than the expense amount.
tax_group_id:
allOf:
- $ref: './fields.yaml#/fk_string'
Expand Down

0 comments on commit b6544ea

Please sign in to comment.