Skip to content

Commit

Permalink
Update credit memo tax item
Browse files Browse the repository at this point in the history
  • Loading branch information
lexerom committed Oct 16, 2023
1 parent 22965ad commit 7bd6c95
Showing 1 changed file with 86 additions and 33 deletions.
119 changes: 86 additions & 33 deletions openapi/components/schemas/Taxes/CreditMemoTaxItem.yaml
Original file line number Diff line number Diff line change
@@ -1,33 +1,86 @@
allOf:
- properties:
rate:
readOnly: false
stateAmount:
readOnly: false
countyAmount:
readOnly: false
cityAmount:
readOnly: false
specialDistrictAmount:
readOnly: false
stateRate:
readOnly: false
countyRate:
readOnly: false
cityRate:
readOnly: false
specialDistrictRate:
readOnly: false
jurisdictions:
type: object
readOnly: false
properties:
country:
readOnly: false
state:
readOnly: false
county:
readOnly: false
city:
readOnly: false
- $ref: ./TaxItem.yaml
type: object
required:
- amount
- description
properties:
amount:
description: Amount of the tax.
type: number
format: double
description:
type: string
description: Description of the tax.
rate:
description: Overall sales tax rate which includes state, county, city and district tax.
type: number
format: double
nullable: true
stateAmount:
description: Amount of sales tax to collect for the state.
type: number
format: double
nullable: true
example: 0.94
countyAmount:
description: Amount of sales tax to collect for the county.
type: number
format: double
nullable: true
example: 0.04
cityAmount:
description: Amount of sales tax to collect for the city.
type: number
format: double
nullable: true
example: 0
specialDistrictAmount:
description: Amount of sales tax to collect for the special district.
type: number
format: double
nullable: true
example: 0.38
stateRate:
description: State sales tax rate for given location.
type: number
format: double
nullable: true
countyRate:
description: County sales tax rate for given location.
type: number
format: double
nullable: true
cityRate:
description: City sales tax rate for given location.
type: number
format: double
nullable: true
specialDistrictRate:
description: Special district sales tax rate for given location.
type: number
format: double
nullable: true
jurisdictions:
description: Jurisdiction names for the invoice.
type: object
nullable: true
properties:
country:
description: Two-letter ISO country code for the provided location.
type: string
nullable: true
example: US
state:
description: Postal abbreviated state name for the provided location.
type: string
nullable: true
example: CA
county:
description: County name for the provided location.
type: string
nullable: true
example: LOS ANGELES
city:
description: City name for the provided location.
type: string
nullable: true
example: LOS ANGELES

0 comments on commit 7bd6c95

Please sign in to comment.